*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-gutter: stable;
    line-height: 1.5;
}

a {
    color: #679f69;
    text-decoration: none;
}

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

p {
    margin-bottom: 1rem;
}

a:hover,
a:active {
    color: #679f69;
    text-decoration: underline;
}

.agree {
    background-color: black;
    color: white;
}

.agree:hover {
    background-color: #679f69;
    color: white;
}

.agree,
.disagree {
    border-radius: 3px;
    padding-block: 1rem;
    width: 100%;
    text-align: center;
    font-weight: 600;
}

.agree:hover,
.agree:active,
.disagree:hover,
.disagree:active {
    text-decoration: none;
    cursor: pointer;
}
.body {
    margin: 3rem auto 5rem;
    width: 90%;
    max-width: 540px;
}

.content {
    margin-top: 2rem;
}

.disagree,
.disagree:hover {
    border: 1px solid black;
    color: black;
}

.disclaimer {
    border: 1px solid black;
    padding: 1rem;
    border-radius: 3px;
    max-height: 60dvh;
    overflow-y: scroll;
}

.disclaimer-buttons {
    margin-top: 2rem;
    gap: 1rem;
    justify-content: space-around;
}

.flex {
    display: flex;
}

.modal {
    background-color: white;
    max-width: 540px;
    padding: 2rem;
    border-radius: 5px;
    margin-inline: 10px;
}

.nav {
    align-items: baseline;
    justify-content: space-between;
    color: black;
    background-color: white; /* preserves visibility during sticky scroll */
}

.navlink {
    display: block;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    display: none;
}

.overlay.show {
    display: flex;
}

.sticky {
    position: sticky;
}

.topzero {
    top: 0; /* anchors elements for sticky (such as nav) */
}

@media (max-width: 640px) {
    .body {
        margin-top: 0.8rem;
    }
}