* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-style: normal;
    background: #5A6C6D url('/i/bg.png') no-repeat right bottom;
    background-size: auto;
    color: #fff;
    min-height: 100vh;
}
a {
    text-decoration: none;
    color: #fff;
    transition: opacity .3s ease;
}
a:hover {opacity: 0.6;}
.s1 {
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.s1 .header {
    width: calc(100% - 40px);
    max-width: 1250px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}
.s1 .header img {
    width: 100%;
    max-width: 440px;
}
.s1 .header a {
    font-weight: 500;
    font-size: 19px;
    line-height: 25px;
    letter-spacing: 4px;
    text-transform: uppercase;
    border-bottom: solid 1px #fff;
}
.s1 .content {
    width: calc(100% - 40px);
    max-width: 810px;
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.s1 .content .main {margin-bottom: 100px;}
.s1 .content .main h3 {
    font-weight: 200;
    font-size: 32px;
    line-height: 43px;
    /* margin-bottom: 50px; */
} 
.s1 .content .main h3:last-of-type {margin-bottom: 0;}
.s1 .content .contact {
    padding-left: 30px;
    border-left: solid 1px #fff;
    margin-bottom: 100px;
}
.s1 .content .contact h4, .s1 .content .contact a {
    font-weight: 300;
    font-size: 23px;
    line-height: 34px;
}
.s1 .content .contact h4 {font-weight: 500;}
.s1 .content .contact a {display: inline-block;}
.s1 .content .footer > div {
    display: flex;
    align-items: center;
    gap: 20px;
}
.s1 .content .footer p, .s1 .content .footer a {
    font-size: 12px;
    line-height: 17px;
}
.s1 .content .footer a {
    display: block;
    border-bottom: solid 1px #fff;
}
.s1 .content .footer .disc {
    opacity: 0.6;
    margin-top: 20px;
}

.fade-in-text {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
}

.fade-in-text.inView {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .75s ease, transform 1s ease;
}


@media screen and (max-height: 900px) {
    .s1 .content .main {margin-bottom: 60px;}
    .s1 .content .contact {margin-bottom: 70px;}
}

@media screen and (max-height: 890px) {
    .s1 {
        height: auto;
        padding: 20px 0;
        overflow-y: scroll;
    }
    .s1 .header, .s1 .content {
        position: relative;
        top: auto;
        bottom: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .s1 .header img {max-width: 300px;}
    .s1 .header a {font-size: 16px;}
    .s1 .content {margin-top: 70px;}
    .s1 .content .main, .s1 .content .contact {margin-bottom: 50px;}
    .s1 .content .main h3 {
        font-size: 25px;
        line-height: 30px;
        /* margin-bottom: 25px; */
    }
}

@media screen and (max-width: 1100px) {
    .s1 .content {top: 58%;} 
    .s1 .header img {max-width: 400px;}
}

@media screen and (max-width: 767px) {
    html, body {background-size: 100%;}
    .s1 {
        height: auto;
        padding: 20px 0;
    }
    .s1 .header, .s1 .content {
        position: relative;
        top: auto;
        bottom: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .s1 .header img {max-width: 180px;}
    .s1 .header a {
        font-size: 10px;
        line-height: 15px;
        letter-spacing: 2px;
    }
    .s1 .content {margin-top: 70px;}
    .s1 .content .main {margin-bottom: 50px;}
    .s1 .content .main h3 {
        font-size: 20px;
        line-height: 28px;
        /* margin-bottom: 20px; */
    }
    .s1 .content .contact {
        padding-left: 20px;
        margin-bottom: 100px;
    }
    .s1 .content .contact h4, .s1 .content .contact a {
        font-size: 18px;
        line-height: 26px;
    }
    .s1 .content .footer > div {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

