:root {
    --gray: #f2f2f2;
}

* {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    display: flex;
    min-height: 100vh;
}

/* Banner */

.banner {
    min-height: 100vh;
    width: 25vw;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
}

.banner::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: inset -20px 0 20px -10px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.banner-img {
    height: 100%;
    width: 100%;
    position: absolute;
}

.logo-banner {
    position: absolute;
    top: 20%;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 15%;
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items: center;
}

.logo {
    height: 100%;
}

.logo-banner > h1 {
    color: white;
    font-size: clamp(1rem, 2vw, 2.5rem);
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.7);
}

.credit {
    color: white;
    text-shadow: 2px 2px 3px black;
    font-size: 0.8em;
    position: absolute;
    bottom: clamp(1%, 5px, 5px);
    text-align: center;
}

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

/* SIGN UP */

.sign-up {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--gray);
    align-items: center;
    width: 100%;
    padding-top: 1em;
}

.sign-up > p {
    margin-left: 1em;
    margin-bottom: 2em;
}

form {
    background-color: white;
    padding: 2em;
    height: max-content;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    margin-bottom: 2em;
    flex-wrap: wrap;
    width: 100%;
}

.required {
    font-size: 0.8em;
    margin-bottom: 1em;
    color: red;
}

.input-container {
    display: flex;
    flex-direction: column;
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}

.outer-container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 0.5em;
    gap: 0.5em;
}

label {
    font-size: 0.8em;
}

input {
    height: 1.5em;
    width: 100%;
    max-width: 20em;
    border-radius: 0.3em;
    padding: 0.8em;
    border: 1px solid black;
}

input:focus {
    border: 1px solid blue;
    height: 2em;
    outline: none;
    background-color: var(--gray);
}

input:valid {
    border-color: green;
}

input:invalid {
    border-color: red;
}

button {
    background-color: #516530;
    padding: 0.8em;
    border: none;
    border-radius: 0.5em;
    width: 100%;
    max-width: 20em;
    margin-left: 0;
    color: white;
    box-shadow: 0 0 5px 0 black;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    margin-bottom: 1em;
}

span {
    color: #516530;
}