@font-face {
    font-family: 'steelfish';
    font-style: normal;
    font-weight: 400;
    src: url("https://usaskcdn.ca/limestone/latest/fonts/steelfish/steelfish%20rg.otf");
    font-display: block;
}

.uofs-homepage-banner {
    min-height: 500px;
    padding: 5em 0 0;
}

.uofs-section-bg-fade {
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    filter: brightness(60%);
}

.uofs-section-bg-fade:first-child {
    opacity: 1;
}

/*    banner video*/
.headervideo {
    background-position: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    object-fit: cover;
    background-size: cover;

}

.uofs-section-cover {
    height: calc(100vh - 54px);
}

.uofs-section-cover.uofs-banner-bwtwn {
    height: calc(100vh - 98px);
}

.headervideoText {
    filter: brightness(60%);
}

#bannerVideoControl {
    font-size: 1.2rem;
    color: #000;
    position: absolute;
    z-index: 101;
    right: 5px;
    bottom: 5px;
}

.uofs-banner-bwtwn #bannerVideoControl {
    bottom: -38px;
}

#bannerVideoControl .uofs-icon {
    right: -2px;
}

#bg_images {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.uofs-jumbotron .container-fluid {
    position: relative;
    z-index: 2;
}

@keyframes fadein1 {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    30% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadein2 {
    0% {
        transform: translate(-50%, -10px);
        opacity: 0;
    }

    60% {
        transform: translate(-50%, -10px);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, 0px);
        opacity: 1;
    }
}

.cls-1 {
    fill: #00643d;
}

.cls-2 {
    fill: #fff;
}

#bwtwn {
    width: 480px;
    display: block;
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, .3));
    position: absolute;
    bottom: -48px;
    z-index: 100;
    left: 50%;
    margin-left: -240px;
    animation: fadein1 1.5s normal ease-out;
}

#bwtwn_text {
    position: absolute;
    z-index: 1;
    bottom: 35px;
    left: 50%;
    max-height: 230px;
    width: 720px;
    margin: 0 auto;
    filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, .4));
    transform: translate(-50%, 0px);
    fill: #fff;
    animation: fadein2 1.8s normal ease-out;
}

body > .jumbotron.uofs-section-cover #bwtwn_text {
    bottom: 45px;
}

/* #bwtwn {
    width: 370px;
    margin-left: -185px;
    bottom: -35px;
} */

body > .jumbotron.uofs-section-cover #bwtwn_text {
    bottom: 30px;
}

body > .jumbotron.uofs-banner-bwtwn {
    margin-bottom: 40px;
}


@media (min-width: 767px) {
    body > .jumbotron.uofs-banner-bwtwn {
        margin-bottom: 60px;
    }

    .uofs-section-cover {
        height: calc(100vh - 108px);
    }

    .uofs-section-cover.uofs-banner-bwtwn {
        height: calc(100vh - 158px);
    }

}

@media (max-width: 767px) {
    #bwtwn_text {
        width: 460px;
        bottom: 32px;
    }
    #bwtwn {
        width: 370px;
        margin-left: -185px;
        bottom: -35px;
    }
}


@media (max-width: 500px) {
    #bwtwn {
        width: 290px;
        margin-left: -145px;
        bottom: -31px;
    }

    #bwtwn_text {
        width: 360px;
        bottom: 22px;
    }
    body > .jumbotron.uofs-section-cover #bwtwn_text {
        bottom: 26px;
    }
}

@media (max-width: 375px) {
    #bwtwn {
        width: 230px;
        margin-left: -115px;
        bottom: -23px;
    }

    #bwtwn_text {
        width: 280px;
        bottom: 17px;
    }
}
