:root {
  --titles: #00b8a5;
  --Hello: #ffd500;
  --text: #ddd;
  --muted: #888;
  --tinytitle: #ffc800aa;

  --icons: #bb004B;
  --mutedIC: #FF006B99;

  --links: #ff35b2;
  --links-hover: #ffff99;

  --DropShad: #000000cc;
  --LinkShad: #000000cc;

  --mainBorder: #990077;
  --card: #28003d;
  --card2: #2c0050f8;
  --cardInner: #590083;
  --cardBorder: #a400e7;
  --aviBorder: #b700ff6c;

  --divUnderline:#a400e7;
  --underline:#be32ffa4;
  
  --NavTitle:#00cac0;
  --Navstar: #eabe00;
  --NavBord: #be32ffa4;
  
  --back-x: #aa0033;
  --top-x: #aaaa99;
  --bartitle: #FF009B;

  --iix:#eee;
  --iixbg:transparent;

  --SwitchBG: #160032;
  --Dark: #c80078;
  --Light: #f8ff73;
  --Light-off: #990077aa;
  --SwitchButt: #3d0064;
  --moon: #00bda0;
  --moonGlow: #3dffec;
  --sun: #7a0037;
  --sunGlow: #000;

  --scrollbar: #2C034D;
  --scrollthumb: #73598D;

  --tooltip-border:#91003cc7;
  --tooltip-text:#fff;
  --tooltipBG:#0f0109ce;

  --marq-bg:#47006d5e;
  --marq-bord:#35005271;

  --backgroundtop: linear-gradient(rgba(54, 0, 92, 0.1) 29%, rgba(24, 0, 36, 0.1) 19%);
  --backgroundbottom: rgb(30, 0, 58);

  --bgImage:url(/Images/pattern.png);
  --avi:url(/Images/Main-Avi.png);

  cursor: url('https://static.tumblr.com/zq8teoi/Y7gpglk0a/tumblr_inline_ol4nwhvswg1uxxza6_1280.png'), auto !important;

  font-size: 16px;
}

#Notice {
  position:absolute;
  left:-290px;
  bottom:150px;
  display:block;
  width:300px;
  height:325px;
  padding:0.5rem 0.1rem;
  background:var(--card);
  text-align:center;
  border: 1px solid var(--mainBorder);
}


/*---------- Links & Body ----------*/
a {
    color: var(--links);
    text-decoration: none;
    cursor: url(https://i.postimg.cc/kXsCXZ1t/nat997.png), auto !important;
    text-shadow: 1px 1px 0px var(--LinkShad-1), 0 0 2px var(--LinkShad-2);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.sitenav a:focus {
  background-color: yellow;
}

a:hover {
    color: var(--links-hover);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

body {
    color: var(--text);
    font-family: 'Dosis', sans-serif;
    font-size: 16px;
    background-image: var(--bgImage);
    scrollbar-color: var(--scrollthumb) var(--scrollbar);
    background-color:var(--backgroundbottom);
    transition: opacity 0.7s ease;
    -webkit-transition: opacity 0.7s ease;
    -moz-transition: opacity 0.7s ease;
    -o-transition: opacity 0.7s ease;
    animation-name: example;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    opacity:0;
  }
  
  @keyframes example {
    0%   {opacity:0;}
    100% {opacity:1;}
  }

.fadeIn {
  opacity: 1;
  transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -webkit-transition: opacity 1s ease-in-out;
}

body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: var(--backgroundtop);
    z-index: 0;
    background-size: 100% 0.42rem, 0.8rem 100%;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.7s ease;
    -webkit-transition: opacity 0.7s ease;
    -moz-transition: opacity 0.7s ease;
    -o-transition: opacity 0.7s ease;
}

/*------------ P & S Styles ------------*/

h1,h2,h3,h4,h5,h6 {
all:unset;
}

p {margin: 0.1rem 0; }
  .pBig { font-size: 1.4rem; 
  }
  .Bold { font-size: 1.1rem; font-weight: 600; 
    letter-spacing: 0.058rem 
  }
  .pItalic { font-style: italic; font-size: 1.05rem; 
  }
  .Tight { letter-spacing: -0.01rem; font-size: 97%; 
  }
  .sHilight { color: #ffeea0; letter-spacing: 0.03rem; 
  }
  .Small { font-size: 80%; letter-spacing: 0.1rem; 
  }
  .pTitle {
    font-weight: 600; text-decoration: underline; font-size: 1.08rem;
    letter-spacing: 0.04rem; color: var(--titles)
  }
  .pSubT {
    font-size: 0.75rem; line-height: 90%; color: var(--SubT);
  }
  .pUnderSub {
    text-decoration: underline; text-align: center; 
    letter-spacing: -0.001rem; color: var(--UnderSub);
  }

.Here {
    display:block; font-size:80%;
    letter-spacing:-0.01rem; word-spacing:-0.01rem;
    transform: scaley(0.9)!important; margin-top:-0.3rem;
  }
/*--- END P & S Styles ---*/

/*---------- Containers ----------*/

@media only screen and (min-width: 1000px) {
  #maincont {
    position: relative;
    display: flex;
    width: 970px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
    height:100%;
}

.main {  display: grid;
    width:inherit;
    grid-template-columns: 77% 22%;
    grid-template-rows: auto 65px;
    gap: 0.9rem 0.6rem;
    grid-auto-flow: row;
    grid-template-areas:
      "Container site-nav-block"
      "stamp-marq stamp-marq";
  }
}

#Container { grid-area: Container; 
    position: relative;
    display:flex;
    height: auto;
    letter-spacing: .5px;
    background: var(--card);
    border: 1px solid var(--mainBorder);
    padding: 0.2rem;
}

.cardInner {
    padding: 0.5rem 0.6rem;
    display: block;
    border: 1px solid var(--mainBorder);
}

.site-nav-block { grid-area: site-nav-block; 
    position:relative;
    display:flex;
    height:auto;
    background-color: var(--card);
    border: 1px solid var(--mainBorder);
  }


  .stamp-marq { grid-area: stamp-marq;
    position:relative;
    display:flex;
    height:auto; width:100%;
    background:var(--marq-bg);
    border:1px solid var(--marq-bord);
    padding-top:0.05rem;
}

/*---------- Main Window ----------*/
.Justify {
    display: flex;
    justify-content: space-between !important;
}

.Top, .About, .Icon,
.Banner, .Bottom, .Status,
.Extra-Info {
    background: var(--cardInner);
    border: 1px solid var(--cardBorder);
    box-shadow: 1px 2px 0rem 1px var(--DropShad);
    flex-wrap: wrap;
    overflow: hidden;
}
[data-theme="light"] .Top, [data-theme="light"] .About,
[data-theme="light"] .Icon, [data-theme="light"] .Banner,
[data-theme="light"] .Bottom, [data-theme="light"] .Status,
[data-theme="light"] .Extra-Info {
    box-shadow:1px 1px 0 1px var(--DropShad);
}

#Grid {
  margin-top:0.1rem;
  margin-left:0.25rem;
    position: relative;
    display: grid;
    flex-wrap: wrap;
    overflow: none;
    grid-template-columns: 33% 8% 26% 29%;
    grid-template-rows: auto calc(200px + 2rem) auto 11rem auto;
    gap: 0.55rem 0.5rem;
    grid-template-areas:
        "Top Top Top Top"
        "About About About Icon"
        "Banner Banner Banner Banner"
        "Status Extra-Info Extra-Info Extra-Info"
        "Bottom Bottom Bottom Bottom";
        transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
}


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

  #maincont {
    position: relative;
    display: flex;
    max-width:calc(400px + 45vw);
    min-width:500px!important;
    padding: 1.5rem;
    height:100%;
    margin-left: auto;
    margin-right: auto;
}

  .main {  display: grid;
    width:inherit;
    grid-template-columns: 99%;
    grid-template-rows: auto auto 65px;
    gap: 0.9rem;
    grid-auto-flow: row;
    grid-template-areas:
      "Container"
      "site-nav-block"
      "stamp-marq";
  }

  #Container,   .stamp-marq, .site-nav-block {
    width:100%;
    min-width:400px;
  }
  #Container {
    padding:0;
  }
  .cardInner {
    padding: 0.5rem 1.5vw!important;
    margin:0;
    border:none;
  }

  #Grid {
    align-self:center;
    margin-top:0.1rem;
    margin-left:auto;
    width:100%
  }

}

/*------------ Bout & Icon ------------*/
.About {
    grid-area: About;
    position: relative;
    padding: 0.6rem;
    justify-content: center;
}
.scroll {
    overflow-y: scroll;
    width: 100%;
    height: 84%;
    border-top: 1px solid var(--divUnderline);
    padding: 0 0.2rem 0 0;
    padding-top: 8px;
    line-height:1.05rem;
}

.scroll p {
  margin-bottom:0.9rem;
}

.hello {
    font-weight: 500;
    letter-spacing: 0.25rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--Hello);
    margin-bottom: 0.25rem;
}

.Icon {
    grid-area: Icon;
    padding: 0.01rem;
}
.avi {
    background:var(--avi);
    background-size: cover;
    background-position: center;
    position: relative;
    height:100%;
    width:100%;
}
.avi-alt-txt {
  margin-top:-113%;
  padding:0.1rem;
  font-size:0.95rem;
  top:0;left:0;
  display:block;
  position: relative;
  height:100%;
  width:100%;
  opacity:0;
}

/*--- END Bout & Icon ---*/

/*------- Header and Banner -------*/
.Top {
    grid-area: Top;
    padding:0.2rem 0.5rem;
}

.title {
    font-size: 1.15rem; letter-spacing: 0.2rem;
    padding-left:5px;
    line-height:1.6rem;
    margin-top:0.16rem;
    color:var(--titles);
  }
  [data-theme="light"] .title {
    text-shadow: var(--titles) 0 0 0.02rem;
  }
  .tiny-title {
    line-height:1.8rem;
    color:var(--tinytitle);
  }

  .fakefav{
    position:relative;
    display:inline-flex;
    font-size:1.7rem;
    color:var(--icons);
    text-shadow: 1px 1px 0px var(--DropShad), 0 0 2px var(--DropShad);
    --ionicon-stroke-width: 1.7rem;
  }


.Banner {
    display:flex;
    grid-area: Banner;
}
.miniban {
    background: url("/Images/Other\ Decor/outerspace-1.gif");
      background-position-x: 100%;
      background-position-y: 15%;
    background-size: cover;
    height: 100%;
    width:99.7%;
    border:1px solid var(--aviBorder);
}
.mini-banner {
    background-color: var(--cardInner-Dark);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 40px;
    margin:0.27rem;
    width:100%;
  }

/*--- END Header and Banner ---*/


/*-------- Status Card --------*/
.Status {
    grid-area: Status;
    font-size:0.85rem;
    flex-direction: column;
    position: relative;
    padding:0.5rem 0.55rem;
    line-height:1.5rem;
    color:var(--titles);
}

.secondary{
    font-size:1.06rem;
    letter-spacing:0.2rem;
    font-variant: small-caps;
    font-weight:500;
    color:var(--titles);
    text-shadow: 1px 1px 0px var(--DropShad-1), 0 0 2px var(--DropShad-2);
}
  .statcon {
    font-size:1.2rem;
    font-weight:100!important;
    display:inline-block;
    padding-right:0.1rem;
  }
  .statitem {
    font-weight:bold;
    position:relative;
  }
  .stat-txt {
    color:var(--text);
    margin-bottom:0.25rem;
    font-weight:600;
  }
  .justify-stat {
    display: flex;
    justify-content: space-between;
  }
  .stat {
    display:inline-block;
    position:relative;
    top:-4px;
  }

/*--- END Status Card ---*/

.Extra-Info {
    grid-area: Extra-Info;
    padding:0.5rem;
}
.up-icon {
    font-size:1.3rem;
}
.contain {
    display:flex;
    height:8.5rem;
    margin-left:-0.5rem;
    width:calc(100% + 0.5rem);
}

.Updates {
    display:inline-block;
    font-size:0.9rem;
    letter-spacing:0.01rem;
    overflow:auto;
    padding:0 0.5rem 0.3rem 0.5rem;
}

.Update-Date {
    font-weight:bold;
    text-align:right;
    font-size:0.8rem;
    border-bottom:1px dashed var(--underline);
    padding: 0.2rem 0 0.2rem 0;
}

.up {
  margin-bottom:0.8rem;
}



.Bottom {
    grid-area: Bottom;
    border: 1px solid var(--cardBorder);
    display: flex-block;
    flex-direction: column;
    position: relative;
    height:auto;
    padding:.4rem 0.35rem 0.5rem 0.35rem;
    background-color: var(--cardInner);
    text-align:center;
    align-content:space-between;
}
.social-links {
    padding:0.25rem;
  }
  .social-links a {
    padding: 0 0.25rem 0 0.25rem;
    font-size:0.9rem;
    letter-spacing:0.05rem;
  }
  .social-links a:hover {
    letter-spacing:0.08rem;
  }

/*------------ Site Nav ------------*/
.sitenav {
    display: flex;
    flex-direction: column;
    flex-wrap:nowrap;
    padding: .77rem 0.5rem;
    text-align:center;
    color:var(--NavTitle);
    width:100%;
    letter-spacing:0.05rem;
}
.sitenav p {
    margin-bottom:0.25rem;
    width:100%;
}

.sitenav .Tight {
  letter-spacing: 0.012rem;
}

.nav-bull {
    vertical-align: middle;
    padding: 0.01rem;
    width:fit-content;
    height:fit-content;
  }

.navbord {
    color:var(--Navstar);
    border-bottom: 1px dotted var(--NavBord);
    border-top: 1px dotted var(--NavBord);
    line-height: 0.55rem;
    font-size: 0.65rem;
    letter-spacing: 0.15rem;
    margin-top: -0.02rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    padding-left:0.05rem;
  }

  .seperator {
    position:relative;
    display:block;
    width:100%; height:0.4rem;
    border-top:1px dotted var(--underline);
    opacity:0.5;
  }
/*--- END Site Nav ---*/


/*--------- Top bar ---------*/

.s-bar {
    position: relative;
    display: flex;
    z-index: 5;
    background: var(--bar);
    left: -0.8rem;
    top: -0.8rem;
    width: calc(100% + 1.5rem);
    height: 1.3rem;
    padding: 0;
    color: var(--bar-title);
    justify-content:space-between;
    margin-top:0.12rem;
}

.sox {
    position: relative;
    display: inline-block;
    font-family: consolas;
    margin-left: auto;
    right: 0.2rem;
    top: 0.21rem;
    z-index: 5;
    width: auto;
    height: auto;
}

#rbis,
#rbiis {
    background-color: var(--bar);
    color: var(--iix);
    background: var(--iixbg);
    font-family: 'Inter Tight', sans-serif;
    font-size: 90%;
    padding: 0.25rem 0.8rem;
}

#rbis,
#rbiis,
#rbxs {
    position: relative;
    display: inline-flex;
    text-align: center;
}

#rbxs {
    top: 0px;
    background: var(--back-x);
    color: var(--top-x);
    font-family: 'Montserrat', sans-serif;
    font-size: 110%;
    font-weight: bold;
    padding: 0.1rem 1.15rem;
    height: 1.45rem;
}

.bar-title {
    display:inline-block;
    text-align: left;
    padding: 4px;
    margin-left: 0.6rem;
    letter-spacing: 0.06em;
    margin-top: 0.3rem;
    color: var(--bartitle);
    text-shadow: 1px 1px 0px var(--bartitleB), 0 0 2px var(--bartitleA);
}

/*----------Tooltips, scrollbars, etc----------*/
#s-m-t-tooltip {
  display:inline-block;
  z-index: 9999999999999999999;
  background: RGBA(0, 0, 0, 0.87);
  color: var(--tooltip-text);
  margin: -0.05rem 0 0 1rem;
  padding: 3px 5px 2px 5px;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  word-spacing:0.15rem;
  font-size: 0.615rem;
  max-width: 195px;
  border: 1px solid var(--tooltip-border);
  background:var(--tooltipBG)!important;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

::-webkit-scrollbar {
    width: 10px;
    background-color: var(--scrollbar);
    border-left: 1px solid var(--borders);
    border-right: 4px solid var(--scrollbar);
    border-top: 2px solid var(--scrollbar);
    border-bottom: 2px solid var(--scrollbar);
}

::-webkit-scrollbar-thumb {
    background-color: var(--scrollthumb);
    border-left: 3px solid var(--scrollbar);
    border-right: 2px solid var(--scrollbar);
    border-top: 1px solid var(--scrollbar);
    border-bottom: 1px solid var(--scrollbar);
}

.icflip {
    transform: scale(-1, 1);
    color: var(--mutedIC);
    font-size: 1.25rem;
    letter-spacing: -8px;
    text-shadow: 1px 1px 0px var(--DropShad), 0 0 2px var(--DropShad);
}

.ic {
    font-size: 1.25rem;
    letter-spacing: -8px;
    color: var(--mutedIC);
    text-shadow: 1px 1px 0px var(--DropShad), 0 0 2px var(--DropShad);
}




/*---------- Marquee ----------*/
.qu1 {
  display:block;
  width:inherit;
}
.marquee {
  z-index:9;
    width:inherit;
    --gap: 0.5rem;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--gap);
  }

  .marquee__content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: var(--gap);
    min-width: calc(100% + var(--gap));
    animation: scroll 40s linear infinite;
    list-style-type: none;
    margin:0; padding:0.2rem 0 0.1rem 0;
    vertical-align: middle;
  }
  
  .marquee img {
    height:fit-content;
    width:fit-content;
  margin:0; padding:0;
  vertical-align: middle;
  }

  .qu2 {
    width:inherit;
    display: none;
  }
  .marquee2 {
    z-index:9;
      width:inherit;
      --gap: 0.5rem;
      display: none;
      overflow: hidden;
      user-select: none;
      gap: var(--gap);
    }
  
    .marquee__content2 {
      flex-shrink: 0;
      display: none;
      justify-content: space-around;
      gap: var(--gap);
      min-width: calc(100% + var(--gap));
      animation: scroll 65s linear infinite;
      list-style-type: none;
      margin:0; padding:0.2rem 0 0.1rem 0;
      vertical-align: middle;
    }
    
    .marquee2 img {
    display:none;
    height:fit-content;
    width:fit-content;
    margin:0; padding:0;
    vertical-align: middle;
    }

  @media (prefers-reduced-motion: reduce) {
    .qu1 div {
      display: none;
    }
    .marquee2, .marquee__content2 {
      display: flex;
    }
    .qu2 {display:block;}
    .marquee2 img {
      display:inline-block;
    }
  }
  
  
  @keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-100% - var(--gap)));
    }
  }
  
  /* Pause on hover */
  .marquee--hover-pause:hover .marquee__content {
    animation-play-state: paused;
  }
  
  .marquee--pos-absolute .marquee__content:last-child {
    position: absolute;
    top: 0;
    left: 0;
  }
  .enable-animation .marquee--pos-absolute .marquee__content:last-child {
    animation-name: scroll-abs;
  }

  @keyframes scroll-abs {
    from {
      transform: translateX(calc(100% + var(--gap)));
    }
    to {
      transform: translateX(0);
    }
  }
  

/*--------- slider switch css ---------*/

.slider {
    display:flex;
    position:relative;
    text-align:center;
    width: 100%;
    left:-6px;
    align-content:space-evenly;
  }
  
  div.btn-container{
    position:relative;
    display: inline-flex;
    vertical-align:middle;
    margin:auto;
  }
  div.btn-container i {
    position:relative;
    vertical-align:middle;
    align-self:center;
    margin:0.3rem;
  }
  
  .theme-switch{
      display: inline-block;
      font-size:0.9rem;
      margin: 0px;
      height:1.45rem;
      position: relative;
      cursor: url(https://i.postimg.cc/kXsCXZ1t/nat997.png), auto !important;
  }
  
  .theme-switch > label.theme-switch-inner{
      margin: 0px;
      width: 6rem;
      height: inherit;
      background: var(--SwitchBG);
      border-radius: 1.5rem;
      overflow: hidden;
      position: relative;
      /*box-shadow: 0px 0px 8px 0px rgba(17, 17, 17, 0.34) inset;*/
      display: inline-block;
      border:1px solid var(--SwitchBorder);
      cursor: url(https://i.postimg.cc/kXsCXZ1t/nat997.png), auto !important;
  }
  
  .theme-switch > label.theme-switch-inner:before{
      content: attr(data-on);
      position: absolute;
      display:flex;
      right:0.8rem;
      font-size: 0.7rem;
      color: var(--Light-off);
      border-radius: 1.5rem;
      line-height:1.55rem;
  }
  
  .theme-switch > label.theme-switch-inner:after{
      content: attr(data-off);
      width: 3rem;
      background: var(--SwitchButt);
      color:var(--Dark);
      border-radius: 1.5rem;
      position: absolute;
      left: 1px;
      transition: all 0.3s ease;
      padding: 3px 0px 5px 0;
  }
  
  .theme-switch input[type="checkbox"]{
      width: 3rem;
      height:inherit;
      opacity: 0;
      position: absolute;
      top: 0;
      z-index: 1;
      margin: 0px;
      cursor: url(https://i.postimg.cc/kXsCXZ1t/nat997.png), auto !important;
  }
  
  .theme-switch input[type="checkbox"]:checked + label.theme-switch-inner{
      background: var(--SwitchBG);
      color: var(--Dark-off);
      border:1px solid #000; 
  }
  .theme-switch input[type="checkbox"] + label.theme-switch-inner{
    border:1px solid #000; 
}
  
  .theme-switch input[type="checkbox"]:checked + label.theme-switch-inner:after{
      content: attr(data-on);
      left: 2.95rem;
      background: var(--SwitchButt);
      color:var(--Light);
  }
  
  .theme-switch input[type="checkbox"]:checked + label.theme-switch-inner:before{
      content: attr(data-off);
      right: auto;
      left: 0.8rem;
  }
  
  
  .theme-switch input[type="checkbox"]:checked ~ .alert{
      display: block;
  }
  
  /*mode preview*/
  
  .btn-container i.fa-sun-o{
      color: var(--sun);
  }
  
  .btn-container i.fa-moon-o{
      color: var(--moon);
      text-shadow: 0px 0px 16px var(--moonGlow);
  }
  
  [data-theme="light"] div.btn-container i.fa-sun-o{
      color: var(--sun);
      text-shadow: 0px 0px 16px var(--sunGlow);
  
  }
  
  [data-theme="light"] div.btn-container i.fa-moon-o{
      color: var(--moon);
  }
  
  /*----- END slider switch css -----*/
