body {
    background: rgb(250, 248, 226);
    background: linear-gradient(180deg, rgba(250, 248, 226, 1) 40%, rgba(171, 219, 180, 1) 100%);
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 85%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #000000;
}

.container-overlay:hover .overlay {
    opacity: .7;
    background-color: #081645;
    transition: .5s ease;
}

.container-overlay:hover .overlay-text-container {
    opacity: .9;
}

.overlay-text-container {
    position: absolute;
    bottom: 15%;
    text-align: left;
    opacity: 0;
    transition: .5s ease;
    padding: 1.5em;
    z-index: 1;
}

.text-overlay {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-size: 1.5em;
}

video {
    max-width: 100%;
    /* max-height: 900px; */
}

@media screen and (max-width: 450px) {
    .text-overlay {
        font-size: 1.1em;
    }
    .overlay-text-container {
        bottom: 15%;
    }
    .overlay {
        height: 83%;
    }
    .text-overlay {
        /* font-size: 1em; */
    }
}

@media screen and (max-width: 400px) {
    .overlay-text-container {
        bottom: 25%;
    }
    .overlay {
        height: 76.4%;
    }
}