
h4.topic {
    font-size: 50px;
    line-height: 55px;
    margin: 20px 0px;
    color: #000000;
}

h5.topic {
    font-size: 35px;
    line-height: 40px;
    margin: 20px 0px;
    color: #000000;
}

h5.topic.center {
    text-align: center;
}

.detail {
    font-weight: 100;
    font-size: 24px;
    line-height: 38px;
    color: #000000;
}

.detail.center {
    text-align: center;
}

.get-detail {
    font-size: 24px;
    line-height: 38px;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 100;
}

.header {
    min-height: 100vh;
    display: flex;
    position: relative;
}

video {
    width: 80%    !important;
    height: auto   !important;
  }

/*Background Header*/
.header .background-header {
    width: 100vw;
    min-height: 100vh;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.header .background-header .circle-texture {
    width: 100vw;
    min-height: 100vh;
    position: absolute;
    background-image: url("/assets/image/homepage/texture.webp");
    background-size: 100vw 100vh;
    opacity: 0.8;
    mix-blend-mode: overlay;
}

.header .background-header .circle-1 {
    position: absolute;
    left: calc(100vw * 1285 / 1440);
    top: calc(100vh * 311 / 800);
    width: calc(100vw * 245 / 1440);
    height: calc(100vh * 216 / 800);
    background: rgba(255, 230, 96, 0.8);
    filter: blur(100px);
    z-index: -1;
}

.header .background-header .circle-2 {
    position: absolute;
    left: calc(100vw * 1131 / 1440);
    top: calc(100vh * 163 / 800);
    width: calc(100vw * 383 / 1440);
    height: calc(100vh * 361 / 800);
    background: rgba(124, 241, 245, 0.6);
    filter: blur(120px);
    z-index: -2;
}

.header .background-header .circle-3 {
    position: absolute;
    left: calc(100vw * 1000 / 1440);
    top: calc(100vh * -245 / 800);
    width: calc(100vw * 776 / 1440);
    height: calc(100vh * 749 / 800);
    background: #00B0FF;
    filter: blur(200px);
    z-index: -3;
}

.header .background-header .circle-4 {
    position: absolute;
    left: calc(100vw * 246 / 1440);
    top: calc(100vh * 234 / 800);
    width: calc(100vw * 245 / 1440);
    height: calc(100vh * 216 / 800);
    filter: blur(120px);
    background: rgba(255, 230, 96, 0.8);
    z-index: -1;
}

.header .background-header .circle-5 {
    background: rgba(0, 176, 255, 0.6);
    position: absolute;
    left: calc(100vw * 283 / 1440);
    top: calc(100vh * 317 / 800);
    width: calc(100vw * 404 / 1440);
    height: calc(100vh * 336 / 800);
    filter: blur(120px);
    z-index: -2;
}

.header .background-header .circle-6 {
    background: rgba(124, 241, 245, 0.6);

    position: absolute;
    left: calc(100vw * 79 / 1440);
    top: calc(100vh * 437 / 800);
    width: calc(100vw * 383 / 1440);
    height: calc(100vh * 361 / 800);
    filter: blur(120px);
    z-index: -3;
}

/*Header Content*/
.header .header-content {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.header .container {
    display: flex;
    align-items: center;
}

.example-device-left.animate__animated.animate__zoomIn {
    --animate-delay: 1.8s;
    --animate-duration: 0.9s;
}

.example-device-right.animate__animated.animate__zoomIn {
    --animate-delay: 2.3s;
    --animate-duration: 0.9s;
}

.header-content .header-content-left h4 {
    font-size: 35px;
    line-height: 50px;
    font-weight: bold;
    font-family: "SukhumvitSet";
    margin-left: -20%;
}

.header-content .header-content-left p {
    font-size: 20px;
    line-height: 35px;
    font-weight: 100;
    font-family: "SukhumvitSet";
    padding: 20px 0;
    margin-left: -20%;
}

.header-content .header-content-left a {
    background: linear-gradient(258.32deg, #00B0FF -12.92%, #7CF1F5 113.01%);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    padding: 10px 30px;
    font-family: "SukhumvitSet";
    font-weight: bold;
    font-size: 30px;
    line-height: 48px;
    border: none;
    margin-left: -20%;
}

.header-content .header-content-left a:hover {
    text-decoration: none;
}

.header-content .header-content-right .example-device {
    top: 0;
    position: relative;
    width: 280px;
    margin-left: 40px;
    margin-right: 20px;
    animation-name: example;
    animation-duration: 7s;
    animation-iteration-count: infinite;
}

@keyframes example {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.header-content .header-content-right {
    position: relative;
}

.header-content .header-content-right .box-device {
    padding: 10px;
    background: #FFFFFF;
    box-shadow: 0px 4px 10px rgba(201, 201, 201, 0.25);
    border-radius: 20px;
}

.header-content .header-content-right .box-device.example-device-left {
    position: absolute;
    bottom: 140px;
    left: -110px;
}

.header-content .header-content-right .example-device-right {
    position: absolute;
    bottom: 30px;
    right: -110px;
}

.header-content .header-content-right .box-device.example-device-left img {
    width: 180px;
}

.header-content .header-content-right .box-device.example-device-right img {
    width: 180px;
}

.header-content-right .line-left {
    position: absolute;
    bottom: 230px;
    left: -60px;
}

.header-content-right .line-right {
    position: absolute;
    bottom: 140px;
    right: -60px;
}


/*Sponsor*/
.sponsor {
    padding: 20px 0;
}

.sponsor .splide__slide {
    display: flex;
    justify-content: center;
}

.sponsor .splide__arrows {
    display: none;
}

.sponsor .splide__pagination {
    display: none;
}

.sponsor .innovation-hub {
    width: 58px;
}

.sponsor .saving-bank {
    width: 190px;
}

.sponsor .kku {
    width: 50px;
}

.sponsor .startup-thailand {
    width: 105px;
}

.sponsor .depa {
    width: 110px;
}

.sponsor .nia {
    width: 130px;
}

.sponsor .science-park {
    width: 62px;
}

/*Vistor Machine User*/
.show-visitor-machine-user {
    padding: 40px 0;
}

.show-visitor-machine-user .row {
    display: flex;
    align-items: baseline;
}


.show-visitor-machine-user .why-me-card {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.show-visitor-machine-user .why-me-card h1{
    font-size:50px;
    font-weight: bold;

}

.show-visitor-machine-user .why-me-card .topic {
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    color: #000000;
}

/*How to work*/
.how-to-work {
    padding: 60px 0;
    background: rgba(242, 242, 242, 0.31);
}

.how-to-work .row {
    display: flex;
    align-items: baseline;
}

.how-to-work .topic h4, h6 {
    text-align: center;
}

.how-to-work .topic h4 {
    font-size: 40px;
}

.how-to-work .topic h6 {
    font-size: 24px;
    font-weight: 100;
}

.how-to-work .how-to-work-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    position: relative;
}

.how-to-work .how-to-work-card .line-left {
    width: calc((150 * 100vw) / 1440);
    position: absolute;
    right: -80px;
    top: 40%;
}

.how-to-work .how-to-work-card .line-right {
    width: calc((150 * 100vw) / 1440);
    position: absolute;
    right: -80px;
    top: 25%;
}

.how-to-work .how-to-work-card .image-how-to-work-card {
    margin-top: 40px;
    width: 240px;
}

.how-to-work .how-to-work-card .topic {
    font-size: 20px;
    line-height: 32px;
    padding-top: 10px;
    color: #000000;
}

.how-to-work .how-to-work-card .detail {
    font-weight: 100;
    text-align: center;
    font-size: 18px;
    line-height: 26px;
}

.how-to-work .how-to-work-card .detail a {
    text-decoration: underline;
    cursor: pointer;
}

/*Why me*/
.why-me {
    padding: 60px 0;
}

.why-me .row {
    padding-top: 40px;
    display: flex;
    align-items: baseline;
}

.why-me .topic h4 {
    font-size: 40px;
    text-align: center;
}

.why-me .why-me-card {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.why-me .why-me-card .image-why-me-card {
    width: 50px;
    position: relative;
}

.why-me .why-me-card .image-why-me-card img {
    width: 100%;
}

.why-me .why-me-card .image-why-me-card:before {
    content: "";
    position: absolute;
    width: 27px;
    height: 25px;
    right: -10px;
    bottom: -5px;
    background: #00B0FF;
    filter: blur(15px);
}

.why-me .why-me-card .topic {
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    color: #000000;
    margin-top: 25px;
}

.why-me .why-me-card .detail {
    font-weight: 100;
    font-size: 18px;
    line-height: 29px;
    text-align: center;
    color: #000000;
}

/*Application detail*/
.application-detail {
    padding: 60px 0;
}

.application-detail .row {
    display: flex;
    align-items: center;
}

.application-detail .left-content .image-store {
    display: flex;
}

.application-detail .left-content .image-store img {
    width: 200px;
    cursor: pointer;
    margin-right: 10px;
    margin-top: 20px;
}

.application-detail .right-content .splide-application {
    background: #FFFACA;
    padding-top: 40px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.application-detail .right-content .splide-application .circle-1 {
    position: absolute;
    z-index: -4;
    width: calc((740 * 100vw) / 1440);
    height: calc((256 * 100vh) / 800);
    left: -200px;
    top: -250px;
    background: #7CF1F5;
    filter: blur(150px);
}

.application-detail .right-content .splide-application .circle-2 {
    position: absolute;
    z-index: -4;
    width: calc((182 * 100vw) / 1440);
    height: calc((167 * 100vh) / 800);
    left: 100px;
    bottom: 100px;
    background: #C800FA;
    filter: blur(150px);
}

.application-detail .right-content .splide-application .circle-3 {
    position: absolute;
    z-index: -4;
    width: calc((182 * 100vw) / 1440);
    height: calc((167 * 100vh) / 800);
    right: 0;
    bottom: 150px;
    background: #C800FA;
    filter: blur(200px);
}

.application-detail .right-content .splide-application .circle-4 {
    position: absolute;
    z-index: -4;
    width: calc((182 * 100vw) / 1440);
    height: calc((167 * 100vh) / 800);
    right: 0;
    bottom: 160px;
    background: #7CF1F5;;
    filter: blur(200px);
}

.application-detail .right-content .splide-application .circle-5 {
    position: absolute;
    z-index: -4;
    width: calc((307 * 100vw) / 1440);
    height: calc((280 * 100vh) / 800);
    left: -150px;
    bottom: -150px;
    background: #7CF1F5;
    filter: blur(150px);
}

.application-detail .right-content .splide__slide {
    display: flex;
    justify-content: center;
    transition: 0.5s;
}

.application-detail .right-content .splide__slide.is-active {
    transform: scale(1.1);
}

.application-detail .right-content .device-preview {
    width: calc((250 * 100vw) / 1440);
    padding: 40px 0 80px 0;
}

.application-detail .right-content .splide__pagination__page {
    margin-bottom: 20px;
}

.application-detail .right-content .splide__pagination__page.is-active {
    background: #676767;
}

/*Web service*/
.web-service .row {
    display: flex;
    align-items: center;
    padding: 140px 0;
}

.web-service .content-left .box-webservice {
    position: relative;
    width: calc((500 * 100vw) / 1440);
}

.web-service .content-left .box-webservice .circle-1 {
    position: absolute;
    z-index: -4;
    width: calc((467 * 100vw) / 1440);
    height: calc((353 * 100vh) / 800);
    left: 0;
    top: 0;
    /*opacity: 0.6;*/
    background: linear-gradient(90deg, #12FFF7 0%, #B3FFAB 100%);
    filter: blur(100px);
}

.web-service .content-left .box-webservice .circle-2 {
    position: absolute;
    z-index: -3;
    width: calc((275 * 100vw) / 1440);
    height: calc((257 * 100vh) / 800);
    right: 0px;
    top: 20px;
    background: #7CF1F5;
    filter: blur(100px);
}

.web-service .content-left .box-webservice .circle-3 {
    position: absolute;
    z-index: -2;
    width: calc((223 * 100vw) / 1440);
    height: calc((215 * 100vh) / 800);
    right: 0;
    bottom: 0;
    background: #FCF7CC;
    filter: blur(100px);
}

.web-service .content-left .box-webservice .circle-4 {
    position: absolute;
    z-index: -2;
    width: calc((223 * 100vw) / 1440);
    height: calc((215 * 100vh) / 800);
    left: 30%;
    bottom: 40px;
    opacity: 0.6;
    background: #C800FA;
    filter: blur(100px);
}

.web-service .content-left .box-webservice .line1 {
    position: absolute;
    z-index: -1;
    top: 0;
    right: -38px;
    width: calc((115 * 100vw) / 1440);
    height: calc((185 * 100vh) / 800);
}

.web-service .content-left .box-webservice .line2 {
    position: absolute;
    z-index: -1;
    bottom: calc((-82 * 100vh) / 800);
    left: 55px;
    width: calc((133 * 100vw) / 1440);
    height: calc((156 * 100vh) / 800);
}

.web-service .content-left .box-webservice .line1 img, .web-service .content-left .box-webservice .line2 img {
    width: 100%;
    height: 100%;
}

.web-service .content-left .box-webservice img {
    /*width: 100%;*/
    height: 360px;
}

/*Web Package*/
.web-package .container {
    background: rgba(136, 226, 240, 0.2);
    padding: 50px;
    margin-bottom: 50px;
}

.web-package .row {
    display: flex;
    align-items: center;
}

.web-package .topic.highlight {
    color: #0070CF;
}

.web-package .right-content p {
    font-size: 18px;
    font-weight: 200;
    line-height: 29px;
    text-align: center;
    color: #000000;
}


.web-package .right-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.web-package .right-content a:hover {
    text-decoration: none;
    cursor: pointer;
}

.web-package .right-content a {
    display: inline-block;
    background: linear-gradient(258.32deg, #00B0FF -12.92%, #7CF1F5 113.01%);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    padding: 10px 30px;
    font-weight: bold;
    font-size: 30px;
    color: #000;
}

.web-package .right-content a > i {
    margin-left: 10px;
}

/*Customer*/
.customer img {
    margin-top: 20px;
    width: 100%;
}

.customer .container {
    padding-bottom: 80px;
}

.scroll-down {
    width: 32px;
    position: absolute;
    bottom: 40px;
    left: calc(50% - 16px);
}

.customer .splide-customer{
    display: none;
}

@media (max-width: 992px) {
    h4.topic {
        font-size: 30px;
        line-height: 48px;
        margin: 0;
    }

    h5.topic{
        font-size: 24px;
        line-height: 38px;
        margin: 0;
    }

    .detail {
        font-size: 16px;
        line-height: 25px;
    }

    .get-detail {
        font-size: 16px;
        line-height: 25px;
    }

    .header .header-content {
        justify-content: center;
    }

    .header-content .header-content-left {
        flex: 1 1 700px
    }

    .header-content .header-content-left h4 {
        margin-left: inherit;
        font-size: 24px;
        line-height: 38px;
    }

    .header-content .header-content-left p {
        margin-left: inherit;
        font-size: 16px;
        line-height: 24px;
        padding-top: 0;
    }

    .header-content .header-content-left a {
        margin-left: inherit;
        font-size: 18px;
        line-height: 29px;
        color: #121212;
    }

    .header-content .header-content-right .example-device {
        width: calc(100vw * 160 / 375);
        margin: 0;
    }

    .header-content .header-content-right {
        margin-top: 40px;
    }

    .header-content .header-content-right .box-device.example-device-right img {
        width: calc(100vw * 100 / 375);
    }

    .header-content .header-content-right .box-device.example-device-left img {
        width: calc(100vw * 100 / 375);
    }

    .header-content .header-content-right .box-device.example-device-left {
        bottom: calc(100vw * 110 / 740);
        left: calc(100vw * -80 / 360);
    }

    .header-content .header-content-right .example-device-right {
        right: calc(100vw * -80 / 360);
        bottom: calc(100vw * 30 / 360);
    }

    .header-content-right .line-right {
        right: calc(100vw * -80 / 360);
        bottom: calc(100vw * 100 / 360);
    }

    .header-content-right .line-right svg {
        width: calc(100vw * 91 / 360);
        height: calc(100vw * 122 / 360);
    }

    .header-content-right .line-left {
        bottom: calc(100vw * 107 / 360);
        left: calc(100vw * -87 / 360);
    }

    .header-content-right .line-left svg {
        width: calc(100vw * 102 / 360);
        height: calc(100vw * 166 / 360);
    }

    .sponsor .splide .splide__slide {
        margin: 0 50px;
    }


    .how-to-work .row {
        display: block;
    }

    .how-to-work .topic h4 {
        font-size: 24px;
    }

    .how-to-work .topic h6 {
        font-size: 16px;
        font-weight: 100;
    }

    .how-to-work .how-to-work-card .topic {
        font-size: 18px;
        line-height: 29px;
    }

    .how-to-work .how-to-work-card .detail {
        font-size: 16px;
        line-height: 24px;
    }

    .show-visitor-machine-user .row {
        display: block;
    }
    
    .show-visitor-machine-user .why-me-card {
        padding-bottom: 20px;
    }
    
    .show-visitor-machine-user .why-me-card h1{
        font-size: 30px;
        line-height: 38px;
    
    }
    
    .show-visitor-machine-user .why-me-card .topic {
        font-size: 18px;
        line-height: 29px;
    }

    .why-me .topic h4 {
        font-size: 24px;
        line-height: 38px;
    }

    .why-me .row {
        display: block;
    }

    .why-me .why-me-card .topic {
        font-size: 18px;
        line-height: 29px;
    }

    .why-me .why-me-card .detail {
        font-size: 16px;
        line-height: 25px;
    }

    .why-me .why-me-card {
        padding-bottom: 40px;
    }

    .application-detail {
        padding: 0;
    }

    .application-detail .row {
        display: block;
    }

    .application-detail .left-content .image-store img {
        width: 120px;
    }

    .application-detail .left-content {
        padding-bottom: 20px;
    }

    .application-detail .right-content {
        padding: 0;
    }

    .application-detail .right-content .device-preview {
        width: calc((200 * 100vw) / 360);
        padding: 40px 30px 80px 30px;
    }

    .web-service .row{
        flex-wrap: wrap;
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .web-service .content-left .box-webservice {
        width: initial;
    }

    .web-service .content-left .box-webservice img{
        width: 100%;
        height: initial;
        margin-top: 40px;
    }

    .web-package .container{
        margin: 15px;
        border-radius: 10px;
    }

    .web-package .row{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .web-package .topic.highlight{
        font-size: 24px;
        line-height: 38px;
        margin: 0;
    }

    .web-package .right-content p{
        font-size: 14px;
        line-height: 22px;
    }

    .web-package .detail{
        padding: 15px 0 20px 0;
    }

    .web-package .right-content a{
        font-size: 18px;
        line-height: 29px;
    }

    .customer .row {
        display: none;
    }

    .customer .get-detail{
        display: block;
    }

    .customer .splide-customer{
        position: relative;
        display: block;
    }

    .customer .splide-customer .splide__arrow{
        display: none;
    }

    .customer .splide-customer .splide__pagination{
        bottom: -30px;
    }

    .customer .splide-customer .splide__pagination__page.is-active{
        background: #09B6FC;
        border-radius: 3px;
        width: 15px;
        height: 6px;
        margin-bottom: 6px;
    }
    
    .show-visitor-machine-user .video-container {
        overflow: hidden;
        position: relative;
        width:100%;
        max-width: 800px;
    }
    
    .show-visitor-machine-user .video-container::after {
        width: 100%;
        max-width: 100%;
        height: 0;
        padding-top: 56.25%;
        display: block;
        content: '';
        position: relative;
    }
    
    .show-visitor-machine-user .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
    }
}


/* Intro video: full width of the content area at every screen size, kept at 16:9. */
.show-visitor-machine-user .video-container {
    position: relative;
    width: calc(100% - 32px);
    max-width: 1100px;
    margin: 48px auto 0;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(9, 182, 252, 0.15);
    background: #000;
}

.show-visitor-machine-user .video-container::after {
    content: none;
    padding-top: 0;
}

.show-visitor-machine-user .video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767px) {
    .show-visitor-machine-user .video-container {
        width: calc(100% - 32px);
        margin-top: 24px;
        border-radius: 12px;
    }
}
