:root {
    --nav-height: 2.5rem;
    --nav-x-padding: 0.75rem;
    --nav-y-padding: 0.75rem;
}

body {
    background: black;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100dvh;
}

h1,
p {
    margin: 0;
}

a {
    color: black;
    text-decoration: none;
}

nav {
    background: linear-gradient(black, transparent);
    z-index: 50;
    padding: var(--nav-y-padding) 0;
    width: 100%;
    height: var(--nav-height);
}

#nav-logo-container {
    height: var(--nav-height);
    display: flex;
    justify-content: center;
    align-items: center;
}

#nav-logo-container img {
    height: 90%;
}

.navbar-item {
    cursor: pointer;
    height: var(--nav-height);
}

.navbar-item>* {
    width: 100%;
    height: 100%;
}

main {
    height: 100%;
    margin: 0 auto;
}

.hidden {
    display: none !important;
}

.restricted {
    font-size: 1rem;
    line-height: 1.5rem;
    vertical-align: text-top;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
    color: lightgray;
    fill: black;
}

.modal {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .6);
    z-index: 100;
}

.modal-close-button {
    position: absolute;
    right: 1rem;
    width: 1.25rem;
    cursor: pointer;
}

.modal-title {
    font-size: 1.5rem;
    line-height: calc(2 / 1.5);
    font-weight: bold;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .modal-title {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .restricted {
        font-size: 3rem;
        line-height: 1;
    }
}