* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

@media only screen and (max-width: 600px) {
    
    /*NAV*/

    header {
        height: 5rem;
    }

    .abrir-menu {
        font-size: 3rem;
        top: 5%;
    }

    .cerrar-menu {
        font-size: 2rem;
    }

    .estilo-lista {
        text-align: left;
        padding: 0;
    }

    .estilo-lista li {
        padding: 0;
    }

    .estilo-lista li a {
        padding: 2rem;
        font-size: 1rem;
    }

    .estilo-lista li img {
        padding: 0;
        margin-left: 60%;
        width: 1rem;
    }

    .estilo-lista li i {
        padding: 0.5rem;
    }

    /*Tarjetas de Productos*/

    .titulo {
        font-size: 2rem;
        text-align: center;

        margin-top: 20%;
     }

    .filtros select {
        background-color: #ffce00;
        padding: 0.3rem;

        border-radius: 5rem;
        width: 40%;

        margin-left: 5%;
        border: none;
        margin-top: 5%;
    }

    #productos {
        max-width: 90%;
        margin-left: 5%;
        margin-top: 5%;

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    #productos .product {
        background-color: #e6e6e6;
        border-radius: 0.5rem;

        padding: 1rem;
    }

    #productos .product .img-producto {
        background-color: #ffce00;
        width: 100%;
        height: 10rem;

        padding: 0.5rem;
        display: block;

        text-decoration: none;
        color: #000;
    }

    #productos .product .descripcion-producto {
        display: grid;
        grid-template-rows: 15% 35% 10% auto;

        gap: 0.5rem;
    }

    #productos .product .descripcion-producto h3 {
        padding-top: 0.5rem;
    }

    #productos .product .descripcion-producto span {
        font-weight: 700;
    }

    #productos .product .descripcion-producto a {
        text-decoration: none;
        color: #000;
    }

    #productos .product .descripcion-producto button {
        background-color: #ffce00;
        border: none;
        border-radius: 2rem;

        text-align: left;
        font-weight: 500;

        padding: 0.3rem 0.3rem 0.3rem 1rem;

        position: relative;
        width: 100%;
    }

    #productos .product .descripcion-producto button::after {
        content: url(/img/SVG/carrito.svg);
        position: absolute;

        width: 1rem;

        left: 70%;
        top: 25%;
    }

    /* Slider Marcas */

    .marcas {
        width: 90%;
        padding: 2rem 0.5rem 4rem 0.5rem;
        overflow: hidden;
        margin-left: 5%;
    }

    .marcas h1 {
        text-align: center;
        padding-bottom: 1rem;
    }
    
    .marcas-slider {
        display: flex;
        width: 300%;
        margin-left: -100%;
        height: 7rem;
    }

    .slider_marca {
        width: 100%;
    }

    .img__slider {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding-top: 3%;
    }

    footer {
        width: 100%;
        color: #fff;
        background-color: #000;

        text-align: center;
        padding-bottom: 2rem;

    }

    footer img {
        width: 11rem;
        padding: 1rem;

    }

    footer h2, h3 {
        padding-bottom: 1rem;
    }

    footer p {
        padding-bottom: 1rem;
    }

    footer #ig, #wsp, #fb, #direccion {
        display: flex;
        justify-content: center;
    }

    footer #ig::before {
        content: url('/img/SVG/instagram.svg');
        width: 1rem;
        padding: 0 0.5rem 0 0;

    }

    footer #wsp::before {
        content: url(/img/SVG/whatsapp.svg);
        width: 1rem;
        padding: 0 0.5rem 0 0;
    }

    footer #fb::before {
        content: url(/img/SVG/facebook.svg);
        width: 1rem;
        padding: 0 0.5rem 0 0;
    }

    footer #direccion::before {
        content: url(/img/SVG/geo-alt-fill.svg);
        width: 1rem;
        padding: 0 0.5rem 0 0;
    }


}

@media only screen and (min-width: 600px) and (max-width: 1023px) {
     /*NAV*/

     header {
        height: 5rem;
    }

    .abrir-menu {
        font-size: 3rem;
        top: 5%;
    }

    .cerrar-menu {
        font-size: 2rem;
    }

    .estilo-lista {
        text-align: left;
        padding: 0;
    }

    .estilo-lista li {
        padding: 0;
    }

    .estilo-lista li a {
        padding: 2rem;
        font-size: 1rem;
    }

    .estilo-lista li img {
        padding: 0;
        margin-left: 60%;
        width: 1rem;
    }

    .estilo-lista li i {
        padding: 0.5rem;
    }

    /*Tarjetas de Productos*/

    .titulo {
        font-size: 3rem;
        text-align: center;

        margin-top: 4%;
     }

    .filtros select {
        background-color: #ffce00;
        padding: 0.3rem;

        border-radius: 5rem;
        width: 40%;

        margin-left: 5%;
        border: none;
        margin-top: 5%;
    }

    #productos {
        max-width: 90%;
        margin-left: 5%;
        margin-top: 5%;

        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.5rem;
    }

    #productos .product {
        background-color: #e6e6e6;
        border-radius: 0.5rem;

        padding: 1rem;
    }

    #productos .product .img-producto {
        background-color: #ffce00;
        width: 100%;
        height: 7rem;

        padding: 0.5rem;
        display: block;

        text-decoration: none;
        color: #000;
    }

    #productos .product .descripcion-producto {
        display: grid;
        grid-template-rows: 15% 35% 10% auto;

        gap: 0.5rem;
    }

    #productos .product .descripcion-producto h3 {
        padding-top: 0.5rem;
    }

    #productos .product .descripcion-producto span {
        font-weight: 700;
    }

    #productos .product .descripcion-producto a {
        text-decoration: none;
        color: #000;
    }

    #productos .product .descripcion-producto button {
        background-color: #ffce00;
        border: none;
        border-radius: 2rem;

        text-align: left;
        font-weight: 500;

        padding: 0.3rem 0.3rem 0.3rem 1rem;

        position: relative;
        width: 100%;
    }

    #productos .product .descripcion-producto button::after {
        content: url(/img/SVG/carrito.svg);
        position: absolute;

        width: 1rem;

        left: 80%;
        top: 25%;
    }

    /* Slider Marcas */

    .marcas {
        width: 90%;
        padding: 2rem 0.5rem 4rem 0.5rem;
        overflow: hidden;
        margin-left: 5%;
    }

    .marcas h1 {
        text-align: center;
        padding-bottom: 1rem;
    }
    
    .marcas-slider {
        display: flex;
        width: 300%;
        margin-left: -100%;
        height: 7rem;
    }

    .slider_marca {
        width: 100%;
    }

    .img__slider {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding-top: 3%;
    }

    footer {
        width: 100%;
        color: #fff;
        background-color: #000;

        text-align: center;
        padding-bottom: 2rem;

    }

    footer img {
        width: 11rem;
        padding: 1rem;

    }

    footer h2, h3 {
        padding-bottom: 1rem;
    }

    footer p {
        padding-bottom: 1rem;
    }

    footer #ig, #wsp, #fb, #direccion {
        display: flex;
        justify-content: center;
    }

    footer #ig::before {
        content: url('/img/SVG/instagram.svg');
        width: 1rem;
        padding: 0 0.5rem 0 0;

    }

    footer #wsp::before {
        content: url(/img/SVG/whatsapp.svg);
        width: 1rem;
        padding: 0 0.5rem 0 0;
    }

    footer #fb::before {
        content: url(/img/SVG/facebook.svg);
        width: 1rem;
        padding: 0 0.5rem 0 0;
    }

    footer #direccion::before {
        content: url(/img/SVG/geo-alt-fill.svg);
        width: 1rem;
        padding: 0 0.5rem 0 0;
    }
}

@media only screen and (min-width: 1024px) {

    header {
        height: 6rem;
    }

     /*Tarjetas de Productos*/

     .titulo {
        font-size: 3rem;
        text-align: center;

        margin-top: 4%;
     }

     .todo {
        display: grid;
        grid-template-columns: 20% auto;
    }

    .filtros select {
        background-color: #ffce00;
        padding: 0.3rem;

        border-radius: 5rem;
        width: 100%;

        margin-left: 10%;
        border: none;
        margin-top: 5%;

        cursor: pointer;
    }

    #productos {
        max-width: 80%;
        margin-left: 5%;
        margin-top: 5%;

        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 1rem;
    }

    #productos .product {
        background-color: #e6e6e6;
        border-radius: 0.5rem;

        padding: 2rem;

    }

    #productos .product .img-producto {
        background-color: #ffce00;
        width: 100%;
        height: 7rem;

        padding: 0.5rem;
        display: block;

        text-decoration: none;
        color: #000;
    }

    #productos .product .descripcion-producto {
        display: grid;
        grid-template-rows: 15% 35% 10% auto;

        gap: 0.5rem;
    }

    #productos .product .descripcion-producto h3 {
        padding-top: 0.5rem;
    }

    #productos .product .descripcion-producto span {
        font-weight: 700;
    }

    #productos .product .descripcion-producto a {
        text-decoration: none;
        color: #000;
    }

    #productos .product .descripcion-producto button {
        background-color: #ffce00;
        border: none;
        border-radius: 2rem;

        text-align: left;
        font-weight: 500;

        padding: 0.3rem 0.3rem 0.3rem 1rem;

        position: relative;
        cursor: pointer;
        width: 100%;
    }

    #productos .product .descripcion-producto button::after {
        content: url(/img/SVG/carrito.svg);
        position: absolute;

        width: 1rem;

        left: 80%;
        top: 25%;
    }

    #productos .product .descripcion-producto button:hover {
        background-color: #e6bc11;
        transition: 0.3s;
    }

    /* Slider Marcas */

    .marcas {
        width: 90%;
        padding: 2rem 0.5rem 4rem 0.5rem;
        overflow: hidden;
        margin-left: 5%;
    }

    .marcas h1 {
        text-align: center;
        padding-bottom: 1rem;
    }
    
    .marcas-slider {
        display: flex;
        width: 300%;
        margin-left: -100%;
        height: 10rem;
    }

    .slider_marca {
        width: 100%;
    }

    .img__slider {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding-top: 3%;
    }

    footer {
        width: 100%;
        color: #fff;
        background-color: #000;

        text-align: center;
        padding-bottom: 2rem;

    }

    footer img {
        width: 11rem;
        padding: 1rem;

    }

    footer h2, h3 {
        padding-bottom: 1rem;
    }

    footer p {
        padding-bottom: 1rem;
    }

    footer #ig, #wsp, #fb, #direccion {
        display: flex;
        justify-content: center;
    }

    footer #ig::before {
        content: url('/img/SVG/instagram.svg');
        width: 1rem;
        padding: 0 0.5rem 0 0;

    }

    footer #wsp::before {
        content: url(/img/SVG/whatsapp.svg);
        width: 1rem;
        padding: 0 0.5rem 0 0;
    }

    footer #fb::before {
        content: url(/img/SVG/facebook.svg);
        width: 1rem;
        padding: 0 0.5rem 0 0;
    }

    footer #direccion::before {
        content: url(/img/SVG/geo-alt-fill.svg);
        width: 1rem;
        padding: 0 0.5rem 0 0;
    }
}