/* --------------------------------------------------------------------------------------- 
                information
--------------------------------------------------------------------------------------- */
/*
    Description : General css template 
    Version     : 2.0
    Last Update : 11.01.2025
    Author      : lichzelg
    License     : MIT
    License URL : https://www.tldrlegal.com/license/mit-license
*/

/* --------------------------------------------------------------------------------------- 
                install fonts
--------------------------------------------------------------------------------------- */
/* @font-face {
  src: url(@/assets/fonts/Gotham/GothamBook.ttf);
  font-family: Gotham;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
} */

/* @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap"); */

/* Define the font-face */
/* @font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: local("Open Sans"),
      url("https://fonts.gstatic.com/s/opensans/v18/mem8YaGs126MiZpBA-U1UpcaXcl0Aw.ttf")
          format("truetype");
}

@font-face {
  font-family: Raleway;
  src: url(@/static/fonts/open_sans/OpenSans-Regular.ttf);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

@font-face {
  font-family: Raleway;
  src: url(../fonts/raleway/Raleway-VariableFont_wght.ttf) format("truetype");
  font-weight: normal;
  font-style: normal;
} */

/* --------------------------------------------------------------------------------------- 
              main
--------------------------------------------------------------------------------------- */

:root {
    /* ---------- Not on other color modes ----------- */
    --box-shadow-large: 0 12px 16px 8px var(--col-transparent-2);
    --box-shadow-small: 0 4px 4px 0px var(--col-transparent-2);
    --col-link-hover-bg: rgba(0, 0, 0, 0.04);
    --col-separator: rgba(28, 28, 28, 1);

    /* ---------- Dimensions ----------- */
    --navigation-height-mobile: 0px; /* 40 */
    --navigation-height-tablet: 0px; /* 80 */
    --navigation-height-pc: 0px; /* 100 */
    --navigation-height: 0px; /* 100 */

    --navigation-margin-left: 3rem;
    --navigation-margin-top: 3rem;

    --page-width-mobile: 98%;
    --page-width-tablet: 90%;
    --page-width-pc: 52%;
    --page-width: 52%;
    --page-width-max: 1920px;

    --font-size: 1em;
    --line-height: 1.6;
    --superscript: 0.3em;
    --border-radius: 2px;
    --highlight-border-radius: 2px;

    /* ---------- Background Image ----------- */
    --bg-size: 680px;

    /* ---------- Other ----------- */
    --main-blur: blur(2px);

    /* ---------- Base Color Mode ----------- */
    /* Opacity to Hex: 
    100% = FF, 90% = E6, 80% = CC, 70% = B3, 60% = 99, 50% = 80, 40% = 66, 30% = 4D, 
    20% = 33, 10% = 1A, 0% = 00 
    */
    --col: #243746ff;
    --col-1: #128ec4ff;
    --col-2: #0e2233ff;
    --col-link: #06b4baff;
    --col-link-hover: #ffa100ff;
    --col-link-active: #da1991ff;
    --col-transparent: #0e161b99;
    --col-transparent-1: #0e161b66;
    --col-transparent-2: #0e161b33;
    --col-border: #ddddddff;
    --col-highlight: #e8ecedff;
    --col-highlight-tr: #e8ecedcc;
    --col-highlight-tr-1: #e8eced99;
    --col-highlight-tr-2: #e8eced33;
    --icon-glow: #cccccc;
    --bg: #f6f6f6ff; /* #f1e7d0 */
    --bg-1: #f2f2f2;
    --bg-2: #e8eced;
    --bg-transparent: #f6f6f6cc;
    /* --bg-img: url("../img_bg/noisy-background_2k.jpg"); */
    /* ---------- Theme Independent Colors ----------- */
    /* --s-col-whit: #f6f6f6; */
    /* --s-col-blac: #090909; */
    --s-col-blac: #090909;
    --s-col-blue: #06b4ba;
    --s-col-viol: #da1991;
    --s-col-gree: #3cba06;
    --s-col-yell: #e6cc00;
    --s-col-teal: #008080;
    --s-col-oran: #ffa100;
    --s-col-oliv: #6b8e23;
    --s-col-mage: #a64ca6;
    --s-col-sea: rgba(46, 148, 110, 1);

    /* ---------- Theme independent highlight colors ----------- */
    --s-col-hl-blac: rgba(9, 9, 9, 0.1);
    --s-col-hl-sea: rgba(46, 148, 110, 0.1);
    --s-col-hl-viol: rgba(218, 25, 145, 0.1);
    --s-col-hl-teal: rgba(0, 50, 50, 0.1);
    --s-col-hl-oran: rgba(100, 63, 0, 0.1);
    --s-col-hl-oliv: rgba(107, 142, 35, 0.1);
    --s-col-hl-mage: rgba(166, 76, 166, 0.1);

    --s-col-hl-red: rgba(255, 0, 0, 0.1);
    --s-col-hl-gree: rgba(0, 255, 0, 0.1);
    --s-col-hl-blue: rgba(0, 0, 255, 0.1);
    --s-col-hl-yell: rgba(128, 128, 0, 0.15);
    --s-col-hl-turq: rgba(0, 128, 128, 0.15);
    --s-col-hl-purp: rgba(128, 0, 128, 0.15);

    /* ---------- Fonts ----------- */
    --main-font: monospace;
    --title-font: var(--main-font);
    --desc-font: var(--main-font);
    --ui-font: var(--main-font);
    --caption-font: var(--main-font);
}
/* ---------- Dimensions Setup ------------- */
@media (max-width: 480px) {
    :root {
        --navigation-height: var(--navigation-height-mobile);
        --page-width: var(var(--page-width-mobile));
        line-height: var(--line-height);
    }

    .touch-only {
        visibility: visible;
    }
}
@media (min-width: 481px) and (max-width: 1024px) {
    :root {
        --navigation-height: var(--navigation-height-tablet);
        --page-width: var(var(--page-width-tablet));
        line-height: var(--line-height);
    }

    .touch-only {
        visibility: visible;
    }
}
@media (min-width: 1025px) {
    :root {
        --navigation-height: var(--navigation-height-pc);
        --page-width: var(var(--page-width-pc));
        line-height: var(--line-height);
    }

    .touch-only {
        visibility: hidden;
    }
}

[color-scheme="light"],
.light-mode {
    color-scheme: light;
    --col: #243746ff;
    --col-1: #128ec4ff;
    --col-2: #0e2233ff;
    --col-link: #06b4baff;
    --col-link-hover: #ffa100ff;
    --col-link-active: #da1991ff;
    --col-transparent: #0e161b99;
    --col-transparent-1: #0e161b66;
    --col-transparent-2: #0e161b33;
    --col-border: #ddddddff;
    --col-highlight: #e8ecedff;
    --col-highlight-tr: #e8ecedcc;
    --col-highlight-tr-1: #e8eced99;
    --col-highlight-tr-2: #e8eced33;
    --icon-glow: #cccccc;
    --bg: #f6f6f6ff; /* #f1e7d0 */
    --bg-1: #f2f2f2;
    --bg-2: #e8eced;
    --bg-transparent: #f6f6f6cc;
    /* --bg-img: url("../img_bg/noisy-background_2k.jpg"); */
}

[color-scheme="dark"],
.dark-mode {
    color-scheme: dark;
    --col: #ebf4f1ee;
    --col-1: #06b4ba;
    --col-2: #fdf9f3;
    --col-link: #06b4ba;
    --col-link-hover: #ffa100;
    --col-link-active: #da1991;
    --col-transparent: #5c605f99;
    --col-transparent-1: #5c605f66;
    --col-transparent-2: #5c605f33;
    --col-border: #626262;
    --col-highlight: rgba(32, 32, 32, 1);
    --col-highlight-tr: #e8ecedcc;
    --col-highlight-tr-1: #e8eced99;
    --col-highlight-tr-2: #e8eced33;
    --icon-glow: #aaaaaa;
    --bg: #121212; /* 121212*/
    --bg-1: #161616;
    --bg-2: #202020;
    --bg-transparent: #121212cc;
    /* --bg-img: url("../img_bg/noisy-background_2k.jpg"); */
}

.sepia-mode {
    --col: #433422;
    --col-1: #9ea134;
    --col-2: #504231;
    --col-link: #9ea134;
    --col-link-hover: #ffa100;
    --col-link-active: #da1991;
    --col-transparent: #141a0d99;
    --col-transparent-1: #141a0d66;
    --col-transparent-2: #141a0d33;
    --col-border: #ded0bf;
    --col-highlight: rgba(32, 32, 32, 1);
    --col-highlight-tr: #e8ecedcc;
    --col-highlight-tr-1: #e8eced99;
    --col-highlight-tr-2: #e8eced33;
    --icon-glow: #b29f87;
    --bg: #f1e7d0;
    --bg-1: #e3ceb9; /* f1e760 */
    --bg-2: #eae0c9;
    --bg-transparent: #f1e7d0cc;
    /* --bg-img: url("../img_bg/noisy-background_2k.jpg"); */
}

.inverted-color {
    filter: invert(1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", Raleway, "Raleway",
        sans-serif, monospace;
    font-family: var(--main-font), sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    /* background-image: var(--bg-img); */
    background-size: var(--bg-size) var(--bg-size);
    background-repeat: repeat;
    color: var(--col);
    transition: background-color 0.3s;
}

#background-img-opacity {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-transparent);
    /* background-color: rgba(
        255,
        255,
        255,
        0.4
    );  */
    z-index: -10;
}

a {
    color: var(--col-2);
}

a:hover {
    color: var(--col-1);
}

/* --------------------------------------------------------------------------------------
                scrollbar
  --------------------------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 0.4em;
    height: 0.4em;
}

::-webkit-scrollbar-track {
    background: var(--bg); /* Background color of the track */
    /* border-radius: 10px;  */
}

/* Style the scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background-color: var(--col-transparent-2);
    border-radius: 2px;
    /* border: 1px solid #f0f0f0;  */
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--col); /* Darker color when hovered */
}

/* Style the scrollbar buttons (optional) */
::-webkit-scrollbar-button {
    display: none;
    /* background-color: #ccc; 
    display: block;
    height: 16px;
    width: 16px; */
}

/* Style the scrollbar corner where horizontal and vertical scrollbars meet */
::-webkit-scrollbar-corner {
    background-color: var(--bg);
}

/* ---------------------------------------------------------------------------------------
                utility 
  --------------------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .not-mobile {
        overflow: hidden;
    }
    .not-mobile:before {
        content: "";
        width: 100%;
        height: 100%;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        background-color: var(--bg);
        /* background-image: var(--bg-img); */
        background-size: var(--bg-size) var(--bg-size);
        background-repeat: repeat;
        z-index: 18;
        overflow: hidden;
    }
    .not-mobile:after {
        content: "sorry, this page is not available on mobile device.";
        font-family: var(--main-font);
        font-weight: bold;
        text-decoration: bold;
        text-transform: uppercase;
        font-size: 0.8em;
        opacity: 0.8;
        position: fixed;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        /* color: var(--col-link-active); */
        z-index: 19; /* Ensure the message appears above the background */
    }
}

@media (min-width: 481px) and (max-width: 1024px) {
    .not-tablet {
        overflow: hidden;
    }
    .not-tablet:before {
        content: "";
        width: 100%;
        height: 100%;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        background-color: var(--bg);
        /* background-image: var(--bg-img); */
        background-size: var(--bg-size) var(--bg-size);
        background-repeat: repeat;
        z-index: 18;
        overflow: hidden;
    }
    .not-tablet:after {
        content: "sorry, this page is not available on tablet.";
        font-family: var(--main-font);
        font-weight: bold;
        text-decoration: bold;
        text-transform: uppercase;
        font-size: 0.8em;
        opacity: 0.8;
        position: fixed;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        /* color: var(--col-link-active); */
        z-index: 19; /* Ensure the message appears above the background */
    }
}

@media (hover: hover) {
    .hover-control .hover-visible {
        visibility: hidden;
    }

    .hover-control:hover .hover-visible {
        visibility: visible;
    }

    .hover-control:hover .hover-invisible {
        visibility: hidden;
    }

    .hover-control .hover-trans-visible {
        opacity: 0;
    }

    .hover-control:hover .hover-trans-visible {
        opacity: 1;
        transition: opacity 0.2s;
    }

    .hover-control:hover .hover-trans-invisible {
        opacity: 0;
        transition: opacity 0.2s;
    }
}

.overlay-red {
    background-color: rgba(255, 102, 51, 0);
    /*  */
}

.overlay-red:hover {
    background-color: rgba(255, 102, 51, 0.02);
    /*  */
    transition: background-color 0.6s;
}

.overlay-blue {
    background-color: rgba(6, 180, 186, 0);
    /*  */
}

.overlay-blue:hover {
    background-color: rgba(6, 180, 186, 0.2);
    /*  */
    transition: background-color 0.6s;
}

.no-display {
    display: block !important;
    width: 0% !important;
    height: 0% !important;
}

.hidden {
    visibility: hidden;
}

.not-selected {
    opacity: 0.5 !important;
}

.selected {
    opacity: 0.96;
}

.no-scroll {
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 100%;
}

/* --------------------------------------------------------------------------------------
                Shader
  --------------------------------------------------------------------------------------- */
.halftone {
    background-image: radial-gradient(
            circle at center,
            black 0.25rem,
            transparent 0
        ),
        radial-gradient(circle at center, black 0.25rem, transparent 0);
    background-size: 1.3rem 1.3rem;
    background-position: 0 0, 0.65rem 0.65rem;
}

/* --------------------------------------------------------------------------------------
                Nodes
  --------------------------------------------------------------------------------------- */
.first-char-bigger:first-letter {
    font-size: 1.5em; /* Adjust the size as needed */
}
