:root {
    /* Darkmode */
    --website-background-color: #112626;
    /* body */
    --background--toggle-menue: #1f4444;

    --navigation-icon-color: #9DC4FE;
    --navigation-font-color: #e1e1e1;
    --navigation-font-color-hover: #FFFFFF;
    --navigation-backround-color-hover: #424242;
    --navigation-text-shadow-color-hover: rgba(255, 247, 0, 0.7);

    --header-top-distance: 0;
    --header-height: 80px;
    --content-margin-top: 20px;
    --header-background-color: #122626;
    --header-title-logo-font-color: #9DC4FE;
    --header-subtitle-logo-font-color: #9DFFBA;
    --header-logo-backgroud-shadow-color-hover: #777777;
    --header-interact-button-color: #E1E1E1;
    --header-interact-button-color-hover: #9DC4FE;

    --search-box-background-color: #535353;
    --search-box-input-font-color: #c6c6c6;
    --search-box-input-background-color: #112626;
    --search-box-input-icon-color: #E1E1E1;
    --search-box-input-icon-color-hover: #9DC4FE;

    --main-content-left-font-color: #c6c6c6;
    --main-content-left-background-color: #535353;
    --main-content-right-font-color: var(--main-content-left-font-color);
    --main-content-right-background-color: var(--main-content-left-background-color);

    --news-container-box-shadow: rgba(255, 255, 255, 0.3);

    --silder-menue-border-color: rgba(17, 38, 38, 0.5);

    --footer-background-color: #112626;
    --footer-font-color: #E1E1E1;


    /* Right layer button box */
    --right-layer-width: 80px;
    --right-layer-toggle-z-index: 2;
    --right-layer-toggle-button-width: 22px;
    --right-layer-to-top-button: 40px;
    /* --right-layer-toggle-button-color: #1c3f3f; */
    --right-layer-toggle-button-color: rgba(83, 83, 83, 0.8);
    /* --right-layer-toggle-button-color-hover: #112626; */
    --right-layer-toggle-button-color-hover: rgba(28, 63, 63, 0.8);
    --right-layer-background-color: rgba(17, 38, 38, 0.8);



    --right-layer-button-border-color: rgba(14, 14, 14, 0.3);
    --right-layer-button-background-color: rgba(255, 255, 255, 0.6);
    --right-layer-button-text-color: #212121;

    --right-layer-button-border-color-hover: rgba(14, 14, 14, 0.7);
    --right-layer-button-background-color-hover: rgba(255, 255, 255, 0.9);
    --right-layer-button-text-color-hover: #353535;

    /*Privacy policy*/
    --privacy-policy-url-color: #7272eb;
    --privacy-policy-url-color-hover: #8b8b8b;

    --default-a-tag-color: #8aa3de;



    /* Darkmode */
    --article-title-font-color: #e1e1e1;
    --article-lead-text-font-color: #e1e1e1;
    --article-content-text-font-color: #f1f1f1;
    --article-meta-font-color: #f1f1f1;
    --article-background-color: #212121;
    --article-image-container-box-shadow: #555858;
    --article-box-box-shadow-color: rgba(200, 200, 200, 0.5);


    /* --code-box-background: #f2efef; */
    --code-language-size: 1.4rem;
    --code-box-programming-language-color: #212121;
    --code-box-programming-language-background-color: #c5c4c4;
    --code-box-background: #c5c4c4;
    --code-box-max-height: 5000px;
    --code-box-border-color: #000000;
    --code-box-box-shadow-color: rgba(255, 255, 255, 0.5);

    --article-content-a-tag: #8aa3de;

    --grid-box-height: 100px;


    --search-response-font-color: #212121;
    --search-response-background-color: #c5c4c4;


    --comment-background-color: #2b2a2a;
    --comment-border-color: rgba(235, 235, 235, 0.1);
    --comment-thread-background-color: #333333;
    --comment-thread-line-color: #4e4e4e;
    /* --comment-thread-border-color: rgba(217, 217, 217, 0.1); */
    --comment-thread-border-color: rgba(217, 217, 217, 0.3);
}

.light_mode {
    --website-background-color: #f7f7f7;

    --search-box-background-color: #E0E0E0;
    --search-box-input-font-color: #555555;
    --search-box-input-background-color: #FFFFFF;
    --search-box-input-icon-color: #333333;
    --search-box-input-icon-color-hover: #3D6BB3;

    --main-content-left-font-color: #555555;
    --main-content-left-background-color: #E0E0E0;
    --main-content-right-font-color: var(--main-content-left-font-color);
    --main-content-right-background-color: var(--main-content-left-background-color);

    --news-container-box-shadow: rgba(0, 0, 0, 0.5);

    --silder-menue-border-color: rgba(225, 225, 225, 0.5);



    /* Right layer button box */
    --right-layer-button-border-color: rgba(134, 134, 134, 0.3);
    --right-layer-button-background-color: rgba(36, 36, 36, 0.8);
    --right-layer-button-text-color: #e1e1e1;

    --right-layer-button-border-color-hover: rgba(6, 6, 6, 0.7);
    --right-layer-button-background-color-hover: rgba(14, 14, 14, 0.9);
    --right-layer-button-text-color-hover: #f3f1f1;


    /*Privacy policy*/
    --privacy-policy-url-color: #7272eb;
    --privacy-policy-url-color-hover: #606060;


    --default-a-tag-color: #232df0;


    --article-title-font-color: #212121;
    --article-lead-text-font-color: #212121;
    --article-content-text-font-color: #212121;
    --article-meta-font-color: #212121;
    --article-background-color: #e1e1e1;
    --article-image-container-box-shadow: #112626;
    --article-box-box-shadow-color: rgba(31, 31, 31, 0.5);

    --code-box-box-shadow-color: rgba(31, 31, 31, 0.5);

    --article-content-a-tag: #232df0;


    --comment-background-color: #ebebeb;
    --comment-border-color: rgba(43, 42, 42, 0.1);
    --comment-thread-background-color: #d9d9d9;
    --comment-thread-line-color: #adadad;
    --comment-thread-border-color: rgba(51, 51, 51, 0.1);

}

/* Beiruti - https://fonts.google.com/specimen/Beiruti */
@font-face {
    font-family: "Beiruti";
    src: url("/fonts/woff2/Beiruti-ExtraLight.woff2") format("truetype");
    /* src: url("https://127.0.0.1/marsio/MarsioHD/app/assets/fonts/woff2/Beiruti-ExtraLight.woff2") format("truetype"); */
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Beiruti";
    src: url("../fonts/woff2/Beiruti-Light.woff2") format("truetype");
    /* src: url("https://127.0.0.1/marsio/MarsioHD/app/assets/fonts/woff2/Beiruti-Light.woff2") format("truetype"); */
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Beiruti";
    src: url("../fonts/woff2/beiruti/Beiruti-Regular.woff2") format("truetype");
    /* src: url("https://127.0.0.1/marsio/MarsioHD/app/assets/fonts/woff2/beiruti/Beiruti-Regular.woff2") format("truetype"); */
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Beiruti";
    src: url("../fonts/woff2/beiruti/Beiruti-Medium.woff2") format("truetype");
    /* src: url("https://127.0.0.1/marsio/MarsioHD/app/assets/fonts/woff2/beiruti/Beiruti-Medium.woff2") format("truetype"); */
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Beiruti";
    src: url("../fonts/woff2/beiruti/Beiruti-SemiBold.woff2") format("truetype");
    /* src: url("https://127.0.0.1/marsio/MarsioHD/app/assets/fonts/woff2/beiruti/Beiruti-SemiBold.woff2") format("truetype"); */
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Beiruti";
    src: url("../fonts/woff2/beiruti/Beiruti-Bold.woff2") format("truetype");
    /* src: url("https://127.0.0.1/marsio/MarsioHD/app/assets/fonts/woff2/beiruti/Beiruti-Bold.woff2") format("truetype"); */
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Beiruti";
    src: url("../fonts/woff2/beiruti/Beiruti-ExtraBold.woff2") format("truetype");
    /* src: url("https://127.0.0.1/marsio/MarsioHD/app/assets/fonts/woff2/beiruti/Beiruti-ExtraBold.woff2") format("truetype"); */
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "Beiruti";
    src: url("../fonts/woff2/beiruti/Beiruti-Black.woff2") format("truetype");
    /* src: url("https://127.0.0.1/marsio/MarsioHD/app/assets/fonts/woff2/beiruti/Beiruti-Black.woff2") format("truetype"); */
    font-weight: 900;
    font-style: normal;
}

/* Nanum Gothic - https://fonts.google.com/specimen/Nanum+Gothic */
@font-face {
    font-family: "NanumGothic";
    src: url("../fonts/woff2/nanum_gothic/NanumGothic-Regular.woff2") format("truetype");
    /* src: url("https://127.0.0.1/marsio/MarsioHD/app/assets/fonts/woff2/nanum_gothic/NanumGothic-Regular.woff2") format("truetype"); */
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "NanumGothic";
    src: url("../fonts/woff2/nanum_gothic/NanumGothic-Bold.woff2") format("truetype");
    /* src: url("https://127.0.0.1/marsio/MarsioHD/app/assets/fonts/woff2/nanum_gothic/NanumGothic-Bold.woff2") format("truetype"); */
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "NanumGothic";
    src: url("../fonts/woff2/nanum_gothic/NanumGothic-ExtraBold.woff2") format("truetype");
    /* src: url("https://127.0.0.1/marsio/MarsioHD/app/assets/fonts/woff2/nanum_gothic/NanumGothic-ExtraBold.woff2") format("truetype"); */
    font-weight: 800;
    font-style: normal;
}


/* Roboto - https://fonts.google.com/specimen/Roboto */
@font-face {
    font-family: 'Roboto';
    src: url("../fonts/woff2/Roboto/Roboto-Regular.woff2") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/woff2/Roboto/Roboto-Italic.woff2") format("truetype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/woff2/Roboto/Roboto-Bold.woff2") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/woff2/Roboto/Roboto-BoldItalic.woff2") format("truetype");
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/woff2/Roboto/Roboto-Thin.woff2") format("truetype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/woff2/Roboto/Roboto-ThinItalic.woff2") format("truetype");
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/woff2/Roboto/Roboto-Light.woff2") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/woff2/Roboto/Roboto-LightItalic.woff2") format("truetype");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/woff2/Roboto/Roboto-Medium.woff2") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/woff2/Roboto/Roboto-MediumItalic.woff2") format("truetype");
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/woff2/Roboto/Roboto-Black.woff2") format("truetype");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/woff2/Roboto/Roboto-BlackItalic.woff2") format("truetype");
    font-weight: 900;
    font-style: italic;
}


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    color: var(--default-a-tag-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

html {
    height: 100%;
    font-size: 62.5%;
    margin: 0;
    padding: 0;
    overscroll-behavior: none;
}

body {
    /* background-color: var(--website-background-color); */
    /* font-family: Beiruti, NanumGothic, Verdana, Geneva, Tahoma, sans-serif; */
    font-family: Roboto, Verdana, Geneva, Tahoma, sans-serif;
    height: 100%;
    /* min-height: 100%; */
    width: 100%;
    min-width: 280px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    font-size: 1.6rem;
    background-color: var(--website-background-color);
    /* background: linear-gradient(to bottom, #f7f7f7 20%, var(--footer-background-color));
    background-attachment: fixed; */
}

input,
textarea,
select {
    outline: none;
}

.hidden {
    display: none !important;
}

.error_msg {
    color: red;
    font-weight: bold;
}

.success_msg {
    color: green;
    font-weight: bold;
}


.h-captcha {
    transform: scale(1);
    transform-origin: top left;
    transition: transform 0.5s ease-in-out;
}

.javascript_warning {
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    padding: 0 10px;
    width: 100%;
    background-color: #fdf7eb;
    color: #721c24;
    font-size: 2rem;
    z-index: 9999999 !important;
}

header {
    position: fixed;
    top: var(--header-top-distance);
    width: 100%;
    background-color: var(--header-background-color);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    z-index: 2;
    /* min-width: 320px; */
}

.header_box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px 0 20px;
    height: var(--header-height);

    transition: width 0.2s ease-in-out;
}

.header_navigation_logo_box {
    text-decoration: none;
}

.header_navigation_logo_box:hover {
    text-decoration: none;
}

.logo_box {
    display: flex;
    flex-direction: column;
}

.logo_box:hover {
    text-shadow: 0 0 8px var(--header-logo-backgroud-shadow-color-hover);
}

.logo_title {
    color: var(--header-title-logo-font-color);
    font-size: 2.4rem;
    transition: font-size 0.3s ease-in-out;
}

.sub_title {
    color: var(--header-subtitle-logo-font-color);
    letter-spacing: 1.2px;
    font-size: 1.9rem;
    margin-left: 15px;
    white-space: nowrap;
    transition: font-size 0.3s ease-in-out;
}

/* SECTION Header navigation */
.header_nav {
    display: flex;
    align-items: center;
    justify-content: end;
    height: 100%;
    width: 100%;
}

.header_nav ul {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    padding: 2px 0;
}

.header_nav li {
    height: 100%;
    min-width: 120px;
    text-align: center;
}

.header_nav li a .nav_icon_style {
    margin-right: 5px;
    font-size: 1.4rem;
    color: var(--navigation-icon-color);
}

.header_nav li a {
    height: 100%;
    color: var(--navigation-font-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.header_nav li a:hover {
    color: var(--navigation-font-color-hover);
    background-color: var(--navigation-backround-color-hover);
}

.header_nav li a:hover span {
    text-shadow: 0px 0px 2px var(--navigation-text-shadow-color-hover);
    /* rgba(0, 0, 0, 0.4) */
}

/* !SECTION Header navigation */

/* SECTION Topic navigation */
.topic_nav {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
    width: 100%;
}

.topic_ul {
    list-style: none;
}

/* !SECTION Topic navigation */

/* SECTION Toggle buttons */
/* NOTE Burger toggle */
#toggle_button_burger_menue_checkbox {
    display: none;
}

#toggle_button_burger_menue_checkbox:checked~nav ul {
    display: flex;
}

#toggle_button_burger_menue_checkbox:checked~.nav_close_layer {
    display: block;
}

/* NOTE Search toggle */
#toggle_button_searchbox_checkbox {
    display: none;
}

#toggle_button_searchbox_checkbox:checked~.search_input_box {
    display: block;
}

#toggle_button_searchbox_checkbox:checked~.search_close_layer {
    display: block;
}

/* NOTE Topic nav slider */
#topic_nav_slider {
    display: none;
}

#topic_nav_slider:checked~.main_content .main_left {
    left: 0px;
    transition: left 0.3s ease-in-out;
}

#topic_nav_slider:checked~.slider_close_layer {
    display: block;
}

/* !SECTION Toggle buttons */

/* SECTION Close layer */
.close_layer {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    z-index: 3;
    /* background: #9DC4FE; */
}

.nav_close_layer {
    display: none;
}

.search_close_layer {
    display: none;
}

.slider_close_layer {
    position: fixed;
    display: none;
}

/* !SECTION Close layer */


.interact_nav_button_box {
    color: var(--header-interact-button-color);
    font-size: 2.2rem;
    padding: 10px;
    cursor: pointer;
}

.interact_nav_button_box:hover {
    color: var(--header-interact-button-color-hover);
}

.interact_nav_button_zindex_3 {
    z-index: 3;
}

.rotate_lite_mode {
    transform: scaleX(1);
    transition: all 0.5s ease-in-out;
}

.rotate_dark_mode {
    transform: scaleX(-1);
    transition: all 0.5s ease-in-out;
}

.burger_menue_button {
    visibility: collapse;
}

/* SECTION Search */
.search_input_box {
    display: none;
    position: absolute;
    top: calc(var(--header-height) - 5px);
    right: 10px;
    padding: 5px;
    background-color: var(--search-box-background-color);
    z-index: 4;
    border-radius: 3px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    width: clamp(240px, 40%, 60%)
}

.search_input_box input {
    color: var(--search-box-input-font-color);
    background-color: var(--search-box-input-background-color);
    outline: none;
    font-size: 1.4rem;
    padding: 6px 55px 6px 5px;
    border: 1px solid #c1c1c1;
    border-radius: 3px;
    width: 100%;
}

.search_input_icon_box {
    position: relative;
    /* color: #112626; */
}

.search_input_icon {
    position: absolute;
    top: 50%;
    right: 5px;
    font-size: 2.0rem;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--search-box-input-icon-color);
}

.search_input_icon:hover {
    color: var(--search-box-input-icon-color-hover);
}

.search_input_icon_magni {
    right: 32px;
}

/* !SECTION Search */


/* SECTION Main content */
main {
    flex: 1;
    width: 95vw;
    margin: 0 auto 20px auto;
    margin-top: calc(var(--header-height) + var(--content-margin-top));
}

.main_content {
    border-radius: 0px;
    width: 100%;
    /* box-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 3px rgba(101, 99, 99, 0.5); */
    display: flex;
    flex-direction: row;
    /* flex-direction: column; */
    justify-content: space-between;
}

.main_title_box {
    padding: 10px;
    /* margin-bottom: 20px; */
    color: var(--main-content-left-font-color);
    background-color: var(--main-content-left-background-color);
    box-shadow: 0 0 3px rgba(200, 200, 200, 0.5);
    margin-bottom: 20px;

}

.main_title_box h1 {
    font-size: 1.6rem;
}

.main_left {
    width: 240px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main_left_content_box {
    padding: 10px;
    /* margin-bottom: 20px; */
    color: var(--main-content-left-font-color);
    background-color: var(--main-content-left-background-color);
    box-shadow: 0 0 3px rgba(200, 200, 200, 0.5);
}

.topic_nav_slider_icon {
    display: none;
}

.main_center {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
}

.main_center_content_box {
    padding: 10px;
    color: var(--main-content-right-font-color);
    background-color: var(--main-content-right-background-color);
    box-shadow: 0 0 3px rgba(200, 200, 200, 0.5);
    /* box-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 3px rgba(101, 99, 99, 0.5); */
}

.main_right {
    width: 240px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main_right_content_box {
    padding: 10px;
    color: var(--main-content-right-font-color);
    background-color: var(--main-content-right-background-color);
    box-shadow: 0 0 3px rgba(200, 200, 200, 0.5);
    /* box-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 0 0 3px rgba(101, 99, 99, 0.5); */
}
/* !SECTION Main content */

/*SECTION - FOOTER */
footer {
    background-color: var(--footer-background-color);
    color: var(--footer-font-color);
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0px -4px 6px rgba(0, 0, 0, 0.2);
}

.footer_copyright {
    font-size: 1.4rem;
}

.footer_navigation {
    padding: 15px 0px 5px 0px;
    font-size: 1.2rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.footer_nav_icon_style {
    margin-right: 3px;
    font-size: 1.4rem;
    /* color: var(--navigation-icon-color); */
}

.pipe {
    visibility: visible;
    margin: 0 5px;
}

.footer_navigation a {
    display: block;
    text-decoration: none;
    /* margin: 0 15px; */
    color: var(--navigation-font-color);
    /* text-decoration: underline; */
    /* margin-right: -0.5rem; */

    /* margin-right:-0.5; */
    letter-spacing: 2px;
    /* text-indent: -2px; */
}

.footer_navigation a:hover {
    color: var(--navigation-font-color-hover);
    /* text-decoration: dashed; */
    /* border-bottom: 1px dotted #ffffff; */
    text-decoration: underline;
}

/*!SECTION - FOOTER*/


/*SECTION URLS Start*/
.privacy_policy_url {
    color: var(--privacy-policy-url-color);
}

.privacy_policy_url:hover {
    color: var(--privacy-policy-url-color-hover);
    text-decoration: underline;
}

/*!SECTION URLS End*/






/*SECTION Right layer buttons*/
/* .right_layer_box {
    position: relative;
    z-index: 700;
} */

.right_layer_outer {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: var(--right-layer-width);
    z-index: var(--right-layer-toggle-z-index);
    overflow: hidden;
    /* transform: translateX(100%); */
    margin-right: calc(-1 * var(--right-layer-width));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-color: var(--right-layer-background-color);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    /* transition: transform 0.3s ease-in-out; */
    transition: margin 0.3s ease;
}

.right_layer_outer.visible {
    /* transform: translateX(0); */
    margin-right: 0;
    transition: margin 0.3s ease;
    /* transition: transform 0.3s ease-in-out; */
}

.right_layer_outer .right_layer_top_box {
    padding-top: 15px;
}

.right_layer_outer .right_layer_bottom_box {
    padding-bottom: 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 1;
}

/* .right_layer_outer .right_layer_button_box {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    border: solid 1px #000000;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
} */

.toggle_visibility_button,
.right_layer_top_button {
    position: fixed;
    bottom: 70px;
    right: 0;
    border: none;
    color: white;
    font-size: 2rem;
    width: var(--right-layer-toggle-button-width);
    height: clamp(80px, 30vw, 150px);
    border-radius: 5px 0 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: calc(var(--right-layer-toggle-z-index) - 1);
    background-color: var(--right-layer-toggle-button-color);
    /* box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); */
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.2), 0 -4px 6px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color, right 0.3s ease;
}

.right_layer_mouse_over {
    position: fixed;
    bottom: 70px;
    right: 0;
    background-color: transparent;
    border: none;
    width: var(--right-layer-toggle-button-width);
    height: 100%;
    z-index: calc(var(--right-layer-toggle-z-index) - 1);
}

.right_layer_top_button {
    bottom: 10px;
    width: var(--right-layer-to-top-button);
    height: var(--right-layer-to-top-button);
}

.toggle_visibility_button.toggle {
    right: calc(var(--right-layer-width) - 1px);
    transition: right 0.3s ease;
}

.toggle_visibility_button:hover,
.right_layer_top_button:hover {
    background-color: var(--right-layer-toggle-button-color-hover);
    text-decoration: none;
}

.toggle_visibility_button i {
    font-size: 2rem;
    line-height: 1;
}






















.right_layer_outer .right_layer_button_box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    /* Sanft abgerundete Ecken */
    border: solid 1px rgba(100, 100, 100, 0.6);
    /* Dezente Umrandung */
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(100, 100, 100, 0.9);
    /* Etwas hellerer Hintergrund */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    /* Leichter Schattierungseffekt */
    transition: all 0.2s ease-in-out;
    /* Sanfte Übergänge */
    cursor: pointer;
}

/* Hover-Effekt */
.right_layer_outer .right_layer_button_box:hover {
    background: rgba(140, 140, 140, 1);
    /* Hellere Farbe beim Hover */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    /* Leicht intensiverer Schatten */
    transform: translateY(-2px);
    /* Sanftes Anheben */
}

/* Animation für Icons */
.right_layer_outer .right_layer_button_box i {
    font-size: 22px;
    color: #ffffff;
    /* Weiß für Kontrast */
    transition: transform 0.2s ease-in-out;
}

/* Icon-Effekt bei Hover */
.right_layer_outer .right_layer_button_box:hover i {
    transform: scale(1.1);
    /* Leicht vergrößern */
}

/*!SECTION Right layer buttons end*/










/* SECTION - Article end */
.article_box {
    border-radius: 5px;
    background-color: var(--article-background-color);
    /* background: linear-gradient(to bottom, #1f4747 70%, #112626 100%); */
    box-shadow: 0 0 3px var(--article-box-box-shadow-color);
    margin: 0 auto;
    overflow: hidden;
}

.article_inner {
    padding: 20px;
}

.article_title {
    font-size: 2.4rem;
    margin: 0 0 10px;
    color: var(--article-title-font-color);
}

.article_meta {
    font-size: 1rem;
    color: var(--article-meta-font-color);
}

.article_lead_text {
    text-align: left;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--article-lead-text-font-color);
}

.article_content {
    font-size: 1.4rem;
    line-height: 1.6;
    padding: 10px;
    color: var(--article-content-text-font-color);
}

.article_content a {
    color: var(--article-content-a-tag);
}

.article_content a:hover {
    text-decoration: underline;
}



.article_header {
    margin-bottom: 20px;
}

.article_category {
    color: var(--article-title-font-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news_image img {
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: cover;
    object-position: 50% 20%;
    /* object-fit: scale-down; */
    display: block;
    /* background-color: #cccacb;
    opacity: 50%; */

    /* object-position: 10% */
}

.article_lead {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #555;
}

.article_footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article_views {
    font-size: 0.8rem;
    color: #999;
}

.article_options {
    font-size: 0.8rem;
    color: #007BFF;
    cursor: pointer;
}

/* NOTE urls in the article (bbcode) */
.article_urls {
    text-decoration: none;
    color: #3D6BB3;
    border-bottom: dotted 1px #3D6BB3;
}

.article_urls:hover {
    text-decoration: none;
    color: #a5bbde;
    border-bottom: dotted 1px #a5bbde;
}


/* SECTION - Code view */
.code_outer {
    margin: 10px auto;
    position: relative;
    padding-top: calc(var(--code-language-size) + 8px + 1px);
}

.code_language {
    font-size: var(--code-language-size);
    line-height: var(--code-language-size);
    position: absolute;
    top: 0;
    left: 5px;
    padding: 4px 10px;
    font-weight: 600;
    background-color: var(--code-box-programming-language-background-color);
    color: var(--code-box-programming-language-color);
    display: inline-block;
    border: 1px solid var(--code-box-border-color);
    border-bottom: 0;
    border-radius: 2px 2px 0 0;
    z-index: 1;
    /* box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); */
}

.code_box {
    position: relative;
    border: 1px solid var(--code-box-border-color);
    background-color: var(--code-box-background);
    border-radius: 2px;
    box-shadow: 0 0 3px var(--code-box-box-shadow-color);
}

.code_scroll_box {
    overflow: auto;
    max-height: var(--code-box-max-height);
}

.code_copy_box {
    position: absolute;
    top: 5px;
    right: 20px;
}

.copy_code_button {
    cursor: pointer;
    font-size: 1.9rem;
    color: #347272;
}

.copy_code_button:hover {
    color: #112626;
}

.copy_code_button_disable {
    cursor: unset;
    font-size: 1.9rem;
    color: #347272;
}

.code_inner {
    border: 0px solid #000000;
    /* margin-left: 20px; */
    margin: 10px 0 10px 0;
}

.code_inner ol {
    list-style-type: none;
    counter-reset: item;
    padding: 0;
    margin: 0;
}

.code_inner li {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* border-left: 1px solid #000000;
    margin-left: 50px;
    background-color: #c4c4c4;
    padding: 5px; */
    color: #000000;
    counter-increment: item;
    padding: 0 5px;
}

.code_inner li::before {
    padding: 0 5px;
    border-right: 1px solid #000000;
    content: counter(item);
    margin-right: 10px;
    width: 4ch;
    min-width: 4ch;
    text-align: right;
}

/*!SECTION*/

.article_image_container {
    position: relative;
    border-radius: 5px;
    width: 100%;
    height: auto;
    margin: 30px auto 30px auto;
    overflow: hidden;
    box-shadow: 0px 0px 6px var(--article-image-container-box-shadow);
}

.article_image_container:hover .news_overlay {
    background: rgba(17, 38, 38, 0.8);
    transition: all 0.3s ease-in-out;
}

.article_image_container:hover .news_headline_box {
    transform: translateY(-10px);
    transition: all 0.1s ease-in-out;
}

.article_image_container:hover .news_overlay_content p {
    height: auto;
    margin: 0 0 0 5px;
    /* padding: 0 0 0 0; */
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease-in-out;
}

/* !SECTION - Article end */


/* SECTION - Pagination start */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.pagination-button {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-decoration: none;
    color: #555;
    background-color: #f7f7f7;
    transition: background-color 0.3s, color 0.3s;
}

.pagination-button:hover {
    background-color: #333;
    color: #fff;
}

.pagination-button.active {
    font-weight: bold;
    border-color: #333;
    background-color: #333;
    color: #fff;
}

.pagination-ellipsis {
    padding: 10px;
    color: #aaa;
    font-size: 16px;
}

/* Responsive Darstellung */
@media (max-width: 700px) {
    .pagination-button {
        display: none; /* Standardmäßig ausblenden */
    }

    .pagination-button:first-child,
    .pagination-button:last-child,
    .pagination-button.active {
        display: inline-block; /* Erste, letzte und aktive Seiten sichtbar */
    }

    .pagination-button:first-child {
        margin-right: 5px; /* Abstand zwischen erster Seite und ... */
    }

    .pagination-button:last-child {
        margin-left: 5px; /* Abstand zwischen ... und letzter Seite */
    }

    .pagination-button:first-child + .pagination-ellipsis,
    .pagination-button.active + .pagination-ellipsis,
    .pagination-ellipsis + .pagination-button:last-child {
        display: inline-block; /* Ellipsen zwischen den sichtbaren Seiten */
    }
}
/* !SECTION - Pagination end */


/* SECTION - grid start */
.news_grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, var(--grid-box-height));
    grid-template-areas:
        "AA AA AA AA BB BB CC CC"
        "AA AA AA AA BB BB CC CC"
        "AA AA AA AA DD DD EE EE"
        "AA AA AA AA DD DD EE EE"
        "FF FF GG GG HH HH II II"
        "FF FF GG GG HH HH II II"
        "JJ JJ KK KK LL LL MM MM"
        "JJ JJ KK KK LL LL MM MM";
    gap: 25px;
    width: 100%;
}

/* SECTION News container start */
.news_grid .grid_news_container {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0px 0px 6px var(--news-container-box-shadow);
}


.news_grid .grid_news_container .news_grid_image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}


/* .news_grid .grid_news_container .news_image img { */
.news_grid .grid_news_container .news_grid_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news_grid .grid_news_container .news_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 38, 38, 0.5);
    color: white;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.news_grid .grid_news_container:hover .news_overlay {
    background: rgba(17, 38, 38, 0.8);
    transition: all 0.3s ease-in-out;
}

.news_grid .grid_news_container .news_overlay_content {
    margin: 0;
    align-self: flex-end;
    text-align: left;
    padding: 20px 0px;
    max-width: 93%;
    min-width: 93%;
    margin: 0 auto;
}

.news_grid_image img {
    width: 100%;
    height: auto;
    /* max-height: 50%; */
    object-fit: cover;
    object-position: 50% 20%;
    /* object-fit: scale-down; */
    display: block;
    /* background-color: #cccacb;
    opacity: 50%; */

    /* object-position: 10% */
}

.news_grid .grid_news_container .news_headline_box {
    display: flex;
    justify-content: flex-start;
    transform: translateY(10px);
    transition: all 0.1s ease-in-out;
}

.news_headline_box {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 4px;
    background-color: rgba(75, 74, 74, 0.8);
}

.news_grid .grid_news_container:hover .news_headline_box {
    transform: translateY(-10px);
    transition: all 0.1s ease-in-out;
}

.news_grid .grid_news_container .type_box {
    padding: 0 5px;
    height: 24px;
    background-color: #666666;
    color: #FFFFFF;
    /* margin-top: 3px; */
    margin-right: 5px;
    border-radius: 3px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s ease-in-out;
}

.news_grid .grid_news_container .type_color_tutorial {
    background-color: #1f8080;
}

.news_grid .grid_news_container .news_headline_box h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
    text-overflow: clip;
    font-size: 1.6rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease-in-out;
}

.news_grid .grid_news_container .news_overlay_content p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: clip;
    font-size: 1.4rem;
    height: 0;
    color: #c1c1c1;
    opacity: 0;
    visibility: hidden;
    transition: height 0.5s ease-in-out, font 0.5s ease-in-out;
}

.grid_news_container:hover .news_overlay_content p {
    height: auto;
    margin: 0 0 0 5px;
    /* padding: 0 0 0 0; */
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease-in-out;
}

/* !SECTION News container end */


.news_grid .grid_news_container:nth-child(1) {
    grid-area: AA;
}

.news_grid .grid_news_container:nth-child(2) {
    grid-area: BB;
}

.news_grid .grid_news_container:nth-child(3) {
    grid-area: CC;
}

.news_grid .grid_news_container:nth-child(4) {
    grid-area: DD;
}

.news_grid .grid_news_container:nth-child(5) {
    grid-area: EE;
}

.news_grid .grid_news_container:nth-child(6) {
    grid-area: FF;
}

.news_grid .grid_news_container:nth-child(7) {
    grid-area: GG;
}

.news_grid .grid_news_container:nth-child(8) {
    grid-area: HH;
}

.news_grid .grid_news_container:nth-child(9) {
    grid-area: II;
}

.news_grid .grid_news_container:nth-child(10) {
    grid-area: JJ;
}

.news_grid .grid_news_container:nth-child(11) {
    grid-area: KK;
}

.news_grid .grid_news_container:nth-child(12) {
    grid-area: LL;
}

.news_grid .grid_news_container:nth-child(13) {
    grid-area: MM;
}

@media screen and (max-width: 900px) {
    :root {
        --grid-box-height: 250px;
    }

    .news_grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "AA"
            "BB"
            "CC"
            "DD"
            "EE"
            "FF"
            "GG"
            "HH"
            "II"
            "JJ"
            "KK"
            "LL"
            "MM";
    }

    .news_grid .grid_news_container {
        height: var(--grid-box-height);
        overflow: hidden;
    }

    .news_headline_box h2 {
        font-size: 1.8rem;
        transition: all 0.2s ease-in-out;
        font-weight: 300;
    }

    .news_overlay_content p {
        font-size: 1.2rem;
        transition: all 0.2s ease-in-out;
    }

    .type_box {
        height: 18px;
        font-size: 0.8rem;
        transition: all 0.2s ease-in-out;
    }
}

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

    :root {
        --grid-box-height: 150px;
    }

    .news_grid {
        grid-template-columns: 100%;
        grid-template-areas:
            "AA"
            "BB"
            "CC"
            "DD"
            "EE"
            "FF"
            "GG"
            "HH"
            "II"
            "JJ"
            "KK"
            "LL"
            "MM";
    }

    /* main {
        width: 97%;
        margin-left: auto;
        margin-right: auto;
    } */
}

/* !SECTION - Grid end */

/* SECTION - Search box start */
.search_result_item_box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search_result_item_box a {
    color: var(--article-title-font-color);
    background-color: var(--article-background-color);
}

.search_result_item_box a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.search_result_item {
    color: var(--search-response-font-color);
    background-color: var(--search-response-background-color);
    /* border: solid 1px #000000; */
    border-radius: 3px;
    padding: 8px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

/* !SECTION - Search box end */







/* SECTION - Media start */
@media (max-width: 870px) {
    .burger_menue_button {
        visibility: visible;
    }

    .nav_icon_style {
        margin: 0;
        margin-left: 20px;
        width: 25px;
        text-align: left;
        font-size: 1rem;
    }

    .header_nav ul {
        position: absolute;
        top: var(--header-height);
        left: 0;
        height: auto;
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--background--toggle-menue);
        z-index: 4;
        /* transition: opacity 0.3s ease-in-out; */
    }

    .header_nav li {
        height: 100%;
        width: 100%;
        text-align: center;
    }

    .header_nav li a {
        padding: 10px 0px;
        align-items: center;
        justify-content: start;
    }

    /* main {
        width: 100%;
    } */

    .main_content {
        flex-direction: column;
        gap: 20px;
    }

    .main_left {
        position: fixed;
        top: var(--header-height) + var(--content-margin-top);
        left: -400px;
        box-shadow: none;
        flex-direction: column;
        margin: 0;
        z-index: 4;
        transition: left 0.3s ease-in-out;
    }


    .main_left_content_box {
        /* margin: 5px 5px 5px 0; */
        padding: 10px;
        /* margin-bottom: 20px; */
        color: var(--main-content-left-font-color);
        background-color: var(--main-content-left-background-color);
        /* box-shadow: 0 0 3px rgba(200, 200, 200, 0.5); */
        border: 1px solid var(--silder-menue-border-color);
        border-radius: 0px 5px 5px 0px;
        box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5);
    }

    .topic_nav_slider_icon {
        position: fixed;
        top: var(--header-height) + var(--content-margin-top);
        left: 0px;
        display: block;
        font-size: 4rem;
        cursor: pointer;

        border: solid 1px #ffffff;
    }


    .main_right {
        margin: 0 10px;
    }

}


@media (max-width: 500px) {
    main {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .header_box {
        width: 100%;
        /* min-width: 300; */
        padding: 0 20px;
        transition: width 0.3s ease-in-out;
    }

    .logo_title {
        font-size: 2.0rem;
        transition: font-size 0.3s ease-in-out;

    }

    .sub_title {
        font-size: 1.5rem;
        transition: font-size 0.3s ease-in-out;
    }

    .main_center {
        box-shadow: none;
        margin: 0;
        /* min-width: 300; */
    }

    .footer_navigation {
        flex-direction: column;
    }

    .pipe {
        visibility: hidden;
    }


    .article_box {
        width: auto;
        border: none;
        box-shadow: none;
        transition: width 0.3s ease-in-out;
    }

    .article_inner {
        padding: 10px 5px;
    }

    .h-captcha {
        transform: scale(0.8);
        transition: transform 0.2s ease-in-out;
    }

}


@media (max-width: 400px) {
    .h-captcha {
        transform: scale(0.7);
        transition: transform 0.2s ease-in-out;
    }
}


@media (max-width: 320px) {
    .logo_title {
        font-size: 1.2rem;
        transition: font-size 0.5s ease-in-out;
    }

    .sub_title {
        font-size: 0.7rem;
        transition: font-size 0.5s ease-in-out;
    }
}


@media (max-width: 300px) {
    .logo_title {
        font-size: 1.0rem;
        transition: font-size 0.5s ease-in-out;

    }

    .sub_title {
        font-size: 0.5rem;
        transition: font-size 0.5s ease-in-out;
    }
}


@media (max-width: 210px) {
    .logo_box {
        display: none;
    }
}

/* !SECTION - Media end */




.comment_outer {
    padding: 20px;
    letter-spacing: 1.1px;
}

/* Kommentar-Box */
.comment_box {
    background-color: var(--comment-background-color);
    border: 1px solid var(--comment-border-color);
    border-radius: 5px 2px;
    padding: 20px;
    margin: 15px auto;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Header: Name und Datum */
.comment_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: var(--main-content-left-font-color);
}

.comment_name {
    font-weight: bold;
    color: var(--article-title-font-color);
}

.comment_date {
    font-style: italic;
    color: #888;
}

/* Titel */
.comment_title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--article-title-font-color);
    margin-bottom: 10px;
}

/* Inhalt */
.comment_content {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--article-content-text-font-color);
    text-align: justify;
}

.comment_margin {
    margin-bottom: 10px;
}

/* Threads / Antworten */
/* .comment_box .thread_box {
    background-color: var(--comment-thread-background-color);
    border: 1px solid var(--comment-thread-border-color);
    margin: 10px 0px 0px 0px;
    padding: 15px;
    border-radius: 5px 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */

/* Threads / Antworten */
/* .thread_line {
    position: absolute;
    top: -10px;
    left: -25px;
    width: calc(90% + 0px);
    height: 2px;
    background-color: var(--comment-thread-line-color);
} */

.thread_box {
    background-color: var(--comment-thread-background-color);
    border: 2px solid var(--comment-thread-border-color);
    margin: 20px 0px 0px 20px;
    padding: 15px;
    border-radius: 5px 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    /* border-left: 2px solid rgba(235, 235, 235, 0.3); Linie links */
}

/* Linie für Verschachtelung */
.thread_box::before {
    content: "";
    position: absolute;
    top: 10px;
    left: -15px;
    bottom: -10px;
    width: 2px;
    height: calc(100% + 24px);
    /* background-color: var(--comment-thread-line-color); */
    background-color: var(--comment-thread-border-color);
}

.thread_box::after {
    content: "";
    position: absolute;
    top: 10px;
    left: -13px;
    width: 11px;
    height: 2px;
    /* background-color: var(--comment-thread-line-color); */
    background-color: var(--comment-thread-border-color);
}

.thread_box:last-child::before {
    height: 2px;
}

/* Responsive Verbesserungen */
@media (max-width: 768px) {
    .comment_box {
        padding: 15px;
    }

    .comment_title {
        font-size: 1.4rem;
    }

    .comment_content {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .comment_box {
        padding: 10px;
    }

    .comment_title {
        font-size: 1.2rem;
    }

    .comment_content {
        font-size: 1.0rem;
    }
}
