/* ### PAGE LAYOUT ### */
.page {
    z-index: 3;
    position: absolute;
    width: max(30vmax, 500px);
    left: 50%;
    top: 0;
    padding: 5vh 0; 
    transform: translate(-50%, 0);
    margin-top: 2rem;
}

#footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
    margin-inline: auto;
    margin-top: 2rem;
    padding: 0 1rem;
    color: var(--app-text-v);
}

.nav {
    position: fixed;
    display: block;
    width: max(11vmax, 250px);
    top: 0;
    bottom: 0;
    padding-top: 2em;
    padding-left: 2em;
}

.title h1   {
    font-size: 1.5rem;
    font-weight: bold;
}

.pageTitle {
    margin-left: -0.25rem;
    color: var(--app-text-v);
}


/* ### LANDING PAGE ### */
.landing {
    margin-top: 10%;
    text-align: center;
    background-color: #28252990;
    border-radius: 1rem; 
    box-shadow: 10px 10px 5px #000000;
}

.landing .title h1 {
    font-size: 4rem !important;
    font-weight: bolder;
    margin-bottom: 0;
}

.landing .navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-top: 0.5rem;
}

.landing .navbar > a {
    font-size: 2.5rem;
    margin: 0 .25em;
    transition: all .5s ease-in;
    text-decoration: none solid #D88127 3px;
}

.landing .navbar > a:hover {
    color: white !important;
    text-decoration: underline solid #D8277E 3px !important;
}

.landing .socials a {
    font-size: 3rem;
    padding: 0 .5rem;
    transition: all .25s ease-in-out;
}

.nav .socials {
    position: absolute;
    background-color: var(--background);
    bottom: 1.6em;
}

.socials a {
    font-size: 2rem;
    padding: 0;
    padding-right: .5rem;
}

ul.nav-links {
    margin-top: 0;
    list-style-type: none;
}

.nav-links {
    position: relative;
    padding-top: 2em;
    padding-bottom: 1em;
    padding-left: 0;
    width: 80%;
    display: flex;
    flex-direction: column;
}

.nav-links a {
    display: block;
    padding: 0.125rem;
    transition: color 0.15s;
    font-size: 1.4rem;
}

.nav-links a:not(:last-child) {
    margin-bottom: .75rem
}

.nav-links a::before {
    content: "/";
}

.nav-links a:not(:hover) {
    color: var(--app-text-v) !important;
}

.page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }

.page h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 1000px) {
    .page {
        margin-top: 5rem;
    }

    .nav {
        position: fixed;
        width: 100%;
        padding: 0;
        z-index: 1;
        top: 0;
        height: 3.25rem;
        border-bottom: 2px solid white;
        overflow: hidden auto;
    }

    .nav .title {
        padding-top: .6em;
        padding-left: .6em;
        height: 2em;
    }

    .nav .pageTitle {
        display: none;
    }

    .nav .nav-links {
        position: absolute;
        top: 0;
        right: 0;
        padding: .4em .6em 0 0;
        float: right;
        text-align: right;
        overflow-x: auto;
        width: 100%;
        max-width: 66%;
        white-space: nowrap;
        flex-direction: row;
    }

    .nav-links a:not(:last-child) {
        margin-bottom: 0;
        padding-right: .5rem;
    }

    .nav-links a::before {
        content: "";
    }

    .nav .socials {
        position: fixed !important;
        width: 100%;
        text-align: center;
    }

    .nav .socials a {
        font-size: 2.5rem;
    }

    .nav .socials a:not(:last-child) {
        padding-right: .75rem;
    }
}


@media only screen and (max-width: 700px) {
    .page {
        margin-top: 5rem;
        width: 90%;
        padding: 0;
        overflow: hidden;
    }

    .page h1 {
        font-size: 2.125rem;
    }

    .landing.page {
        padding: .75rem .5rem;
        width: 90%;
    }
}
