@charset "utf-8";

    @import url('https://fonts.googleapis.com/css?family=Poppins:300');

    html, body {margin: 0;padding: 0;}
    
    span.btn-entersite {padding-top: 1vh; display: block;}
    .txt-w400 {font-weight: 400;}

    .content-box-l {width: 32%; float: left; position: absolute; left: 8vw; top: 12vh; z-index: 1;}
    .content-box-r {width: 67%; float: left;}

    .frame {
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    .zoomin img {
      width: 100%;
      height: 100%
       -webkit-transition: all 0.3s ease;
      -moz-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
      transition: all 0.3s ease;
    }
    .zoomin img:hover {
      -moz-transform: scale(1.025);
      -webkit-transform: scale(1.025);
      transform: scale(1.025);
    }

    @keyframes slideInFromTop {
        0% {transform: translateY(-30%);}
      100% {transform: translateY(0);}
    }
    @keyframes slideInFromBottom {
        0% {transform: translateY(100%);}
      100% {transform: translateY(0);}
    }

    .container-personoftheyear {display: block; width: 100vw; height: 100vh; max-width: 1900px; margin: auto; overflow: hidden;}
    .personoftheyear-intro {
        display: grid;
        justify-content: center;
        align-items: center;
        text-align: center;
        align-content: space-between;
        overflow: hidden;
    }
    .logo-people,.tstd-logo {
        animation: 1s ease-out 0s 1 slideInFromTop;
    }
    .personoftheyear-intro .tstd-logo {
        display: block;
        margin-bottom: 2em;
    }

    .personoftheyear-intro .tstd-logo img {
        max-width: 30vw;
    }

    .logo-people {
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
    }

    .logo-people img {
        max-width: 72vw;
    }

    .personoftheyear-intro .title img {
        max-width: 25vw;
        height: auto;
    }

    .personoftheyear-title {
        animation: 1s ease-out 0s 1 slideInFromBottom;
    }

    .personoftheyear-title .button {
        text-align: center;
        display: block;
    }

    .personoftheyear-title .countdown h2 {
        color: #FFF;
    }

    .personoftheyear-title .button a {
        display: inline-block;
        border: solid 1px #FFF;
        color: #FFF;
        padding: 8px 15px;
        font: 600 normal 1em 'Kanit';
        line-height: 1em;
        border-radius: 30px;
        min-width: 178px;
        margin-bottom: 20px;
        height: 46px;
    }

    .personoftheyear-title .button a:hover {
        background: rgba(255,197,1,1)!important;
        border: solid 1px #000 !important;
        color: #000 !important;
        transition-duration: 0.2s;
    }

    .personoftheyear-title .button a+a {
        margin-top: 20px;
    }

    .personoftheyear-title .title {
        color: #FFF;
        font-size: 7rem;
        font-weight: 300;
        font-family: 'Avenir' !important;
    }

    .personoftheyear-title .subtitle {
        font-size: 3.4rem !important;
        font-family: 'Kanit' !important;
        font-weight:300 !important;
        color: #FFF;
    }

    .personoftheyear-gallery {
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        padding: 0;
        margin: 0;
        list-style: none;
        z-index: -1;
    }

    .personoftheyear-gallery-item {
        width:100vw;
        height: 100vh !important;
        background-size: cover;
        background-position: center center;
        background-attachment: fixed;
    }

    @media only screen and (max-width:1024px) {
        .personoftheyear-intro .tstd-logo img {
            max-width: 40vw;
        }
        .logo-people img {
                max-width: 50vw;
        }
    }

    @media only screen and (max-width:768px) {
        .content-box-l {width: 100%; float: left; left: 0vw; top: 5vh; z-index: 1;}
        .content-box-r {width: 100%; float: left;}

        .personoftheyear-intro {
            background-size: cover;
        }

        .personoftheyear-intro .tstd-logo {

        }

        .personoftheyear-intro .tstd-logo img {
            max-width: 60vw;
        }

        .personoftheyear-title {
            margin-bottom: 0;
            padding: 0;
            margin: auto;
            width: 200px;
        }

        .personoftheyear-title .title {
            font-size: 2.5rem;
        }

        .personoftheyear-title .subtitle {
            font-size: 1.5rem !important;
            font-family: 'Kanit' !important;
            color: #FFF;
        }

        .personoftheyear-title .countdown {
            transform: scale(.75);
        }
        
        .personoftheyear-title .button {
            display: block;
        }

        .personoftheyear-title .button a {
            display: block;
            margin: auto !important;
        }

        .personoftheyear-title .button a+a {
            margin-top: 16px !important;
        }
        .logo-people img {
                max-width: 75vw;
        }
    }

    @media only screen and (max-width:414px) {
        .content-box-l {top: 10vh;}
        .personoftheyear-title .button a {
            max-width: 90% !important;
        }
        .personoftheyear-title {
            padding: 0;
        }
        .personoftheyear-intro .tstd-logo {
            
        }
        .personoftheyear-intro .tstd-logo img {
            max-width: 70vw;
        }

        .logo-people img {
                max-width: 100vw;
        }
    }