html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f5f6fa;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

body > * {
    flex: 1;
}

.header {
    flex: none;
    display: flex;
    flex-direction: row;
    gap: 4rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 1em;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.header img {
    width: 10rem;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    width: 80rem;
}

.content .row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 6rem;
}

.content .box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: white;
    padding: 2rem;
    border-radius: 0.3rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0 2px 8px 0;
    max-width: 40rem;
}

.content .box h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: bold;
}

.content .box h2 {
    font-size: 1rem;
    margin: 0 0 1rem 0;
    font-weight: 300;
}

.content .box a, .content .box button {
    background-color: #f9a126;
    color: white;
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-radius: 0.3rem;
    border: none;
    cursor: pointer;
    width: fit-content;
    font-size: 0.9rem;
}

.content .box form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.content .box .input-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.content .box input {
    padding: 0.5rem;
    border-radius: 0.4rem;
}

.content .box button {
    margin-top: 1.5rem;
    align-self: center;
}

.footer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
}

.alerts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alerts .alert {
    min-width: 40rem;
    padding: 1rem;
    text-align: center;
}

.alerts .alert.alert-error {
    border-radius: 0.5rem;
    background-color: #ff4848;
    color: white;
}

@media screen and (max-width: 85rem) {
    .content {
        flex-direction: column;
        width: 50rem;
    }
}

@media screen and (max-width: 60rem) {
    .content {
        flex-direction: column;
        width: 45rem;
    }
}