/* COPYRIGHT 2024 CHARGE-DEV ALL RIGHTS RESERVED */

/* FONTS */

@font-face {
    font-family: Logo;
    src: url(./assets/fonts/GeistMono-Regular.ttf);
}

@font-face {
    font-family: LexendRegular;
    src: url(./assets/fonts/Lexend-Regular.ttf);
}

@font-face {
    font-family: LexendLight;
    src: url(./assets/fonts/Lexend-Light.ttf);
}

@font-face {
    font-family: LexendExtraLight;
    src: url(./assets/fonts/Lexend-ExtraLight.ttf);
}

/* PAGE */

* {
    border: none;
    text-decoration: none;
    outline: none;
    user-select: none;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: #151516;
    display: flex;
    justify-content: center;
}

body:before {
    background-image: url(./assets/images/noise.webp);
    opacity: 0.12;
    display: block;
    content: "";
    background-size: 257px auto;
    background-repeat: repeat;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    pointer-events: none;
}

:-webkit-scrollbar {
    display: none;
}

.navbar-wrapper {
    width: 100%;
    position: fixed;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    z-index: 99;
}

.navbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.038) 100%);
    border: 1px solid rgba(225, 225, 225, 0.1);
    backdrop-filter: blur(10px);
    width: 50%;
    height: 50px;
    position: fixed;
    display: flex;
    border-radius: 15px;
}

.nb-branding {
    width: 20%;
    display: flex;
    padding-left: 20px;
    align-items: center;
}

.nbb-text {
    font: 22px Logo;
    color: #e5e5e5;
    transition: all 0.3s ease;
}

.nbl-text:active {
    transform: scale(0.98);
}

.nb-links {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.nbl-button {
    background-color: transparent;
    padding: 6px 12px;
    color: #c4c4c4;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nbl-button:hover {
    background: rgba(225, 225, 225, 0.15);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.1);
    color: #e5e5e5;
}

.nbl-button:active {
    background: rgba(225, 225, 225, 0.20);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0);
    transform: scale(0.98);
}

.nbl-active {
    background: rgba(225, 225, 225, 0.20);
    color: #e5e5e5;
}

.nb-blank {
    width: 20%;
}

.mobile-navbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.038) 100%);
    border: 1px solid rgba(225, 225, 225, 0.1);
    backdrop-filter: blur(10px);
    width: 75%;
    height: 50px;
    position: fixed;
    overflow: hidden;
    display: none;
    border-radius: 15px;
    z-index: 99;
}

.mobile-navbar.active {
    animation: navbar-menu-reveal 1s ease forwards;
}

@keyframes navbar-menu-reveal {
    0% {
        height: 50px;
    }

    20% {
        height: 45px;
        transform: scale(0.97);
        filter: blur(0px);
    }

    50% {
        filter: blur(1px);
        transform: translateY(3px);
    }

    60% {
        height: 228px;
    }

    100% {
        height: 218px;
        transform: scale(1);
        transform: translateY(0px);
        filter: blur(0px);
    }
}

.mobile-navbar.deactivated {
    animation: navbar-menu-hide 1s ease forwards;
}

@keyframes navbar-menu-hide {
    0% {
        height: 218px;
        filter: blur(0px);
    }

    20% {
        height: 224px;
        filter: blur(0px);
        transform: translateY(0px);
    }

    50% {
        filter: blur(1px);
        transform: translateY(-2px);
    }

    60% {
        height: 40px;
    }

    100% {
        height: 50px;
        transform: translateY(0px);
        filter: blur(0px);
    }
}

.mn-content {
    height: 50px;
    display: flex;
}

.mnb-branding {
    width: 50%;
    padding-left: 20px;
    display: flex;
    align-items: center;
}

.mnbb-text {
    font: 22px Logo;
    color: #e5e5e5;
    transition: all 0.3s ease;
}

.mnbl-text:active {
    transform: scale(0.98);
}

.mnbl-active {
    background: rgba(225, 225, 225, 0.20);
    color: #e5e5e5;
}

.mnb-menu {
    width: 50%;
    padding-right: 20px;
    display: flex;
    justify-content: end;
    align-items: center;
}

.mnbm-button {
    display: flex;
    background-color: transparent;
}

.mnbmb-icon {
    width: 30px;
    transition: all 0.3s ease;
}

.mnbmb-icon:active {
    transform: scale(0.9);
}

.mn-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mnl-button-wrapper {
    width: 100%;
}

.mnl-a {
    width: 100%;
    display: flex;
}

.mnl-button {
    width: 100%;
    height: 100%;
    background-color: transparent;
    padding: 10px 0 10px 20px;
    color: #c4c4c4;
    font-size: 18px;
    cursor: pointer;
    text-align: start;
    transition: all 0.3s ease;
}

.mnl-button:hover {
    background: rgba(225, 225, 225, 0.15);
    color: #e5e5e5;
}

.mnl-active {
    background: rgba(225, 225, 225, 0.15);
    color: #e5e5e5;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: rgba(225, 225, 225, 0.1);
}

.about {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-header {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15% 0 40px 0;
}

.ah-info {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
}

.ahi-title {
    font-family: LexendExtraLight;
    font-size: 40px;
    margin: 0;
    color: #e5e5e5;
}

.about-paragraph {
    color: #e5e5e5;
    font-size: 22px;
    font-family: LexendExtraLight;
    line-height: 1.7;
    max-width: 55%;
    opacity: 0;
    animation: about-paragraph-reveal 2s forwards;
}

@keyframes about-paragraph-reveal {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        filter: blur(0px);
    }
}

/* FOOTER */

.footer {
    background: rgba(225, 225, 225, 0.01);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(225, 225, 225, 0.1);
    width: 100%;
    height: 50px;
    position: fixed;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-barrier {
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fb-info {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
}

.fbi-text {
    font-size: 14px;
    font-family: LexendLight;
    color: #c4c4c4;
}

.fbi-text-span {
    color: #c4c4c4;
    font-family: LexendLight;
    font-size: 14px;
    font-weight: 200;
    cursor: pointer;
    transition: all .3s ease;
}

.fbi-text-span:hover {
    color: #e5e5e5;
}

.fbi-text-span:active {
    color: #c4c4c4;
}

.fb-links {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
}

.fbl-link {
    color: #c4c4c4;
    font-family: LexendLight;
    font-size: 14px;
    font-weight: 200;
    cursor: pointer;
    transition: all .3s ease;
}

.fbl-link:hover {
    color: #e5e5e5;
}

.fbl-link:active {
    color: #c4c4c4;
}

@media screen and (max-width: 1440px) {

    .navbar {
        width: 75%;
    }

    .about-header {
        margin-top: 20%;
    }

    .about-paragraph {
        max-width: 80%;
    }

}

@media screen and (max-width: 820px) {

    .navbar {
        display: none;
    }

    .mobile-navbar {
        display: block;
    }

    .about {
        width: 80%;
    }

    .about-header {
        margin-top: 30%;
        width: 100%;
    }

    .about-paragraph {
        max-width: 100%;
        font-size: 20px;
        line-height: 1.6;
    }

    .footer-barrier {
        width: 80%;
    }
}