@font-face {
    font-family: minercraftory;
    src: url("assets/Minercraftory.ttf");
}

@font-face {
    font-family: "vcr";
    src: url("assets/VCR_OSD_MONO_1.001.ttf");
}

body {
    padding: 0;
    margin: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: rgb(38, 38, 38);
}

.container {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
}

.banner-container {
    width: 35%;
    position: relative;
}

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

.logo-container {
    position: absolute;
    width: 100%;
    top: 8rem;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    background-color: #0312128f;
}

.logo-container .logo {
    color: white;
    display: flex;
    align-items: center;
    font-size: 2.5vw;
    font-family: "minercraftory";
}

.banner-container .logo img {
    height: 6vw;
    width: auto;
    -webkit-user-drag: none;
}

.form-container {
    display: flex;
    width: 65%;
    flex-direction: column;
    justify-content: center;
    color: rgb(196, 196, 196);
}

.form-container > * {
    padding-left: 5%;
    width: 80%;
    font-family: "vcr";
}

.description {
    font-size: 1.7vw;
    font-family: "vcr";
    font-weight: bold;
}

.sign-up .header {
    font-size: 1.8vw;
}

form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.field {
    display: flex;
    flex-direction: column;
    font-size: 1.2vw;
    margin-top: 2%;
    color: rgb(147, 147, 147); 
}

button, .existing-account {
    margin-top: 4%;
    font-family: "vcr";
}

button {
    padding: 8px 20px;
    background-color: inherit;
    border: 2px solid rgb(175, 1, 250);
    border-radius: 8px;
    color: rgb(175, 1, 250);
    font-weight: bold;
    width: 15vw;
}

button:hover {
    background-color: rgb(175, 1, 250);
    color: rgb(38, 38, 38);
    cursor: pointer;
}

button:active {
    box-shadow: 0px 0px 15px rgb(34, 29, 67) inset;
}

label {
    margin-bottom: 1%;
}

input {
    width: 24vw;
    font-size: 1.2vw;
    font-family: inherit;
    background-color: inherit;
    border: 1px solid rgb(102, 102, 102);
    border-radius: 2px;
    color: inherit;
}

input:focus {
    border: 2px solid darkviolet;
    outline: none;
}

input[type="password"].error {
    border: 2px solid crimson;
}

.password-mismatch {
    font-size: 1vw;
    color: crimson;
    visibility: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color:rgb(175, 1, 250);
}

a:active {
    color: orange;
}

a:visited {
    text-decoration: none;
}