:root {
    --dark-text-shadow: 0 0 2px rgb(51, 51, 51);
    --box-shadow: 5px 5px 2px rgba(0, 0, 0, 0.4);
    --light-grey-color: rgb(225, 225, 225);
    --dark-grey-color: rgb(45, 45, 45);
}

*{
    box-sizing: border-box;
    margin: 0;
	padding: 0;
	font: inherit;
    color: inherit;
    /* list-style: none; */
    text-decoration: none;
}

.page-container{
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, rgb(0, 0, 25), rgb(0, 0, 50));
    font-family: system-ui, Arial, Helvetica, sans-serif;
}

#page-header{
    height: 10%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header__container{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#header__title-container{
    height: 100%;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 2%;
}

#header__title{
    font-size: 1.5rem;
    color: var(--light-grey-color);
}

#page_main{
    height: 80%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main__login-register-section{
    height: 80%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5%;
}

#main__register-section{
    position: relative;
}

.main__login-register-section__container{
    height: 100%;
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.main__login-register-section__title-container{
    height: 15%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: var(--light-grey-color);
    border-bottom: 2px solid var(--dark-grey-color);
}

.main__login-register-section__title{
    height: 100%;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1rem;
    font-size: 1.5rem;
    color: var(--light-grey-color);
}

.main__login-register-section__text{
    height: 15%;
    width: 100%;
    display: flex;
    align-items: center;
    padding-left: 1rem;
    font-size: 1rem;
    color: var(--light-grey-color);
}

#main__register-section__form{
    height: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    display: none;
    /* border: 2px solid red; */
}

.main__register-section__form__input-container{
    height: 18%;
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 0.6rem 1rem;
    border-radius: 5px;
}

.main__register-section__form__input-container:hover{
    border: 2px solid blue;
}

.main__register-section__form__input{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 1rem;
    font-size: 1rem;
    border-radius: 5px;
    color: rgb(20, 20, 20);
    border: none;
}

#main__login-section__form{
    height: 50%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
}

.main__login-section__form__input-container{
    height: 20%;
    width: 60%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 1rem;
    border-radius: 5px;
}

.main__login-section__form__input-container:hover{
    border: 2px solid blue;
}

.main__login-section__form__input{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 1rem;
    font-size: 1rem;
    border-radius: 5px;
    color: rgb(20, 20, 20);
    border: none;
}

.main__login-section__form__submit-button-container{
    height: 30%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#main__login-section__form__forgotten-password-text{
    height: 15%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 1rem;
    font-size: 1rem;
    color: rgb(124, 209, 255);
}

#main__login-section__form__forgotten-password-text:hover{
    font-weight: 600;
}

.main__login-register-section__button{
    height: 2.5rem;
    width: 10rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-grey-color);
    background-color: rgba(0, 0, 255, 0.5);
    border-radius: 50px;
    cursor: pointer;
    border: none;
}

.main__login-register-section__button:hover{
    background-color: blue;
    border: 2px solid var(--dark-grey-color);
}

#main__login-register-section__modal{
    height: auto;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    /* background-color: rgb(255, 180, 180); */
    /* color: rgb(180, 0, 0); */
    font-weight: 600;
    text-shadow: var(--light-text-shadow);
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem; /* 27.5% */
    /* border: 2px solid rgba(255, 0, 0); */
    border-radius: 8px;
    z-index: 1;
    display: none;
    animation: main__login-register-section__modal-animation 1000ms ease-out;
}

#main_section-separator{
    height: 65%;
    width: 2px;
    background-color: var(--dark-grey-color);
}

#page-footer{
    height: 10%;
    width: 100%;
}

@keyframes main__login-register-section__modal-animation {
    from {
        transform: translateX(-300px);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes main__register-section__form-animation {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* smartphone */
@media screen and (max-width: 767px){
    #page_main{
        flex-direction: column;
    }

    .main__login-register-section{
        height: 40%;
        width: 100%;
    }

    .main__login-register-section__container{
        height: 100%;
        width: 80%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

.main__login-section__form__input-container{
    height: 20%;
    width: 70%;
}

.main__register-section__form__input-container{
    height: 20%;
    width: 70%;
    margin: 0 0 0.25rem 1rem;
}

#main_section-separator{
        display: none
    }
}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1023px){
    #page_main{
        flex-direction: column;
    }

    .main__login-register-section{
        height: 40%;
        width: 100%;
    }

    .main__login-register-section__container{
        height: 100%;
        width: 80%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

.main__login-section__form__input-container{
    height: 20%;
    width: 70%;
}

.main__register-section__form__input-container{
    height: 20%;
    width: 70%;
    margin: 0 0 0.25rem 1rem;
}

#main_section-separator{
        display: none
    }
}