* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-left: 1%;
    padding-right: 2%;
}

.marca{
    color: #FFF;
    font-weight: 200;
    font-size: 35px;
    cursor: pointer;
}

nav ul li{
    list-style-type: none;
    display: inline-block;
    padding: 10px 10px;
    font-size: 25px;
}

nav ul li a{
    color: #FFF;
    text-decoration: none;
    font-weight: 500;
    text-transform: capitalize;
}

nav ul li a:hover{
    color: #cb00f9;
    transition: .4s;
}

span{
    color: rgb(0, 191, 255);
    font-weight: 500;
    font-size: 45px;
    letter-spacing: 1px;
}

.banner {
    height: 90vh;
    min-height: 600px;
    background-image: url(imagenes/fondo3.png);
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    padding: 0.1px;
}

.logo{
    position: absolute;
    padding-top: 60px;
    padding-left: 8%;
    padding-bottom: 60px;
}

.descripcion{
    position: absolute;
    padding-top: 15vh;
    width: 30vw;
    margin-left: 66%;
    display: inline-block;
    font-size: 1.4vw;
    color: #FFF;
}

.banner h1{
    color: #fff;
    width: 20vw;
    height: 90px;
    font-size: 4vw;
    margin-left: 38vw;
    text-align: center;
    line-height: 100px;
    margin-top: calc(50vh - 50px);
}


.luna {
   z-index: 30;
   display: flex;
   margin-left: 35vw;
   width: 25vw;
   margin-bottom: 200px;
}

.cursos{
    width: 100%;
    background-image: url(imagenes/fondo_cursos.png);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
}

.cards{
    width: 100vw;
    max-width: 1900px;
    margin: 0 auto;
    display: flex;
    flex-flow: row nowrap;
    padding: 30px 0;
    gap: 1em;
    margin-left: auto;
}

.card{
    margin-top: 23vh;
    padding-bottom: 2.5em;
    width: 28vw;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    background-color: #ffe8ff;
    box-shadow: 8px 8px 8px -2px #BB9BF9;
    font-family: sans-serif;
    align-items: center;
    flex-grow: 1;
}

.card_cta{
    border-radius: 35px;
    background: rgb(2, 158, 255);
    color: #fff;
    text-decoration: none;
    padding: 10px;
    width: 150px;
    text-align: center;
    margin: 0 auto;
    margin-top: auto;
    font-size: 30px;
}

.card_cta:hover{
    background: rgb(2, 200, 255);
}


h2{
    font-size: 30px;
    margin-top: 15px;
    margin-bottom: 16px;
    margin: 15px;
    color: rgb(0, 79, 190);
}

.card p{
    color: #2b2b2b;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 16px;
    margin: 20px;
}

.card h3 {
    width: 500px;
    margin-bottom: 15px;
    text-align: center;
    margin-top: auto;
    font-size: 25px;
    color: #770690;
}

.redes {
    width: 100%;
    background-image: url(imagenes/fondo_redes2.png);
    height: 50vh;
    background-position: center;
    background-size: cover;
    padding:.01px;
}

.canal h3{
    position: absolute;
    display: flex;
    width: 40vw;
    height: 50px;
    margin-left: 45%;
    text-align: center;
    color: #fff;
    line-height: 200px;
    font-size: 35px;
    font-weight: 200;
    margin-top: calc(20vh - 50px);
}

@media (max-width: 1000px){

    .cursos{
        width: 100%;
        overflow: hidden;
    }

    .cards{
        display: grid;
        grid-template-columns: 1fr;
        margin: 0 auto;
        align-items: center;
        margin-left: 3vw;
    }

    .card{
        height: 95%;
        width: 90vw;
        align-items: center;
        margin-top: 20px;
        flex-grow: 1;
    }

    .card p{
        font-size: 15px;
    }

    .card h3{
        font-size: 20px;
    }

    .card_cta{
        padding: 10px;
        width: 150px;
        text-align: center;
        margin-top: 20px;
        font-size: 30px;
    }

    .card h3 {
        margin-bottom: 10px;
        margin-top: 10px;   
    }
   
    .descripcion{
        
        padding-top: 15vh;
        width: 60vw;
        margin-left: 20%;
        margin-top: 20vh;
        display: inline-block;
        font-size: 2.5vw;
    }
   
    .banner h1{
        width: 20vw;
        margin-left: 38vw;
        line-height: 100px;
        margin-top: calc(60vh - 50px);
    }

    .logo{
        width: auto;
        display: flex;
        flex-direction: column;
        margin-left: 25vw;
    }


}