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(../images/background_public.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: 10%;
    margin-top: 0px;
    padding-top: 1%;
    box-sizing: border-box;

    color: #6f421d;
    font-family: Algerian;
    font-size: 2.2rem; /* relative font size: 1rem = 16px */
    text-align: center;
    text-decoration: underline;

    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
}

/* page contentbox title image */
.page_contentbox_title_image
{
    float: left;
    width: 9%;
    height: 90%;
    margin-left: 1%;
    border-radius: 3px;
    box-shadow: 1px 1px 5px 3px black;
}

/* page contentbox desc container */
.page_contentbox_desc_container
{
    width: 100%;
    height: 42%;
    padding: 2%;
    box-sizing: border-box;
    
    color: #6f421d;
    font-size: 1.1rem; /* relative font size: 1rem = 16px */
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
    text-align: center;

    overflow-x: hidden;
    overflow-y: auto;
    /*scrollbar-width: none;*/
}
.page_contentbox_desc_container_first_page
{
    width: 100%;
    height: 58%;
    padding: 2%;
    box-sizing: border-box;
    
    color: #6f421d;
    font-size: 1.1rem; /* relative font size: 1rem = 16px */
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
    text-align: center;

    overflow-x: hidden;
    overflow-y: auto;
    /*scrollbar-width: none;*/
}
.page_contentbox_desc_container_gallery
{
    width: 100%;
    height: 82%;
    padding: 2%;
    box-sizing: border-box;
    
    color: #6f421d;
    font-size: 1.1rem; /* relative font size: 1rem = 16px */
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
    text-align: center;

    overflow-x: hidden;
    overflow-y: auto;
    /*scrollbar-width: none;*/
}

/* page contentbox desc image container */
.page_contentbox_desc_image_container
{
    width: 98%;
    height: 35%;
    margin-top: 3%;
    margin-left: 1%;
    margin-right: 1%;
    box-sizing: border-box;

    color: #6f421d;
    font-size: 0.85rem; /* relative font size: 1rem = 16px */
    text-align: center;
}
.page_contentbox_desc_image_container_first_page
{
    width: 40%;
    height: 25%;
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;

    color: #6f421d;
    font-size: 0.85rem; /* relative font size: 1rem = 16px */
    text-align: center;
}
.page_contentbox_desc_image_container_last_page
{
    width: 95%;
    height: 95%;
    margin-top: 2%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;

    color: #6f421d;
    font-size: 0.85rem; /* relative font size: 1rem = 16px */
    text-align: center;
}

/* page contentbox desc image */
.page_contentbox_desc_image
{
    width: 80%;
    height: 100%;
    border-radius: 6px;
    box-shadow: 1px 1px 3px 6px black;
}
.page_contentbox_desc_image_first_page
{
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

/* page contentbox desc image caption */
.page_contentbox_desc_image_caption
{
    margin-top: 1%;
}

/* page contentbox bottom arrow left container */
.page_contentbox_previous_page_button_left
{
    float: left;
    width: 30%;
    height: 7%;
    margin-top: 0%;
    margin-left: 1%;
    margin-right: 1%;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;

    background: none;
    border: none;

    transition: 0.5s; /* transition time of the transform on hover below */
}

/* page contentbox bottom arrow right container */
.page_contentbox_previous_page_button_right
{
    float: right;
    width: 30%;
    height: 7%;
    margin-top: 0%;
    margin-left: 1%;
    margin-right: 1%;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;

    background: none;
    border: none;

    transition: 0.5s; /* transition time of the transform on hover below */
}
.page_contentbox_previous_page_button_right:hover, .page_contentbox_previous_page_button_left:hover
{
    transform: scale(1.1,1.1);
}

/* page contentbox previous page button image */
.page_contentbox_previous_page_button_image
{
    width: 100%;
    height: 100%;
}

/* page contentbox previous page button left text */
.page_contentbox_previous_page_button_left_text
{
    z-index: 1;
    float: left;
    width: 30%;
    height: 7%;
    margin-top: 0.5%;
    margin-left: -30%;
    padding-top: 0.5%;
    box-sizing: border-box;

    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;

    color: #6f421d;
    font-size: 0.85rem; /* relative font size: 1rem = 16px */
    text-align: center;
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;

    pointer-events: none; /* since this element overlays the button, I turn off its interactability with the cursor to make the button work */
}

/* page contentbox previous page button right text */
.page_contentbox_previous_page_button_right_text
{
    z-index: 1;
    float: right;
    width: 30%;
    height: 7%;
    margin-top: 0.5%;
    margin-right: -30%;
    padding-top: 0.5%;
    box-sizing: border-box;

    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;

    color: #6f421d;
    font-size: 0.85rem; /* relative font size: 1rem = 16px */
    text-align: center;
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;

    pointer-events: none; /* since this element overlays the button, I turn off its interactability with the cursor to make the button work */
}

/* /////////////////////////////////////////////////////////////////////////////////////////////// */

/* CSS for specific elements */
/* language selection */
.locale_button
{
    width: 7%;
    height: 50%;
    margin-left: 1%;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;

    background: none;
    border: none;
}
.locale_button:hover .locale_button_popup_container 
{
    display: inline;
}
.locale_button_image
{
    width: 100%;
    height: 100%;
}
.locale_button_popup_container
{
    background: rgba(0,0,0,0.5);
    position: absolute;
    width: 2%;
    margin-left: 0.25%;
    padding: 0.5%;
    box-sizing: content-box;

    display: none;
}
.locale_button_popup_flag_container
{
    width: 90%;
    height: 33%;
    margin: auto;

    transition: 0.5s; /* transition time of the transform on hover below */
}
.locale_button_popup_flag_container:hover
{
    transform: scale(1.05,1.05);
}
.locale_button_popup_flag_image
{
    width: 100%;
    height: 100%;
}

/* Server Status info texts */
.server_status_text_offline 
{
    color: red;
}
.server_status_text_online 
{
    color: green;
}

.server_status_time_display_text 
{
    color: black;
}

/* video gallery thumbnails */
.video_gallery_thumbnail 
{
    width: 40%;
    height: 38%;
    margin: 1.5%;
    cursor: pointer;
    box-shadow: 1px 1px 5px 3px black;
    border-radius: 6px;
    transition: 0.5s; /* transition time of the transform on hover below */
}
.video_gallery_thumbnail:hover 
{
    transform: scale(1.1,1.1);
}

/* scrollbar adjustments of desc containers */
.page_contentbox_desc_container::-webkit-scrollbar,.page_contentbox_desc_container_first_page::-webkit-scrollbar,
.page_contentbox_desc_container_gallery::-webkit-scrollbar
{
    background: rgba(0,0,0,0.15);
    border-radius: 6px;
    width: 0.5vw;
}
.page_contentbox_desc_container::-webkit-scrollbar-thumb,.page_contentbox_desc_container_first_page::-webkit-scrollbar-thumb,
.page_contentbox_desc_container_gallery::-webkit-scrollbar-thumb
{
    background: rgba(111,66,29,0.7);
    border-radius: 6px;
}

/* /////////////////////////////////////////////////////////////////////////////////////////////// */

/* 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;
    } 
    
    .locale_button_popup_container
    {
        width: 40px;
    }
}

/* Screen Width > 2000px */
@media (min-width: 2000px) 
{
    .body
    {
        font-size: 1.5rem; /* relative font size: 1rem = 16px */
    }

    .page_contentbox_title_container
    {
        font-size: 2.7rem; /* relative font size: 1rem = 16px */
    }

    .page_contentbox_desc_container, .page_contentbox_desc_container_first_page, .page_contentbox_desc_container_gallery
    {
        font-size: 1.6rem; /* relative font size: 1rem = 16px */
    }

    .page_contentbox_desc_image_container, .page_contentbox_desc_image_container_first_page, .page_contentbox_desc_image_container_last_page,
    .page_contentbox_previous_page_button_left_text, .page_contentbox_previous_page_button_right_text
    {
        font-size: 1.35rem; /* relative font size: 1rem = 16px */
    }
}
