html 
{
    scroll-behavior: smooth;
}

/* ///////////////////////////////////////////////////////////////////////////////////////// */
/* Site Body */
body 
{
	/*default*/
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-variant: small-caps;
    font-size: 1rem; /* relative font size: 1rem = 16px */
    width: 100%;
    height: 100%;
    margin: 0;

    background-color: black;      
}

/* background container */
.background
{
    margin: auto;
    width: 100vw;
    height: 100vh;

    background-image: url(../../main/images/background_register.png);    
    background-repeat: no-repeat;
    background-size: 100% 100%;   

    box-sizing: border-box;
}

/* /////////////////////////////////////////////////////////////////////////////////////////////// */

/* left paper page container */
.page_left
{
    width: 49vw; /* 50% */
    height: 100vh;
    float: left;
    padding-left: 6%;
    padding-top: 1%;
    padding-bottom: 1%;

    box-sizing: border-box;
}

/* right paper page container */
.page_right
{
    width: 49vw; /* 50% */
    height: 100vh;
    float: right;
    padding-right: 6%;
    padding-top: 1%;
    padding-bottom: 1%;

    box-sizing: border-box;
}

/* /////////////////////////////////////////////////////////////////////////////////////////////// */

/* page contentbox container (contains all contents of a page) */
.page_contentbox_container
{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: inline;
}

/* page contentbox title container */
.page_contentbox_title_container
{
    width: 100%;
    height: 25%;
    margin-top: 0px;
    padding-top: 1%;
    box-sizing: border-box;

    color: #6f421d;
    font-family: Algerian;
    font-size: 3.7rem; /* relative font size: 1rem = 16px */
    text-align: center;
    text-decoration: underline;
    letter-spacing: 0.5rem;

    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
}

/* page contentbox image container */
.page_contentbox_image_container
{
    width: 98%;
    height: 30%;
    margin-top: 3%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 3%;
    box-sizing: border-box;

    color: #6f421d;
    font-size: 0.85rem; /* relative font size: 1rem = 16px */
    text-align: center;
}

/* page contentbox image */
.page_contentbox_image
{
    width: 45%;
    height: 100%;
}

/* page contentbox subtitle container */
.page_contentbox_subtitle_container
{
    width: 100%;
    height: 35%;
    margin-top: 3%;
    padding-top: 3%;
    box-sizing: border-box;

    color: #6f421d;
    font-family: Algerian;
    font-size: 3.3rem; /* relative font size: 1rem = 16px */
    text-align: center;
    letter-spacing: 0.25rem;
    line-height: 3.6rem;

    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
}

/* vertical separator on left and right page */
.image_subtitle_separator
{
    width: 80%;
    margin: auto;
    border-color: #6f421d;
}

/* registration form */

/* form container */
.form_container
{
    margin: auto;
    margin-top: 1%;
    padding-top: 6%;
    padding-left: 4%;
    padding-right: 4%;
    width: 80%;
    height: 90%;

    background-image: url(../../main/images/background_register_form.png);    
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/* form title */
.form_title 
{
    margin-bottom: 5%;
    color: #6f421d;
    font-family: Algerian;
    font-size: 3rem; /* relative font size: 1rem = 16px */
    text-align: center;
    text-decoration: underline;
    letter-spacing: 0.25rem;
}

/* form */
form
{
    margin: auto;
    width: 95%;
    height: 50%;
}

/* form input */
.form_input
{
    width: 100%;
    height: 12%; /* 40px */
    margin-bottom: 1%;

    color: black;
    border: none;
    border-bottom: 2px solid #6f421d;
    background-color: transparent;
    outline: none;
    font-size: 1.1rem; /* relative font size: 1rem = 16px */
    text-align: center;
    font-weight: bold;
}
.form_input_inv
{
    display: none;
}
::placeholder 
{
    color: rgba(73, 44, 19, 0.75);
}

/* form_submit_button */
.form_submit_button 
{
    height: 12%;
    width: 100%;
    margin-top: 3%;
    border: none;
    color: #ffffff;
    outline: none;
    background-color: #6f421d;
    cursor: pointer;
    border-radius: 20px;

    font-size: 1.1rem;
}
.form_submit_button:hover 
{
    background-color: #391309;
    color: #ffffff;
}

/* form feedback container */
.form_feedback_container
{
    float: left;
    width: 50%;
    height: 20%;
    margin-top: 1%;
    margin-left: 4%;
    padding-top: 1%;
    box-sizing: border-box;

    color: #8b0909;
    text-decoration: underline;
    font-weight: bold;

    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
}

/* form feedback image container */
.form_feedback_image_container
{
    float: right;
    width: 20%;
    height: 16%;
    margin-top: 3%;
    box-sizing: border-box;
}

/* form input allowed character tooltip */
.form_input_allowed_character_tooltip
{
    z-index: 2;
    position: absolute;
    width: auto;
    height: auto;
    margin: auto;
    padding-left: 1%;

    border-radius: 6px;
    background: rgba(0,0,0,0.75);
    display: none;
}

/* /////////////////////////////////////////////////////////////////////////////////////////////// */

/* special adjustments for certain elements */
/* password supports autofill, which leaves a gray background of the field which doesnt fit the design */
input:-webkit-autofill
{
    transition: background-color 5000s ease-in-out 0s;
}

/* Screen Width < 1000px*/
@media only screen and (max-width: 1000px), (max-height: 500px)
{
    .body
    {
        width: 1200px;
        height: 700px;
    }

    .background
    {
        width: 1200px;
        height: 700px;
        background-size: 1200px 700px;   
    }

    .page_left 
    {
        margin-top: 0px;
        margin-left: 0px;
        height: 700px;
        width: 590px;
    }   
   
    .page_right 
    {
        margin-top: 0px;
        margin-right: 0px;
        height: 700px;
        width: 590px;
    } 
}

/* Screen Width > 2000px */
@media (min-width: 2000px) 
{
    .body
    {
        font-size: 1.5rem; /* relative font size: 1rem = 16px */
    }

    .page_contentbox_title_container
    {
        font-size: 4.2rem; /* relative font size: 1rem = 16px */
    }

    .page_contentbox_image_container
    {
        font-size: 1.35rem; /* relative font size: 1rem = 16px */
    }

    .page_contentbox_subtitle_container
    {
        font-size: 3.8rem; /* relative font size: 1rem = 16px */
        line-height: 4.1rem;
    }
    
    .form_title 
    {
        font-size: 3.5rem; /* relative font size: 1rem = 16px */
    }

    .form_input, .form_submit_button 
    {
        font-size: 1.6rem; /* relative font size: 1rem = 16px */
    }
    
    .form_input_allowed_character_tooltip
    {
        font-size: 1.5rem; /* relative font size: 1rem = 16px */
    }
}
