html {
    background-color: #000;
    scroll-behavior: smooth;
}

body {
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: unset;
}






/* Spoiler */

#spoilerContainer {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1;
    transition: max-height 0.5s ease-out;
    backdrop-filter: blur(5px);
}

#spoilerContainer ul {
    align-self: center;
    justify-content: space-around;
    list-style: none;
    height: 4rem;
    width: 100%;
    max-width: 40rem;
}

#spoilerContent {
    background-color: #FAF6ED;
    max-height: 0;
    overflow: hidden;
    z-index: 2;
    transition: max-height 0.5s ease-out;
}

.spoiler {
    box-sizing: border-box;
    align-self: center;
    width: 100%;
    max-width: 58rem;
    padding: 1.5rem;
}






/* Navigation */

ul li {
    display: flex;
    align-items: center;
}

ul .empty {
    height: 1rem;
    border-right: 1px #ffffff80 solid;
}

ul a {
    color: #fff;
}

#spoilerButton {
    display: flex;
    align-self: center;
    padding: .5rem 1rem;
    margin: .5rem 0;
    color: #fff;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#spoilerButton:hover {
    color: #0075FF;
}









/* Main content */

main {
    width: 100%;
    color: white;
    align-items: center;
}


main > div h2 {
    padding: 1rem 1.5rem;
}


main > div {
    display: flex;
    width: 100%;
    justify-content: center;
    height: 100vh;
    align-items: center;
    position: relative;
    text-align: start;
}

.text {
    box-sizing: border-box;
    max-width: 44rem;
    width: 100%;
    height: auto;
    padding: 1rem 1.5rem;
    margin: auto 8%;
}

.blur {
    backdrop-filter: blur(5px);
    color: white;
    border-bottom: 1px white solid;
}








/* Backgrounds */

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover !important;
}

#home::before {
    background: url('https://images.unsplash.com/photo-1511994298241-608e28f14fde?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center;
    background-position: bottom;
    filter: brightness(80%);
}

#about::before {
    background: url('https://images.unsplash.com/photo-1708154180762-0a1136411272?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center;
    background-position: bottom;
    filter: brightness(80%);
}

#ai::before {
    background: url('https://images.unsplash.com/photo-1541282593580-5342a080b927?q=80&w=1932&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center;
    background-position: center;
}

#benefits {
    text-align: end;
}

#benefits::before {
    background: url('https://images.unsplash.com/photo-1670750463932-5761855c6ff3?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center;
    background-position: center;
    filter: brightness(60%);
}

#paths::before {
    transform: scaleX(-1);
    background: url('https://images.unsplash.com/photo-1488401318902-f7feae66db20?q=80&w=2104&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center;
    background-position: center;
    filter: brightness(80%);
}

#rides {
    text-align: end;
}

#rides::before {
    background: url('https://images.unsplash.com/photo-1636625464579-5759d224d279?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center;
    background-position: center;
    filter: brightness(60%);
}

#join::before {
    background: url('https://images.unsplash.com/photo-1515164084382-4ac60f929e06?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center;
    background-position: center;
    filter: brightness(80%);
}







/* Animations */

.animated {
    position: relative;
    overflow: hidden;
}

.animated::before {
    animation: scaleBackground 10s infinite ease-in-out;
}

@keyframes scaleBackground {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}












/* Media */

@media only screen and (max-width: 720px) {
    .career,
    ul li.wideScreen {
        display: none;
    }

    .text {
        margin: unset;
    }
}