.stack{
    width: 100%;
}

.stack-panel{
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;;
}

.stack-panel-content{
    width: 100%;
    margin: 0 auto;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.stack a{
    color: #FFF;
    text-decoration: none;
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.stack-panel-image{
    position: absolute;
    width: 100%;
    height: 100%;
}

.stack-panel-bgcolor{
    position: absolute;
    width: 100%;
    height: 100%;
}

.stack-panel:hover .stack-panel-bgcolor{
    opacity: 0;
}

.stack-panel-text{
    font-family: Flaviotte;
    font-size: 96px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    position: absolute;
    bottom: -31px;
    max-width: 1032px;
    width: 100%;
}

/* write a media query for max width of 1032 */

@media screen and (max-width: 1032px){
    .stack-panel-text{
        font-size: 54px;
        bottom: -18px;
    }
}