/* Estilos comunes a todas las páginas */

*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}

img{
    object-fit: cover;
}

a{
    text-decoration: none;
    color: black;
}

#logo{
    width: 100px;
    height: 100px;
    margin-right: 100px;
}

h1{
    font-size: 2.4rem;
    font-family: 'KoHo', sans-serif;
}

h2{
    font-family: 'KoHo', sans-serif;
}

h5{
    font-family: 'KoHo', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
}

header{
    background-color: #3cecac;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 5px 5px black;
    padding: 10px;
}

header .menu_responsive{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.menu{
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.items_menu{
    font-family: 'KoHo', sans-serif;
    font-size: 1.2rem;
    list-style-position: inside;
    text-align: center;
    margin: 20px 20px 0 0;
    padding: 8px;
    border-radius: 2vh;
}

.items_menu:hover{
    background-color: white;
    color: black;
}

.items_menu a:hover{
    color: black;
}

footer{
    background-color: #04ec64;
    font-size: small;
    padding: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

footer h4{
    font-size: small;
}

footer ul li{
    list-style-position: initial;
}

footer section img{
    width: 500px;
    height: 290px;
    padding-top: 10px;
}

@keyframes aparecer{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

/* Estilos de "home.html" */

.foto_portada{
    width: 100%;
    height: 70vh;
    animation-duration: 2s;
    animation-name: aparecer;
}

#frasePresentacion{
    background-color: #3cecac;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 0;
    animation-duration: 2s;
    animation-name: aparecer;
    font-size: 1.3rem;
    font-family: 'KoHo', sans-serif;
    font-weight: bold;
}

.fila_tarjetas{
    display: flex;
    flex-flow: nowrap row;
    justify-content: space-evenly;
    align-items: flex-start;
}

.tarjetas{
    margin: 30px;
    text-align: center;
}

.contenedor_estandar{
    background-color: #3cecac;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.contenedor_estandar *{
    margin: 10px 0;
}

/* estilos de "materias.html" */

.materias{
    text-align: center;
}

.materias img{
    width: 100%;
    height: 200px;
}

/* estilos de "programas.html" */

.contenedor_caja_programa{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    border: black 2px solid;
    border-radius: 8vh;
    margin: 20px;
    padding: 10px;
}

.contenedor_caja_programa img{
    height: 100%;
    width: 70%;
}

/* estilos de "nosotros.html" */

#nosotrosFlex{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 95%;
    animation-duration: 2s;
    animation-name: aparecer;
}

.columnas_flex{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.columnas_flex ul{
    border: black 2px solid;
    border-radius: 5vh;
    margin: 20px;
    padding: 30px;
    width: 250px;
    font-family: 'KoHo', sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
}

.columnas_flex span{
    border: black 2px solid;
    border-radius: 5vh;
    margin: 20px;
    padding: 20px;
}

/* estilos de "contacto.html" */

#cajaFormulario{
    border: black 2px solid;
    border-radius: 3vh;
    margin: 30px 20px;
    padding: 20px;
    text-align: left;
}

#cajaFormulario *{
    margin-bottom: 10px;
}

#columnaOpciones{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.form_titulos{
    font-family: 'KoHo', sans-serif;
    text-decoration: underline;
    font-weight: bold;
    font-size: 1.1rem;
}

form button{
    padding: 5px;
}

form button:hover{
    background-color: white;
}

/* Media Queries */
    /* Teléfonos móviles */
@media only screen and (max-width: 783px) {
    .input_text, form textarea{
        width: 90%;
    }

    header{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .menu_responsive{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .items_menu{
        font-size: 1rem;
        margin: 15px 5px 0 0;
        padding: 4px;
    }

    #mapa{
        display: none;
    }
}

/* Tablets */
@media only screen and (max-width: 820px) {
    .items_menu{
        font-size: 1.1rem;
        margin: 15px 5px 0 0;
        padding: 4px;
    }
}

/* Desktop */
@media only screen and (max-width: 992px) {
    #mapa{
        display: none;
    }

    .items_menu{
        font-size: 1rem;
        margin: 15px 5px 0 0;
        padding: 4px;
    }
}