
*{
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    background: #F7F3F2;
    }



header {
    height: 100px;
    background: #F7F3F2;
    padding: 0 50px;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu a {
    font-size: 23px;
    color: black;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 10px;
    transition: 0.4s;

}

.mostrar-menu,
.esconder-menu{
    font-size: 40px;
    cursor: pointer;
    display: none;
    transition: 0.4s;

}

.mostrar-menu{
    order:1;
}

#check {
    display: none;
}


   

    .menu a {
    padding: .5em .8em;
    color: black;
    position: relative;
    text-decoration: none;
    font-size: 20px;
    }

    .menu a::before,
    .menu a::after {
    content: '';
    height: 14px;
    width: 14px;
    position: absolute;
    transition: all .35s ease;
    opacity: 0;
    }

    .menu a::before {
    content: '';
    right: 0;
    top: 0;
    
    border-top: 3px solid #0cc0df;
    border-right: 3px solid #0097b2;
    transform: translate(-100%, 50%);
    }

    .menu a:after {
    content: '';
    left: 0;
    bottom: 0;
    border-bottom: 3px solid #0cc0df;
    border-left: 3px solid #0097b2;
    transform: translate(100%, -50%)
    }

    .menu a:hover:before,
    .menu a:hover:after{
    transform: translate(0,0);
    opacity: 1;
    }

    .menu a:hover {
    color: #233d4d;
    }
    
    .menu{
    list-style-type:none;
    }

@media screen and (max-width: 915px)

{
    
    .mostrar-menu,
    .esconder-menu {
        display: block;
    }

    .menu{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #F7F3F2;
        right: -100%;
        top: 0;
        text-align: center;
        padding: 100px 0px;
        z-index: 100;
        transition: 0.8s;

    }

    .menu a {
        display:block;
        padding: 20px;
    }

    .esconder-menu{
        position: absolute;
        top: 40px;
        right: 40px;
    }
    
    #check:checked ~ .menu {
        right: 0;
    }
}

.lg a{
    text-decoration: none;

}

.lg img{
    width: 20%;
}

.carrusel {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carrusel ul{
    margin-top: 0%;
    display: flex;
    padding: 0;
    width: 500%;
    animation: slide 20s infinite alternate ease-in-out;
}

.carrusel li{
    width: 100%;
    list-style: none;
    position: relative;
}

.texto {
    position: absolute;
    text-align: center;
    padding: 0 25%;
    top: 25%;
    color: #FFFFFF
}

.texto h2 {
    font-size: 300%;
    margin-bottom: 3.5%;
}


.carrusel img {
    margin-bottom: 0%;
    width: 100%;
    height: 70%;
    opacity: 70%;
}

@keyframes slide {
    0% {margin-left: 0;}
    20% {margin-left: 0;}

    25% {margin-left: -100%;}
    45% {margin-left: -100%;}

    50% {margin-left: -200%;}
    70% {margin-left: -200%;}

    75% {margin-left: -300%;}
    100% {margin-left: -300%;}

    100% {margin-left: -400%;}
    135% {margin-left: -400%;}
}

ul {
    list-style-type: none;/*Elimina viñetas*/}

.registro {
    width: 40%;
    margin: auto;
    border-radius: 10px;
    color: #233d4d;
    text-align: center;
    font-size: 25px;
    margin-bottom: 5%;
    margin-top: 5%;
    
}

.control{
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 16px;
    border: 1px solid #7b8aa5;
}


.boton {
    color: white;
    width: 105%;
    background-color: #233d4d;
    border: none;
    border-radius: 4px;
    padding: 12px;
    margin: 10px 0;
    align-items: center;
}

.footer{
    position: relative;
    width: 100%;
    background: #619b8a;
    min-height: 100px;
    padding: 40px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.redes {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 10px 2px;
    flex-wrap: wrap;
}

.redeselem {
    list-style: none;
}

.icon {
    color: white;
    font-size: 32px;
    display: inline-block;
    margin: 0 10px;
    transition: 0.5s;
}

.icon:hover{
    transform: translateY(-10px);
}

.mena {
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
    margin: 0px 0;
    flex-wrap: wrap;
}

.elemento {
    list-style: none;
}

.icono {
    color: white;
    font-size: 20px;
    display: inline-block;
    text-decoration: none;
    margin: 5px 10px;
    opacity: 0.75;
    transition: 0.3s;
}

.icono:hover{
    opacity: 1;
}

.text {
    position: flex;
    color: white;
    text-align: end;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 20px;
}

.we {
        
    width: 100%;
    height: 100px;
    opacity: 70%;
}

.cuerpo {
    font-size: 120%;
    margin-top: 3%;
    margin-left: 20%;
    margin-bottom: 3%;
    width: 60%;
    text-align: center;
    position: relative;
}



@media screen and (max-width: 920px) 
{
    .carrusel {
        height: 45%;
    }

    .texto h2 {
        font-size: 100%;
    }

    .registro {
        width: 50%;
    }

}

.card {
    padding: 3em;
    background-size: cover;
    border: 1px solid rgb(75, 82, 92);
    border-radius: 10px;
    text-align: center;
    color: black;
    font-size: 130%;
    margin: 3%;
    color: white;
}

.card p {
    text-align: justify;
}

#card0 {
    background: linear-gradient(rgba(5,7,12,0.5), rgba(5,7,12,0.5)), url(cd0.png) no-repeat center center fixed;
    background-size: cover;
}

#card1 {
    background: linear-gradient(rgba(5,7,12,0.5), rgba(5,7,12,0.5)), url(cd1.png) no-repeat center center fixed;
    background-size: cover;
}

#card2 {
    background: linear-gradient(rgba(5,7,12,0.5), rgba(5,7,12,0.5)), url(cd2.png) no-repeat center center fixed;
    background-size: cover;
}

#card3 {
    background: linear-gradient(rgba(5,7,12,0.5), rgba(5,7,12,0.5)), url(cd3.png) no-repeat center center fixed;
    background-size: cover;
}

#card4 {
    background: linear-gradient(rgba(5,7,12,0.5), rgba(5,7,12,0.5)), url(cd4.png) no-repeat center center fixed;
    background-size: cover;
}

#card5 {
    background: linear-gradient(rgba(5,7,12,0.5), rgba(5,7,12,0.5)), url(cd5.png) no-repeat center center fixed;
    background-size: cover;
}





.grid-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(400px,1fr));
    justify-content: center;
}