html, body, main {
    height: 100vh;
    width: 100vw;
    font-family: 'Aldrich', sans-serif;
    font-size: 12px;
    color: beige;
    background: black;
}

section {
    margin: auto;
    text-align: justify;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: square;
    margin: 0;
    padding: 0;
}

ul li {
    margin-bottom: 0.1rem;
}

ul li p {
    margin: 0;
    margin-left: -1rem;
    margin-right: 1rem;
}

ul li strong {
    color: white;
    line-height: 3rem;
}

nav {
    border-bottom: 0.15rem solid red;
    background-color: black;
    display: flex;
}

#title-img {
    height: 3rem;
    margin: 0;
}

#buttons-div {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0 2rem;
}

#rules-tab, #faqs-tab {
    width: 30vw;
    padding: 0.25rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.rules-button {
    background: beige;
    color: #AF0000;
}

.rules-button.active {
    background: #AF0000;
    color: beige;
}

#rules, #faqs {
    background: url(images/Black_board.png) no-repeat center;
    background-size: cover;
    border: 0.5rem solid #AF0000;
    margin: 0 2rem;
    margin-bottom: 3rem;
    padding: 0.75rem 0.25rem;
}

.nav-tabs {
    display: flex;
    justify-content: space-around;
    margin-top: 0.5rem;
}

.navlink {
    border-radius: 0.25rem 0.25rem 0 0;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: beige;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
}

.navlink.active {
    background: rgba(255, 255, 255, 0.1);
}

.tab-content {
    padding: 1rem 0.5rem;
}

.tab-pane h3 {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
}

.tab-pane p {
    font-size: 0.75rem;
    line-height: 1.5;
}

.nested-tabs {
    display: flex;
    justify-content: space-around;
}

.nested-navlink {
    border-radius: 0.25rem 0.25rem 0 0;
    padding: 0.4rem 2rem;
    font-size: 0.75rem;
    color: beige;
    text-decoration: none;
    text-align: center;
}

.nested-navlink.active {
    background: rgba(255, 255, 255, 0.1);
}

.nested-time {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    text-align: center;
}

footer {
    border-top: 0.15rem solid red;
}

footer p {
    margin: 0.25rem auto;
    font-size: 0.75rem;
}

@media (min-width: 397px) and (max-width: 575.98px) {
    html, body, main {
        font-size: 14px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    html, body, main {
        font-size: 16px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    html, body, main {
        font-size: 18px;
    }
}

@media (min-width: 992px) and (max-width: 1119.98px) {
    html, body, main {
        font-size: 20px;
    }
}

@media (min-width: 1120px) {
    html, body, main {
        font-size: 20px;
        background: repeating-linear-gradient(90deg, black, black 1rem, #561D1A 1rem, #561D1A 2rem);
    }

    section {
        max-width: 1000px;
        border: 0.15rem solid red;
        background: black;
    }
}