@font-face {
    font-family: Montserrat;
    src: url('montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
}

body {
    background-color: #690000;
}

.login-container {
    top: 50%;
    left: 50%;
    width: 55%;
    height: 55%;
    background: #ffffff14;
    border-radius: 2.5vw;
    position: fixed;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-rows: 10% 10% 10% 10% 10% 20% 10%;
    grid-template-columns: 20% 60% 20%;
    justify-items: center;
    user-select: none;
}

h1 {
    text-align: center;
    color: #C3C9D2;
    font-size: 2.5vw;
    font-family: Montserrat;
    font-weight: 650;
    word-wrap: break-word;
    grid-row: 2;
    grid-column: 2;
    user-select: none;
}

input[type="text"] {
    font-family: Montserrat;
    background-color: #D9D9D9;
    color: #000F35;
    border-radius: 3vw;
    border-width: 0;
    height: 4vh;
    width: 25vw;
    left: 50%;
    padding-left: 1vw;
    user-select: none;
}

input[type="password"] {
    font-family: Montserrat;
    background-color: #D9D9D9;
    color: #000F35;
    border-radius: 3vw;
    border-width: 0;
    height: 4vh;
    width: 25vw;
    left: 50%;
    margin-top: 1vh;
    padding-left: 1vw;
    user-select: none;
}

#submit-button {
    width: 10vw;
    height: 4vh;
    background-color: #8b0000;
    color: white;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 20px;
    border-radius: 3vw;
    border-width: 0;
    cursor: pointer;
    margin-top: 10vh;
    padding-left: 2.5%;
    padding-right: 2.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    user-select: none;
}

#submit-button:hover {
    background-color: #d1d1d1;
    color: #690000;
}

form {
    top: 35%;
    left: 50%;
    width: -moz-fit-content;
    width: fit-content;
    line-height: 1.5vw;
    justify-items: center;
    grid-row: 6;
    grid-column: 2;
}

.login-select {
    grid-column: 2;
    grid-row: 4;
}

.login-button {
    font-family: Montserrat;
    font-weight: 650;
    border: 0.25vw #f5adad;
    background-color: #690000;
    color: #f5adad;
    height: 80%;
    border-radius: 3vw;
}

.login-button:hover {
    font-family: Montserrat;
    background-color: #f5adad;
    color: #690000;
    transition-duration: 1s;
}

.active-login-button {
    font-family: Montserrat;
    font-weight: 650;
    border: solid;
    border-width: medium;
    border-color: white;
    background-color: #f5adad;
    color: #690000;
    height: 80%;
    border-radius: 3vw;
}

.error {
    grid-column: 2;
    grid-row: 5;
    color: #ffffff;
    width: -moz-fit-content;
    width: fit-content;
    height: 3.5vh;
    font-family: Montserrat;
    font-weight: 350;
    padding-left: 2.5%;
    padding-right: 2.5%;
    background-color: #ff1111;
    border-color: #FF0000;
    border-width: .25vw;
    left: 50%;
    /* transform: translate(-50%, -50%); */
    /* position: fixed; */
    display: flex;
    align-items: center;
}