html, body {
    height: 100%;
    overflow-x: hidden; /* Due to editor-bar width. */
    color: white;
    font-family: "Open Sans", Lato, Roboto, sans-serif;
    margin: 0;
}

.build-info {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}

.login-card {
    z-index: 1;
    display: flex;
    flex-direction: column;
    background: white;
    min-width: 20rem;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 5px 5px 20px 0px rgba(0,0,0,0.5);
    max-width: 400px;
}

#login-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    color: darkslategray;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}
h1 {
    color: #ED7D31;
    margin: 0 0 20px;
    font-weight: bold;
    font-family: "Poppins", "Open Sans", sans-serif;
}

label {
    font-weight: bold;
}

.form-signin {
    margin: 10px 10px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.container {
    z-index: 1;
    display: flex;
    gap: 20rem;
    align-items: center;
}

/* Smaller devices such as small-standard size phones (< 640px) */
@media only screen and (max-width: 40em) {
    .container {
        flex-direction: column;
        gap: 2rem;
    }

    .register-grid {
        grid-template-columns: none !important;
    }
    .register-grid > span {
        height: 1px;
    }
}

/* Small devices such as large phones (640px and up) */
@media only screen and (min-width: 40em) {
    .container {
        flex-direction: column;
        gap: 2rem;
    }

    .register-grid {
        grid-template-columns: none !important;
    }
    .register-grid > span {
        height: 1px;
    }

}

/* Medium devices such as tablets (768px and up) */
@media only screen and (min-width: 48em) {
    .container {
        flex-direction: row;
        gap: 2rem;
    }

    .register-grid {
        grid-template-columns: 2fr 1px 1fr !important;
    }
    .register-grid.no-invite {
        grid-template-columns: none !important;
    }
    .register-grid > span {
        height: auto;
    }
}

/* Large devices such as laptops (1024px and up) */
@media only screen and (min-width: 64em) {
    .container {
        flex-direction: row;
        gap: 10rem;
    }

    .register-grid {
        grid-template-columns: 2fr 1px 1fr !important;
    }
    .register-grid.no-invite {
        grid-template-columns: none !important;
    }
    .register-grid > span {
        height: auto;
    }
}

/* Largest devices such as desktops (1280px and up) */
@media only screen and (min-width: 80em) {
    .container {
        flex-direction: row;
        gap: 20rem;
    }

    .register-grid {
        grid-template-columns: 2fr 1px 1fr !important;
    }
    .register-grid > span {
        height: auto;
    }
}


.logo {
    display: block;
    height: 10rem;
    z-index: 1;
}

.failure {
    margin: 10px;
    background: #820800;
    color: white;
    border-radius: 4px;
    padding: 10px;
}

.form-control {
    padding: 10px;
    border: 1px solid black;
    font-size: 14px;
}
.form-hint {
    margin: 0;
}
.form-group label {
    display: none;
}
input, button {
    border-radius: 4px;
    border: none;
    padding: 10px;
    margin: 10px 0;
}

input[disabled], input[readonly] {
    background-color: darkgrey;
    cursor: default;
    color: GrayText;
}

button[type=submit] {
    display: block;
    font-weight: bold;
    background-color: #203864;
    color: white;
    cursor: pointer;
    width: fit-content;
    margin-top: auto;
}

.register-link {
    margin-bottom: 10px;
    width: fit-content;
}

.register-grid {
    display: grid;
    grid-template-columns: 2fr 1px 1fr;
    gap: 16px;
}

.register-grid > div {
    display: grid;
}

.not-you {
    margin-top: 2px;
    text-align: center;
}
.not-you a { color: white; }
.not-you a:hover { text-decoration: underline; font-weight: bold; }
