/* Product */
.productsSection {
    width: 100%;
}
.productsH2 {
    width: 100%;
    text-align: center;
    height: 10vh;
    color: var(--primaryTextColor);
}
.productsSectionProductsDiv {
    width: 100%;
    min-height: 70vh;
    display: flex;
    /* display: grid; */
    /* grid-template-columns: auto auto auto auto; */
    /* grid-template-rows: auto; */
    justify-content: center;
    /* margin: 2rem; */
}
.productCard {
    width: calc(100% - 2rem);
    /* height: 100%; */
    margin-left: 1rem;
    margin-right: 1rem;
    cursor: pointer;
}
.productCard:first-child {
    margin-left: 2rem;
}
.productCard:last-child {
    margin-right: 1.5rem;
}
.productCardImageDiv {
    width: 100%;
    height: 80%;
    position: relative;
    transition: 800ms;
}

.productCard:hover > .productCardImageDiv {
    transform: rotateY(180deg);
}
.productCard:hover > .productCardImageDiv > .productCardBanner {
    background-color: rgba(0, 0, 0, 0.4);
}

.productCard:hover > .producCardDetails > .productCardHeader {
    color: var(--secondaryTextColor);
}
.productCard:hover
    > .productCardImageDiv
    > .productCardBanner
    > .productCardLink {
    z-index: 0;
    opacity: 1;
    top: 50%;
    transform: rotateY(180deg);
    left: 45%;
}

.productCardImg {
    position: absolute;
    z-index: -1;
}

.productCardBanner {
    transition: 800ms;
}
.productCardImg,
.productCardBanner {
    border-radius: 0.4rem;
    width: 100%;
    height: 100%;
}
.productCardLink {
    top: 80%;
    left: 45%;
    position: relative;
    color: white;
    transition: 800ms;
    z-index: -4;
    opacity: 0;
    background-color: aliceblue;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    color: var(--secondaryTextColor);
}
.productCardLink > i {
    font-size: 3rem;
}
.producCardDetails {
    width: 100%;
    height: 20%;
    display: flex;
    align-items: center;
}
.productCardHeader {
    transition: 600ms;
    height: 50%;
    width: 100%;
    color: var(--primaryTextColor);
    line-height: 100%;
    text-align: center;
}
