@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300;400;500;700&family=REM:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    --body-color: white;
    --text-color: black;
    --black-shadow: rgba(0, 0, 0, 0.6);
    --white-shadow: rgba(255, 255, 255, 0.9);
    --background-form: rgba(0, 11, 13, .05);
    --input-border: #CCE3ED;
    --active-color: #021214;
    --error: #873D48;
    --success: #60992D; 
    margin: 0;
    padding: 0;
    display: flex;
    font-family: "Quicksand", sans-serif;
    color: var(--text-color);
    background-color: var(--body-color);
    transition-duration: 0.3s;
}

body.dark {
    --body-color: #2C394B; 
    --text-color: white; 
    --background-form: rgba(8, 32, 50, 0.9);
    --error: red;
    --success: green;
    --input-border: #334756;
}

a {
    text-decoration: none;
    color: white;
}

.left-panel {
    width: 60vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.splash-img {
    position: absolute;    
    z-index: -1;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.right-panel {
    height: 100vh;
    width: 100vw;
}

.logo {
    text-align: center;
    position: absolute;
    font-size: clamp(5vw, 7rem, 7.5vw);
    color: white;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.6);
    top: 35vh;
    left: 0;
    right: 0;
    padding: .3em;
    margin: 0;
    transition-duration: 0.3s;
}

.logo:hover {
    cursor: pointer;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
    background-color: rgba(0, 0, 0, 0);
    letter-spacing: 0.15em;
    filter: drop-shadow(.5rem .5rem 1rem rgba(0, 0, 0, 0.6));
}

.credits {
    font-size: clamp(.5vw, 1em, 1vw);
    font-style: italic;
    letter-spacing: 0.3em;
    padding-bottom: 1em;
    opacity: .3;
    transition-duration: 0.3s;
}

.credits:hover {
    opacity: 1;
}

.mode-icon {
    font-size: 3rem;
    padding: 0.1em;
    align-self: flex-start;
    opacity: 0.7;
    padding: .3em;
    transition-duration: 0.3s;
    color: white;
}

.mode-icon:hover {
    cursor: pointer;
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);    
}

.container {
    display: flex;
    padding: 50px 100px;
    flex-direction: column;
}

.info-text {
    font-size: 1.6rem;
}

.form-field {
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: .4em;
    flex-basis: 40%;
}

.form-field-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4em;
    margin-top: 1.5rem;
    background-color: var(--background-form);
    border-radius: 10px;
    padding: 3em;
}

input {
    height: 2em;
    border: solid;
    border-radius: 5px;
    border-width: 2px;
    border-color: var(--input-border);
    padding: 0.5em;
    color: var(--text-color);
    background-color: var(--input-border);
}

input:active {
    border-color: #021214;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}


button {
    margin-top: 1em;
    font-size: 1.2rem;
    padding: 0.9em 4em;
    border-radius: 10px;
    border: none;
    border-width: 1px;
    background-color: var(--input-border);
    transition-duration: 0.3s;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 0.5em;
}

button:hover {
    background-color: #021214;
    color: white;
    cursor: pointer;
}

.login {
    font-weight: bold;
    color: var(--text-color);
}

.button-error {
    border-color: var(--error);    
}

.button-success {
    border-color: var(--success);       
}

.error {
    color: var(--error);
    font-size: 0.8em;
    font-weight: bold;
}