

#fMainCont {
    width: 100%;
    display: grid;
    justify-content: center;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

}

.fCont {
    position: relative;
    border: 1px solid var(--main-details-color);
    background-color: var(--main-bg-color);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.fImg { width: 100%; }

.fOvrly {
    background-color:rgba(5, 5, 5, 0.9);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.fOvrly:hover { opacity: 1; }

.fBtn {
    text-align: center;
    align-content: center;
    border-radius: 25px;
    cursor: pointer;
    padding: 5%;
    width: 50%;
    background-color: var(--main-details-color);
    color: var(--main-bg-color);
}

@media (max-width: 768px) {
    #fMainCont {
        grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
    }
    .fOvrly:hover { opacity: 0; }
}