﻿
.main {
    /*background-color: #1E1F20;*/
    background-color: white;
    min-height: 300px;
}

#fullImageContainer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    #fullImageContainer img {
        max-width: 95%;
        max-height: 95%;
        border-radius: 10px;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
        object-fit: contain;
    }

.products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 0 40px 0;
}

/* cards */
.productContainer {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    align-self: center;
    border-radius: 20px;
    text-decoration: none;
    border-style: solid;
    border-width: thin;
    /* border-color: #AAA8A4; dark */
    border-color: white;
    padding: 2%;
    height: auto;
    width: 80%;
    /*background-color: #2F3031;*/
    background-color: white;
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.312);
    max-width: 500px;
    /* min-width: 200px; */
}

    .productContainer.hide {
        display: none;
    }

/*.carousel 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);
}*/

.carousel {
    order: 1;
    position: relative;
    width: 100%;
    height: auto;
    align-self: center;
    /*box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.312);*/
    border-radius: 20px;
}

.slides {
    position: relative;
    height: 100%;
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    /*height: auto;*/
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    object-fit:scale-down;
    transition: opacity 0.5s ease;
}

    .slide.active {
        display: block;
    }

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    /*padding: 1rem;*/
    height:50px;
    width:50px;
    cursor: pointer;
    z-index: 1;
    border-radius:50%;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

.productsText {
    order: 2;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-self: flex-start;
    border-radius: 20px;
    margin: 0;
    padding: 10px;
    height: auto;
}

    .productsText h1 {
        /* color: #D3D6D8; dark */
        color: #2F3031;
        font-size: 1.5rem;
        margin: 0 0 10px 0;
        font-family: 'Golos Text';
    }

    .productsText p {
        font-size: 1.25rem;
        /*color: #AAA8A4;*/
        color: #2F3031;
        margin: 0 0 10px 0;
        font-family: 'Golos Text';
    }

.buyButton {
    order: 3;
    display: flex;
    align-self: center;
    align-items: center;
    padding: 0 15px 0 15px;
    font-family: 'Golos Text';
    /*background-color: #8C8068;dark*/
    background-color: #cecab0;
    border-radius: 10px;
    border-color: #cecab0;
    color: white;
    font-weight: 300;
    font-size: 1.8rem;
    width: 165px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none
}

    .buyButton:hover {
        transform: translateY(-3px);
        box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.523);
        color: white
    }

/* Responsive */
@media (min-width: 550px) {
    .products {
        padding: 40px 0 40px 0;
    }
    /* Main section */
    .productContainer {
        width: 70%;
        flex-wrap: wrap;
    }
}


@media (min-width: 700px) {
    .products {
        padding: 40px 0 40px 0;
    }
    /* Main section */
    .productContainer {
        width: 70%;
        flex-wrap: wrap;
    }
}
