
/* =================== */
/*        Fonts        */
/* =================== */

/* TH SarabunPSK*/
@font-face {
    font-family: 'TH_SarabunPSK';
    src: url('../fonts/THSarabunPSK-Bold.eot');
    src: url('../fonts/THSarabunPSK-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/THSarabunPSK-Bold.woff2') format('woff2'),
        url('../fonts/THSarabunPSK-Bold.woff') format('woff'),
        url('../fonts/THSarabunPSK-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'TH_SarabunPSK';
    src: url('../fonts/THSarabunPSK.eot');
    src: url('../fonts/THSarabunPSK.eot?#iefix') format('embedded-opentype'),
        url('../fonts/THSarabunPSK.woff2') format('woff2'),
        url('../fonts/THSarabunPSK.woff') format('woff'),
        url('../fonts/THSarabunPSK.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Kanit*/
@import url('https://fonts.googleapis.com/css?family=Kanit:100,100i,200,200i,300,300i,400,400i,500,500i,600,700,800,900');


/* =================== */
/*         Body        */
/* =================== */

body, div, p, a, span, ul, li, h1, h2, h3, h4, h5 {
    font-family: 'TH_SarabunPSK';
    font-weight: normal;
}
html, body {
    height: 100%;
    width: 100%;
}
body {
 /*   min-height: 100%;
    position: relative;*/
    background-image: url(../images_5/site_bg.jpg);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: black;
    display: flex;
    flex-direction: column;
    height: 100vh; 
}
h1 {
    margin-top: 100px;
    color: #ecdcce;
    text-align: center;
    font-size: 54px;
    line-height: 64px;
    font-weight: bold;
}
h2 {
    margin-top: 15px;
    color: #ecdcce;
    text-align: center;
    font-size: 38px;
}
h3 {
    margin-top: -6px;
    color: #ecdcce;
    text-align: center;
    font-size: 38px;
    line-height: 46px;
}
.main-body {
    /*min-height: 100%;*/
    /*margin-bottom: 80px;*/
    padding-top: 65px;
    /*margin-top: 65px;*/
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    flex: 1 0 auto;
}
.as-quote-box {
    padding-top: 10px;
    /*padding-right: 50px;*/
}
.line-separator {
    margin-top: 26px;
    margin-bottom: 26px;
}
.as-btn-box {
    margin-top: 24px;
    text-align: center;
}
.as-btn-box a{
    width: 49%;
    display: inline-block;
}
.as-btn-box a,
.as-btn-box a:active,
.as-btn-box a:focus {
    outline: none;
}
.sign-king-rama img {
    /* margin-right: 15px;
    width: 282px;
    height: 104px;
    display: inline-block;
    background-image: url(../images/sign-btn.png); */
    transition: 0.3s;
}
.images-loading {
    background-image: url(../images/sign-hover-btn.png),
                        url(../images/goToSite-hover-btn.png);
}
.sign-king-rama img:hover {
    background-size: contain;
    background-image: url(../images/sign-hover-btn.png);
}
.goToSite img {
    /*margin-left: 15px;
    width: 282px;
    height: 104px;
    display: inline-block;
    background-image: url(../images/goToSite-btn.png);*/
    transition: 0.3s;
}
.goToSite img:hover {
    background-size: contain;
    background-image: url(../images_12/goToSite-hover-btn.png);
}
footer {
    padding-top: 100px;
    position: relative;
    flex-shrink: 0;
}
.footer-position {
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
}
footer p {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #76643e;
    text-align: center;
    /*margin-bottom: 0;*/
    /*padding-bottom: 0px;*/
}

@media (max-width: 1600px){
    footer {
        /*margin-top: 50px;*/
    }
}

@media (max-width: 1200px) {
    h1 {
        margin-top: 30px;
        font-size: 42px;
        line-height: 58px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 32px;
    }
    .main-body {
        /*min-height: 93%;*/
    }
    .as-quote-box {
        padding-top: 30px;
        padding-right: 0px;
    }
    .as-btn-box {
        margin-top: 4px;
        text-align: center;
    }
    .sign-king-rama {
        margin-right: 0px;
    }
    .goToSite {
        margin-top: 20px;
        margin-left: 0px;
    }
}

@media (max-width: 991px) {
    footer {
        /*margin-top: 100px;*/
    }
    .as-quote-box {
        padding-top: 60px;
    }
    .sign-king-rama {
        margin-right: 0px;
    }
    .goToSite {
        margin-top: 20px;
        margin-left: 0px;
    }
}
@media (max-width: 768px) {
    .as-quote-box {
        padding-top: 30px;
    }
    .as-btn-box a {
        width: 100%;
        display: block;
        text-align: center;
    }
    .sign-king-rama {
        margin-top: 20px;
        margin-right: 0px;
    }
    .goToSite {
        margin-top: 0px;
        margin-left: 0px;
    }
}
@media (max-width: 618px) {
    .sign-king-rama {
        margin-right: 0px;
    }
    .goToSite {
        margin-top: 0px;
        margin-left: 0px;
    }
}
@media (max-width: 512px) {
    .main-body {
        /*padding-top: 50px;*/
    }
    h1 {
        font-size: 32px;
        line-height: 48px;
    }
    h2 {
        font-size: 28px;
        line-height: 38px;
    }
    h3 {
        font-size: 22px;
        line-height: 38px;
    }
}
@media (max-width: 360px) {
    h1 {
        font-size: 24px;
        line-height: 40px;
        margin-bottom: -5px;
    }
    h2 {
        font-size: 18px;
        line-height: 24px;
    }
    h3 {
        font-size: 20px;
    }
}