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

body {
    background-image: url(../images/background-cacao.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header {
    max-width: 1440px;
    margin: 0 auto;
    padding: .4em;
    font-family: 'Nunito', sans-serif;
    text-align: center;
    color: #985f64;
    font-size: 30px;
    font-weight: 900;
    box-sizing: border-box;
}

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-left: 40px;
    margin-right: 40px;
    margin-top: 40px;
}

.logotipo {
    display: flex;
    width: 120px;
    cursor: pointer;
    align-items: center;
    filter: brightness(100%);
}

.logotipo:hover {
    filter: none;
    filter: brightness(110%) saturate(50%);
}

ul {
    margin-top: -60px;
}

li {
    display: inline-block;
    list-style: none;
    padding: 0 10px;
}

a {
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #5c3046;
    transition: all 0.5s;
}

a:hover {
    color: #985f64;
}

.flex {
    display: flex;
    align-items: center;
}

h1 {
    margin-top: 80px;
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 50px;
    font-weight: 900;
    color: #985f64;
}

h2 {
    text-align: center;
    font-family: 'Amatic SC', cursive;
    font-size: 60px;
    margin-bottom: 40px;
    font-weight: 700;
    color: #5c3046;
}

h3 {
    text-align: center;
    font-family: 'Amatic SC', cursive;
    font-size: 30px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: 700;
    color: #5c3046;
}

p {
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    margin-bottom: 60px;
    font-weight: 300;
    color: #5c3046;
}

.h3__header {
    margin-bottom: 100px;
}

.contenido__header {
    align-items: center;
    margin-left: 180px;
    margin-right: 180px;
    margin-top: 200px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    grid-template-rows: auto;
    grid-template-areas: "columna1 columna2 columna3 columna4";
}

.columna1 {
    grid-area: columna1;
}

.columna2 {
    grid-area: columna2;
}

.columna3 {
    grid-area: columna3;
}

.columna4 {
    grid-area: columna4;
}

.columna1 img, .columna2 img, .columna3 img, .columna4 img, {
    width: 100%;
    filter: grayscale(90%) opacity(50%);
    padding: 6px;
    vertical-align: middle;
}

img:hover {
    filter: none;
    filter: saturate(1);
}

img {
    width: 200px;
}

.licor {
    width: 50%;
}

.tequila {
    width: 60%;
}

.baileys {
    margin-top: -50px;
    width: 40%;
}

.mango {
    margin-top: 30px;
    width: 85%;
}

.ganache {
    width: 60%;
    margin-top: 115px;
}

.mezcal {
    width: 70%;
    margin-top: -30px;
}

.maracuya {
    width: 95%;
    margin-top: 100px;
}

.cafe {
    width: 80%;
    margin-top: -5px;
}

figcaption {
    display: none;
}

figure:hover figcaption {
    display: block;
}

.caption {
    padding: 1.5em;
    font-size: 15px;
    text-align: center;
}

.chocolate__liquido {
    width: 25%;
}

.section__01 {
    margin-top: -280px;
}

.section01__flex {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 0 400px;
    margin-top: 80px;
}

.pastel__flex {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-top: -10px;
}

.pastel__chocolate {
    width: 35%;
}

.section__02 {
    margin-top: 100px;
    margin-bottom: 300px;
}

.section02__flex {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 0 400px;
    margin-top: 120px;
}

.caja__chocolates {
    width: 25vw;
}

.taza__chocolates {
    width: 25vw;
}

.caption02 {
    padding: 1em;
    font-size: 15px;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 428px;
    background-image: url(../images/Footer.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.contenido_footer {
    margin-top: 260px;
}

.footer__redes {
    margin-bottom: 80px;
    text-align: center;
}

.footer_links {
    margin-bottom: 40px;
}

.a__redes {
    font-size: 30px;
    padding: 1px;
}

i {
    color: #9fe2d0;
}

i:hover {
    color: white;
}

.a__footer {
    color: white;
    font-size: 20px;
}

.a__footer2 {
    color: white;
    font-size: 10px;
}

.a__punto {
    color: white;
    font-size: 30px;
}

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

ol {
    text-align: center;
}

@media only screen and (min-width: 1px) and (max-width: 650px) {
    li {
        display: block;
        padding: 0 2.5px;
    }

    a {
        font-size: 20px;
    }

    ul {
        margin-top: -20px;
    }

    .logotipo {
        width: 115px;
    }

    h1 {
        margin-top: 30px;
        font-size: 35px;
    }

    h2 {
        text-align: center;
        font-family: 'Amatic SC', cursive;
        font-size: 45px;
        margin-bottom: 20px;
    }

    h3 {
        text-align: center;
        font-family: 'Amatic SC', cursive;
        font-size: 12px;
        margin-bottom: 10px;
        margin-top: 0px;
        font-weight: 700;
        color: #5c3046;
    }

    p {
        font-size: 8px;
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 0px;
    }

    .h3__header {
        margin-top: 0px;
        margin-bottom: 50px;
    }

    .contenido__header {
        align-items: center;
        margin-left: 40px;
        margin-right: 40px;
        margin-top: 40px;
        margin-bottom: 20px;
        display: grid;
        grid-template-columns: 25% 25% 25% 25%;
        grid-template-rows: auto;
        grid-template-areas: "columna1 columna2 columna3 columna4";
    }

    .licor {
        width: 50%;
        margin-top: 10px;
    }

    .tequila {
        width: 60%;
    }

    .baileys {
        margin-top: -5px;
        width: 40%;
    }

    .mango {
        margin-top: 15px;
        width: 85%;
    }

    .ganache {
        width: 60%;
        margin-top: 30px;
    }

    .mezcal {
        width: 70%;
        margin-top: 0px;
    }

    .maracuya {
        width: 95%;
        margin-top: 35px;
    }

    .cafe {
        width: 80%;
        margin-top: 0px;
    }

    figcaption {
        display: none;
    }

    figure:hover figcaption {
        display: block;
    }

    .caption {
        padding: .2em;
        font-size: 7.5px;
        text-align: center;
        margin-bottom: 20px;
    }

    .chocolate__liquido {
        display: none;
    }

    .section__01 {
        margin-top: -60px;
    }

    .section01__flex {
        display: none;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        padding: 0 60px;
        margin-top: 20px;
    }

    .chocolate__amargo {
        width: 15vw;
    }

    .chocolate__leche {
        width: 15vw;
    }

    .chocolate__blanco {
        width: 15vw;
    }

    .pastel__flex {
        display: none;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        margin-top: -10px;
    }

    .pastel__chocolate {
        display: none;
    }

    .section__02 {
        margin-top: 50px;
        margin-bottom: 75px;
    }

    .section02__flex {
        display: none;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        padding: 0 80px;
        margin-top: 20px;
    }

    .caja__chocolates {
        width: 35vw;
    }

    .taza__chocolates {
        width: 35vw;
    }

    .caption02 {
        padding: .2em;
        font-size: 7.5px;
    }

    footer {
        height: 107px;
    }

    .footer__redes {
        margin-bottom: 20px;
        text-align: center;
    }

    .footer_links {
        margin-bottom: 0px;
    }

    .a__redes {
        font-size: 15px;
        padding: 0px;
    }

    .contenido_footer {
        margin-top: 50px;
    }

    .li__footer {
        display: inline-block;
    }

    .a__footer {
        font-size: 10px;
    }

    .a__footer2 {
        font-size: 5px;
    }

    .a__punto {
        font-size: 15px;
    }

    .terminos_privacidad {
        margin-top: 10px;
    }

}

@media only screen and (min-width: 651px) and (max-width: 1024px) {
    ul {
        margin-top: -40px;
    }

    li {
        padding: 0 5px;
    }

    h1 {
        margin-top: 60px;
        font-size: 35px;
    }

    h2 {
        text-align: center;
        font-family: 'Amatic SC', cursive;
        font-size: 45px;
        margin-bottom: 20px;
    }

    p {
        font-size: 12px;
        margin-left: 15px;
        margin-right: 15px;
        margin-bottom: 15px;
    }

    .contenido__header {
        align-items: center;
        margin-left: 40px;
        margin-right: 40px;
        margin-top: 60px;
        margin-bottom: -60px;
        display: grid;
        grid-template-columns: 25% 25% 25% 25%;
        grid-template-rows: auto;
        grid-template-areas: "columna1 columna2 columna3 columna4";
    }

    .licor {
        width: 50%;
        margin-top: 20px;
    }

    .tequila {
        width: 60%;
    }

    .baileys {
        margin-top: -5px;
        width: 40%;
    }

    .mango {
        margin-top: 15px;
        width: 85%;
    }

    .ganache {
        width: 60%;
        margin-top: 100px;
    }

    .mezcal {
        width: 70%;
        margin-top: -10px;
    }

    .maracuya {
        width: 95%;
        margin-top: 100px;
    }

    .cafe {
        width: 80%;
        margin-top: 0px;
    }

    figcaption {
        display: none;
    }

    figure:hover figcaption {
        display: block;
    }

    .caption {
        padding: .2em;
        font-size: 15px;
        text-align: center;
        margin-bottom: 20px;
    }

    .section__01 {
        margin-top: -140px;
    }

    .section01__flex {
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        padding: 0 60px;
        margin-top: 40px;
    }

    .chocolate__amargo {
        width: 15vw;
    }

    .chocolate__leche {
        width: 15vw;
    }

    .chocolate__blanco {
        width: 15vw;
    }

    .pastel__flex {
        margin-top: -10px;
    }

    .section__02 {
        margin-top: 80px;
        margin-bottom: 150px;
    }

    .section02__flex {
        display: none;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        padding: 0 60px;
        margin-top: 40px;
    }

    .caja__chocolates {
        width: 35vw;
    }

    .taza__chocolates {
        width: 35vw;
    }

    .caption02 {
        padding: .2em;
        font-size: 15px;
    }

    footer {
        height: 214px;
    }

    .contenido_footer {
        margin-top: 100px;
    }

    .footer__redes {
        margin-bottom: 40px;
    }

    .footer_links {
        margin-bottom: 20px;
    }

}