:root {
    --navigation-color: black;
}

@keyframes moveDown {
    from { bottom: 0; }
    to {bottom: clamp(-2vh - 2vw, -2vh - 2vw, -1vh - 1vw); }
}

@keyframes moveUp {
    from { bottom: clamp(-2vh - 2vw, -2vh - 2vw, -1vh - 1vw); }
    to {bottom: 0; }
}

@keyframes backgroundZoomIn {
    from { background-size: 0%; background-position: center top;}
    to { background-size: 100%; background-position: center top;}
}

@keyframes backgroundZoomOut {
    from { background-size: 100%; background-position: center top;}
    to { background-size: 0%; background-position: center top;}
}

@keyframes swipeRight {
    from {left: -89vw;}
    to {left: 5.5vw;}
}

@keyframes swipeLeft {
    from {left: 5.5vw;}
    to {left: -89vw;}
}

@keyframes expand {
    from {transform: translateX(100%);}
    to {transform: translateX(0%);}
}

.custom-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 10px;
    padding-inline: 50px;
    background-color: rgba(12, 10, 9, 0.7);
    width: 100%;
    height: clamp(80px, 5vw, 100px);
    z-index: 5;
    transition: all .6s ease;
    pointer-events: none;
}

.custom-nav a, .custom-nav select, .custom-nav button, .custom-nav .hamburger-menu {
  pointer-events: auto;
}

.custom-nav.shrink {
    padding-top: 0px;
}

.logo-container {
    width: 180px;
    transition: all .6s ease;
    margin-right: 5vw;
}

.custom-nav-logo {
    border-radius: 50%;
    justify-content: center;
    object-fit: cover;
    transition: all .6s ease;
    width: clamp(6vh + 2vw, 8vh + 4vw, 8vh + 4vw);
    height: clamp(6vh + 2vw, 8vh + 4vw, 8vh + 4vw);
    transform-origin: center;
    overflow: hidden;
}

.custom-nav.shrink .custom-nav-logo {
    border-radius: 15px;
    height: clamp(80px, 5vw, 100px);
    width: clamp(125px, 10vw, 200px);
}

.desktop-view {
    height: 100px;
    gap: 4.5vw;
    display: flex;
    width: 100%;
}

.mobile-view {
    height: 100px;
    width: 100%;
    justify-content: flex-end;
    display: none;
}

.pages-container {
    padding-top: 20px;
    gap: 4.5vw;
    display: flex;
    width: 100%;
}

.page-option {
    text-decoration: none;
    color: white;
    height: 30px;
    font-size: 1.75em;
}

.hamburger-menu {
    margin-left: auto;
    height: 70px;
    width: 70px;
    transition: filter .2s ease;
}

.hamburger-menu:hover {
    filter: brightness(1.25);
}

.menu-expanded {
    display: none;
    flex-direction: column;
    position: fixed;
    align-items: center;
    padding-block: 8%;
    gap: 8%;
    top: 0;
    right: 0;
    height: 100vh;
    width: 40vw;
    background-color: rgba(13, 13, 13);
    transform: translateX(100%);
}

.menu-expanded.visible {
    display: flex;
    animation: expand .5s ease forwards;
}

@media (max-width: 940px) {

    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: flex;
    }

    .logo-container {
        flex: 1;
    }

    .content-box.swipeLeft {
        animation: swipeLeft .5s ease forwards;
    }

    .content-box.swipeRight {
        animation: swipeRight .5s ease forwards;
    }

    .overview-img {
        height: 95% !important;
    }

    .overview-img-container {
        height: 95% !important;
    }

    .title-break {
        display: block !important;
    }

    .team-member {
        transform: scale(1) !important;
    }
}

.empty-test {
    display: none;
}

.not-empty-test:empty + .empty-test {
    display: block;
}

.main-container {
    position: relative;
}

.main-banner {
    display: inline-block;
    position: relative;
    width: 100%;
}

.main-banner-image {
    position: relative;
    width: 100%;
    max-height: 80vh;
    min-height: 40vh;
    object-fit: cover;
    object-position: 100% 29%;
}

.banner-overlay {
    position: absolute;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0) 70%,
        rgba(0, 0, 0, 0.375) 85%,
        rgba(0, 0, 0, 0.9) 99%,
        rgba(0, 0, 0, 1) 100%
    );
    background-color: rgba(0, 0, 0, 0.35);
    width: 100%;
    height: 100%;
    z-index: 2;
}

.banner-text {
    position: absolute;
    z-index: 3;
    color: white;
    left: 50%;
    transform: translate(-50%);
    width: 60%;
    text-align: center;
    bottom: clamp(50px, calc(26.5%), 800px);
    text-shadow: 0 0 20px black;
}

.banner-maintext {
    font-size: clamp(26px, 3vw, 44px);
    font-weight: bold;
}

.banner-subtext {
    font-size: clamp(20px, 2.5vw, 38px);
}

.content {
    position: relative;
    background-color: black;
    width: 100%;
    height: 91vh;
    z-index: 2;
    padding-top: calc(clamp(1vh + 1vw, 2vh + 2vw, 2vh + 2vw) + 1vh + 1vw);
    padding-inline: 5.5vw;
    overflow: hidden;
}

.success-stories, .gallery {
    position: relative;
    width: 89vw;
    height: calc(91vh - clamp(1vh + 1vw, 2vh + 2vw, 2vh + 2vw) - (1vh + 1vw));
    gap: 20px;
    background:
        linear-gradient(to bottom, rgb(0,0,0) 0%, rgba(0,0,0,0.875) 3%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 60%,rgba(0,0,0,0.875) 100%), 
        url("../images/background.webp") no-repeat;
    background-size: cover;
    z-index: 3;
    padding: calc(2vh + 2vw);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.success-stories::-webkit-scrollbar, .gallery::-webkit-scrollbar {
    display: none;
}

.content-box {
    position: absolute;
    width: 183.5vw;
    gap: 5.5vw;
    left: 5.5vw;
    height: calc(91vh - clamp(1vh + 1vw, 2vh + 2vw, 2vh + 2vw) - (1vh + 1vw));
    z-index: 3;
    display: flex;
}

.content-box.swipeLeft {
    animation: swipeLeft .5s ease-in forwards;
}

.content-box.swipeRight {
    animation: swipeRight .5s ease-in forwards;
}

.content-buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    display: flex;
    padding-inline: 5.5vw;
    gap: 5.5vw;
}

.content-buttons.move-down {
    animation: moveDown .4s ease forwards;
}

.content-buttons.move-up {
    animation: moveUp .5s ease forwards;
}

.content-button {
    width: 41.75vw;
    height: clamp(2vh + 2vw, 4vh + 4vw, 4vh + 4vw);
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-buttons.move-up .content-button {
    background: url('../images/item-bg.png') no-repeat;
    animation: backgroundZoomIn .5s ease forwards;
    height: clamp(2vh + 2vw, 4vh + 4vw, 4vh + 4vw);
}

.content-buttons.move-up .content-button:hover {
    background: linear-gradient(
            to top,
            rgb(0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 20%
        ),
        url('../images/item-bg-highlighted.png') no-repeat;
    background-size: 90% 100%;
}

.content-buttons.move-down .content-button {
    background: url('../images/item-bg.png') no-repeat;
    animation: backgroundZoomOut .4s ease forwards;
    border-radius: 15px;
    height: clamp(1vh + 1vw, 2vh + 2vw, 2vh + 2vw);
}

.content-buttons.move-down .content-button:hover {
    background-color: rgb(23, 23, 23);
}

.content-button-text {
    color: white;
    font-weight: bold;
    font-size: clamp(15px, 2.5vw, 30px);
}

.videos, .photos {
    display: flex;
    flex-direction: column;
    flex: .5;
    background-color: rgba(13, 13, 13, 0.9);
    border-radius: 5%;
    padding: 2%;
    gap: 5%;
    height: 100%;
    overflow-y: scroll;
}

.videos::-webkit-scrollbar, .photos::-webkit-scrollbar {
    display: none;
}

.gallery-title {
    align-self: center;
    color: white;
    font-weight: bold;
    font-size: clamp(15px, 2.5vw, 30px);
}

.gallery-entry {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 5%;
}

.page-option:hover, .logo-container:hover, .content-button:hover {
    filter: brightness(.8);
    transition: filter .2s ease;
}

.footer {
    margin: 0;
    z-index: 3;
    background-color: rgb(42, 36, 31);
    padding-top: 20px;
    padding-inline: 20px;
    padding-bottom: 20px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-credit {
    width: 100%;
    display: flex;
}

.footer-text {
    color: white;
    font-size: clamp(14px, 1.5vw, 18px);
}

.footer-logo {
    width: clamp(80px, 10vw, 100px);
    height: auto;
}

.about-bg {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -1;
}

.shaded-spacer-top {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: clamp(150px, 30vw, 200px);
    overflow: hidden;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.375) 30%,
        rgba(0, 0, 0, 0) 70%
    );
}

.shaded-spacer-bottom {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: clamp(150px, 30vw, 200px);
    overflow: hidden;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 85%,
        rgba(0, 0, 0, 0.9) 99%,
        rgba(0, 0, 0, 1) 100%
    );
}

.spacer-text-bg-top {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: url('../images/item-bg.png');
    background-position: bottom center;
    background-size: cover;
    width: 800px;
    height: clamp(120px, 7.5vw, 180px);
}

.spacer-text-bg-bottom {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: url('../images/item-bg.png');
    background-size: cover;
    width: 800px;
    height: clamp(120px, 7.5vw, 180px);
}

.spacer-text {
    color: white;
    font-weight: bold;
    font-size: clamp(26px, 3vw, 44px);
}

.spacer {
    height: clamp(25px, 3.75vw, 62.5px);
}

.summary {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    position: relative;
    background-color: black;
    background-size: contain;
    width: 100%;
    height: 100%;
    padding: 2%;
    padding-inline: 4%;
    color: white;
}

.overview {
    height: 100%;
    display: flex;
    gap: 3vw;
}

.orient-right {
    flex-direction: row-reverse;
    gap: 2vw;
}

.overview-text {
    font-size: clamp(16px, 1.5vw, 48px);
}

.overview-text-container {
    width: 60%;
    padding: 3%;
}

.overview-img {
    width: clamp(200px, 30vw, 800px);
    height: 20vw;
    object-fit: cover;
    border-radius: 5%;
}

.overview-img-container {
    height: 20vw;
}

.team-lineup {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-block: clamp(74px, 10vw, 150px);
    gap: clamp(100px, 15vw, 250px);
    margin-left: 4vw;
}

.team-member {
    position: relative;
    height: 100%;
    width: 75vw;
    min-width: 450px;
    background: url("../images/item-bg.png") no-repeat;
    background-size: 100% 100%;
    background-position: -4vw;
    padding: clamp(18px, 1.75vw, 50px);
    transform: scale(1.25);
}

.member-image {
    position: absolute;
    top: clamp(-150px, -5vw, -74px);
    left: -1.75%;
    height: clamp(148px, 10vw, 300px);
    width: clamp(148px, 10vw, 300px);
    border-radius: 50%;
    border-width: clamp(1px, .1vw, 4px);
    border-style: solid;
    border-color: black;
}

.member-title {
    position: absolute;
    top: clamp(14px, 1.25vw, 42px);
    left: clamp(148px, 10vw, 300px);
    font-size: clamp(14px, 1.25vw, 22px);
    color: white;
}

.title-break {
    display: none;
}

.member-name {
    font-weight: bold;
    font-size: clamp(18px, 1.75vw, 50px);
    color: white;
}

.member-name-container {
    background: url("../images/item-bg.png") no-repeat;
    background-size: cover;
    position: absolute;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: clamp(50px, 5vw, 90px);
    height: clamp(30px, 5vw, 75px);
    width: clamp(148px, 30vw, 300px);
    top: clamp(-70px, -4.75vw, -25px);
    left: clamp(148px, 10vw, 300px);
}

.member-description {
    padding-top: clamp(50px, 3vw, 128px);
    font-size: clamp(16px, 1.5vw, 48px);
    width: 65vw;
    min-width: 400px;
    color: white;
    margin-top: clamp(8px, .75vw, 24px);
}

.tools-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

#tools-carousel {
    background: url("../images/item-bg.png") no-repeat;
    background-size: 100% 100%;
    width: 1100px;
}

.carousel-title {
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: 7.5%;
}

.carousel-img:hover {
    filter: brightness(1.2);
}

.contact-info {
    background-color: black;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    overflow-x: hidden;
}

.contact-text {
    font-size: clamp(26px, 3vw, 44px);
    font-weight: bold;
    color: white;
    text-align: center;
    padding-inline: 10%;
}

.construction {
    align-self: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10%;
}