﻿.box {
    position: relative;
    overflow-y: hidden;
    border-radius: 10px;
    height: 100%;
}

    .box:hover > .box-overlay {
        bottom: 0;
    }

.box-overlay {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: -85%;
    transition: bottom 0.40s ease-in-out;
}

.box-overlay-heading {
    height: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.box-overlay-content {
    height: 85%;
    padding: 10px;
    text-align: center;
    opacity: 0.90;
}

.separator-line {
    height: 5px;
    background: linear-gradient(to right, #69BC4F, #FDE925, #F69330);
}

.rollover-btn:hover {
    background-color: white;
    color: black !important;
}

@media (max-width: 768px) {
    .box-overlay-heading {
        padding: 5px;
    }

    .box-overlay-content {
        padding: 5px;
    }
}
