/* CATEGORIES -----------------------------------------------------*/
.product-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    color: #232424;
}

.products-container {
    padding: 1.75rem 3rem;
    margin: 3rem 0 2rem 1.5rem;
    background-color: #FFF;
    max-width: 60%;
    border-radius: 15px;
}

.products-container h2 {
    font-size: 3.5rem;
    padding-bottom: 1.5rem;
}

.products {
    display: flex;
    max-width: 100%;
    gap: 2rem;
    font-size: 20px;
}

.product {
    flex: 1 1 0;
    min-width: 30%;
}

.product img {
    width: 100%;
    aspect-ratio: 1 / 1.5;
    object-fit: cover;
    border-radius: 5px;
}

.product p {
    font-size: 1.5rem;
}

.product button {
    background-color: #724122;
    color: #FFF;
    height: 3rem;
    width: 7rem;
}

.product button:hover {
    transition: all 0.2s ease 0s;
    background-color: #804927;
    font-size: 1.23rem;
}

.product-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 1rem;
}

/* SIDEBAR POP UP ---------------------------------------------------*/

#popup {
    display: none;
    position: fixed;
    width: 30%;
    border-radius: 15px;
    right: 1%;
    top: 28%;
}

.pop-up-content {
    display: flex;
    justify-content: center;
    position: relative;
    margin-right: 2rem;
    padding: 2rem;
    background-color: #724122;
    color: #FFF;
    border-radius: 15px;
}

.pop-up-description {
    align-self: center;
    padding: 0 2rem;
}

.pop-up-content p {
    font-size: 21px;
    line-height: 1.3;
}

#popup-img {
    height: 25rem;
    width: 50%;
    aspect-ratio: 1 / 1;
    border-radius: 3px;
}

#close-btn {
    position: absolute;
    margin: 1rem;
    font-size: 20px;
    cursor: pointer;
    top: 0;
    right: 0;
}


/* FOOTER ---------------------------------------------------------*/

footer {
    max-height: 15vh;
    background-color: #724122;
}

.social-media {
    max-width: 500px;
    flex-direction: row;
    padding: 0.3rem 1rem;
}

.social-media h4 {
    padding-right: 0.7rem;
}

.social-items {
    padding-left: 0.5rem;
}

/* MEDIA QUERIES----------------------------------------------------*/

/* 2xl */
@media (max-width: 1536px) {

    .pop-up-description {
        padding: 0 0.5rem;
    }
    
    .pop-up-content p {
        font-size: 18px;
        line-height: 1.1;
    }
    
    .pop-up-content h2 {
        font-size: 2.1rem;
    }

    #popup-img {
        height: 25rem;
        width: 50%;
        aspect-ratio: 0.5 / 1;
        border-radius: 10px;
    }
}

/* xl */
@media (max-width: 1280px) {
    
    /* CATEGORIES -----------------------------------------------------*/

    .products-container {
        padding: 1.75rem 1.5rem;
        margin: 3rem 0 2rem 1.5rem;
    }

    /* SIDEBAR POP UP ---------------------------------------------------*/

    .pop-up-description {
        padding: 0.5rem;
    }

    .pop-up-content {
        flex-direction: column;
        padding: 1rem;
        margin: 1rem;
    }

    #popup {
        width: 33%;
        right: 0.1%;
    }

    .pop-up-content p {
        font-size: 17px;
        line-height: 1.1;
    }
    
    .pop-up-content h2 {
        font-size: 1.9rem;
    }

    #popup-img {
        height: 23rem;
        width: 100%;
        border-radius: 10px;
    }

    #close-btn {
        margin: 1.5rem;
        font-size: 25px;
    }
}

/* lg */
@media (max-width: 1024px) {

    .product-categories {
        gap: 0rem;
    }
    
    .products-container {
        padding: 1.75rem 1.5rem 0 1.5rem;
        margin: 2rem 1rem;
        max-width: 100%;
    }
    
    .products-container button {
        display: none;
    }
    
    .product p {
        font-size: 1.4rem;
    }
}

/* sm */
@media (max-width: 640px) {
    
    .products-container h2 {
        font-size: 3rem;
    }
}