.loader {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 6;
    background-color: white;
}
.loader section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.loader section p {
    margin-top: 20px;
    padding: 10px 50px;
    text-align: center;
    line-height: 1.5em;
}
.loader section img {
    width: 20%;
    height: auto;
    margin-top: 70%;
    animation: blink 2s infinite;
    border-bottom: 2px solid red;
    border-radius: 10px;
}
@keyframes blink {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.login_main_div {
    position: relative;
}
.login_cover {
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgb(233, 231, 231);
    display: flex;
    align-items: center;
    justify-content: center;
}
.login_cover img {
    width: 30%;
    height: auto;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.login_main h3 {
    margin: 60px 0 40px 0;
}
.button_div {
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}
.button_div button {
    position: relative;
    padding: 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: rgba(240, 240, 240, 0.534);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#signup_switch {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
#login_switch {
    color: white;
    border-radius: 20px;
    margin-left: -15px;
    background-color: green;
}
.account_form {
    text-align: center;
}
#login_form {
    width: 100%;
}
#login_form div {
    text-align: left;
    padding: 50px 0 30px 0;
}
#login_form img {
    width: 50%;
    border-radius: 50%;
}
.login_input_section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}
.login_input_div {
    /* position: relative; */
}
#show_password, #hide_password {
    /* position: absolute;
    top: 0;
    left: 0;
    display: none; */
}
.login_input_section input {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 20px;
    width: 80%;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 16px;
    z-index: 1;
}
.subject_div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}
#select_subject {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: white;
    padding: 20px;
    width: 290px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 16px;
    border: none;
    outline: none;
    text-align: center;
    cursor: pointer;
}
.subject_div ul {
    position: absolute;
    top: 0;
    margin-top: 61px;
    background-color: white;
    z-index: 2;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 290px;
    padding: 10px 20px;
    list-style: none;
    line-height: 2em;
    height: 300px;
    overflow-y: auto;
    cursor: pointer;
    display: none;
}
.subject_div ul li {
    padding: 10px;
}
.subject_div ul li:nth-child(odd) {
    background-color: lightgrey;
}
select option {
    width: 20px;
}
.login_input_section h4 {
    margin: 30px 0;
    font-style: italic;
}
.submit_button {
    padding: 20px 30px;
    margin-top: 20px;
    background-color: green;
    color: white;
    font-size: 16px;
    border-radius: 10px;
}
.login_form_design {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 10px;
    margin-top: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-image: linear-gradient(to bottom right, black, red);
}
#signup_form_design {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 10px;
    margin-top: -40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: none;
    background-image: linear-gradient(to bottom right, black, rgb(250, 204, 0));
}
#form_signup {
    display: none;
}
#confirmer {
    box-shadow: none;
    width: 30px;
    height: 30px;
    margin-left: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    outline: none;
    border-radius: 8px;
    border: none;
}
.confirm_div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
}
#signup_button {
    padding: 20px 30px;
    background-color: green;
    color: white;
    border-radius: 10px;
    font-size: 16px;
}

@media only screen and (min-width: 600px) {
    .account_form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 0 50px;
        text-align: center;
    }
    .desktop_mode {
        display: grid;
        grid-template-columns: 1fr;
    } 
    #form_signup {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .loader section img {
        margin-top: 20%;
    }
}