:root {
    --gold: #d6c589;
    --black: #1f1f1f;
    --sunshine: #dfb133;
    --white: #ffffff;
    --drab: #717171;
    --light-drab: #a19d96;
    --dark-drab: #3f3c3a;
    --fog: #cfcfce;
}

body {
    height: 100vh;
    margin: 0;
    padding: 0;
    width: 100vw;
    display: flex;
    background-color: var(--black);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    
    /* Disable horizontal scrolling */
    overflow-x: hidden;
}

h1 {
    font-family: Tomorrow, sans-serif;
    font-size: 32px;
    color: var(--white);
    line-height: normal;
    font-weight: 500;
    margin: 0;
}

h2 {
    color: var(--white);
    font-family: Tomorrow, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

h3 {
    font-family: Tomorrow, sans-serif;
    font-size: 16px;
    color: var(--fog);
    line-height: normal;
    font-weight: 500;
    margin: 0;
}

.form-label {
    font-family: Tomorrow, sans-serif;
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.container {
    display: flex;
    flex-direction: column;
    align-content: stretch;
    align-self: center;
    width: 100%;
    max-width: 800px;
    gap: 16px;
    margin-left: 16px;
    margin-right: 16px;
}

button, input[type="submit"], input[type="button"] {
    display: flex;
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    font-family: 'Tomorrow', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: normal;
    cursor: pointer;
    color: var(--black);
}



.primary-button {
    background-color: var(--gold);
    border: 4px solid var(--gold);
}
.extra-button {
    background: var(--sunshine);
    border: 4px solid var(--sunshine);
}
.secondary-button {
    background: var(--light-drab);
    border: 4px solid var(--light-drab);
}
.link-button {
    background: none;
    border: 4px solid transparent;
}
.dropbtn {
    background: var(--light-drab);
    border: 4px solid var(--light-drab);
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    border: 4px solid var(--white);
    box-sizing: border-box;
}

.primary-button:active {
    background: var(--white);
    border: 4px solid var(--gold);
    box-sizing: border-box;
}
.extra-button:active {
    background: var(--white);
    border: 4px solid var(--sunshine);
    box-sizing: border-box;
}
.secondary-button:active {
    background: var(--white);
    border: 4px solid var(--light-drab);
    box-sizing: border-box;
}
.link-button:active {
    background: var(--white);
    border: 4px solid var(--light-drab);
    box-sizing: border-box;
}
.dropbtn:active {
    background: var(--white);
    border: 4px solid var(--light-drab);
    box-sizing: border-box;
}

/* after other buttons to override hover state */
button:disabled, input[type="submit"]:disabled, input[type="button"]:disabled {
    background-color: var(--drab);
    border: 4px solid var(--drab);
    color: var(--black);
    cursor: not-allowed;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.title {
    font-family: Tomorrow;
    font-size: 48px;
    color: var(--white);
    line-height: normal;
    font-weight: 600;
    margin: 0;
}

#main-header {
    display: flex;
    padding: 32px;
    justify-content: space-between;
    align-items: center;
    background-color: var(--dark-drab);
}

#main-footer {
    display: flex;
    align-items: center;
    padding: 32px;
    gap: 16px;
    background-color: var(--dark-drab);
    justify-content: space-between;
    margin-top: 32px;
}

p {
    font-family: "Barlow Semi Condensed", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    color: var(--white);
    margin: 0;
    padding: 0;
}

label {
    font-family: "Barlow Semi Condensed", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    color: var(--white);
    margin: 0;
    padding: 0;
}

.large-body {
    font-size: 20px;
    margin: 0;
}
.body-light {
    color: var(--fog);
}

#nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    flex-direction: row;
}

.standout {
    display: flex;
    padding: 16px;
    background-color: var(--dark-drab);
    justify-content: center;
    gap: 10px;
    align-items: center;
    align-self: stretch;
}

.standout-error {
    display: flex;
    padding: 16px;
    background-color: var(--sunshine);
    justify-content: center;
    gap: 10px;
    align-items: center;
    align-self: stretch;
}

.on-light-body {
    color: var(--black);
}
.centered-text {
    text-align: center;
}

a {
    text-decoration: underline;
    color: var(--white);
    font-family: "Barlow Semi Condensed", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: normal;
    margin: 0;
    padding: 0;
}

input[type="text"], input[type="password"], input[type="email"] {
    display: flex;
    width: 100%;
    padding: 8px 12px;
    justify-content: flex-start;
    align-items: center;
    font-family: "Barlow Semi Condensed";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border: 1px solid var(--light-drab);
    background-color: transparent;
    color: var(--white);
    box-sizing: border-box;
}
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus {
    border: 1px solid var(--gold);
    box-sizing: border-box;
    outline: none;
}



.header-logo {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--light-drab);
}
.dropdown-content.show {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

.dropdown-item {
    color: var(--black);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    padding: 12px 12px;
    text-decoration: none;
}
.dropdown-item:hover {
    background-color: var(--fog);
    color: var(--black);
    border-top: 4px solid var(--white);
    border-bottom: 4px solid var(--white);
    border-left: 4px solid var(--white);
    border-right: 4px solid var(--white);
}
.mobile-dropdown-toggle {
    display: none;
}

@media screen and (max-width: 800px) {
    .mobile-dropdown-toggle {
        display: block;
    }
    #nav-links {
        display: none;
    }
    .container {
        margin-left: 8px;
        margin-right: 8px;
    }
    .dropdown-content.show {
        position: static;
        width: 100%;
    }
    .dropdown-content.show-mobile-nav {
        display: flex;
        flex-grow: 1;
    }
    #nav-links.show-mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 8px;
        background-color: var(--dark-drab);
        padding: 16px;
    }
    #main-header {
        flex-direction: column;
        align-items: center;
    }
}