*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root{
    --product-info-bg-color: rgba(187,221,207,.9);
    --button-bg-color: #F5A661;
    --text-color: #000000;
    --list-item-title-color: #ffffff;
    --main-title-font-size: 3.2em;
    --info-text-font-size: 2.2em;
    --item-title-font-size: 1.8em;
    --item-button-font-size: 1.5;
    --back-home-button-font-size: 1.5em;
    --main-font: 'Rye', cursive;
    --secondary-font:'Parisienne', cursive;
    --items-font-color: #313131;
}


/* BARRA DE SCROLL */
body::-webkit-scrollbar{
    width: 10px;
    background-color: var(--product-info-bg-color);
}
body::-webkit-scrollbar-thumb{
    background-color: var(--button-bg-color);
}


.product-container{
    min-height: 100vh;
    width: 100%;
    background: url('/img/productos-bg.webp');
    background-position: center;
    background-size: cover;
}
.top-side{
    display: grid;
    grid-template-columns: 65% 35%;
}
.product-info-container{
    background-color: var(--product-info-bg-color);
    min-height: 65vh;
    width: 100%;
    padding: 20px;
}
.back-home-button{
    font-size: var(--back-home-button-font-size);
    color: var(--text-color);
    font-family: var(--secondary-font);
    text-decoration: none;
}
.back-home-button:hover{
    border-bottom: 1px solid black;
}
.text-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    gap: 40px;
    margin-top: 50px;
}
.title{
    font-size: var(--main-title-font-size);
    font-family: var(--main-font);
    color: var(--text-color);
    font-weight: 400;
    text-align: center;
}
.product-text{
    font-size: var(--info-text-font-size);
    font-family: var(--secondary-font);
    color: var(--text-color);
    width: 55%;
    text-align: center;
}
.list-link img{
    width: 40px;
    animation: arrow-movement 3s linear infinite;
}
@keyframes arrow-movement{
    0%{
        transform: translateY(0em);
        opacity: 0.4;
    }
    50%{
        transform: translateY(1em);
        opacity: 1;
    }
    100%{
        transform: translateY(0em);
        opacity: 0.4;
    }
}

.product-list-top{
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.product-list{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px;
}
.list-item{
    margin: 40px;
    height: 250px;
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.item-title{
    font-size: var(--item-title-font-size);
    color: var(--list-item-title-color);
    font-family: var(--secondary-font);
    font-weight: 400;
    text-align: center;
    padding-top: 10px;
}
.list-button{
    text-decoration: none;
    background-color: var(--button-bg-color);
    font-size: var(--item-button-font-size);
    color: var(--text-color);
    font-family: var(--main-font);
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
.list-button:hover{
    background: var(--list-item-title-color);
    transition: .3s;
}
#condimentos{
    background: url('/img/condimentos.svg');
    background-size: cover;
    background-position: center;
}
#harinas{
    background: url('/img/harinas-legumbres.svg');
    background-size: cover;
    background-position: center;
}
#frutos-secos{
    background: url('/img/frutos-secos.svg');
    background-size: cover;
    background-position: center;
}
#celiacos{
    background: url('/img/celiacos.svg');
    background-size: cover;
    background-position: center;
}
#reposteria{
    background-size: cover;
    background-position: center;
    background: url('/img/reposteria.svg');
}
#hierbas{
    background: url('/img/hierbas.svg');
    background-size: cover;
    background-position: center;
}
#desayunos{
    background: url('/img/desayunos.svg');
    background-size: cover;
    background-position: center;
}
#dieteticos{
    background: url('/img/diet.svg');
    background-size: cover;
    background-position: center;
}
#semillas{
    background: url('/img/semillas.svg');
    background-size: cover;
    background-position: center;}
#gourmet{
    background: url('/img/gourmet.svg');
    background-size: cover;
    background-position: center;
}
/*FOOTER*/
.footer{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    width: 100%;
    font-family: var(--main-font);
    background-color: var(--items-font-color);
    color: var(--product-info-bg-color);
    gap: 50px;
    font-size: .9em;
}
@media screen and (max-width: 1150px){
    :root{
        --main-title-font-size: 2.7em;
        --info-text-font-size: 1.9em;
    }
    .top-side{
        grid-template-columns: none;
        grid-template-rows: 30% 70%;
        gap: 100px;
    }
    .product-text{
        width: 70%;
    }
    .product-list-top{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 80px;
    }
}
@media screen and (max-width: 800px){
    .product-container{
        background: url('/img/responsive-product-bg.webp');
        background-size: cover;
    }
}
@media screen and (max-width: 650px){
    :root{
        --main-title-font-size: 2.3em;
        --info-text-font-size: 1.8em;
    }
    .top-side{
        grid-template-rows: 50% 30%;
        gap: 0px;
    }
    .product-list-top{
        gap: 10px;
    }
    #harinas{
        margin-bottom: 120px;
    }
    .product-list{
        gap: 50px;
    }
    .footer{
        gap: 10px;
        flex-direction: column;
    }
}
@media screen and (max-width: 400px){
    :root{
        --main-title-font-size: 1.8em;
        --info-text-font-size: 1.3em;
        --back-home-button-font-size: 1.2em;
    }
    .top-side{
        grid-template-rows: 40% 50%;
        gap: 60px;
    }
    .footer{
        font-size: .78em;
        width: 105%;
    }
    .product-container{
        background: url('/img/responsive-product-bg.webp');
        background-size: cover;
        width: 105%;
    }
}