*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: #eaeaea;
    min-width: 100vw; /* đảm bảo body luôn đủ rộng bằng chiều ngang màn hình */
    overflow-x: hidden;
}

header{
    position: fixed;
    top:0;
    left:0;
    display: flex;
    width:100%;
    justify-content: space-between;
    align-items: center;
    transition: 0.6s;
    padding: 40px 50px;
    z-index: 1000000;
    background-color: rgba(0, 0, 0, 0.15);
}
header .logo_img{
    height:4em;
}
header .Logo{
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
    color:#fff;
    text-decoration: none;
    font-size:clamp(0.86rem,1.69vw,1.25rem);
    letter-spacing: 2px;
    transform: 0.6s;
    text-shadow:5px 0px 5px black;
}
header ul{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
header ul li{
    position: relative;
    list-style: none;
}
header ul li a{
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    color:#fff;
    letter-spacing: 2px;
    font-weight: 500;
    transition: 0.5s;
    padding:0px 10px;
    font-weight: 700;
    text-shadow:5px 0px 5px black;
}
header.sticky{
    padding: 0.5% 8%;
    background:#173172;
}
header.sticky .Logo,
header.sticky ul li a{
    color:#fff
}

/*Css khi hoover*/

header ul li a::after{
    content: "";
    position: absolute;
    bottom: -10px;
    left: 10px;
    height: 2px;
    width: 80%;
    background-color: white;
    transform: scaleX(0);          /* Ẩn đi */
    transform-origin: left;        /* Bắt đầu từ trái */
    transition: transform 0.3s ease;
}

header ul li a:hover::after{
    transform: scaleX(1);
}

/*Css nội dung chi tiếttiết*/

.infor{
    width:40vw;
}

.title_crane{
    font-size:2em;
    padding-left:10%;
    position: relative;
}

.informations{
    padding-left:5%;
}

.information{
    display: flex;
    width:40vw;
}
.name{
    padding-left:0%;
    list-style: none;
    font-size:1.5em;
    width:100%;
}

.name_2{
   padding-left:2%
}

.name_3{
    list-style: none;
    font-size:clamp(0.86rem,1.75vw,1.25rem);
    padding-top:2%
}

.details_1{
    padding-top:4%;
    max-width: 100vw;
}

.details{
    text-align: center;
    padding:3% 0px;
    font-family: "Cabin",sans-serif;
}

.detail{
    border: 1px solid black;
    width:95vw;
    left:2.5%;
    position: relative;
    border-radius: 20px;
    margin-top: 1%;
    margin-bottom:2%
}

.detail_1{
    display: flex;
    list-style: none;
    font-size:1em;
    text-align: justify;
}

.border_top_left{
    border-top-left-radius: 20px;
}

.detail_title{
    background-color: rgb(220, 219, 218);
    width: 30vw;
    border-bottom: 1.75px solid black;
    justify-content: center;
    display: flex;
    align-items: center;
    border-right: 1.75px solid black;
    text-align: center;
    font-size:clamp(1.5rem,2vw,2.5rem) ;
}

.border_bottom_left{
    border-bottom-left-radius: 20px;
}

.detail_infor{
    width:75vw;border-bottom:1.75px solid black;padding:1%;font-size:clamp(1rem,1.5vw,1.75rem);
}
/*Css hiển thị ảnh*/
.container{
    position: relative;
    margin-top:2%;
    left: 0%;
    width: 100vw;
    aspect-ratio: 16/6;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
    background-size: cover;
    overflow:hidden;
}

.container .slide .item{
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    display: block;
}


.slide .item:nth-child(3){
    left: 80%;
}
.slide .item:nth-child(4){
    left: calc(80% + 220px);
}
.slide .item:nth-child(5){
    left: calc(80% + 440px);
}

/* here n = 0, 1, 2, 3,... */
.slide .item:nth-child(n + 6){
    left: calc(80% + 660px);
    opacity: 0;
}



.item .content{
    position: absolute;
    top: 50%;
    left: 6%;
    width: 500px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}


.slide .item:nth-child(2) .content{
    display: block;
}


.content .name{
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}


@keyframes animate {
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}



.button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

.button button{
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
}

.button button:hover{
    background: #ababab;
    color: #fff;
}

/*Css footer*/
.footer{
    background-color: #173172;
    width:100%;
    height:50vh;
    justify-content: space-between;
    display: flex;
    padding:3% 10%;
    font-family: 'Poppins',sans-serif;
    color:#fff
}


.link{
    display: inline-block;
}

.links{
    text-decoration: none;
    color:#fff;
    padding-top:15%;
    width:100%;
    font-size:1.5em;
    display: block;
}

.links:hover{
    text-shadow: 0 0 10px #fff,
    0 0 20px rgb(255, 255, 255),
    0 0 30px rgb(255, 255, 255),
    0 0 40px rgb(255, 255, 255);
}

.members{
    display:flex;
    color: #fff;
    width:100%;
    gap: 15%;
}

.member_column{
    padding: 0;
    margin: 0;
    padding-top:5%
}

.member_column li{
    margin-bottom: 10px;
    font-size: 1em;
    list-style: none;
}