@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;
}

#oceanbg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 180vh;
    background: url('../img/oceanbg2.png') no-repeat 0 0;
    background-size: cover;
    z-index: -1;
}

#cruise {
    bottom: 0;
    right: -100px;
    width: 500px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.avata {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
}

#bay {
    right: 0;
    left: auto;
    top: 0;
    width: 70%;
}

.avata img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: auto;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.btn-details, .btn-details:hover, .btn-details:focus {
    outline: none;    /* background: #00205b; */
    background: #b3000e;
    padding: 20px 30px;
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    border-radius: 5px;
    color: #FFF !important;
    margin-right: 10px;
    box-sizing: border-box;
    border: none;
    min-width: 150px;
    overflow: hidden;
    transition: all ease-in-out .25s

    /* box-shadow: 0 3px 10px rgba(0, 0, 0, 1); */
}

.btn-details:hover {
    background: #ff0033;
    text-decoration: none
}

.btn-details>img {
    display: block;
    text-align: center;
    width: auto;
    height: 30px;
    margin: 0 auto 10px auto;
}

.btn-details.gallery>img {
    width: 50px;
}

@media (max-width:480px) {
    #footersec {
        margin-top: 0;
    }

    .btn-details, .btn-details:hover, .btn-details:focus {
        width: 49%;
        max-width: inherit;
        margin: 0;
    }

}

.textbox h1.eng {
    font-size: 40px;
    font-weight: 400;
}

.textbox h1 {
    font-size: 30px;
    font-weight: 600;
}

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

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

#cloud1 {
    bottom: 0;
    left: 0;
    width: 800px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

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

.m0 {
    margin: 0 !important;
}

.pad20 {
    padding: 20px 0;
}

.pad40 {
    padding: 40px 0;
}

.pad60 {
    padding: 60px 0;
}

.pad80 {
    padding: 80px 0;
}

.txtbox {
    padding: 20px;
    border: 1px solid #FFF;
    color: #FFF;
    font-size: 20px;
    margin: 0 0 20px 0;
}

.season {
    margin: 30px 0;
}

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

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

.season li span {
    display: inline-block
}

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

#redroof {
    width: 50%;
}

@media (max-width:992px) {
    .secbox {
        min-height: 150vh
    }

    #cruise {
        width: 300px;
        left: -200px
    }

    #bay {
        width: 500px;
    }

    .textbox, .textbox.f-rigth, .textbox.f-left {
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .textbox.f-left {
        top: 20% !important;
    }

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

    .textbox h2 {
        font-size: 25px !important;
        width: 100%
    }

    .textbox h4 {
        font-size: 18px !important;
        width: 80%;
        margin: 0 auto;
    }

    .textbox h4.eng {
        font-size: 20px !important;
        width: 100%;
    }

    .textbox.f-rigth {
        top: 80% !important;
    }

    .textbox h3 {
        font-size: 18px !important;
        line-height: 1.7 !important;
        width: 80%;
        margin: 30px auto 0 auto;
    }

    .textbox h3 br {
        display: none !important;
    }

    .secbox .text-center h2 {
        font-size: 30px !important;
        font-weight: 500 !important;
    }

    #cloud1 {
        bottom: -250px
    }

    #cloud0, #cloud1 {
        width: 600px;
    }

}

@media (max-width:480px) {
    .darktext h1, h1.darktext {
        font-size: 30px !important;
        font-weight: 600;
    }

    .darktext h2, h2.darktext {
        font-size: 25px !important;
        font-weight: 600
    }

    .darktext h4, h4.darktext {
        font-size: 18px !important;
    }

    .secbox .text-center h2 {
        font-size: 22px !important;
        font-weight: 600 !important;
    }

    .contentsbox {
        padding: 0 !important;
    }

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

}

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

.crop300 {
    position: relative;
    width: 100%;
    height: 200px;
    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
}

.bgcolor1 {
    background-color: #055e8c
}

.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 {
    color: #333 !important
}

.hrdark {
    border-color: #333
}

.blockers {

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

.blocker {
    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
}

.rows {
    margin: 0 -5px;
}

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

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

.card-img-top {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: all ease-in-out 0.25s;
}

.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-weight: 800;
    text-align: left;
    line-height: 1.5em
}

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

/**/
.card-body h5 {
    font-size: 14px;
    color: #FFF;
    padding: 5px 10px;
    text-align: left;
}

.card-body h5.c1 {
    background-color: #790615;
}

.card-body h5.c2 {
    background-color: #0093dd;
}

.card-body h5.c3 {
    background-color: #6D8C3D;
}

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

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

h1.eng {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    letter-spacing: 1px
}

h4.eng {

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

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

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

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

    #bay {
        width: 90% !important;
    }

    #cruise {
        width: 50% !important;
        left: -20%;
        top: 80%
    }

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

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

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

    .contentsbox h4 {
        font-size: 30px !important;
    }

    .contentsbox p {
        font-size: 22px !important;
    }

    .textbox h2 {
        font-size: 40px !important;
    }

    .textbox h3 {
        font-size: 15px;
        left: 50% !important;
    }

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

}

@media only screen and (max-width:900px), (height:1024px) and (width:1366px) and (-webkit-min-device-pixel-ratio:1.5) and (orientation:landscape), (width:1024px) and (height:1366px) and (-webkit-min-device-pixel-ratio:1.5) and (orientation:portrait) {

    /*  ipad pro */
    #bay {

        /* width: 100% */
    }

    #cruise {
        width: 90%;
        left: -20%
    }

    #cloud1 {
        bottom: -200px;
    }

    .textbox h1 {
        font-size: 45px;
    }

    .textbox h1.eng {
        font-size: 60px;
    }

    .contentsbox h4 {
        font-size: 22px;
    }

    .contentsbox p {
        font-size: 18px;
    }

    .textbox h2 {
        font-size: 50px;
    }

    .textbox h3 {
        font-size: 40px;
        left: 50% !important;
    }

    .textbox h4 {
        font-size: 30px;
    }

}

#tip {
    background-color: #dadada;
}
