@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'inter';
}
html {
    scroll-behavior: smooth; /* Áp dụng cuộn mượt mà cho toàn bộ trang */
}
body{
    background: linear-gradient(270deg, #A4A2A2 0%, #EEEEEE 25%, white 50%, #E8E8E8 75%, #A4A2A2 100%);
    position: relative;
}

a{
    text-decoration: none;
    color: black;
}

#top-button{
    position: fixed;
    bottom: -100px;
    right: 15px;
    
    background-color: #FFE500;
    border-radius: 10px;
    z-index: 999;
    
    /* transform: translateY(-210%); */
    transition: all 0.9s ease;
}
#top-button i{
    padding: 20px;
}

.onTop{
    transform: translateY(-210%);
}

.header{
    width: 100%;
    height: 876px;
    /* background-color: aquamarine; */
    background-image: url('../image/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;

    display: flex;
    flex-direction: column;
    align-items: center;
    
    position: relative;
    gap: 100px;
}
.menu-top{
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;

    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    z-index: 999;
}

.header-top{
    width: 90%;
    height: 45.96px;
    /* background-color: #A4A2A2; */

    display: flex;
    align-items: center;
    justify-content: space-between;
}

#logo{
    width: 162px;
}

.header-main{
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: yellow; */

    justify-content: space-between;
    z-index: 2;


}
.menu-header{
    height: 100%;
    display: flex;
    list-style-type: none;
    
    gap: 30px;
    font-size: 20px;
    font-weight: 700;
}
@media (max-width: 1100px) {
    .menu-header{
        display: none;
    }
}
.menu-header a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow: hidden;

    height: 50px;
}

.menu-header a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: black;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.menu-header a:hover::after {
    animation: hover-animation 0.5s ease forwards;
}

.menu-header a:not(:hover)::after {
    animation: unhover-animation 0.5s ease forwards;
}

@keyframes hover-animation {
    0% { transform: translateX(-101%); }
    50% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

@keyframes unhover-animation {
    0% { transform: translateX(0); }
    50% { transform: translateX(0); }
    100% { transform: translateX(101%); }
}


/* .menu ul li{
    width: 163px;
    height: 60px;
    display: flex;

    background-image: url('../image/Group\ 1.png');
    background-repeat: no-repeat;
    background-position:left;

    margin-block: 15px;
    padding-left: 15px;

    line-height:70px;
    font-size: 22px;
    font-weight: bold;

    transition: all 0.5s ease;
} */

/* .menu ul li:hover{
    background-image: url('../image/trang1.png');
} */

.main-img{
    height: 950px;
    display: flex;
    justify-content: center;
    width: 100%;
    /* background-color: aqua; */
    
    position: absolute;
    bottom: 60px;
    /* margin-top: -500px; */

    overflow: hidden;
}

.main-img img{
    position: absolute;
    bottom: 50px;
    /* left: 20%; */
}

#img-right{
    width: 1066px;
}

#img-left{
    width: 334.29px;
    z-index: 1;
    left: 22%;
    bottom: 0;
}

@media (max-width: 1440px) {
    #img-left{
        left: 10%;
    }
}


/* #khachhang{
    width: 325px;
    background-image: url('../image/Frame\ 1.png');
    background-repeat: no-repeat;
    background-position:left;
    transition: all 0.5s ease;
}
#khachhang:hover{
    background-image: url('../image/trang3.png');
}

#quytrinh{
    width: 325px;
    background-image: url('../image/Frame\ 1\ \(1\).png');
    background-repeat: no-repeat;
    background-position:left;
    transition: all 0.5s ease;
}
#quytrinh:hover{
    background-image: url('../image/trang2.png');
} */

.header-icon{
    display: flex;
    flex-direction: column;
    gap: 20px;
    
    overflow: visible;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 0px 15px 15px 0px;
    padding-inline: 30px 20px;
    padding-block: 20px;

    position: fixed;
    left: -10px;
    top: 38%;
    
    z-index: 999;
    transition: all 0.3s ease;
}
.header-icon i{
    height: 44px;

    gap: 5px;
    font-size: 50px;
    line-height: 45px;

    border-radius: 5px;
    background-color: white;
    background-position: bottom;

    transition: all 0.3s ease;
    cursor: pointer;
}

.header-icon i:hover {
    scale: 110%;
    color: #FFC700;
}
.header-icon:hover{
    left: 0;
}


.contact-frame{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 315px;
    height: 334px;
    background: rgba(255, 255, 255, 0.70);
    border-radius: 10px;
    backdrop-filter: blur(6.50px);
}

.contact-frame h3{
    margin-bottom: 15px;
}

.contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact input{
    width: 280px;
    height: 38px;
    border-radius: 10px;
    padding-left: 10px;
    border: none;
}

#submit{
    width: 101px;
    height: 38px;
    padding-left: 0px;

    font-weight: 700;
    font-size: 16px;

    background: #FFC700;
    box-shadow: 0px 3px 3.5px rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    border: 2px #FFE500 solid;

    transition: all 0.3s ease;
    cursor: pointer;
}

#submit:hover{
    background-color: white;
    scale: 110%;
}

.serious{
    width: 100%;
    height: 366px;
    background-image: url('../image/Group\ 165.png');
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;

    padding-top: 10px;
    position: relative;
    overflow: hidden;
}

.serious-content{
    /* background-color: #EEEEEE; */

    width: 90%;
    height: 300px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.serious-content h3{
    font-size: 30px;
}

.serious-content p{
    width: 880px;
    font-size: 20px;
    font-weight: 500;
}
@media (max-width: 970px) {
    .serious-content p{
        width: 700px;
    }
}
.download-brochure{
    height: 366px;
    position: absolute;
    right: 0;

    animation: vaytay 2s ease-in-out infinite;
}

@keyframes vaytay{
    0%{transform: rotate(0deg);}
    50%{transform: rotate(-3deg);}
    100%{transform: rotate(0deg);}
}


#lego-download{
    position: absolute;
    right: 220px;
    bottom: 25px;
    cursor: pointer;
}

#arm{
    position: absolute;
    right: 0;
    bottom: -50px;
}


.icon-down{
    width: 220px;
    display: flex;
    align-items: center;
    gap: 10px;
    /* background-color: #EEEEEE; */
    position: absolute;
    right: 210px;
    bottom: 40px;

    color: white;
    font-size: 30px;

    pointer-events: none;
}

.icon-down p{
    font-size: 20px;
    font-weight: 700;
}

.LSP{
    width: 100%;
    height: 830px;
    background-color: white;

    overflow: hidden;
    position: relative;
}

.LSP-lego{
    width: 100%;
    height: 830px;
    display: flex;
    justify-content: center;
    align-items: end;
    /* background-color: aqua; */
}
#lego-man{
    height: 90%;
    margin-bottom: 30px;
}

.LSP-content{
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    background-image: url('../image/Asset\ 4@2x\ 1.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;

    padding-top: 40px;
    position: absolute;
}

h1{
    font-size: 46px;
}

.content-main{
    width: 70%;
    display: flex;
    justify-content: space-between;

    margin-top: 48px;
}
.content-main img{
    width: 72px;
    height: 72px;
}
.content-main h2{
    font-size: 20px;
}
.content-main p{
    font-size: 15px;
}


.frame-content{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.content{
    /* background-color: aquamarine; */
    width: 312px;
    height: 192px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-experiment{
    width: 100%;
    height: 1080px;
    
    display: flex;
    justify-content: center;
    position: relative;
}
#car{
    position: absolute;
    right: 0;
    top: -20%;
}
.line{
    width: 100%;
    /* background-color: wheat; */
    position: absolute;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;

}
#line{
    width: 100%;
    margin-bottom: -5%;
}

.frame-user-content{
    width: 90%;
    /* height: 100%; */
    /* background-color: #00B43C; */

    display: flex;
    flex-direction: column;
    gap: 42px;
    margin-top: 35px;
}

.frame-user-content h1{
    width: 872px;
    font-size: 48px;
    font-weight: 700;
}

.user-content{
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 30px;
    /* background-color: bisque; */
}
.user-top{
    width: 100%;

    display: flex;
    justify-content: center;
    gap: 30px;
    /* background-color: #FFE500; */
}

.user-content img{
    position: absolute;
    bottom: 0;
    left: 0;
}

.user-left{
    width: 538px;
    height: 285px;
}
.img-user{
    position: relative;
}

.frame-text{
    width: 457px;
    height: 285px;
    background: #FFC905;
    border-radius: 10px;

    margin-left: 80px;
}

.content-experiment{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    padding-right: 30px;
    margin-left: 110px;
}

.content-bottom{
    color: white;
    padding-top: 30px;
    padding-right: 15px;
    margin-left: 105px;
}
.content-bottom p{
    font-weight: 300;
}
.content-bottom h3{
    line-height: 26px;
}
.content-bottom-end{
    color: black;
}
.content-bottom-end p{
    font-weight: 400;
}


.content-experiment h4{
    margin-top: 10px;
}


.frame-right{
    width: 681px;
    color: white;
    background: #00B43C;
    font-weight: 300;
}
.user-bottom{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.bottom-content{
    width: 427px;
    height: 336px;

    /* background-color: aquamarine; */
}
.frame-text-bottom{
    width: 353px;
    height: 336px;
    background-image: url('../image/Group\ 17.png');

    margin-left: 80px;
}

.bottom-2{
    background-image: url('../image/Group\ 18.png');
}

.bottom-3{
    background-image: url('../image/Group\ 19.png');
}

.button-tuvan{
    width: 100%;
    display: flex;
    justify-content: center;
}

.button-tuvan p{
    background-color: #FFC700;
    font-size: 24px;
    font-weight: 700;
    padding-inline: 100px;
    padding-block: 16px;
    box-shadow: 0px 3px 3.5px rgba(0, 0, 0, 0.18);
    border-radius: 20px;
    border: 2px #FFE500 solid;
    cursor: pointer;

    transition: all 0.5s ease;
}

.button-tuvan p:hover{
    background-color: white;
    scale: 105%;
}

.image-train{
    width: 100%;
    height: 1060px;
    background-color: white;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-train-frame{
    width: 90%;
    padding-top: 35px;

    display: flex;
    flex-direction: column;
    gap: 25px;

    position: relative;
}

.image-train-frame h1{
    width: 860px;
}
.image-train-frame p{
    width: 916px;
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
}

.image-content{
    width: 100%;
    height: 728px;
    /* background-color: wheat; */
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#lego-man-2{
    width: 400px;
    height: 385px;
    position: absolute;
    right: 0;
    top: -50px;
}

.image-top{
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    /* background-color: #FFE500; */
}
.image-top-left{
    width: 49%;
    height: 100%;
    /* background-color: aqua; */
}

.image-top-right{
    width: 49%;
    height: 100%;
    /* background-color: violet; */

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
.image-bottom{
    width: 100%;
    height: 50%;
    /* background-color: blueviolet; */
    display: flex;
    gap: 20px;
}
.frame-imgage{
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    cursor: pointer;
    /* border: 2px tomato solid; */
}

.overlay{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: all 0.3s ease;
}

.frame-imgage:hover .overlay{
    opacity: 1;
}
.frame-imgage:hover img{
    scale: 110%;
}

.text-image{
    width: 100%;
    position: absolute;
    color: white;
    left: 5%;
    bottom: -100px;
    z-index: 3;

    transition: all 0.5s ease;
}
.frame-imgage:hover .text-image{
    bottom: 10%;
}



.frame-imgage img{
    width: 800px;
    transition: all 0.3s ease;
}
.top-right{
    width: 48.8%;
    height: 48%;
}
.top-right p{
    font-size: 15px;
}
.top-left img{
    width: 1000px;
}

@media (max-width: 1431px) {
    /* .image-top{
        display: flex;
        flex-direction: column;
    } */
    .image-top-right{
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .top-right{
        width: 100%;
        height: 100%;
    }
}

.main-train{
    width: 100%;
    height: 920px;

    display: flex;
    justify-content: center;
    background-color: white;

    position: relative;
}

.frame-main-train{
    width: 100%;
    height: 696px;
    background-color: #FFC905;

    display: flex;
    justify-content: center;
    padding-top: 35px;

    position: relative;
}

.main-train-content{
    width: 90%;
    position: relative;
}

#cable{
    position: absolute;
    left: 0;
    bottom: 0;
}
#lego-man-3{
    position: absolute;
    right: 0;
    top: -60px;
}

.content-train{
    width: 100%;
    display: flex;
    justify-content: center;
    /* background-color: yellowgreen; */
    position: absolute;
    bottom: 0;   
}

.frame-train{
    display: flex;
    justify-content: center;
}

.frame-train img{
    width: 538px;
    height: 696px;

    margin-inline: -12px;
    position: relative;

}
.text-train{
    width: 491px;
    height: 633px;
    position: absolute;
    top: 32px;
}

.text-train h3{
    margin-top: 15px;
}

.text-train ul li{
    width: 440px;
    margin-left: 20px;
    margin-top: 15px;
}
.news{
    width: 100%;
    height: 930px;
    background-color: white;
    display: flex;
    justify-content: center;
}
.frame-news{
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding-top: 30px;
    text-align: center;
}
.frame-news p{
    width: 60%;
    font-weight: 500;
}

.content-news{
    width: 100%;
    height: 496px;
    /* background-color: yellowgreen; */

    display: flex;
    justify-content: center;
    gap: 20px;
}

.frame-content-news{
    min-width: 427px;
    height: 496px;
    background-color: violet;

    border-radius: 20px;
    position: relative;

    overflow: hidden;
}

.frame-content-news img{
    width: 100%;
    transition: all 0.3s ease;
}

.overlay-news{
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.30) 100%), linear-gradient(180deg, rgba(255, 201, 5, 0) 0%, #FFC905 100%);
    box-shadow: 18px 16px 25px rgba(22.33, 8.50, 107.31, 0.25);
    opacity: 0;

    position: absolute;
    top: 0;
    left: 0;

    transition: all 0.3s ease;
}
.frame-content-news:hover .overlay-news{
    opacity: 1;
}
.frame-content-news:hover img{
    scale: 110%;
}

.title-news{
    text-align: left;
    color: white;

    position: absolute;
    top: 25px;
    left: 30px;
    z-index: 4;
}
.title-news h2{
    font-size: 30px;
    padding-left: 8px;
}
.frame-content-news:hover .title-news img{
    scale: 100%;
}

.text-news{
    width: 90%;
    text-align: left;
    color: white;
    font-size: 20px;

    position: absolute;
    bottom: -150px;
    left: 30px;

    transition: all 0.3s ease;
}

.text-news p{
    width: 70%;
    font-weight: 400;
}

.frame-content-news:hover .text-news{
    bottom: 35px;
}

.contact-me{
    width: 600px;
    height: 60px;
    background: #FFC700;
    box-shadow: 0px 9px 10px rgba(0, 0, 0, 0.18);
    border-radius: 20px;
    border: 2px #FFE500 solid;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

    color: black;

    position: relative;
    margin-top: 100px;
}

.contact-me img{
    width: 135px;
    height: 150px;

    position: absolute;
    bottom: 0;
    left: 10px;
}

.phone{
    width: 147px;
    height: 39px;

    color: white;

    background-color: black;
    box-shadow: 0px 9px 10px rgba(0, 0, 0, 0.18);
    border-radius: 20px;
    border: 2px #FFE500 solid;

    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
    right: 20px;
    top: 15%;

    transition: all 0.5s ease;
}

.phone:hover{
    scale: 110%;
    background-color: white;
    color: black;
}



.footer{
    width: 100%;
    height: 160px;
    background-color: white;
    background-image: url('../image/footer.png') ;
    background-repeat: no-repeat;
    background-size: cover;

    display: flex;
    justify-content: center;
}

.frame-footer{
    width: 90%;
    margin-top: 25px;
    color: #606060;

    line-height: 30px;

    display: flex;
    justify-content: space-between;
}
.icon-footer{
    height: 40px;
    color: #FFC700;
    font-size: 35px;

    display: flex;
    gap: 20px;
}
.icon-footer i{
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-footer i:hover{
    color: white;

}