* {
    margin: 0;
    padding: 0;
}
body{
    width: 100vw;
    overflow-x: hidden;

}
:root {
    --primary-color: #fefefe;
    --white-color: #ffffff;
}


@font-face {
    font-family: Quicksand;
    src: url('fonts/Quicksand-VariableFont_wght.ttf') format(truetype), url('fonts/Cherolina.ttf') format(truetype);
    font-weight: normal;
    font-style: normal;
}

a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    opacity: 0.7;
}

.icon-logo {
    max-width: 120px;
    top: 40px;
    display: flex;

}

nav {
    
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    font-family: "Quicksand", sans-serif;
    background: #282829;
    height: 34vh;
}

.nav-list {
    list-style: none;
    display: flex;
    
    

}

.nav-list li {
    letter-spacing: 3px;
    margin-left: 32px;
    
}

.mobile-menu {
    display: none;
    cursor: pointer;
    
}

.mobile-menu div {
    
    width: 32px;
    height: 2px;
    background: #fff;
    margin: 8px;
    transition: 0.3s;
}

@media (max-width: 999px) {
    body {
        overflow-X: hidden;
        
    }
    
    .nav-list{
        position: absolute;
        z-index: 1;
        top: 31vh;
        width: 100vw;
        height: 70vh;
        background: #282829;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        transform: translatey(100%);
        transition: transform 0.3s ease-in;
        
        
    }

    .nav-list:not(:hover){
  
        opacity: 0;
       }
       .nav-list:hover{
        opacity: 1;
       } 

    .nav-list li {
        
        margin-left: 0;
        opacity: 0;
    }

    .mobile-menu {

        display: block;
    }
}

.nav-list.active {
   
    transform: translateY(0);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateY(50px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }
}

.mobile-menu.active .line1 {

    transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2 {
    opacity: 0;
}

.mobile-menu.active .line3 {
    transform: rotate(45deg) translate(-5px, -7px);
}

.section {
    width: 100vh;
}

/* .navegation{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
} */

section{ 
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    background-color: #282829;
    
}
.section {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100vh;
    width: 100vw;
    position: absolute;
   
}

.content{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: absolute;
    
    top: 86%;
    left: 49.4%;
    transform: translate(-50%, -50%);
    
    
}

.content .slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.navigation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 85%;
   
    
}

.bar {
    
   
    width: 20px;
    height: 20px;
    border: 2px solid white;
    margin: 30px;
    border-radius: 15px;
    cursor: pointer;
    transform: .5s ease;
    
}

.bar:hover {
    background-color: white;
}

input {
  display: none;
}

.slides {
    z-index: 0;
    display: flex;
    width: 500%;
    height: 100%;
}

.slide {
    width: 20%;
    transition: .6s;
}

#slide1:checked ~ .s1 {
    margin-left: 0;
} 

#slide2:checked ~ .s1 {
    margin-left: -20%;
} 

#slide3:checked ~ .s1 {
    margin-left: -40%;
} 

#slide4:checked ~ .s1 {
    margin-left: -60%;
} 

#slide5:checked ~ .s1 {
    margin-left: -80%;
} 



section.container{
    position: absolute;
    left:50%;
    top:50%;
    transform: translate(-50%,-50%);
    width:1000px;
    height:600px;
    padding:50px;
    background-color: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
}



#slider{
    width:max-content;
    margin-top:50px;
}
.item{
    width:200px;
    height:300px;
    background-position: 50% 50%;
    display: inline-block;
    transition: 0.5s;
    background-size: cover;
    position: absolute;
    z-index: 1;
    top:50%;
    transform: translate(0,-50%);
    border-radius: 20px;
    box-shadow:  0 10px 20px rgba(0, 0, 0, 0.8);
}
.item:nth-child(1),
.item:nth-child(2){
    left:0;
    top:0;
    transform: translate(0,0);
    border-radius: 0;
    width:100%;
    height:100%;
    box-shadow: none;
}
.item:nth-child(3){
    left:50%;
}
.item:nth-child(4){
    left:calc(50% + 220px);
}
.item:nth-child(5){
    left:calc(50% + 440px);
}
.item:nth-child(n+6){
    left:calc(50% + 660px);
    opacity: 0;
}
.item .content{
    position: absolute;
    top:60%;
    left:50px;
    width:600px;
    text-align: left;
    padding:0;
    color:white;
    transform: translate(0,-50%);
    display: none;
    font-family: "Quicksand", sans-serif;
}
.item:nth-child(2) .content{
    display: block;
    z-index: 11111;
}
.item .name{
    
    font-size: 70px;
    font-weight: bold;
    opacity: 0;
    animation:showcontent 1s ease-in-out 1 forwards
}
.item .des{
    width: 280px;
    margin:20px 0;
    opacity: 0;
    animation:showcontent 1s ease-in-out 0.3s 1 forwards
}
.item button{
    font-family: "Quicksand", sans-serif;
    padding:15px 30px;
    border:none;
    opacity: 0;
    border-radius: 20px;
    box-shadow:  0 10px 5px #505050;
    
    animation:showcontent 1s ease-in-out 0.6s 1 forwards
}

@keyframes showcontent{
    from{
        opacity: 0;
        transform: translate(0,100px);
        filter:blur(33px);
    }to{
        opacity: 1;
        transform: translate(0,0);
        filter:blur(0);
    }
}
.buttons{
    position: absolute;
    bottom:30px;
    z-index: 222222;
    text-align: center;
    width:100%;
}
.buttons button{
    width:50px;
    height:50px;
    border-radius: 50%;
    border:1px solid #282829;
    transition: 0.5s;
}.buttons button:hover{
    background-color: #282829;
}
  