.oxygen-light {
  font-family: "Oxygen", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.oxygen-regular {
  font-family: "Oxygen", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.oxygen-bold {
  font-family: "Oxygen", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Palette
Darkest to lightest 

01161E
124559
598392
AEC3B0
EFF6E0

*/
html {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.background {
    height: 100%;
    width: 100%;
    position: absolute;
    background: #0C0908;
    margin: 0px;
    padding: 0px;
}

.select-disable {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

/* Convenience class used to hide elements dynamically */
.hidden {
    display: none;
}

#page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

#mobile-navbar {
    align-self: flex-end;
    width: 100%;
    height: 125px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    border-top: 5px solid #FF4C29;
    padding: 20px;
}

#mobile-navbar img {
    height: 125px;
    flex: none;
    object-fit: contain;
}

#mobile-content {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

#user-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100vw;
}

#user-content img {
    height: 200px;
    object-fit: contain;
}

.login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    height: 50%;
    width: 50%;
    color: #EFF6E0;
    font-size: 40px;
}

.login-form > #username, #password {
    outline: none;
    font-size: 25px;
    background: #0C0908;
    border: 2px solid #FFFFFF; 
    border-radius: 25px;
    padding: 40px;
    color: #EFF6E0;
    width: 80%;
}

input:-webkit-autofill{
    -webkit-text-fill-color: #EFF6E0 !important;
    -webkit-background-clip: text;
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px #0C0908;
    border: inherit;
    font-size: inherit;
}

.login-form > #submit {
    outline: none;
    font-size: 30px;
    color: #EFF6E0;
    background: #0C0908;
    border: 2px solid #FFFFFF; 
    border-radius: 25px;
    padding: 40px;
    margin: 40px;
    width: 60%;
}

.login-form > #submit:active {
    background: #212122;
}

.login-form > #username:focus, #password:focus {
    background: #0C0908;
    border-color: #FF4C29;
}

#signup {
    outline: none;
    font-size: 30px;
    color: #EFF6E0;
    background: #0C0908;
    border: 2px solid #FFFFFF; 
    border-radius: 25px;
    padding: 40px;
    width: 30%;
}

#signup:active {
    background: #212122;
}

.login-form > #username:focus, #password:focus {
    background: #0C0908;
    border-color: #FF4C29;
}

.login > label {
    font-size: 50px;
    color: #EFF6E0;
}

#error {
    border: 5px solid #FF4C29;
    background: #0C0908;
    border-radius: 30px;
    color: #EFF6E0;
    font-size: 40px;
    width: 640px;
    height: 480px;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

#error:modal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

#error > button {
    outline: none;
    font-size: 30px;
    color: #EFF6E0;
    background: #212122;
    border: 2px solid #FFFFFF; 
    border-radius: 25px;
    padding: 40px;
    width: 50%;
}

#error > p {
    text-align: center;
}

#account-registration {
    width: 80%;
    border: none;
    padding: 0px;
    border: 2px solid #EFF6E0;
}

#signup-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100%;
    background: #212122;
    color: #EFF6E0;
    font-size: 50px;
    gap: 20px;
    height: 100%;
    padding: 50px;
}

#signup-form:modal {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;

}

#signup-form > input {
    outline: none;
    font-size: 30px;
    background: #0C0908;
    border-radius: 25px;
    padding: 30px;
    color: #EFF6E0;
    width: 50%;
}

#signup-form > input[type=email] {
    width: 80%;
}

#signup-form > #create-username:focus, #create-password:focus {
    background: #0C0908;
}

/* These three classes are to highlight password and email disagreement on the
 * sign up page
 *
 */
.default {
    border: 2px solid #EFF6E0;
}

.agree {
    border: 2px solid #70F678;
}

.disagree {
    border: 2px solid #FF4C29;
}

#register-captcha {
    margin: 5px;
}

#signup-form > input[type=submit] {
    outline: none;
    font-size: 30px;
    color: #EFF6E0;
    background: #0C0908;
    border: 2px solid #FFFFFF; 
    border-radius: 25px;
    margin-top: 30px;
    padding: 50px;
    width: 50%;
}

#signup-form > input[type=submit]:active {
    background: #212122;
}
