html {
    scroll-behavior: smooth;
}

a:hover {
    text-decoration: none;
}

#main-nav {
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5vw;
}

main {
    color: #f1f1f1;
}

.main-logo {
    width: 25rem;
    max-width: 80vw;
    display: block;
}

/* background video */
#bg-video-wrapper {
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: -1;
}

#bg-video {
    min-height: 100vh;
    min-width: 100vw;    
}

@media only screen and (max-width: 1200px) {
    #bg-video {
        transform: translateX(-600px);
        margin-left: 50vw;
    }
}

@media only screen and (max-height: 1080px) {
    #bg-video {
        transform: translateY(-540px);
        margin-top: 50vh;
    }
}

@media only screen and (max-width: 1200px) {
    #bg-video {
        transform: translateX(-600px);
        margin-left: 50vw;
    }
}

@media only screen and (max-height: 1080px) and (max-width: 1200px) {
    #bg-video {
        transform: translateY(-540px) translateX(-600px);
    }
}

@media only screen and (min-width: 1980px) {
    #bg-video {
        transform: translateY(-50%);
        margin-top: 50vh;
    }
}
/* END background video */

/* main page nav */
#main-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
}

#main-nav ul li {
    display: block;
    width: 100%;
}

#main-nav ul li a {
    color: #DDD;
    text-decoration: none;
    line-height: 2.2em;
    display: inline-block;
    font-size: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
}

#main-nav a:hover {
    color: #f37d1b;
}
/* END main page nav */

/* Language select 
#language-select {
    display: block;
    text-align: center;
    position: absolute;
    top: 10pt;
    right: 10pt;
    font-size: 0.9em;
}

#language-select button {
    background-color: #03030d !important;
    border: none !important;
    box-shadow: none !important;
}

#language-select .dropdown {
    opacity: 0.5;
}

#language-select .dropdown:hover,
#language-select .dropdown.show {
    opacity: 1;
}

#language-select .dropdown-toggle {
    font-size: 1.0em;
    color: #c1c1c1;
}

#language-select .dropdown-menu {
    font-size: 1em;
    margin: 0;
    padding: 0;
    min-width: unset;
}
/* END Language select */

/* Main content */
main section {
    width: 100%;
    padding: 10pt 5vw;
    position: relative;
    overflow: hidden;
}

main .anchor-offset {
    position: absolute;
    top: -100px;
}

main section .bg {
    background-color: #03030d;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(50%) contrast(80%) blur(2px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.1);
    box-shadow: inset 0px 20px 70px 20px rgba(0,0,0,1);
}

main section.full-height {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

main section.full-height .content {
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0;
}

main section .content {
    margin: 2.7rem auto;
    max-width: 1000px;
    position: relative;
}

main section h2 {
    color: #f37d1b;
    font-size: 2em;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0.7em;
}

/* END Main content */
.two-columns-desktop {
    column-count: 2;
    column-gap: 2rem;
    column-rule: 1px solid #aaa;
}

/* Updates Section */
#updates-section .bg {
    background: url(/images/gallery/main/1.jpg) center;
    background-size: cover;
}

#updates-section .btn,
#media-section .btn {
    font-size: 1em;
}

.view-all-btn {
    text-align: center;
    margin-top: 2.5rem;
}

@media only screen and (min-width: 576px) {
    #update-cards .card:hover {
        transform: scale(1.15);
        z-index: 1000;
        box-shadow: 5px 5px 15px rgba(0,0,0,0.6);
    }

    #update-cards .card {
        transition: transform 0.3s ease;
        will-change: transform;
        margin: 0 1px;
        z-index: 20;
    }
}
/* END Updates Section */

/* media gallery */

#media-carousel .carousel {
    width: 100%;
}
#media-carousel .carousel-item {
    text-align: center;
    height: 37.5rem;
    max-height: 50vh;
}
#media-carousel .carousel-item img {
    max-height: 100%;
    max-width: 100%;
}
#media-carousel .carousel-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* end media gallery */

/* about section */
#about-section .bg {
    background: url(/images/gallery/main/13.jpg) center;
    background-size: cover;
}
/* END about section */

/*join section*/
#join-section .bg {
    background: url(/images/gallery/main/11.jpg) center;
    background-size: cover;
}
#join-section a {
    color: #f37d1b;
    text-transform: uppercase;
    font-size: 1.1em;
    margin: 4px 0;
    display: block;
    font-weight: bold;
    transition: .3s ease;
}
#join-section a:hover {
    color: #fff;
}
#job-list {
    margin: 1.2rem 0;
}
/* END join Section */

@media only screen and (max-width: 650px) {
    .two-columns-desktop {
        column-count: 1;
    }

    #main-wrapper main section {
        padding: 10pt 25pt;
    }
}

