html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

html,
body {
    width: 100vw;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background-color: #000;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 11px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background-color: #44444444;
}

::-webkit-scrollbar-thumb {
    box-shadow: 0px 0px 2px 0px inset #fff;
    border-radius: 5px;
}

::-webkit-scrollbar-button {
    background-color: transparent;
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-corner {
    box-shadow: 0px 0px 2px 0px inset #fff;
    border-radius: 50%;
}

* {
    font-family: 'Open Sans';
    transition-duration: 0.5s;
}

a {
    text-decoration: none;
    color: #fff;
}

button {
    border: none;
}

#screenSizeWarningHolder {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 99999;
    top: 0px;
    left: 0px;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(16px);
    user-select: none;
}

#screenSizeWarning {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    color: white;
}

nav {
    width: 100vw;
    height: 120px;
    top: 0px;
    position: absolute;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: linear-gradient(180deg, #000000aa, #00000088, #00000066, transparent);
    color: white;
    user-select: none;
}

#brand {
    width: 250px;
    height: 100%;
    padding-left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

#logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    cursor: pointer;
}

#title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 2px;
}

#btnHolder {
    width: 450px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.navBtns {
    width: 105px;
    height: 40px;
    padding: 5px;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0px 0px 2px 0px inset #fff;
    color: white;
    background-color: transparent;
}

.navBtns:hover {
    box-shadow: 0px 0px 0px 2px inset #fff;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.active {
    box-shadow: 0px 0px 0px 2px inset #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

aside {
    width: 300px;
    height: 100vh;
    position: fixed;
    z-index: 1000;
    top: 0px;
    right: -300px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: white;
    background-color: #000000cc;
    backdrop-filter: blur(16px);
    user-select: none;
}

#menuTitle {
    width: 80%;
    height: 60px;
    margin-bottom: -10px;
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

#mobileMenuBtn {
    width: 60px;
    height: 60px;
    position: fixed;
    z-index: 9999;
    top: 30px;
    right: 30px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.line {
    width: 80%;
    height: 5px;
    border-radius: 25px;
    background-color: #fff;
}

#menuBtnOverlay {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    border-radius: 10px;
    cursor: pointer;
}

#menuBtnOverlay.menuActive~.line:nth-child(2) {
    transform: translateY(17px) rotate(45deg);
}

#menuBtnOverlay.menuActive~.line:nth-child(3) {
    width: 0;
    opacity: 0;
}

#menuBtnOverlay.menuActive~.line:nth-child(4) {
    transform: translateY(-16px) rotate(-45deg);
}

.menuLine {
    content: '';
    width: 80%;
    height: 2px;
    margin: 25px 0;
    border-radius: 25px;
    background-color: #888;
}

.mobileNavBtns {
    width: 240px;
    height: 40px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 15px;
    box-shadow: 0px 0px 2px 0px inset #fff;
    color: white;
    background-color: transparent;
}

.mobileNavBtns:hover {
    box-shadow: 0px 0px 0px 2px inset #fff;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.mobileActive {
    box-shadow: 0px 0px 0px 2px inset #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

#mobileSocials {
    width: 80%;
    height: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    place-items: center;
    margin-top: auto;
    margin-bottom: 20px;
}

.mobileSocialIcon {
    position: relative;
    width: 50px;
    height: 50px;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 50%;
    box-shadow: 0px 0px 2px 0px inset #fff;
    background-color: transparent;
    transition: background-color 0.3s;
    overflow: hidden;
}

.mobileSocialIcon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobileSocialIcon:hover {
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.mobileSocialIcon:hover::after {
    opacity: 1;
}

#mobileMenuOverlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 999;
    top: 0px;
    left: 0px;
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

#mobileMenuOverlay.menuActive {
    display: block;
}

main {
    width: 100vw;
    min-height: calc(100vh - 120px);
    top: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    width: 90vw;
    height: 50px;
    padding-inline: 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: linear-gradient(180deg, #000000aa, #00000088, #00000066, transparent);
    background-color: black;
    color: white;
    user-select: none;
    overflow: hidden;
}

#footerLogo {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff;
}

#footerSocials {
    width: 200px;
    height: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.socialIcon {
    width: 150px;
    height: 45px;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 15px;
    box-shadow: 0 0 2px inset #fff;
    background: transparent;
}

.socialIcon:hover {
    background-color: rgb(225, 0, 0);
}

.socialText {
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

#fourOfourMain {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #222;
    user-select: none;
}

#fourOfour {
    font-size: 160px;
    font-weight: 100;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 16px;
    color: #fff;
    transform: translateY(-20px);
    text-shadow: 2px 2px 4px #ffffff4d
}

#notFoundText {
    width: 550px;
    font-size: 24px;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 32px;
    color: #fff;
}

#returnHomeBtn {
    width: 150px;
    height: 40px;
    margin: 0;
    font-size: 14px;
    border-radius: 5px;
    box-shadow: 0px 0px 2px 0px inset #fff;
    color: white;
    background-color: transparent;
}

#returnHomeBtn:hover {
    box-shadow: 0px 0px 0px 2px inset #fff;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

/* ------ Responsive Styles ------ */

@media (max-width: 768px) {
    #btnHolder {
        display: none;
    }

    #mobileMenuBtn {
        display: flex;
    }

    aside {
        display: flex;
    }
}

@media (max-width: 500px) {
    #brand {
        width: 200px;
    }

    #logo {
        width: 80px;
        height: 80px;
    }

    #title {
        font-size: 24px;
    }

    #footerLogo {
        width: 70px;
        height: 70px;
    }

    #footerSocials {
        width: 150px;
    }

    .socialIcon {
        width: 130px;
        height: 40px;
        font-size: 20px;
    }

    .socialText {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    #logo {
        width: 70px;
        height: 70px;
    }

    #title {
        font-size: 22px;
    }

    #footerLogo {
        width: 60px;
        height: 60px;
    }

    #footerSocials {
        width: 120px;
    }

    .socialIcon {
        width: 110px;
        height: 35px;
        font-size: 18px;
    }

    .socialText {
        font-size: 12px;
    }
}

@media (max-width: 319px) {
    #screenSizeWarningHolder {
        display: flex;
    }
}

@media (max-height: 450px) {
    .mobileNavBtns {
        scale: .9;
    }
}

@media (max-height: 499px) {
    #screenSizeWarningHolder {
        display: flex;
    }
}