/*Tipografías*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,600&display=swap');
/*Variables*/

:root {
    /*Paleta*/
    --rich-black: #002626ff;
    /*Gris*/
    --cornflower-blue: #858ae3ff;
    /*Azul-morado*/
    --morning-blue: #81a094ff;
    /*Azul claro*/
    --flame: #ec4e20ff;
    /*Fllama-nive*/
    --auburn: #a52422ff;
    /*rojo hoja*/
    /*Verde Pera*/
    --pera: #D1E231;
    /*Base*/
    --tamanyo-barra: 8vh;
}

/*Poner a cero el contador*/

* {
    margin: 0;
    padding: 0;
    font-family: "Open Sans";
}

main {
    /*Pone de fondo al main el color */
    font-size: 3vmin;
}

#barra_arriba {
    /*Lo hace un flex*/
    display: flex;
    /*Hace que el contenido este separado lo más posible entre si*/
    justify-content: space-between;
    /*Los alinea al centro de la barra en el eje Y*/
    align-items: center;
    /*Hace que este en una fila*/
    flex-direction: row;
    background-color: var(--morning-blue, blue);
    position: fixed;
    padding: 10px;
    width: 100%;
    height: var(--tamanyo-barra);
    color: white;
}

.cab {
    display: flex;
    direction: row;
    height: 100%;
    width: 15% !important;
    justify-content: space-around;
    align-items: center;
}

.cab img {
    filter: brightness(0) invert();
    /*Pone en brillo cero la imagen y depues la invierte*/
}

h3 {
    padding-bottom: 4vmin;
}

code {
    background-color: var(--morning-blue);
    padding: 3vmin;
    border: solid black 0.5vmin;
    border-radius: 2vmin;
    color: whitesmoke;
}

#about {
    /*Añade margen al css*/
    margin-top: var(--tamanyo-barra);
    background-color: var(--pera);
    /*Miscelanea*/
    font-size: 3.5vmin;
    height: 70vh;
    color: var(--rich-black);
}

h1, h2 {
    font-size: 5vmin;
    text-align: center;
}

iframe {
    width: 50vw;
    height: 55vh;
    margin-top: 4vh;
    border: white solid 0.5vmin;
}

.link_nav {
    text-decoration: none;
    color: white;
    margin-right: 10vmin;
    font-size: 3.5vmin;
}

#features {
    background-color: white;
}

.flex-centro {
    /*Flex*/
    display: flex;
    flex-direction: column;
    /*Tamanyo flex*/
    width: auto;
    /*Centra el contenido dle flex*/
    align-items: center;
    justify-content: center;
    padding: 4vmin;
}

.cuadrado_verde {
    background-color: var(--pera);
    padding: 5vmin;
    text-align: center;
    line-height: 5vh;
    margin-top: 2vh;
    border-radius: 10%;
}

#reque {
    background-color: var(--pera);
    text-align: center;
    margin-top: 4vh;
}

#reque p {
    background-color: white;
    border-radius: 10%;
    padding: 10vh;
    margin-top: 5vh;
}

#insta .cuadrado_verde {
    margin: 2vh 25% 2vh;
    height: 110vh;
    padding-bottom: 70vmin;
}

#insta h2 {
    color: #D1E231;
    margin: 10vmin;
}

.cuadrado_verde iframe {
    height: 20px;
}

.cuadrado_verde a {
    text-decoration: none;
}

#a_snap {
    color: black;
}

footer {
    width: 100%;
    background-color: var(--morning-blue, grey);
    height: 60vh;
    text-align: center;
    padding: 2vh 2vw;
}

footer, h2 {
    color: white;
    margin-top: 2vh;
}

#zona_conta {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
    height: 40vh;
}

footer, section, img {
    width: auto;
    max-height: 100%;
}

footer, p {
    margin-top: 3vmin;
}

#email {
    width: auto;
    max-height: 8vh;
}

#features h2 {
    color: var(--pera);
}

#cabecera_imagen {
    display: flex;
}

/*Para dispositivos pequeños*/

@media (max-width: 1200px) {
    #barra_arriba {
        position: relative;
        flex-direction: column;
        height: auto;
        margin-bottom: 0%;
        padding: auto;
    }

    #barra_arriba a {
        display: block;
        margin: 2vmin;
        padding: 1vmin;
    }

    #barra_arriba img {
        max-height: 10vh;
        height: auto;
        width: auto;
        float: left;
        margin: 5vmin;
    }

    #barra_arriba h1 {
        font-size: 6vh;
    }

    .cab {
        width: 100%;
    }

    .cab img {
        max-width: 75%;
        width: auto;
        height: 15vh;
    }

    .cuadrado_verde {
        margin-top: 0%;
        max-height: 50vh;
    }

    #about {
        margin-top: 0% !important;
        padding-top: 0%;
        height: auto;
    }

    #video {
        max-width: 100%;
        max-height: 50%;
        height: auto;
        width: auto;
    }

    .flex_centro {
        padding-top: 0%;
    }

    #insta p {
        line-height: 4vmin;
    }

    .cuadrado_verde iframe {
        height: auto;
        min-height: 20vh;
        max-height: 30vh;
    }
}