* {
    box-sizing: border-box;
    position: relative;
    min-width: 0;
    margin: 0%;
    /*Elimina todo margen que trae por defecto*/
    padding: 0%;
    /*Elimina todo relleno que trae por defecto*/
}

:root {

    --color_links: #a43b2b;
    --color_titulos: #792112;
    --color_fondo_link: #faeda5;
    --color_texto_plano: #0f4348;
    --color_fondo: #d9ea93;
    --color_texto_links: #ff8111;
    --altura_header: 7rem;
    --padding_left_right: 2vw;
    --ancho_maximo: 1200px;
}

a {
    text-decoration: none;

}

ol,
ul {
    list-style: none;
}

.input_hamburguesa {
    display: none;
}

.input_hamburguesa:checked+.ul_links {
    height: calc(100vh - 8rem);
}

nav .logo {
    height: 6rem;
    /* margin: 1rem; */
    transition: 0.8s;
    padding: 0 var(--padding_left_right);
}

.header {
    /* background-color: white; */


    height: 8rem;
}


.navbar {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    background-image: url("/img/Fibonacci.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: center;
    max-width: 100vw;
}




.text-h {

    color: whitesmoke;


}

.text-primary {
    font-size: 2rem;
}


.list_icon {
    cursor: pointer;

}

.ul_links {
    width: 100%;
    background-color: var(--color_fondo_link);
    position: absolute;
    top: 8rem;
    left: 0;
    overflow: hidden;
    transition: 0.5s;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 2rem;
    z-index: 1;
}



.link {
    font-size: 2rem;
    color: var(--color_texto_links);
    font-weight: bold;

}

@media (min-width: 801px) {
    .label_hamburguesa {
        display: none;
    }

    .ul_links {

        width: 100vw;
        height: auto;
        flex-direction: row;
        gap: 1rem;
        background-color: var(--color_fondo_link);

    }

    .link {
        font-size: 1.5rem;
    }

    .links {
        font-size: 0.1rem;
        transition: all .3s;

    }

    .link:hover {
        color: black;
    }

    .navbar {
        height: 100%;
        display: flex;
        flex-direction: row-reverse;
        justify-content: end;
        align-items: center;
        flex-wrap: wrap;
        position: relative;
        padding: 0 1vw;
    }

    nav .logo {
        height: 6rem;
        transition: 0.8s;
    }


}

@media (max-width: 800px) {
    nav .text-primary {
        display: flex;
        font-size: 1rem;
        font-weight: bold;
        align-items: center;
    }

    nav .text-secundary {
        display: flex;
        font-size: 1rem;
        font-weight: bold;
        align-items: center;
        padding-top: 0;
    }

    .navbar {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        flex-wrap: nowrap;
        height: 100%;
    }

    nav .logo {
        height: 3rem;
    }

    .ul_links {
        width: 100%;
        background-color: var(--color_fondo_link);
        position: absolute;
        top: 8rem;
        left: 0;
        overflow: hidden;
        transition: 0.5s;
        height: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 2rem;
        z-index: 1;
    }


}