* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

:root {
    --side-margin: 10vw;
    --theme-purple: #8F83F7;
    --theme-magenta: #C86AFC;
    --navbar-side-padding: 30px;
}

@font-face {
    font-family: 'Nexa';
    src: url('../../../fonts/Nexa-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: 'Nexa';
    src: url('../../../fonts/Nexa-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: 'Gotham';
    src: url('../../../fonts/Gotham-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: 'Gotham';
    src: url('../../../fonts/Gotham-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: auto;
}

@font-face {
    font-family: 'Gotham';
    src: url('../../../fonts/Gotham-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: auto;
}

body {
    overflow-x: hidden;
}

.navbar {
    padding: 14px var(--navbar-side-padding);
    width: calc(100vw - var(--navbar-side-padding) * 2);
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    box-shadow: 0px 3px 15px 3px rgba(226, 226, 226, 0.39);
    z-index: 100;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    height: 20px;
    justify-content: space-between;
}

.hamburger-menu div {
    height: 3px;
    width: 30px;
    background-color: black;
    border-radius: 3px;
}

.nav-links {
    transform: scaleY(0);
}

.nav-link {
    font-family: Gotham, 'Palatino Linotype', sans-serif;
    font-weight: 300;
    color: rgb(82, 82, 82);
    text-decoration: none;
    padding-left: 30px;
    position: relative;
}

.nav-link:hover {
    color: black;
}

.logo {
    height: 45px;
}

.landing {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.landing-text {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
    width: calc(100vw - 2 * var(--side-margin));
    padding: 0 var(--side-margin);
}

.landing-heading {
    font-family: Nexa, 'Palatino Linotype', sans-serif;
    font-size: 56px;
    padding-top: 20px;
    margin-bottom: 15px;
}

.landing-subheading {
    font-family: Nexa, 'Palatino Linotype', sans-serif;
    font-size: 30px;
    margin-bottom: 80px;
}

.landing-button {
    background-color: var(--theme-purple);
    border-radius: 33px;
    max-width: 400px;
    padding: 14px 0;
    color: white;
    font-family: Gotham, 'Palatino Linotype', sans-serif;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease-in;
}

.landing-button:hover {
    background-color: #a685fa;
    transition: background-color 0.2s ease-in;
}

.landing-image {
    height: 90vh;
}

.section-heading {
    font-family: Nexa, 'Palatino Linotype', sans-serif;
    font-size: 30px;
    padding-top: 120px;
    margin-bottom: 60px;
}

#about {
    margin: 0 calc(var(--side-margin) + 5vw);
    display: flex;
    flex-direction: column;
}

.about-heading {
    margin-bottom: 30px;
}

.about-text {
    font-family: Gotham, 'Palatino Linotype', sans-serif;
    font-weight: 300;
    font-size: 18px;
}

.about-image-container {
    display: none;
}

#faq {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.questions {
    font-family: Gotham, 'Palatino Linotype', sans-serif;
    min-width: 50vw;
    margin: 0 calc(var(--side-margin) + 20px);
}

.question-box:hover {
    background-color: rgb(247, 247, 247);
}

.question-header {
    padding: 20px;
    border-top: 1px solid rgb(189, 189, 189);
}

.question-header p {
    font-size: 24px;
}

.question-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s cubic-bezier(0.47, 0, 0.745, 0.715);
}

.question-answer p {
    font-weight: 300;
    font-size: 18px;
    margin: 20px;
}

.question-box-active .question-answer {
    max-height: 100vh;
    transition: max-height 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
}

#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    display: flex;
    width: 100%;
    max-width: 300px;
    justify-content: space-between;
    margin-bottom: 40px;
}

.social-link {
    text-decoration: none;
}

.social-link i {
    font-style: normal;
    font-size: 30px;
    color: rgb(46, 46, 46);
    transition: color 0.2s ease-in-out;
}

.social-link .fa-discord:hover {
    color: #5A67F2;
}

.social-link .fa-instagram:hover {
    color: #E1306C;
}

.social-link .fa-twitter:hover {
    color: #1D9BF0;
}

.social-link .fa-facebook:hover {
    color: #1877F2;
}

.social-link .fa-linkedin:hover {
    color: #0D68C3;
}

.email-link {
    color: var(--theme-purple);
    transition: color 0.2s ease-in-out;
}

.email-link:hover {
    color: #3d3587;
}

.social-text {
    font-family: Gotham, 'Palatino Linotype', sans-serif;
    font-size: 18px;
    font-weight: 300;
    padding: 0 var(--side-margin);
}

.footer-wave {
    position: relative;
    height: 300px;
    width: 100vw;
    background-image: url("../images/footer-wave.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.footer-wave:after {
    position: absolute;
    content: '';
    bottom: -10px;
    height: 20px;
    width: 100vw;
    background-color: #9595FB;
    z-index: 1000;
}

.footer {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: calc(100vw - var(--navbar-side-padding) * 2);
    font-family: Gotham, 'Palatino Linotype', sans-serif;
    padding: 60px var(--navbar-side-padding);
    background-color: #9595FB;
}

.footer-text {
    width: 100%;
    max-width: 320px;
    margin-bottom: 20px;
    color: rgb(42, 42, 42);
}

.footer-rights {
    font-weight: 300;
    width: 100%;
}

.footer-social-links {
    display: flex;
    width: 200px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-social-link i {
    font-size: 26px;
    font-style: normal;
}

.footer-social-links i:hover, .footer-email:hover {
    color: rgb(75, 75, 75);
    transition: color 0.2s ease-in-out;
}

.footer-social-link {
    text-decoration: none;
    color: rgb(42, 42, 42);
}

.footer-contact {
    width: 100%;
    max-width: 320px;
}

.footer-email {
    color: rgb(42, 42, 42);
}

/* Super small screens */
@media screen and (max-width: 400px) {
    .social-links {
        width: 80%;
    }
}

/* Small screens */
@media screen and (max-width: 1024px) {
    .hamburger-menu {
        position: fixed;
        right: var(--side-margin);
    }

    .hamburger-active .hamburger-1 {
        position: absolute;
        transform: rotate(45deg);
        top: 10px;
        transition: transform 0.2s ease;
    }

    .hamburger-active .hamburger-2 {
        opacity: 0;
    }
    
    .hamburger-active .hamburger-3 {
        position: absolute;
        transform: rotate(-45deg);
        top: 10.5px;
        transition: transform 0.2s ease;
    }

    .nav-links-active {
        position: fixed;
        left: 0;
        top: 75px;
        display: flex;
        flex-direction: column;
        background-color: white;
        width: 100vw;
        padding: 20px 0;
        transform: scaleY(1);
        transform-origin: top left;
        transition: transform 0.4s cubic-bezier(0.215, 0.610, 0.355, 1);
    }

    .nav-link {
        padding: 10px 50px;
    }
}

/* Large screens */
@media screen and (min-width: 1024px) {
    :root {
        --navbar-side-padding: 60px;
    }

    .hamburger-menu {
        display: none;
    }

    .nav-links {
        transform: scaleY(1);        
    }

    .nav-link {
        padding-left: 0;
        margin-left: 30px;
    }

    .nav-link::after {
        animation: fadeIn 1s backwards;
    }

    .nav-link:hover::after {
        position: absolute;
        content: '';
        left: 0;
        bottom: -4px;
        width: 100%;
        height: 1px;
        background-image: linear-gradient(to right, var(--theme-purple), var(--theme-magenta));
        background-color: var(--theme-purple);
        animation: fadeIn 0.2s forwards;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(0);
        }
        to {
            opacity: 1;
            transform: translateY(3px);
        }
    }

    .landing {
        display: flex;
        height: 100vh;
        width: 100vw;
        background-image: url('../images/landing.png');
        background-repeat: no-repeat;
        background-position: 100% 0;      
        background-size: auto 100vh;
    }

    #about {
        flex-direction: row;
    }

    .about-content {
        width: 65%;
    }

    .about-image-container {
        display: flex;
        justify-content: flex-end;
        padding-left: 50px;
        height: 280px;
        width: 280px;
    }

    .about-image {
        padding-top: 140px;
        width: 100%;
        height: 100%;
    }

    .questions {
        margin: 0 calc(var(--side-margin) + 15vw);
    }

    .question-header {
        padding: 20px 50px;
    }

    .question-answer p {
        margin: 20px 50px;
    }

    .social-links {
        width: 340px;
    }

    .footer-wave {
        margin-top: 50px;
    }

    .footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        padding: 60px var(--navbar-side-padding);
    }

    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        margin-bottom: 20px;
    }
}

/* Super large screens */
@media screen and (min-width: 1500px) {
    .footer-wave {
        height: 400px;
    }
}