#fop-main-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}
#fop-title {
    width: calc((12rem * 2) + 1rem);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 300;
}

#fop-cards-cont {
    display: grid;
    grid-template-columns: repeat(1, 12rem);
    gap: 1rem;
}
.fop-card-cont {
    position: relative;
    overflow: hidden;
}
.fop-card-cont img {
    width: 12rem;
}
.fop-shop-now-btn {
    position: absolute;
    right: 0;
    background-color: var(--distro-blue);
    padding-inline: 1rem;
    height: 1.75rem;
    width: 9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
#fop-cards-cont > .fop-card-cont:nth-child(5) a {
    bottom: 0.75rem;
    right: calc(6rem - 4.5rem);
}
#fop-cards-cont > .fop-card-cont:nth-child(2) a {
    background-color: var(--distro-btn-purple);
    right: calc(6rem - 4.5rem);
    bottom: 0.75rem;
}
#fop-cards-cont > .fop-card-cont:nth-child(1) a {
    bottom: 0.75rem;
    right: calc(6rem - 4.5rem);
    background-color: #d94f17;
}
#fop-cards-cont > .fop-card-cont:nth-child(3) a {
    color: var(--distro-drk-green);
    bottom: 0.75rem;
    right: calc(6rem - 4.5rem);
    background-color: var(--distro-live-yellow);
}
#fop-cards-cont > .fop-card-cont:nth-child(4) a {
    bottom: 0.75rem;
    right: calc(6rem - 4.5rem);
    background-color: rgb(60, 82, 182);
}
@media screen and (max-width: 860px) and (min-width: 500px) {
    #fop-cards-cont {
        grid-template-columns: repeat(1, 12rem);
    }
    #fop-title {
        width: calc((12rem * 3) + 1rem);
    }
}

@media screen and (max-width: 500px) {
    #fop-cards-cont {
        grid-template-columns: repeat(1, 12rem);
    }
    #fop-title {
        width: calc((12rem * 2) + 1rem);
    }
}
