/*
================================
INTRO SECTION
================================
 */
#home-intro {
    position: relative;
    height: 100vh;
    min-height: 450px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

#home-intro::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgb(41,41,41);*/
    /*background: -moz-linear-gradient(180deg, rgba(41,41,41,0.6012998949579832) 5%, rgba(41,41,41,0.5984987745098039) 33%, rgba(41,41,41,0.9542410714285714) 70%, rgba(41,41,41,1) 100%);*/
    /*background: -webkit-linear-gradient(180deg, rgba(41,41,41,0.6012998949579832) 5%, rgba(41,41,41,0.5984987745098039) 33%, rgba(41,41,41,0.9542410714285714) 70%, rgba(41,41,41,1) 100%);*/
    /*background: linear-gradient(180deg, rgba(41,41,41,0.6012998949579832) 5%, rgba(41,41,41,0.5984987745098039) 33%, rgba(41,41,41,0.9542410714285714) 70%, rgba(41,41,41,1) 100%);*/
    /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#292929",endColorstr="#292929",GradientType=1);*/
    background: rgb(41, 41, 41);
    background: -moz-linear-gradient(180deg, rgba(41, 41, 41, 0.2315519957983193) 0%, rgba(41, 41, 41, 0.2763699229691877) 49%, rgba(41, 41, 41, 0.9430365896358543) 68%, rgba(41, 41, 41, 1) 96%);
    background: -webkit-linear-gradient(180deg, rgba(41, 41, 41, 0.2315519957983193) 0%, rgba(41, 41, 41, 0.2763699229691877) 49%, rgba(41, 41, 41, 0.9430365896358543) 68%, rgba(41, 41, 41, 1) 96%);
    background: linear-gradient(180deg, rgba(41, 41, 41, 0.2315519957983193) 0%, rgba(41, 41, 41, 0.2763699229691877) 49%, rgba(41, 41, 41, 0.9430365896358543) 68%, rgba(41, 41, 41, 1) 96%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#292929", endColorstr="#292929", GradientType=1);
    z-index: 2;
}

#home-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;

}

#home-video-player {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#play-home-button {
    /*position: absolute;*/
    /*top: calc(50% - 72px);*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(15px);
    z-index: 9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

#play-home-button:hover,
#play-home-button:focus {
    outline: none;
    border: none;
}

#play-home-button:hover span,
#play-home-button:focus span {
    background-color: var(--lighter-grey);
}

#play-home-button span {
    mask: url(../images/play-video-svg.svg) no-repeat center;
    -webkit-mask: url(../images/play-video-svg.svg) no-repeat center;
    display: block;
    width: 35px;
    height: 39px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--white);
    margin-left: 10px;
}

#intro-box {
    position: relative;
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    width: 100%;
    overflow: hidden;
    z-index: 5;
    margin-top: -350px;
}


#intro-box-inner {
    width: 730px;
    flex-basis: 730px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;

}

#intro-box-inner p {
    font-size: 20px;
}

#intro-box-inner.slideout {
    animation: slideOut .5s ease-in both;
}

#intro-box-inner.slidein {
    animation: slideIn .5s ease-in both;
}

#home-intro-title {
    font-weight: 700;
}

#intro-buttons {
    margin-top: 40px;
}

.intro-button {
    width: 227px;
}

#home-intro-text {
    margin-top: 0;
    margin-bottom: 80px;
    background-color: var(--dark-grey);
}

/*
=============================
TEAM BANNER SECTION
=============================
 */
#home-team-banner {
    padding: 120px 0 0 0;
    position: relative;
    background-size: 100% auto;
    background-position: bottom center;
    background-repeat: no-repeat;
    background: rgb(41, 41, 41);
    background: -moz-linear-gradient(180deg, rgba(41, 41, 41, 1) 50%, rgba(26, 26, 25, 1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(41, 41, 41, 1) 50%, rgba(26, 26, 25, 1) 100%);
    background: linear-gradient(180deg, rgba(41, 41, 41, 1) 50%, rgba(26, 26, 25, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#292929", endColorstr="#1a1a19", GradientType=1);
    overflow: hidden;

}

#home-team-banner .container {
    overflow: hidden;
}

#team-banner-holder {
    width: 1135px;
    flex-basis: 1135px;
    max-width: 100%;
    margin: 0 auto;
}

#team-banner-holder p {
    margin-bottom: 30px;
}

#home-team-image {
    margin-bottom: -30px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767.8px) {
    #home-intro {
        height: 80vh;
        min-height: auto;
        padding: 200px 0;
        /*padding-top: 120px;*/
    }

    #home-team-banner {
        padding-top: 60px;
    }

    #home-team-image {
        width: 150%;
        max-width: 150%;
        margin-left: -25%;
        margin-right: -25%;
    }

    #play-home-button {
        width: 70px;
        height: 70px;
    }

    #play-home-button span {
        width: 49px;
        height: 54px;
        margin-left: 10px;
        mask: url('../images/play-video-mobile.svg') no-repeat center;
        -webkit-mask: url('../images/play-video-mobile.svg') no-repeat center;
        display: block;
    }
}

@media (max-width: 575.8px) {

    #home-video {
        position: absolute;
    }

    #intro-box {
        position: relative;
        transform: none;
        left: auto;
        top: auto;
        margin-top: -200px;
    }

    #home-video video {
        min-height: 80vh;
    }

    /*#intro-box {*/
    /*    position: relative;*/
    /*    top: auto;*/
    /*    left: auto;*/
    /*    transform: none;*/
    /*    padding-bottom: 50px;*/
    /*}*/
    .fancybox-slide--iframe .fancybox-content {
        height: 60vh;
    }
}

@media (max-width: 479.8px) {
    #intro-buttons {
        display: block !important;
    }

    #intro-buttons a {
        width: 270px;
        flex-basis: 270px;
        max-width: 100%;
        margin: 10px auto;
    }


}
