@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap");

* {
    box-sizing: border-box;
}

p.errors {
    color: red;
}

html,
body {
    background-color: #fefefe;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: "Source Sans Pro", sans-serif;
}

.control-group {
    margin-bottom: 1rem;
}

.container {
    width: 100vw;
    height: 100vh;
}

.image-wrapper {
    height: 100%;
}

.image {
    height: 100%;
    width: auto;
    filter: brightness(50%);
}

.login-form-wrapper {
    width: 500px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: min(10vh, 32px) min(10vw, 64px);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #fefefe;
    overflow-y: auto;
}

.login-form {
    margin-top: 10vh;
    padding: 1rem;
    box-shadow: 0 1px 4px 0 #bfbfbf;
}

.title {
    font-size: 20px;
    font-weight: 700;
}

label {
    display: block;
    color: #5f5f5f;
    font-size: 15px;
}

.control-group {
    margin-bottom: 16px;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border: 2px solid #2684ff;
}

a:link {
    text-decoration: none;
}

.forgot-password {
    text-align: right;
    margin-bottom: 1rem;
}

.forgot-password__text {
    color: #2b5abc;
    font-size: 15px;
}

.remember-me-container {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.remember-me-container label {
    cursor: pointer;
    display: flex;
}

.remember-me-container input[type="checkbox"] {
    cursor: pointer;
    opacity: 0;
    position: absolute;
}

.remember-me-container label::before {
    content: "";
    width: 1em;
    height: 1em;
    border: 0.05em solid rgb(43, 90, 188);
    border-radius: 2px;
    margin-right: 0.5em;
}

.remember-me-container input[type="checkbox"]:checked + label::before {
    background-color: #2b5abc;
    content: "\002713";
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    background-color: white;
    border: 1px solid #a6a6a6;
    height: 40px;
    border-radius: 3px;
    padding: 8px;
}

button {
    width: 100%;
    height: 32px;
    font-size: 14px;
    padding: 0 0.5rem;
}

button:hover {
    cursor: pointer;
}

.action-button {
    background-color: #2b5abc;
    border: 1px solid #2b5abc;
    color: #fff;
    margin-bottom: 16px;
    height: 40px;
    border-radius: 2px;
    letter-spacing: 0.3px;
}

.action-button:hover {
    background-color: #16429D;
}

.secondary-button {
    background-color: transparent;
    border: 1px solid #5f5f5f;
    color: #5f5f5f;
    margin-bottom: 16px;
    height: 40px;
    border-radius: 2px;
    letter-spacing: 0.3px;
}

.logo {
    margin-top: auto;
    padding-top: 1rem;
    align-self: flex-end;
    max-width: 200px;
}

.application-wrapper--mobile {
    display: none;
}

.apply-work-text {
    color: #404040;
}

.apply-work-link {
    color: #2b5abc;
}

@media (min-width: 0px) and (max-width: 576px) {
    .image {
        display: none;
    }

    .login-form-wrapper {
        width: 100%;
        padding: 0;
    }

    .login-form {
        box-shadow: none;
    }

    .logo {
        padding-right: 1rem;
        padding-bottom: 1rem;
    }
}

@media (min-aspect-ratio: 16/9) {
    .image {
        width: 100%;
        height: auto;
    }
}
