#hero-video {
    width: 100%;
    height: 650px;
    position: relative;
    overflow: hidden;
}

#hero-video::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(41, 41, 41);
    background: -moz-linear-gradient(0deg, rgba(41, 41, 41, 0.929030987394958) 30%, rgba(41, 41, 41, 0.65172006302521) 100%);
    background: -webkit-linear-gradient(0deg, rgba(41, 41, 41, 0.929030987394958) 30%, rgba(41, 41, 41, 0.65172006302521) 100%);
    background: linear-gradient(0deg, rgba(41, 41, 41, 0.929030987394958) 30%, rgba(41, 41, 41, 0.65172006302521) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#292929", endColorstr="#292929", GradientType=1);
    z-index: 2;
}

#hero-video iframe {
    position: absolute;
    top: -40%;
    left: -40%;
    object-fit: cover;
    width: 180%;
    height: 180%;
}

.video-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    z-index: 9;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    height: 100%;
    flex-direction: column;
    padding-top: 60px;
}

.play-holder {
    display: block;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.play {
    width: 71px;
    height: 71px;
    border-radius: 50%;
    filter: drop-shadow(0px 15px 6.5px rgba(0, 0, 0, 0.21));
    text-decoration-line: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--white);
    cursor: pointer;
    /*transform: translateY(calc(100% + 40px));*/
}

.play:hover {
    background-color: var(--light-grey);
}

.video-inner:hover .play,
.video-inner:hover h3,
.video-inner:hover .video-text-holder p {
    transform: translateY(0);
}

.video-text-holder {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

}

.video-text-holder h3 {
    display: block;
    width: 100%;
    color: var(--white);
    font-size: 50px;
    font-weight: 400;
    text-align: center;
    /*transform: translateY(300%);*/
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.video-text-holder p {
    display: block;
    width: 100%;
    color: rgba(255, 255, 255, .5);
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    /*transform: translateY(200%);*/
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.video-wrapper {
    padding: 10px;
}

.video-loop-inner {
    position: relative;
    width: 100%;
    height: 360px;
    border-radius: 10px;
    background-color: var(--dark-grey);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    z-index: 2;

}

/*.video-loop-inner:hover .play {*/
/*    transform: translateY(0);*/
/*}*/
#videos-gallery .container-fluid {
    padding: 0 25px;
}
@media(max-width: 1600px){
    #hero-video iframe {
        position: absolute;
        top: -30%;
        left: -30%;
        object-fit: cover;
        width: 160%;
        height: 160%;
    }
}
@media(max-width: 1400px){
    #hero-video iframe {
        position: absolute;
        top: -20%;
        left: -20%;
        object-fit: cover;
        width: 140%;
        height: 140%;
    }
}
@media(max-width: 991.8px){
    #hero-video iframe {
        position: absolute;
        top: -10%;
        left: 0;
        object-fit: cover;
        width: 120%;
        height: 100%;
    }
    #hero-video{
        height: 500px;
    }
}
@media (max-width: 767.8px) {
    #hero-video iframe {
        position: absolute;
        top: -10%;
        left: -10%;
        object-fit: cover;
        width: 120%;
        height: 120%;
    }
    #hero-video {
        height: 450px;
    }

    .video-text-holder h3 {
        font-size: 34px;
    }
    .video-inner .play-holder{
        padding-bottom: 10px;
    }
    .video-text-holder h3 {
        font-size: 28px;
        margin-bottom: 5px;
    }
}

@media (max-width: 575.8px) {
    #hero-video {
        height: 400px;
    }

    .video-text-holder h3 {
        font-size: 22px;
    }

    #hero-video iframe {
        width: 140%;
        height: 140%;
        top: -20%;
        left: -20%;
    }

    .video-loop-inner {
        height: 300px;
    }
}

@media (max-width: 440px) {
    #hero-video {
        height: 350px;
    }
    #hero-video iframe {
        width: 160%;
        height: 160%;
        top: -30%;
        left: -30%;
    }
}