* {
    margin: 0;
    padding: 0;
}

:root {
    --side-margin: 10vw;
    --background-color: #262346;
    --accent-color: #6498E7;
}

::-moz-selection {
    color: #262626;
    background: var(--accent-color);
}

::selection {
    color: #262626;
    background: var(--accent-color);
}

@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;
}

.section, .faq, .team, .landing, .sponsors {
    background-color: var(--background-color);
    padding: 60px var(--side-margin);
    color: white;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    height: 70px;
    width: calc(100vw - min(40px, var(--side-margin)) * 2);
    z-index: 100;
    background-color: var(--background-color);
    padding: 0 min(40px, var(--side-margin));
}

.navbar-logo {
    width: 40px;
}

.nav-link {
    color: #e1e1e1;
    text-decoration: none;
    font-family: Nexa, 'Palatino Linotype', sans-serif;
    font-weight: 600;
    font-size: 18px;
}

.landing {
    display: flex;
    flex-direction: column-reverse;
    height: calc(100vh - 60px);
    padding-top: 0;
}

.landing-image {
    width: 200px;
}

.landing h2 {
    font-size: 50px;
    font-family: Nexa, 'Palatino Linotype', sans-serif;
    color: white;
    margin-top: 5vh;
    margin-bottom: 15px;
}

.landing p {
    font-size: 24px;
    font-family: Nexa, 'Palatino Linotype', sans-serif;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 10vh;
}

.action-button {
    display: inline-block;
    font-family: Nexa, 'Palatino Linotype', sans-serif;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--accent-color);
    color: white;
    padding: 10px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: 
        background-color 0.3s ease, 
        box-shadow 0.3s ease;
}

.action-button:hover {
    background-color: #6ea8ff;
    box-shadow: 0 5px 15px rgba(145, 92, 182, .4);
}

.sign-up-button {
    margin-right: 10px;
    margin-bottom: 10px;
}

.section-image {
    width: calc(100vw - 2 * var(--side-margin));
    margin-bottom: 20px;
    padding: 30px 0;
}

.section-text h2, .section-title {
    font-family: Nexa, 'Palatino Linotype', sans-serif;
    font-size: 30px;
    margin-bottom: 30px;
}

.section-text p {
    font-family: Gotham, 'Palatino Linotype', sans-serif;
    font-weight: 300;
    padding-bottom: 20px;
}

.section-text p > a {
    color: #8eb8f7;
    text-decoration: none;
}

.section-text p > a:hover {
    text-decoration: underline;
}

.sponsor-button {
    margin-top: 40px;
    margin-bottom: 100px;
}

.sponsor-card {
    background-color: white;
    border-radius: 7px;
    display: grid;
    justify-content: center;
    align-content: center;
    height: 10vw;
    transition: transform 0.3s ease-in-out;
}

.sponsor-card:hover {
    transform: scale(1.03);
}

.sponsors-container {
    margin-top: 2vw;
    display: grid;
    grid-auto-rows: 10vw;
    grid-gap: 2vw;
}

.sponsors-large-container {
    grid-template-columns: repeat(1, 52vw);
}

.sponsors-medium-container {
    grid-template-columns: repeat(2, 25vw);
}

.sponsors-small-container {
    grid-template-columns: repeat(3, 16vw);
}

.sponsor-large {
    width: 52vw;
}

.sponsor-medium {
    width: 25vw;
}

.sponsor-small {
    width: 16vw;
}

.sponsor-large img {
    width: 48vw;
}

.sponsor-medium img {
    width: 23vw;
}

.sponsor-small img {
    width: 14vw;
}

.faq-header {
    padding: 10px 0;
}

.faq h3 {
    font-family: Nexa, 'Palatino Linotype', sans-serif;
}

.faq-body {
    padding: 10px 0;
}

.faq p {
    font-family: Gotham, 'Palatino Linotype', sans-serif;
    font-weight: 300;
    color: #e6e6e6;
    margin-bottom: 20px;
}

.team, .sponsors {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-container {
    margin-top: 30px;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.team .photo {
    width: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.team .name {
    text-align: center;
    font-family: Nexa, 'Palatino Linotype', sans-serif;
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 5px;
}

.team .role {
    text-align: center;
    font-family: Nexa, 'Palatino Linotype', sans-serif;
    font-weight: 300;
}

.cityscape {
    height: 200px;
    background-image: url('../images/web/cityscape.svg');
    background-repeat: no-repeat;
    background-position: 0% 100%;     
    background-size: 100vw auto;
    background-color: var(--background-color);
}

.footer {
    background-color: #15132C;
    color: #ebebeb;
    font-family: Gotham, 'Palatino Linotype', sans-serif;
    font-weight: 300;
    padding: 20px var(--side-margin);
    padding-top: 40px;
}

.footer i, .footer a {
    font-style: normal;
    color: #ebebeb;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #9B8CFE;
}

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

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

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

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

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

.footer-rights, .footer-social-links, .footer-email {
    margin-bottom: 20px;
}

.footer-social-link {
    font-size: 24px;
    margin-right: 10px;
    text-decoration: none;
}

/* Mobile only */
@media screen and (max-width: 1024px) {
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        height: 20px;
        justify-content: space-between;
    }
    
    .hamburger-menu div {
        height: 3px;
        width: 30px;
        background-color: #e1e1e1;
        border-radius: 3px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        padding-bottom: 20px;
        background-color: var(--background-color);
    }

    .nav-links-active {
        display: block;
    }

    .nav-link {
        display: block;
        padding: 10px min(40px, var(--side-margin));
        width: 100vw;
        background-color: var(--background-color);
        left: 0;
        position: relative;
    }
}

/* Large screens */
@media screen and (min-width: 1024px) {
    :root {
        --side-margin: 14vw;
    }

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

    .landing {
        flex-direction: row;
        justify-content: space-between;
        height: calc(100vh - 60px);
        padding-top: 0;
    }

    .landing-image {
        margin-top: 30vh;
        width: 36vw;
    }

    .landing h2 {
        margin-top: 40vh;
    }

    .section {
        display: flex;
    }

    .section-image {
        width: 26vw;
        padding: 0;
    }
    
    .about > .section-image {
        padding-right: 150px;
    }
    
    .sponsor > .section-image {
        padding-left: 150px;
    }

    .sponsor-button {
        margin-bottom: 0;
    }

    .faq-container {
        display: flex;
    }

    .faq-column {
        width: 35vw;
        margin-right: 100px;
    }

    .team-row {
        display: flex;
        width: 600px;
        justify-content: space-between;
    }

    .team .photo {
        width: 230px;
    }

    .cityscape {
        height: 400px;
        background-size: 100vw auto;
    }

    .footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}