@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    font-family: 'Roboto';
}

nav {
    position: fixed;
    background: #284B63;
    height: 80px;
    width: 100%;
    z-index: 2048;
}

label.logo {
    padding: 0 100px;

}

nav ul {
    float: right;
    margin-right: 20px;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}

nav ul li a {
    color: white;
    font-size: 17px;
    padding: 7px 13px;
    border-radius: 3px;
}

a.active,
a:hover {
    background: #40799e;
    ;
    transition: .5s;
}

.checkbtn {
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

@media (max-width: 952px) {
    label.logo {
        font-size: 30px;
        padding-left: 50px;
    }

    nav ul li a {
        font-size: 16px;
    }
}

@media (max-width: 858px) {
    .checkbtn {
        display: block;
    }

    ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #2c3e50;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }

    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }

    nav ul li a {
        font-size: 20px;
    }

    a:hover,
    a.active {
        background: none;
        color: #0082e6;
    }

    #check:checked~ul {
        left: 0;
    }
}


.image-bg {
    --gap: 15px;
    --num-cols: 2;
    --row-height: 500px;

    box-sizing: border-box;
    padding: var(--gap);
    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    grid-auto-rows: var(--row-height);
    gap: var(--gap);
    padding: 0 0;
}

.image-bg>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-bg>p {
    padding: 25% 0;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-size: 40px;
    line-height: 35px;
    color: #353535;
    text-align: center;
}


.title-mask {
    width: 65%;
    margin: 3% 16%;
    padding: 1%;
    border-radius: 10px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 25px;
    line-height: 29px;
    text-align: center;
    color: #FFFFFF;
    background: #3C6E71;
    border-radius: 10px;
}

.text-1 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 35px;
    color: #284B63;
    width: 55%;
    padding: 1% 10%;
}


.mask_1 {
    padding: 2% 0 2% 5%;

    width: 90%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

.mask_1 img {
    width: 100%;
    height: 100%;
}

.mask_2 {

    padding: 60px;
    text-decoration: none;
    border-bottom: 2px solid rgb(194, 193, 193);


}

.Guarantee_img {
    display: flex;
    margin-bottom: 25px;
    padding: 0 5%;
    justify-content: space-around;
}

.Guarantee {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 23px;
    color: #284B63;
    padding: 0 0 55px 0;
}

.Guarantee_1 {
    display: grid;
    gap: 2px;
    padding: 5px;
}

.img_logo_1 {
    padding: 0 20px;
    height: 120px;
    width: 200px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    justify-content: center;
    flex-wrap: wrap;
}

.Guarantee_2 {
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 2px;
    padding: 10px;
}

.img_logo_2 {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 130px;
    width: 230px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width:768px) {
    .Guarantee_img {
        flex-direction: column;
        width: 220px;
        margin: 0 auto 25px;
    }

    .Guarantee_img>div {
        margin: 10px 0;
    }
}

@media (max-width:768px) {

    .Guarantee_img {
        flex-direction: column;
        width: 220px;
        margin: 0 auto 25px;
    }

    .Guarantee_img>div {
        margin: 10px 0;
    }

}

.mask_3 {
    padding: 4% 0 4% 5%;
    width: 90%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.mask_3 img {
    width: 100%;
    height: 90%;
}

/***slide**/

.container2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider {
    display: block;
    position: relative;
    width: 100%;
    max-width: 830px;
    height: 377px;
    margin: 10px;
    background-color: white;
    overflow: hidden;

}

.slider__slides {
    width: 100%;
    padding-top: 50%;
}

.slider__slide {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-weight: bold;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: 1s;
    opacity: 0;

}

.slider__slide.active {
    opacity: 1;
}

.slider__slide img {
    width: 93%;
    height: 376px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.slider__nav-button {
    position: absolute;
    height: 60px;
    width: 60px;
    background-color: #3C6E71;
    opacity: 2;
    cursor: pointer;
    border-radius: 50%;
}

#nav-button--prev {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

#nav-button--next {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

#nav-button--prev::after,
#nav-button--next::after {
    content: "";
    position: absolute;
    border: solid white;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 3px;
    width: 20%;
    height: 20%;
}

#nav-button--next::after {
    top: 50%;
    right: 50%;
    transform: translate(25%, -50%) rotate(-45deg);
}

#nav-button--prev::after {
    top: 50%;
    right: 50%;
    transform: translate(75%, -50%) rotate(135deg);
}

.slider__nav {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.slider__navlink {
    display: inline-block;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 1px #fff solid;
    background-color: #333;
    opacity: 1;
    margin: 0 5px 0 5px;
    cursor: pointer;
}

.slider__navlink.active {
    background-color: #fff;
    border: 1px #333 solid;
}


@media screen and (max-width: 640px) {
    .slider__nav-button {
        height: 40px;
        width: 40px;
    }

    .slider__navlink {
        height: 12px;
        width: 12px;
    }
}


.title-mask-2,
.title-mask-3 {
    margin: 3% 10%;
    padding: 1%;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 35px;

    color: #FFFFFF;
    background: #284B63;
    border-radius: 10px;
    border-top: 2px solid rgb(194, 193, 193);
}

.title-mask-2 {
    width: 25%;
}

.title-mask-3 {
    width: 31%;
}


.mask_5 {
    --gap: 10px;
    --num-cols: 2;
    --row-height: 321px;

    box-sizing: border-box;  
    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    grid-auto-rows: var(--row-height);
    gap: var(--gap);
    padding: 2% 0 5% 3%;
    margin: 0 0 0 6%;

}

.slider2 {
    display: block;
    position: relative;
    width: 100%;
    max-width: 85%;
    height: 321px;
    margin: 5px;
    background-color: white;
    overflow: hidden;

}

.slider__slides2 {
    width: 100%;
    padding-top: 50%;
}

.slider__slide2 {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-weight: bold;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: 1s;
    opacity: 0;

}

.slider__slide2.active {
    opacity: 1;
}

.slider__slide2 img {
    width: 63%%;
    height: 320px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.slider__nav-button2 {
    position: absolute;
    height: 50px;
    width: 50px;
    background-color: #3C6E71;
    opacity: 2;
    cursor: pointer;
    border-radius: 50%;
}

#nav-button--prev2 {
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
}

#nav-button--next2 {
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
}

#nav-button--prev2::after,
#nav-button--next2::after {
    content: "";
    position: absolute;
    border: solid white;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 3px;
    width: 20%;
    height: 20%;
}

#nav-button--next2::after {
    top: 50%;
    right: 50%;
    transform: translate(25%, -50%) rotate(-45deg);
}

#nav-button--prev2::after{
    top: 50%;
    right: 50%;
    transform: translate(75%, -50%) rotate(135deg);
}

.slider__nav2 {
    position: absolute;
    bottom: 3%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.slider__navlink2 {
    display: inline-block;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 1px #fff solid;
    background-color: #333;
    opacity: 1;
    margin: 0 3px 0 3px;
    cursor: pointer;
}

.slider__navlink2.active {
    background-color: #fff;
    border: 1px #333 solid;
}


@media screen and (max-width: 640px) {
    .slider__nav-button2 {
        height: 40px;
        width: 40px;
    }

    .slider__navlink2 {
        height: 12px;
        width: 12px;
    }
}


@media screen and (max-width: 1024px) {
    .mask_5 {
        --num-cols: 1;
        --row-height: 321px;
    }
}


.download {
    height: 120%;
    border-top: 2px solid rgb(194, 193, 193);


}

.container-download {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.btn {
    border: none;
    padding: 25px 30px;
    cursor: pointer;
    background: rgba(40, 75, 99, 0.85);
    border-radius: 20px;

    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    color: #FFFFFF;
    margin: 3% 0;
}

/*footer*/
.footer {
    background-image: url(../img/footer/Rectangle\ 26.png);
    width: 100%;
    height: 100%;
    text-decoration: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-decoration: none;
}

.footer .footer_menu {
    display: flex;
    padding: 3% 4% 3% 9%;
    justify-content: space-between;
}


.footer .footer_menu ul li a {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    text-decoration: none;
}

.footer_title_2 {
    padding: 25% 0 10% 0;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-size: 27px;
    line-height: 32px;
    color: #F8F8F8;
}

.footer_menu_2,
.footer_title_3 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    color: #F8F8F8;
}

.qr_code div {
    height: 80px;
    width: 80px;
}

.footer_title_4 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 42px;
    color: #F8F8F8;
}

.footer_menu_4 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;

    color: #F8F8F8;
}

.footer .icon_code {
    display: grid;
    grid-template-columns: auto auto;
    gap: 2px;
    padding: 5px;
}

.footer .icon_code div {
    justify-content: center;
    flex-wrap: wrap;
}

.icon_1 {
    padding: 0 20px;
    width: 50px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.icon_2 {
    padding: 0 20px;
    width: 50px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.footer .qr_code {
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 2px;
    padding: 10px;
}

.footer .qr_code div {
    justify-content: center;
    flex-wrap: wrap;
}

.qr_1 {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.qr_2 {
    background-image: url(../assets/img/1Home/Contact/QR\ Line\(at\)\ Siam.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.endfooter {
    padding: 25px 0 0 0;
    text-align: center;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    background: #284B63;
    color: #F8F8F8;
}

.endfooter p {
    padding: 2% 0 0 0;
}

@media (max-width:768px) {
    .footer .footer_menu {
        flex-direction: column;
        width: 220px;
        margin: 0 auto 25px;
    }

    .footer .footer_menu>div {
        margin: 10px 0;
    }

    .footer .partners ul li a {
        margin: 5px;
    }
}