body{
    padding: 0;
    margin: 0;
    background-color: black;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
header{
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: 70px;
    z-index: 1;
    top: 0;
    margin: 0;
    padding: 0;
}
header nav{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%; height: 100%;
    margin: 0;
    padding: 0;
    color: white;
    background-color: rgba(255, 255, 255, 0.075);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}
header nav.activo{
    background-color: transparent;
    backdrop-filter: blur(0px);
    color: white;
}
header nav .box-btn-menu{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%; height: 100%;
    background-color: transparent;
    pointer-events: none;
    opacity: 0;
}
header nav .box-btn-menu button{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    transform: translateX(-20px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.082);
    color: white;
    font-size: 20px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}
header nav a{
    position: relative;
    width: 200px; height: 50px;
    overflow: hidden;
    margin-top: 20px;
}
header nav img{
    position: absolute;
    width: 100%; height: 100%;
    object-fit: cover;
}
header nav ul{
    display: flex;
    gap: 50px;
}
header nav ul li{
    list-style: none;
}
header nav ul li a{
    position: relative;
    padding: 10px;
    text-decoration: none;
    color: white;
}
header nav ul li a span{
    content: " ";
    position: absolute;
    width: 0%; height: 2px;
    background-color: white;
    top: 100%;
    left: 0%;
    transition: .3s;
}
header nav ul li a:hover span{
    width: 100%;
}
header .menu{
    position: fixed;
    width: 200px; height: 100%;
    left: 0; top: 0;
    background-color: rgba(255, 255, 255, 0.075);
    backdrop-filter: blur(10px);
    z-index: 999;
    transform: translateX(-200px);
    transition: .3s;
}
header .menu.activo{
    transform: translateX(0px);
}
header .menu .box-menu-x{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%; height: 50px;
}
header .menu .box-menu-x button{
    position: absolute;
    width: 30px; height: 30px;
    background-color: rgba(255, 0, 0, 0.205);
    border-radius: 50%;
    color: red;
    border: none; 
    font-size: 25px;
    transform: translateX(-10px);
    cursor: pointer;
}
header .menu h2{
    margin-left: 20px;
    color: white;
}
header .menu ul{
    display: inline;
}
header .menu ul li{
    list-style: none;
    padding: 15px 10px;
    opacity: 0;
    transition: 0.3s;
}
header .menu.activo ul li:nth-child(1){
    transition-delay: 0.2s;
    opacity: 1;
}
header .menu.activo ul li:nth-child(2){
    transition-delay: 0.3s;
    opacity: 1;
}
header .menu.activo ul li:nth-child(3){
    transition-delay: 0.4s;
    opacity: 1;
}
header .menu.activo ul li:nth-child(4){
    transition-delay: 0.5s;
    opacity: 1;
}
header .menu ul li a{
    text-decoration: none;
    color: white;
}
main{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.box-bienvenida{
    position: relative;
    width: 100%; height: 640px;
    overflow: hidden;
}
.box-bienvenida .box-imgs{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%; height: 100%;
    left: 0%;
    animation: carrusel 10s infinite linear;
}
.box-bienvenida .box-imgs img{
    position: relative;
    width: 100%;
    height: 100%;
    filter: brightness(50%);
    object-fit: cover;
    flex: 0 0 100%;
    mask-image: linear-gradient(
        
        black 80%,
        transparent
    );
}
@keyframes carrusel {
    0%{left: 0;}
    20%{left: 0;}

    25%{left: -100%;}
    45%{left: -100%;}

    50%{left: -200%;}
    70%{left: -200%;}

    75%{left: -300%;}
    100%{left: -300%;}
}

.box-bienvenida .box-info{
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%; height: 100%;

    h1{
        font-size: 50px;
        text-align: center;
        margin: 5px;
    }
    p{
        margin: 5px;
        width: 70%;
        text-align: center;
        font-size: 20px;
    }

    a{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 200px; height: 30px;
        background-color: rgba(255, 255, 255, 0.116);
        backdrop-filter: blur(20px);
        color: white;
        gap: 5px;
        text-decoration: none;
        padding: 10px;
        border-radius: 10px;
        margin-top: 20px;
        transition: .3s;
    }
    a:hover{
        background-color: white;
        color: black;
        gap: 10px;
    }

}
footer{
    position: relative;
    width: 100%; height: 700px;
    background-color: black;
}
@media(max-width: 940px){
    header nav ul{
        gap: 20px;
    }
}
@media(max-width: 850px){
    header nav .box-btn-menu{
        opacity: 1;
        pointer-events: all;
    }
    header nav{
        justify-content: start;
    }
    header nav ul{
        opacity: 0;
        pointer-events: none;
        display: none;
    }
}
@media(max-width: 650px){
    .box-bienvenida .box-info h1,
    .box-bienvenida .box-info p{
        text-align: start;
        width: 90%;
    }
    .box-bienvenida .box-info a{
        background-color: white;
        color: black;
    }
}
@media(max-width: 423px){
    .box-bienvenida .box-info h1{
        font-size: 40px;
    }
    .box-bienvenida .box-info p{
        font-size: 18px;
        font-weight: 400;
    }
}