@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');
@charset "UTF-8";

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden
}

body {
    width: 100%;
    background-color: #FFF;
}

#skybg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 200vh;
    background: url('../img/skybg.png') no-repeat 0 0;
    background-size: cover;
}

#ship1, #ship2 {
    width: 100px;
}

#n-river {
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.m0 {
    margin: 0 !important;
}

.pad20 {
    padding: 20px 0;
}

.pad40 {
    padding: 40px 0;
}

.pad60 {
    padding: 60px 0;
}

.pad80 {
    padding: 80px 0;
}

.txtbox {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    padding: 20px;
    border: 1px solid #FFF;
    color: #FFF;
    font-size: 20px;
    margin: 0 0 20px 0;
}

.textbox h3.eng {
    font-size: 30px !important;
}

#floor {
    width: 110vw;
    bottom: 0;
}

#pyramid {
    top: auto;
    bottom: 40%
}

@media (max-width:1500px) {
    #pyramid {
        top: auto;
        bottom: 30%
    }

}
 
.textbox h1 {
    font-size: 30px !important;
}

.season {
    margin: 30px 0;
}

.season li {
    margin: 0 0 30px 0;
    display: block
}

.season li img {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    float: left;
}

.season li span {
    display: block
}

.txtbox img {
    width: 80px;
    height: auto
}

.contentsbox li span, .txtbox span {
    color: #FFF;
    font-weight: bold
}

.crop300 {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.crop300 img {
    width: 100%;
    height: auto
}

.imgmid {
    position: relative;
    width: 100%;
    padding: 30px 0
}

.imgmid img {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, .6);
    border-radius: 5px

    /* border-bottom-right-radius: 50px */
}

.bgcolor1 {
    background-color: #333
}

.bgcolor2 {
    background-color: #dadada
}

.seczero {
    height: 0;
}

.text-left {
    text-align: left
}

.contentsbox {
    position: relative;
    width: 100%;
    padding: 30px 0;
}

h1, h2, h3, h4, h5, p, li, span {
    font-family: 'IBM Plex Sans Thai', sans-serif;
}

.contentsbox h1, .contentsbox h2, .contentsbox h3, .contentsbox h4, .contentsbox h5, .contentsbox p, .contentsbox li {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    color: #FFF;
}

.contentsbox h1 {
    font-size: 40px;
}

.contentsbox h2 {
    font-size: 28px;
    font-weight: 600
}

.contentsbox h3 {
    font-size: 22px;
    font-weight: 500
}

.contentsbox h4 {
    font-size: 20px;
    line-height: 1.5em
}

.contentsbox p, .contentsbox li {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5em;
    color: #FFF
}

.contentsbox ul {
    list-style: none;
}

.contentsbox li {
    list-style-position: inside;
    list-style: none;
}

.darktext, .darktext h1, .darktext h2, .darktext h3, .darktext h4, .darktext h5, .darktext p, .darktext li, .darktext span {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    color: #333 !important
}

h2.darktext {
    font-weight: 600 !important;
}

.hrdark {
    border-color: #333
}

.blockers {

    /* Container */

    display: flex;
    justify-content: space-between;    /*      flex-direction: column; */
    flex-wrap: wrap;
    margin: 20px 0;
}

.blocker {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    padding: 20px;
    margin: 0 0 12px 0;
    flex: 0 1 24%;
    font-size: 1.8rem;
    text-align: center;
    font-weight: 400;
    background-color: #FFF !important;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .1);
}

.blocker img {
    display: block;
    margin: 0 auto 20px auto;
}

@media screen and (min-width:60em) {
    .blocker {
        flex: 0 1 calc(25% - 1em);
    }

}

@media screen and (min-width:40em) {
    .blockers {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .blocker {
        flex: 0 1 calc(25% - 1em);
    }

}

.darktext p {
    font-weight: 400;
}

.darktext li {
    width: 100%;
    display: block;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.darktext li span {
    width: 50%;
    font-size: 20px;
    display: inline-flex;
    font-weight: 500 !important;
}

.colon:before {
    content: " : ";
    margin-right: 5px
}

.columns {
    float: left;
    width: 33%;
    padding: 0 10px;
    margin-bottom: 20px;
}

.rows {
    margin: 0 -5px;
}

.rows:after {
    content: "";
    display: table;
    clear: both;
}

@media screen and (max-width:992px) {
    .contentsbox {
        padding: 0
    }

    .columns {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }

}

.cards {
    text-align: center;
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, .2)
}

.card-img-top {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-img-bottom {
    width: 100%;
    border-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.card-body {
    padding: 2rem;
}

.card-body h3 {
    font-size: 20px;
    font-weight: 600;
    text-align: left;
    line-height: 1.5em
}

.card-body h4 {
    font-size: 30px;
    text-align: left;
}

.card-body h5 {
    font-size: 20px !important;
    text-align: left !important;
    font-weight: 500;
    line-height: 1.5em;
}

.card-body p {
    font-size: 18px;
    text-align: left;
}

.kingdom {
    margin: 30px 0;
}

.kingdom h4 {
    border: 2px solid #FFF;
    margin-bottom: 15px;
    padding: 20px 30px;
    display: block;
    border-radius: 10px;
    background: rgba(255, 255, 255, .5);
}

.kingdom h4 b {
    display: block;
}

.eng {
    font-family: 'Staatliches', cursive !important;
}

h1.eng {
    margin: 0;
    padding: 0;
}

h4.eng {

    /*   font-size: 24px; */
    margin: 0 0 10px 0;
    padding: 0;
}

.mt50 {
    margin: 50px 0 0 0 !important;
}

/* ---------------------------------------------------------------------------------------------------- */
#pharaoh {
    width: 50%;
    max-width: 400px;
    backface-visibility: visible !important;
}

.secbox {
    position: relative;
    width: 100%;
    min-height: 120vh;
}

@media (max-width:992px) {
    .shadow1 {
        display: none;
    }

    .textbox h1 {
        font-size: 20px !important;
    }

    #pharaoh {
        transform: none !important;
    }

    #pyramid {
        width: 150vw;
        transform: none !important;
        bottom: 0;
    }

    #floor {
        transform: none !important;
        width: 1000px;
        bottom: 0;
        /*left: -50%*/
    }

    .textbox h2 {
        font-size: 25px;
        font-weight: 400
    }

    .lbeem {
        width: 100%
    }

    .textbox h2 {
        font-size: 25px;
        font-weight: 500;
        width: auto
    }

    .textbox h4 {
        font-size: 20px !important;
        font-weight: 400
    }

    .textbox h4 br {
        display: none;
    }

    .textbox.f-right, .textbox.f-left {
        left: 30px !important;
        right: 30px !important;
    }

    .textbox.f-right {

        /* transform: none !important; */
    }

}

@media (max-width:480px) {
    .secbox {
        min-height: 140vh;
    }

    #footersec {
        margin-top: 0;
    }

    #pharaoh {
        left: 0;
        right: 0;
        top: 30%;
        width: 60%;
        margin: 0 auto;
        bottom: auto
    }

    #pyramid {
        left: 0;
        right: 0;
        top: auto;
        bottom: 5%;
        width: 200vw;
    }

    .blocker {
        display: block;
        width: 100%;
        flex: none !important
    }

    .txtbox img {
        display: block;
        text-align: center;
        margin: 0 auto;
    }

}

@media (max-width:375px) {
    .secbox {
        min-height: 160vh;
    }

}

@media only screen and (min-device-width:768px) and (max-device-width:1024px) {

    /* ipad*/
    #floor {
        width: 200vw;
    }

    #pyramid {
        width: 100vw;
        top: 40vh;
    }

    #pharaoh {
        left: 0;
        right: 0;
        top: auto;
        width: 40%;
        bottom: 0
    }

    .textbox h1 {
        font-size: 3.5rem !important;
    }

    .textbox h4 {
        font-size: 2.5rem !important;
    }

}

@media only screen and (height:600px) and (width:1024px) {

    /* Nest */
    .secbox {
        min-height: 250vh;
    }

    #pyramid {
        width: 100vw
    }

    #pharaoh {
        left: 30px;
        right: auto;
        top: 50vh;
        width: 30%;
        bottom: auto
    }

}

@media only screen and (min-device-width:768px) and (max-device-width:1024px) {

    /* ipad*/
    .secbox {
        min-height: 120vh !important;
    }

}

@media only screen and (height:800px) and (width:1280px) {

    /* Nest hub max */
    .secbox {
        min-height: 160vh !important;
    }

    #pyramid {
        bottom: 30vh;
        top: auto;
        width: 100vw
    }

}

@media only screen and (height:1368px) and (width:912px) {

    /* Surface pro 7 */
    .textbox h2 {
        font-size: 35px !important;
    }

    .textbox h3.eng {
        font-size: 60px !important
    }

    .textbox h4 {
        font-size: 35px !important;
    }

    .contentsbox p, .contentsbox li {
        font-size: 2em
    }

    h1.eng {
        font-size: 3.5em
    }

    .contentsbox h3 {
        font-size: 2.5em
    }

    .contentsbox h4 {
        font-size: 2em
    }

    .contentsbox h2 {
        font-size: 3em
    }

    .darktext li span {
        font-size: 1em
    }

    .card-body p {
        font-size: 2em !important
    }

    .blocker {
        font-size: 1.8em !important;
        display: flex;
        flex: auto;
    }

}

@media only screen and (height:512px) and (width:717px) {

    /* Fold  dual mode */
    .secbox {
        min-height: 200vh;
    }

    #floor {
        left: 0
    }

    #pharaoh {
        left: 30%;
        top: 40vh;
        width: 300px;
    }

}

@media only screen and (height:653px) and (width:280px) {

    /* Fold   */
    .secbox {
        min-height: 200vh;
    }

    #floor {
        left: 0
    }

    #pharaoh {
        left: 0;
        right: 0;
        top: 70vh;
        width: 80%;
    }

}

@media only screen and (height:720px) and (width:540px) {

    /* Surface pro */
    .secbox {
        min-height: 150vh;
    }

    .textbox h4 {
        font-size: 25px !important;
    }

    #pharaoh {
        left: 50%;
        right: 0;
        top: 35vh;
        width: 50%;
        bottom: auto;
        transform: translateX(-50%) !important
    }

}