:root {
    --primario: #ffbd00;
    --blanco: white;
    --negro: black;
    --fontPrincipal: 'Futura Extra Black Condensed Regular';
    --fontPrincipalAlternativo: 'Futura Condensed Bold';
    --fontCursiva: 'SignPainter HouseScript Regular';
    --fontLigero: 'Futura Book';
}

@font-face {
    font-family: 'Futura Condensed Bold';
    src: url('Futura\ Condensed\ Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Extra Black Condensed Regular';
    src: url('Futura\ Extra\ Black\ Condensed\ Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SignPainter HouseScript Regular';
    src: url('SignPainter\ HouseScript\ Regular.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Futura Book';
    src: url('Futura\ Book.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

html {
    box-sizing: border-box; /*permite trabajar con tamaños exactos sin batallar con padding*/
    scroll-snap-type: y mandatory;
}

*, *:before, *:after { 
    box-sizing: inherit;
}

h1 {
    font-family: var(--fontPrincipal);
    font-size: 3.8rem;
    text-transform:uppercase;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}

h1, h2, h3 {
    text-align: center;
    font-family: var(--fontPrincipal);
}

p {
    margin: 0;
    font-family: var(--fontLigero);
    text-align: justify;
}

li {
    font-family: var(--fontLigero);
}

.header {
    background-color: var(--primario);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    overflow: hidden;
}

.header__logo {
    height: 180px;
    margin-left: 3rem;
}

.enlaces {
    max-width: 60%;
}

.enlace {
    padding: 1.5rem;
    font-family: var(--fontPrincipal);
    text-transform: uppercase;
    font-size: 1.3rem;
    text-decoration: none;
    color: var(--negro);
}

.enlace__activo {
    color: var(--blanco);
}

.enlace:hover {
    color: var(--blanco)
}

.section {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.float-image {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
    width: 400px; /* adjust as needed */
    height: auto;
    border-radius: 25px;
}

.item__enlace {
    text-decoration: none;
    color: var(--blanco);
    font-family: var(--fontPrincipal);
    text-transform: uppercase;
    padding: 0.5rem;
    display: block;
    margin: 0.5rem auto;
    background-color: var(--negro);
    border-radius: 15px;
    width: 8rem;
}

.item__enlace:hover{
    background-color: var(--primario);
    color: var(--black);
}

.footer {
    background-color: var(--primario);
    height: 10rem;
    display: flex;
    z-index: 1;
}

.contenedor-izquierdo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
}

.footer__img {
    height: 150px;
}

.datos {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
}

.datos h3 {
    font-family: var(--fontPrincipal);
    text-transform: uppercase;
    margin: 0;
}

.datos p {
    font-family: var(--fontPrincipalAlternativo);
}

.contenedor-derecho {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 53%;
}

.footer_enlace {
    margin: 1rem;
}

.footer__enlace--img {
    height: 40px;
}

@media(max-width: 1200px) {

    .header {
        height: 80px;
    }
    .enlace {
        padding: 1rem;
        font-size: 1.2rem;
    }

    .section h1 {
        font-size: 3.5rem;
    }

}

@media(max-width: 860px) {

    .header {
        height: 60px;
    }

    .header__logo {
        margin-left: 1rem;
        height: 130px;
    }

    .enlace {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .section {
        width: 90%;
    }

    .section h1 {
        font-size: 3rem;
    }

    .float-image {
        width: 300px;
    }

    .datos h3 {
        font-size: 1.2rem;
        text-align: left;
    }
    .footer_enlace {
        margin: 0.5rem;
    }
}

@media(max-width: 780px) {

    .enlaces {
        margin-right: 1rem
    }
    
    .datos h3 {
        font-size: 1rem;
        text-align: left;
    }

    .section h1 {
        margin-top: 3rem;
        font-size: 2.8rem;
    }
}

@media(max-width: 450px) {
    .header {
        height: 50px;
    }

    .header__logo {
        margin-left: 0.1rem;
        height: 90px;
    }

    .enlaces {
        min-width: 75%;
    }

    .enlace {
        padding: 0.2rem;
        font-size: 0.7rem;
    }

    .item__enlace {
        width: 70%;
        font-size: 0.7rem;
        padding: 0.2rem;
    }

    .section h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .articulo {
        text-align: center;
    }

    .float-image {
        float: unset;
        margin: 1rem auto;
    }

    .footer {
        height: 7rem;
    }

    .contenedor-izquierdo {
        width: 55%;
    }

    .footer__img {
        height: 80px;
    }

    .datos h3 {
        font-size: 0.9rem;
    }

    .datos p {
        font-size: 0.8rem;
    }

    .contenedor-derecho {
        padding-right: 20px;
    }

    .footer_enlace {
        margin: 0.3rem;
    }

    .footer__enlace--img {
        height: 25px;
    }

}