/*Fuente*/
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

.roboto-mono {
  font-family: "Roboto Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

/*Variables*/

:root {
    --oscuro: rgb(3, 29, 51);
    --lila: rgb(0, 68, 255);
}

/*General de la página*/

header, main, footer {
    box-sizing: border-box;
    padding-inline: 3%;
    padding-block: 2%;
}

a {
    text-decoration: none;
}

p > a, .enlaces > a {
    color: var(--lila);
}

i {
    padding-inline-start: 10px;
    color: rgb(30, 97, 241);
}

/*uso de exclusivo de flex*/

.dflex {
    display: flex;
}

.fgrow {
    flex-grow: 1;
}

.ancho {
    width: 100%;
}

/*HEADER*/

header {
    
    background: linear-gradient(var(--oscuro), var(--lila));
}

.cabecera, .portada {
    flex-wrap: wrap;
}

/*cabecera*/

.cabecera {
    justify-content: space-between;
    align-items: center;
    color: white;
}

/*uso de pseudoclases*/

.cabecera > div:nth-child(2) {
    flex: 1;
    text-align: start;
    padding-inline-start: 2%;
}

.cabecera > div:nth-child(2) h1 {
    font-size: 2rem;
    margin-block-end: 15px;
}

.cabecera > div {
    margin-block-end: 20px;
}

#logo img {
    width: 120px;
    justify-self: flex-start;
}

.contacto {
    font-size: 1.1rem;
}

.contacto a {
    color: white;
}

.contacto > p + p {
    margin-block-start: 30px;
}

.contacto i {
    margin-inline-end: 10px;
}

#h31 {
    color: rgb(94, 202, 235);
}

/*nav*/

.nav {
    width: 60vw;
    justify-self: center;
    margin-block-start: 20px;
    background-color: rgba(23, 247, 255, 0.479);
    border-radius: 20px;
    font-size: 1.1rem;
}

.nav ul {
    justify-content: space-evenly;
    padding: 2%;
    flex-wrap: wrap;
}

.nav ul li {
    flex-wrap: wrap;
}

.nav a {
    color: white;
}

.nav a:hover {
    background: transparent;
    transition: 0.3s ease;
    color: var(--lila);
}

/*portada*/

.portada {
    flex-direction: column;
    text-align: center;
    padding-block: 3%;
}

.portada h1 {
    font-size: 2rem;
    color: white;
    text-shadow: 0px 5px 5px;
    margin-block-end: 10px;
}

.portada p {
    font-size: 1.2rem;
    color: white;
}

/*MAIN*/

main {
    background: linear-gradient(var(--lila), var(--oscuro));
    justify-content: center;
}

/*Formulario*/

/*diseño*/
.cajaform {
    width: 50vw;
    background-color: rgba(23, 255, 197, 0.322);
    border-radius: 30px;
    padding-inline: 5%;
    padding-block: 2%;
}

.titulo {
    text-align: center;
    font-size: 1.5rem;
    padding-block-end: 2%;
    margin-block-end: 3%;
    border-block-end: 5px solid;
    color: white;
    box-shadow: 0px 15px 0px 0px rgba(255, 255, 255, 0.1);
}

.titulo i {
    font-size: 2rem;
    padding: 2%;
    color: white;
}

.junto, select {
    background-color: white;
    height: 50px;
    align-items: center;
    margin-inline: 5px;
    margin-block-start: 10px;
    border-radius: 20px;
}

select {
    padding-inline: 10px;
}

/*uso de hover*/

.junto:hover, select:hover, .boton:hover {
    box-shadow: rgb(142, 179, 255) 0px -30px 60px -12px inset;
    transition: 0.3s ease;
}

input {
    border: 0;
    background-color: transparent;
    font-size: 0.85rem;

}

/*uso de focus*/

input:focus {
    outline: none;
}

.contenido > div {
    margin: 30px;
}

select {
    width: 97%;
}

label {
    margin-inline-start: 10px;
    color: white;
}

.boton {
    justify-content: center;
    background-color: white;
    height: 30px;
    border: none;
    border-radius: 20px;
}

#envio {
    font-size: 1.1rem;
    color: rgb(30, 97, 241);
    font-weight: 800;
}

/*estructura*/

.contras > div, .cursos {
    flex-direction: column;
}

.requisito p {
    margin-inline-start: 10px;
}

/*FOOTER*/

footer {
    background: linear-gradient(var(--oscuro), black);
}

.interes {
    color: rgba(255, 255, 255, 0.486);
    justify-content: center;
    flex-wrap: wrap;
}

.parrafo {
    max-width: 25%;
}

.interes > div {
    margin: 20px;
}

.interes > div > div {
    margin-block: 10px;
}

.interes > div > div > div {
    margin: 10px;
}

.enlaces a:hover {
    color: white;
    transition: 0.3s ease;
}

.marca {
    color: rgba(223, 223, 223, 0.801);
    text-align: center;
    margin-block-start: 20px;
}

.iconos {
    padding-block-start: 29px;
}

.iconos div {
    border: 2px solid rgba(255, 255, 255, 0.562);
    border-radius: 8px;
    padding: 8px;
}

.iconos i {
    padding: 0px;
}

.iconos i {
    font-size: 1.5rem;
}

h3 {
    margin-block-end: 10px;
    color: rgba(45, 230, 174, 0.589);
}

.enlaces a {
    display: block;
    margin-block-end: 10px;
}

.horario p {
    margin-block-start: 10px;
}

.infoi {
    padding-block: 5px;
}

.infoi i {
    margin-inline-end: 10px;
}

/*RESPONSIVE basico*/

@media (max-width: 950px) {

    .nom-ape, .contras, .datos {
        flex-direction: column;
    }

    .junto {
        margin-block-end: 20px;
    }
    
    .cajaform {
        width: 80vw;
    }

    label, input {
        font-size: 1.1rem;
    }

    .nav {
        width: 90vw;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        font-size: 1.2rem;
    }

    .nav ul li {
        margin-block: 10px;
    }

    .parrafo {
        max-width: 50%;
    }

    .interes {
        justify-content: start;
    }

    .marca {
        margin-block: 30px;
    }

}
