*, *:before, *:after {
    box-sizing: border-box;
}

:root {
    --dominant: #08020D;
    --secondary: #FFFFFF;
    --accent: #0EC261;
}

body {
    margin: 0;
    color: var(--secondary);
    background-color: var(--dominant);
}

main {
    /* padding: 24px; */
}

img {
    max-width: 100%;
}

.header {
    width: 100%;
    min-height: 70px;
    padding: 12px;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
}

.header--hidden {
    transform: translateY(-100%);
}

.header__branding {
    display: flex;
    align-items: center;
    justify-content: center;
}

.branding__hamburger {
    margin: 0 12px 0 0;
    color: var(--accent);
}

.branding__logotype {
    margin: 0 12px 0 0;
    font-family: "Eczar";
    font-size: 1.25rem;
}

.branding__logotype--hidden {
    display: none;
}

.header__internals {
    display: none;
}

.header__internals--visible {
    display: flex;
    flex-wrap: wrap;
}

.internals__redirect {
    font-family: "Nunito";
    font-size: 1.05rem;
    text-decoration: none;
    color: var(--secondary);

}

.internals__redirect:nth-child(even) {
    margin: 0 12px;
}

.internals__redirect:last-child {
    margin: 0 0 0 12px;
}

.header__externals {}

.header__externals--hidden {
    display: none;
}

.externals__redirect {
    font-size: 1.05rem;
    text-decoration: none;
    color: var(--secondary);
}

.externals__redirect:nth-child(even) {
    margin: 0 12px;
}

/* ------------------------------  */

#project .section__image {
    width: 20vh;
}

#community .section__image {
    width: 80%;
}

#script .section__image {
    width: 60%;
}

#addon .section__image {
    width: 40%;
}

#map .section__image {
    width: 40%;
}

#figures {
    gap: 24px;
}

/* ------------------------------  */
.section {
    margin: 96px 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
}

.section__figures {
    text-align: center;
}

.figures__heading {
    margin: 0;
    font-family: "Eczar";
    font-size: 1.70rem;
}

.figures__paragraph {
    margin: 0;
    font-family: "Nunito";
    font-size: 1.20rem;
}

.heading--variant {
    color: var(--accent);
}

/* ------------------------------  */

.section__image {
    align-self: center;
    justify-self: center;
    margin: 0 0 48px 0;
}

.section__article {
    align-self: center;
    justify-self: center;
}

.article__heading {
    margin: 0;
    align-self: center;
    justify-self: center;
    font-family: "Eczar";
    font-size: 1.70rem;
}

.article__paragraph {
    margin: 0 0 24px 0;
    font-family: "Nunito";
    font-size: 1.20rem;
    line-height: 1.5;
}

.article__button {
    padding: 0;
    border: 0;
    font-family: "Eczar";
    font-size: 1.20rem;
    color: var(--accent);
    cursor: pointer;
    text-decoration: none;
    background-color: transparent;
}

.article__button--filled {
    padding: 4px 24px;
    color: var(--dominant);
    background-color: var(--accent);
}

.trailer {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    backdrop-filter: blur(10px);
}

.trailer--visible {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trailer__exit {
    padding: 24px;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 48px;
    z-index: 1000;
    cursor: pointer;
}

.trailer__video {
    width: 75%;
    height: 75%;
}

.footer {
    width: 100%;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--accent);
    font-family: "Nunito";
}

@media screen and (min-width: 576px) {
    .branding__hamburger {
        display: none;
    }

    .branding__logotype,
    .header__internals,
    .header__externals {
        display: flex;
    }

    .section {
        grid-template-columns: 1fr 1fr;
    }
    
    #project .section__image {
        order: 2;
    }
    
    #community .section__image {}
    
    #script .section__image {
        order: 2;
    }
    
    #addon .section__image {}
    
    #map .section__image {
        order: 2;
    }
}

@media screen and (min-width: 992px) {
    .header {
        padding: 24px;
    }

    .section {
        padding: 0 48px;
    }

    #figures {
        grid-template-columns: repeat(4, 1fr);
    }

    .branding__logotype {
        font-size: 1.50rem;
    }

    .internals__redirect {
        font-size: 1.25rem;
    }

    .externals__redirect {
        font-size: 1.25rem;
    }
}