/* Offer box style */
.offerBoxContainer {
    width: 94%;
    padding: 1em 3%;
    display: flex;
    flex-direction: row;
    background-color: #e6e6e6;
}

a.offerBox {
    display: flex;
    flex: 1 1;
    padding: 1em 3%;
    box-sizing: content-box;
    flex-direction: column;
    color: #000000;
}

.flexGrow {
    flex-grow: 1;
}

a.offerBox > div {
    position: relative;
    padding: 34% 0;
    margin-bottom: 1em;
}

a.offerBox div div.hover {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: transparent;
    transition: all .3s linear;
}

a.offerBox:hover {
    background-color: #FFFFFF;
    transition: all .3s linear;
}

a.offerBox:hover div div.hover {
    background-color: rgba(255, 255, 255, .2);
    transition: all .3s linear;
}

a.offerBox h2 {
    font-size: 1em;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: .5em;
}

a.offerBox p {
    text-align: left;
    font-size: .9em;
    margin-bottom: 1em;
}

a.offerBox span {
    transition: all .5s linear;
    width: fit-content;
}

a.offerBox span.button {
    background-color: #33cccc;
}

a.offerBox:hover span.button {
    color: #FFFFFF;
    transition: all .5s linear;
}

/* Screen size adjustments */
@media screen and (max-width: 500px) {
    /* Offerbox style */
    .offerBoxContainer {
        flex-direction: column;
    }
    a.offerBox {
        flex: 0 1 94%;
    }
}