body {
    background-color: #202122;
    user-select: none;
}

* {
    font-family: Caladea, Merriweather, serif;
}

.box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 10rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
    width: 28rem;
    background-color: #242527;
    padding: 2.8rem;
    border: .2rem solid;
    border-color: #343438;
    border-radius: .28rem;
}

#login:checked~#register_display {
    visibility: hidden;
    display: none;
}

#register:checked~#login_display {
    visibility: hidden;
    display: none;
}

.box_user {
    appearance: none;
    display: none;
}

#login+label {
    color: white;
}

#login:checked+label {
    color: #4299e5;
}

#register+label {
    color: white;
}

#register:checked+label {
    color: #4299e5;
}

.title {
    user-select: none;
    font-size: 1.7rem;
    transition: all .2s ease-in-out;
}

.title:hover {
    transition: all .2s ease-in-out;
    color: #4299e5;
    cursor: pointer;
}

.forgot_password_title {
    user-select: none;
    font-size: 1.7rem;
    color: white;
}

.text {
    margin: auto;
    display: block;
    margin-top: .8rem;
    margin-bottom: -.8rem;
    margin-left: .24rem;
    font-size: 1.14rem;
    color: white;
}

.terms {
    margin: auto;
    display: block;
    margin-top: 1rem;
    margin-bottom: -.8rem;
    margin-left: .24rem;
    padding-bottom: 1.4rem;
    font-size: .88rem;
    color: white;
}

.terms_link {
    margin: auto;
    display: inline-block;
    margin-bottom: -.8rem;
    margin-left: .24rem;
    font-size: 1rem;
    text-decoration: none;
    color: #4299e5;
}

.text_errors {
    margin-left: .24rem;
    font-size: 1rem;
    color: #f54a4a
}

.text_message {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: white;
}

.text_remember_login {
    margin-top: 1rem;
    margin-left: .24rem;
    font-size: 1rem;
    color: white;
    user-select: none;
}

.input {
    margin: auto;
    margin-bottom: .4rem;
    display: block;
    width: 28rem;
    height: 2rem;
    font-weight: bold;
    font-size: 1rem;
    color: white;
    background-color: #292a2d;
    border: .14rem solid;
    border-color: #343438;
    outline: none;
    cursor: text;
}

.input::placeholder {
    color: #646464;
}

.password_input_box {
    display: flex;
    align-items: center;
    margin-bottom: .4rem;
    width: 28rem;
    height: 2rem;
    background-color: #292a2d;
    border: .14rem solid;
    border-color: #343438;
}

.password_input {
    height: 100%;
    width: 100%;
    font-weight: bold;
    font-size: 1rem;
    color: white;
    background-color: #292a2d;
    border: .02rem solid;
    border-color: #343438;
    outline: none;
}

.password_input::placeholder {
    color: #646464;
}

input::-ms-reveal {
    display: none;
}

.eye_password {
    margin-right: .4rem;
    padding-left: .4rem;
    width: 1.7rem;
    height: 1.7rem;
    cursor: pointer;
}

.select {
    margin: auto;
    display: block;
    width: 28rem;
    height: 2rem;
    font-weight: bold;
    font-size: 1rem;
    color: white;
    background-color: #292a2d;
    border: .14rem solid;
    border-color: #343438;
    outline: none;
    cursor: pointer;
}

.text_company_checkbox {
    user-select: none;
    font-size: 1rem;
    color: white;
    cursor: pointer;
}

#no_company_checkbox {
    margin-left: 2rem;
}

.company_checkbox {
    margin-bottom: -.1rem;
    border: .1rem solid;
    padding: 0.5em;
    appearance: none;
    color: white;
    scale: 1.1;
    cursor: pointer;
}

.company_checkbox:checked {
    display: inline-block;
    background: url(icons/check.png) no-repeat center center;
    background-size: .8rem;
}

#no_company_checkbox.company_checkbox:checked~.company {
    visibility: hidden;
    display: none;
}

.remember_me_checkbox {
    margin-top: 1rem;
    margin-bottom: -.1rem;
    border: .1rem solid;
    padding: 0.5em;
    appearance: none;
    color: white;
    scale: 1.1;
    cursor: pointer;
}

.remember_me_checkbox:checked {
    display: inline-block;
    background: url(icons/check.png) no-repeat center center;
    background-size: .8rem;
}

.remember_me_text {
    user-select: none;
    font-size: 1rem;
    color: white;
    cursor: pointer;
}

.text_forgot_password {
    display: block;
    margin-top: 1rem;
    margin-left: .24rem;
    font-size: 1rem;
    text-decoration: none;
    color: #4299e5;
    user-select: none;
}

.button_location {
    margin-top: 1rem;
    text-align: center;
}

.button {
    margin-top: 1.4rem;
    padding: .4rem 1rem;
    font-weight: bold;
    font-size: 1rem;
    background-color: transparent;
    color: white;
    border: .1rem solid;
    border-radius: .2rem;
    border-color: white;
    transition: all .4s ease-in-out;
    cursor: pointer;
}

.button:hover {
    scale: 1.1;
    color: #4299e5;
    border-color: #4299e5;
    transition: all .2s ease-in-out;
}


/*Mobile*/
@media only screen and (max-width: 600px) {

    .box {
        width: 20rem;
    }

    .input {
        width: 20rem;
    }

    .password_input_box {
        width: 20rem;
    }

    .select {
        width: 20rem;
    }

    .title {
        font-size: 1.1rem;
    }

    .text {
        font-size: .8rem;
    }

    .text_errors {
        font-size: .8rem;
    }

    .select {
        font-size: .8rem;
    }

    .text_company_checkbox {
        font-size: .8rem;
    }

    .terms_link {
        font-size: .8rem;
    }
}


/*Mobile*/
@media only screen and (max-width: 500px) {

    .box {
        width: 15rem;
    }

    .input {
        width: 15rem;
    }

    .password_input_box {
        width: 15rem;
    }

    .select {
        width: 15rem;
    }
}


/*Mobile*/
@media only screen and (max-width: 400px) {

    .box {
        width: 12rem;
    }

    .input {
        width: 12rem;
    }

    .password_input_box {
        width: 12rem;
    }

    .select {
        width: 12rem;
    }
}