body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Aileron', sans-serif;
    background-color: #fdf5e6;
    font-size: 2vmin;
}

.nav-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center; /* Centers square horizontally */
    align-items: center;     /* Centers square vertically */
    z-index: 0;             /* Places it behind content */
}

.nav-grid svg {
    width: 100vmin;
    height: 100vmin;
    display: block;
}

.background-link-label {
    visibility: hidden;
    pointer-events: none;
    text-shadow: 0 0 6px #fdf5e6;
    font-size: 14px;
}

.background-link-hit-area:hover + .background-link-label {
    visibility: visible;
}

.goUpButton a {
    visibility: hidden;
    color: hsl(39.1, 9.09%, 36%); /* based on background but lower value */
    text-decoration: none;
}

.goUpButton:hover a {
    visibility: visible;
}

.goUpButton {
    text-align: center;
}

@media (orientation: landscape) {
    .nav-grid {
        flex-direction: row;
    }

    .goUpButton {
        height: 100%;
        padding: 0 0.4vmin;
    }

    .goUpA {
        writing-mode: vertical-lr;
        transform: rotate(180deg);
        transform-origin: center;
        white-space: nowrap;
    }

    .goUpB {
        writing-mode: vertical-lr;
        white-space: nowrap;
    }
}

@media (orientation: portrait) {
    .nav-grid {
        flex-direction: column;
    }

    .goUpButton {
        width: 100%;
        padding: 0.4vmin 0;
    }
}

.content-anchor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center; /* Centers square horizontally */
    align-items: center;     /* Centers square vertically */
    z-index: 1;
    pointer-events: none;
}

.content-container {
    width: 77.8vmin;
    height: 77.8vmin;
    display: block;
    margin: 11.1vmin;
    color: #000C80;
    display: flex;
    justify-content: center; /* Centers square horizontally */
    align-items: center;     /* Centers square vertically */
    flex-direction: column;
}

.content-container h1 {
    font-family: 'Aileron-bold', sans-serif;
    font-size: 4.5vmin;
}

.content-container h2 {
    font-family: 'Aileron-bold', sans-serif;
    font-size: 3vmin;
}

.content-container h3 {
    font-family: 'Aileron-bold', sans-serif;
    font-size: 2.4vmin;
}
