@import url("normalize.css");
@import url("fonts.css");
@import url("colors.css");
@import url("header.css");
@import url("footer.css");
@import url("quest.css");
@import url("sleepers.css");

.main__wrapper {
    font-family: "SourceSans", "Verdana", "Arial", sans-serif;
    font-weight: 500;
    width:85vw;
    max-width: 1600px;
    margin:15vh auto;
}

.link {
    color:var(--main-link);
}

.link:hover {
    color:var(--main-hoverlink);
}

.auth__wrapper {
    display: flex;
    justify-content: space-between;
}

.auth__form-wrapper, .auth__form-wrapper > form {
    display: flex;
    flex-direction: column;
    width:35vw;
    max-width:800px;
    min-width:400px;
}

.auth__form-wrapper {
    border-radius:0.5em;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding:5vh;
}

.auth__form-wrapper > h2 {
    font-size:2rem;
}

.auth__form-input {
    padding:1rem .7rem;
    background:#fff;
    border:1px solid #e0e0e0;
    border-radius:4px;
    outline:none;
    margin:1rem 0;
    resize:vertical;
}

.auth__form-input:focus {
    border-color:#b0b0b0;
}

.auth__form-submit {
    padding:1rem 3rem;
    background:#fff;
    border:1px solid #555;
    font-size:1.4em;
    border-radius:4px;
    transition: .3s;
    text-decoration: none;
    color:#333;
    min-width:48%;
    max-width:200px;
}

a.auth__form-submit {
    min-width: auto;
}

.auth__form-submit:hover {
    box-shadow:9px 9px 0 var(--main-primary);
    background:var(--main-secondary);
    cursor:pointer;
}

.applicants__intro-inline, .applicants__intro-name, .applicants__intro-back > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.applicants__intro-name > button, .applicants__intro-back > a > img {
    margin-left:1rem;
}

.applicants__intro-back > a {
    text-decoration: none;
    color:#333;
    font-family: "SourceSans", "Verdana", "Arial", sans-serif;
    align-items:center;
    font-weight: 700;
}

.applicants__intro-back > a:hover {
    opacity: 0.8;
    cursor: pointer;
}


.auth__not-registered {
    margin-top:1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth__not-registered > span {
    font-size:1.4rem;
}

.auth__form-inline {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.auth__form-inline > div {
    display: flex;
    flex-direction: column;
    width:48%;
}

@media screen and (max-width:1450px) {
    .auth__image {
        display: none;
    }

    .auth__wrapper {
        justify-content: center;
    }

    .auth__not-registered {
        flex-direction: column;
    }

    .auth__not-registered > span {
        margin-bottom:1em;
    }

    .applicants__intro-inline:first-child {
        display: flex;
        flex-direction: column;
    }

    .applicants__intro-inline:nth-child(2) {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media screen and (max-width:1205px) {
    .auth__form-submit {
        max-width:100%;
    }
}

@media screen and (max-width:555px) {
    .auth__form-wrapper {
        min-width:100%;
        width:100%;
    }

    .main__wrapper {
        margin-top:2vh;
    }

    .auth__form-wrapper > form {
        min-width:100%;
    }
}

@media screen and (max-width:490px) {
    .auth__form-inline {
        flex-direction: column;
    }

    .auth__form-inline > div {
        width:100%;
    }
}
