div.bgbox {
    position: relative;
    overflow: hidden;
}

div.bgbox > img:first-child {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transition: transform .5s ease;
}

div.bgbox:hover > img:first-child {
    transform: scale(1.05);
}

div.bgbox > div {
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #FFF9;
}

div.bgbox > div > div {
    text-align: center;
    /* background-color: rgba(255, 255, 255, 0.5); */
    height: 100%;
    box-sizing: border-box;
}

div.bgbox > div > div.beige {
    background-color: rgba(193, 155, 118, 0.8);
    color: #FFF;
}

div.bgbox > div > div.white {
    background-color: rgba(255, 255, 255, 0.5);
    color: #000;
}

div.bgbox > div > div.black {
    background-color: rgba(0, 0, 0, 0.5);
    color: #FFF;
}

div.bgbox h3 {
    font-size: 36px;
}

div.bgbox a {
    text-decoration: none;
    background-repeat: no-repeat;
    background-size: 0px 1px;
    background-position: 0% 100%;
    transition: background-size .5s ease, background-position .5s ease;
}

div.bgbox a:hover {
    background-size: 100% 1px;
}

div.bgbox > div > div.beige a,
div.bgbox > div > div.black a {
    background-image: linear-gradient(to bottom, #CCC 100%, #CCC 100%);
    color: #FFF;
}

div.bgbox > div > div.white a {
    background-image: linear-gradient(to bottom, #333 100%, #333 100%);
    color: #000;
}

div.bgbox strong a {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
}

.f32 > div {
    box-sizing: border-box;
}

/* Mobile */
@media (max-width: 799.999px) {
    div.bgbox,
    div.bgbox > div,
    div.bgbox > div > div {
        padding: 20px;
    }
}

/* Tablet */
@media (min-width: 800px) {
    div.bgbox > div > div {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 800px) and (max-width: 1199.999px) {
    .fboxes {
        display: flex;
        flex-wrap: wrap;
    }

    .fboxes > div:not(:last-child) {
        flex: 1;
    }

    .fboxes > div:last-child {
        width: 100vw;
    }

}

/* Tablet & Desktop */
@media (min-width: 800px) {
    div.bgbox,
    div.bgbox > div,
    div.bgbox > div > div {
        padding: 40px;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .fboxes {
        display: flex;
    }

    .fboxes > div {
        flex: 1;
        aspect-ratio: 1/1;
    }
}