a,
h1,
h2,
h3,
h4,
h5,
h6,
label,
p {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    display: flex;
    place-items: center;
}

html {
    height: 100vh;
    display: flex;
    background: linear-gradient(0deg, #2c6d70 0, #20515c 100%);
    place-content: center;
    place-items: center;
    overflow: hidden;
}

input[type="password"]::-ms-clear,
input[type="password"]::-ms-reveal {
    background-color: #fff;
    border-radius: 50px;
}

input::-ms-clear,
input::-ms-reveal {
    background-color: #fff;
    border-radius: 50px;
}

.login-field,
.register-field,
.reset-field,
.success-field,
.two-factor-field {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 100px;
    border-radius: 15px;
    min-width: 30vw;
    outline: 0;
    max-height: 80vh;
    overflow-y: auto;
}

.settings-field {
    background: rgba(0, 0, 0, 0.2);
    padding: 40px 60px;
    border-radius: 5px;
    min-width: 30vw;
    outline: 0;
}

.settings-input {
    display: flex;
    justify-content: space-between;
}

.settings-database,
.settings-email {
    width: 50%;
    padding: 20px;
}

.login-field:hover,
.register-field:hover,
.reset-field:hover,
.success-field:hover,
.two-factor-field:hover {
    transition: all 0.2s ease-out;
    box-shadow: 0 4px 8px rgba(38, 38, 38, 0.2);
    background-color: rgba(0, 0, 0, 0.5);
}

.login-field h3,
.register-field h3,
.success-field h3,
.success-field p {
    text-align: center;
}

.login-field p {
    color: #fff;
    text-align: center;
}

#reset-snackbar,
#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -150px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

#reset-snackbar {
    margin-left: -250px;
}

#reset-snackbar.show,
#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 5s 25s;
    animation: fadein 0.5s, fadeout 5s 25s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

.sign-in {
    display: flex;
    place-content: center;
    padding: 10px 0 25px;
}

.create-account {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#register {
    padding-top: 10px;
    margin-bottom: 0;
}

#reset {
    padding-top: 40px;
}

.input-field input[type="text"]:focus+label,
.materialize-textarea:focus:not([readonly])+label {
    color: #00e5ff !important;
}

.input-field input[type="text"]:focus,
.materialize-textarea:focus:not([readonly]) {
    border-bottom: 1px solid #00e5ff !important;
    box-shadow: 0 1px 0 0 #00e5ff !important;
}

.input-field input[type="password"]:focus+label,
.materialize-textarea:focus:not([readonly])+label {
    color: #00e5ff !important;
}

.input-field input[type="password"]:focus,
.materialize-textarea:focus:not([readonly]) {
    border-bottom: 1px solid #00e5ff !important;
    box-shadow: 0 1px 0 0 #00e5ff !important;
}

.input-field input[type="email"]:focus+label,
.materialize-textarea:focus:not([readonly])+label {
    color: #00e5ff !important;
}

.input-field input[type="email"]:focus,
.materialize-textarea:focus:not([readonly]) {
    border-bottom: 1px solid #00e5ff !important;
    box-shadow: 0 1px 0 0 #00e5ff !important;
}

.input-field input[type="text"],
.materialize-textarea:not([readonly]) {
    color: #fff !important;
}

.input-field input[type="password"],
.materialize-textarea:not([readonly]) {
    color: #fff !important;
}

.input-field input[type="email"],
.materialize-textarea:not([readonly]) {
    color: #fff !important;
}

#cancel {
    color: #fff;
}

.sign-up {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    place-items: center;
}

.sign-up a {
    color: #00e5ff;
}

.two-factor h1,
.two-factor h3,
.two-factor li,
.two-factor p,
.two-factor ul {
    color: #fff;
}

.create-account a {
    -webkit-text-fill-color: #fff;
}

.materialize-textarea:focus:not([readonly])+label,
.two-factor-input input[type="text"]:focus+label {
    color: #00e5ff !important;
}

.materialize-textarea:focus:not([readonly]),
.two-factor-input input[type="text"]:focus {
    border-bottom: 1px solid #00e5ff !important;
    box-shadow: 0 1px 0 0 #00e5ff !important;
}

.materialize-textarea:focus:not([readonly])+label,
.two-factor-input input[type="password"]:focus+label {
    color: #00e5ff !important;
}

.materialize-textarea:focus:not([readonly]),
.two-factor-input input[type="password"]:focus {
    border-bottom: 1px solid #00e5ff !important;
    box-shadow: 0 1px 0 0 #00e5ff !important;
}

.materialize-textarea:focus:not([readonly])+label,
.two-factor-input input[type="email"]:focus+label {
    color: #00e5ff !important;
}

.materialize-textarea:focus:not([readonly]),
.two-factor-input input[type="email"]:focus {
    border-bottom: 1px solid #00e5ff !important;
    box-shadow: 0 1px 0 0 #00e5ff !important;
}

.materialize-textarea:focus:not([readonly])+label,
.two-factor-input input[type="number"]:focus+label {
    color: #00e5ff !important;
}

.materialize-textarea:focus:not([readonly]),
.two-factor-input input[type="number"]:focus {
    border-bottom: 1px solid #00e5ff !important;
    box-shadow: 0 1px 0 0 #00e5ff !important;
}

.materialize-textarea:not([readonly]),
.two-factor-input input[type="text"] {
    color: #fff !important;
}

.materialize-textarea:not([readonly]),
.two-factor-input input[type="password"] {
    color: #fff !important;
}

.materialize-textarea:not([readonly]),
.two-factor-input input[type="email"] {
    color: #fff !important;
}

.materialize-textarea:not([readonly]),
.two-factor-input input[type="number"] {
    color: #fff !important;
}

#messages {
    position: absolute;
    top: 24vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #00bcd4 !important;
    padding: 40px 90px;
    border-radius: 15px;
    -webkit-animation: seconds 3s forwards;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-delay: 3s;
    animation: seconds 3s forwards;
    animation-iteration-count: 1;
    animation-delay: 3s;
}

@-webkit-keyframes seconds {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        left: -9999px;
    }
}

@keyframes seconds {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        left: -9999px;
    }
}

.ml-2.text-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
}

#reset {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    margin-top: 30px;
    transition: all 0.3s ease-in-out;
}

.ml-2.text-primary:hover,
#reset:hover {
    background: rgba(255, 255, 255, 0.144);
    border-radius: 5px;
}

.btn,
.btn-flat,
.btn-large,
.btn-small {
    margin-top: 10px;
}

#id_first_name,
#id_last_name,
#id_username,
#id_email,
#id_password1,
#id_password2,
#id_answer,
#userName,
#password,
#id_name,
#id_token-otp_token,
#id_auth-username,
#id_auth-password {
    padding-left: 10px !important;
    margin-top: 3px !important;
}

#id_first_name:hover,
#id_last_name:hover,
#id_username:hover,
#id_email:hover,
#id_password1:hover,
#id_password2:hover,
#id_answer:hover,
#userName:hover,
#password:hover,
#id_name:hover,
#id_token-otp_token:hover,
#id_auth-username:hover,
#id_auth-password:hover {
    background: #1414149c !important;
}

.waves-effect.waves-light.btn.red.darken-4:hover,
.btn.btn-primary.cyan.btn-sm:hover,
.waves-effect.waves-light.btn.cyan:hover {
    background: rgba(26, 26, 26, 0.719) !important;
}