﻿
.main {
    /*background-color: #1E1F20;dark*/
    background-color:white;
    min-height: 300px;
}

    .main button {
        margin: 20px 0 0 20px;
        padding: 0 15px 0 15px;
        font-family: 'Golos Text';
        /*background-color: #8C8068;dark*/
        background-color: #cecab0;
        border-color: #cecab0;
        border-radius: 10px;
        color: white;
        font-weight: 300;
        font-size: 1.25rem;
        width: 130px;
    }

.descriptionOfProducts{
    display:flex;
    justify-content:center;
    margin: 30px 30px 30px 30px;
}

.paginationButtons {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-self: center;
    color: white;
    gap: 20px;
    padding-bottom: 50px;
    /*color: rgb(211, 214, 216);*/
    color: black
}

    .paginationButtons a {
        /*text-decoration: none;
        color: white;*/
        color: #8C8068;
    }

.categoryItems {
    /*color: rgb(211, 214, 216); dark*/
    color: #2F3031;
    font-family: 'Golos Text';
    font-size: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s linear;
    width: 300px;
    /*width: 100px;*/
}

    .categoryItems ul {
        margin: 5px 0 0 0;
        padding: 0 0 0 60px;
        /*width: 110px;*/
    }

    .categoryItems li:hover {
        cursor: pointer;
        color: #8C8068;
    }

    .categoryItems a {
        text-decoration: none;
        /*color: rgb(211, 214, 216);dark*/
        color: #2F3031;
    }

    /*.categoryItems.show {
        max-height: 1000px;*/
        /*width: 300px;*/
    /*}*/

    .categoryItems.opening {
        transition: max-height 1s ease-in;
        max-height: 1000px;
    }

    .categoryItems.closing {
        transition: max-height 0.5s ease-out;
        max-height: 0;
    }

.products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
    /* gap: 30px;  with card*/
    row-gap: 0;
    column-gap: 30px;
    padding: 40px 0 40px 0;
}

/* cards */
.productContainer {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-radius: 20px;
    text-decoration: none;
    border-style: solid;
    border-width: thin;
    /* border-color: #AAA8A4; dark */
    border-color: white;
    padding: 10px;
    width: 80%;
    /*background-color: #2F3031;dark */
    background-color: white;
    /*box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.312);dark */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px;
}

    .productContainer.hide {
        display: none;
    }

    .productContainer:hover {
        transform: translateY(-5px);
        box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.523);
    }

.productsText {
    order: 2;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-self: center;
    border-radius: 20px;
    margin: 0;
    /*padding: 10px;*/
    height: auto;
}

    .productsText h1 {
        /* color: #D3D6D8; dark */
        color: #2F3031;
        font-size: 1rem;
        /*margin: 0 0 10px 0;*/
        margin: 0;
        font-family: 'Golos Text';
    }

    .productsText p {
        font-size: 0.85rem;
        color: #AAA8A4;
        /* margin: 0 0 10px 0; */
        font-family: 'Golos Text';
    }

.productContainer img {
    order: 1;
    display: flex;
    align-self: center;
    border-radius: 20px;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: scale-down;
    /*box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.312);dark */
}

/* Responsive */
@media (min-width: 350px) {
    /* Main section */
    .productContainer {
        width: 40%;
        flex-wrap: wrap;
    }
}

/* Responsive */
@media (min-width: 550px) {
    /* Main section */
    .productContainer {
        width: 35%;
        flex-wrap: wrap;
    }
}


@media (min-width: 700px) {
    /* Main section */
    .productContainer {
        width: 20%;
        flex-wrap: wrap;
    }
}

@media (min-width: 1000px) {
    /* Main section */
    .productContainer {
        width: 20%;
        flex-wrap: wrap;
    }

    .productsText h1 {
        font-size: 1.5rem;
    }

    .productsText p {
        font-size: 1.25rem;
    }
}
