.auth {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.auth__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2em;
    box-sizing: border-box;
    gap: 1em;
    background-color: var(--dark-color);
    border-radius: 5px;
}

.auth__title {
    font-size: 150%;
    width: 20em;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 1em;
}

.auth__input {
    width: 100%;
    font-size: 150%;
    box-sizing: border-box;
    border: 1px white solid;
}

.auth__error-box {
    /*padding: 1em;*/
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    opacity: 0;
    transition: 0.3s ease 0.2s;
}

.auth__submit {
    width: 100%;
    padding: 0.5em;
    background-color: var(--light-color);
    border-radius: 5px;
    font-size: 150%;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    outline: none;
    color: var(--text-color);
    border: none;
}

.auth__submit:hover {
    background-color: var(--accent-color);
}

#logout {
    padding: 0.5em;
    border-radius: 5px;
    border: 1px #ffffff2b solid;
    margin-right: 1em;
    cursor: pointer;
}

.auth__label {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}