.auth_form_switch_btn {
    /*padding-inline: 5rem;*/
    padding-block: 1rem;
    background-color: var(--main-color);
    color: white;
    cursor: pointer;
    box-shadow: 0px 2px 4px rgba(100, 100, 100, 0.5);
    width: 50%;
    text-align: center;
}

.btn_disabled {
    background-color: var(--disabled-main-color);
    box-shadow: none;
}

#switch_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 70%;
    align-self: center;
}

#auth_container {
    width: 40%;
    display: flex;
    flex-direction: column;
}

#auth_container input {
    margin-top: 2rem;
    border: 1px solid #808080;
    width: 80%;
    height: 2.25rem;
}

.accept_rules_wrap {
    column-gap: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 2rem;
    width: 80%;
}

.accept_rules_wrap a{
    text-transform: lowercase;
}

#auth_container input[type=checkbox] {
    /*-moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;*/
    width: 1.25rem;
    /*height: 2.25rem;*/
    margin-top: 0rem;
}

#auth_container #email::after {
    content: 'hello';
    background: red;
    width: 100px;
    height: 100px;
}

#auth_container .invalid {
    border: 2px solid red;
}

#auth_container input[type=submit] {
    margin-top: 2rem;
    width: 30%;
    height: 2.25rem;
    background-color: var(--main-color);
    border: none;
    color: #fff;
    cursor: pointer;
}

#log_form,
#reg_form {
    display: flex;
    flex-direction: column;
    align-items: center;
}


@media only screen and (max-width: 1020px) {
    #auth_container {
        width: 80%;
    }
}


@media only screen and (max-width: 488px) {

    #switch_container{
        width: 80%;
    }

    #auth_container {
        width: 100%;
    }


    .auth_form_switch_btn {
        padding-block: 0.8rem;
    }
}

@media only screen and (max-width: 264px) {

    #switch_container div{
        font-size: 15px;
    }
}