section{
    display: grid;
}
section.hero{
    display: flex;
    gap: 0;
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
}
section.hero h2{
    font-size: 2.5rem;
    white-space: nowrap;
    background-color: white;
    color: var(--accent-color);
    width: fit-content;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    padding: .7rem;
}
section.hero h2.last{
    color: white;
    background-color: var(--accent-color);
    rotate: -2deg;
    translate: 0 -.5rem;
    margin-bottom: 2rem;
}
/* ------------------- */
/* -- Offer Section -- */
/* ------------------- */
.offers{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 1rem;
    margin: 0 50%;
    translate: -50% 0;
}
.offer{
    perspective: max(100vw, 1500px);
    position: relative;
    width: 100%;
    min-width: 15rem;
    min-height: 26rem;
}
.offer:active .front,
.offer:hover .front{
    transform: rotateY(-180deg);
}
.offer:active .back,
.offer:hover .back{
    transform: rotateY(0);
}
.offer .front,
.offer .back{
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 0 10px 5px var(--outline-color-shadow);
    border-radius: 12px;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: rotateY(0);
    transition: all .4s ease;
}
.offer .front{
    gap: 0;
    align-items: center;
    text-align: center;
    justify-content: end;
}
.offer .front img{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.offer .back{
    padding: 1rem;
    transform: rotateY(180deg);
}
.offer h4{
    font-size: clamp(1rem, 1.5rem, 2rem);
    max-width: 75%;
    font-size: 1.2rem;
    text-transform: uppercase;
}
.offer .description{
    color: grey;
}
ul{
    flex: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
}
ul .line{
    display: flex;
    gap: .5rem;
    align-items: start;
}
ul i{
    margin-top: .2rem;
    color: var(--accent-color);
}
.offer .price-info{
    display: grid;
    gap: .3rem;
}
.offer .price-info .line{
    gap: .5rem;
}
.price{
    font-size: 1.5rem;
    font-weight: 700;
}
.starting, .quantity{
    font-size: 1rem;
    font-weight: initial;
    opacity: .8;
}
.back button{
    --button-color: var(--accent-color);
    width: 100%;
}
.research{
    font-size: .8rem;
    color: grey;
}

@media screen and (max-width: 1000px) {
    /* Offers Section */
    section .offers{
        grid-template-columns: 1fr;
        place-items: center;
    }
    section .offer{
        max-width: 25rem;
    }
}
