[data-theme="dark"] {
  --Titles: #00b8a5;
  --Titles2nd: #ebbd3f;
  --Accents: #a464e0;
  --Accents2nd: #be2672;
  --Text: #ddd;
  --Muted: #888;
  --Yell: #f3e1b0;
  --Yell2: #c38ce7;
  --Underline: #901aff;

  --Icons: #bb004B;
  --MutedIC: #FF006B99;

  --Links: #ee0063;
  --LHover: #ffff99;

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

  --Boxes:#28003d;
  --Inner:#420061;
  --Border:#bb004B;
  --AviBorder: #b40048be;

  --Bar:#590083;
  --BarBd:#bb004B;
  --back-x:#85003e;
  --top-x:#ffffdd;
  --BarTitle:#00b8a5;

  --backgBottom: rgb(30, 0, 58);
  --Overlay: url('../Assets/Images/Backgrounds/scanlines.png');

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

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

  --BG:url(../Assets/Images/Backgrounds/pattern.png);
  --Avi:url(../Assets/Images/Main-Avi.png);

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

  font-size: 16px;
}


/*---------- 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;
}

#Nav a:focus {
  background-color: yellow;
}

a:hover {
    color: var(--LHover);
    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(--BG);
    scrollbar-color: var(--scrollthumb) var(--scrollbar);
    background-color:var(--backgBottom);
    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 0.5s ease-in-out;
  -moz-transition: opacity 0.5s ease-in-out;
  -webkit-transition: opacity 0.5s ease-in-out;
}

body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: var(--Overlay);
    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;
}

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

/*---------- Grid + Contain ----------*/
#Container {
	position:relative; display:grid;
	margin:2vh auto;
	padding:1vw;
	width: 80rem;
	height: 50rem;
	grid-template-columns: 19% 59.5% 19%;
  	grid-template-rows: 100%;
  	gap: 0 1vw;
  	grid-auto-flow: row;
  	grid-template-areas:
    "Left Primary Right";
}

#Primary {
	box-sizing:border-box;
	grid-area:Primary;
	height:100%;
	grid-template-columns:100%;
	grid-template-rows:39% 47% 13%;
	gap:0.75rem;
	grid-template-areas:
	"P1"
	"P2"
	"MQ";
}

#Left, #Right, #Primary {
	display:grid;
	position:relative;
	width:100%;
	height:100%;
}
#Left, #Right {
	margin-top:0.5vh;
	}
	
#Left {
	grid-area:Left;
	grid-template-columns:auto;
	grid-template-rows:35% 45% 15%;
	gap:0.8rem;
	grid-template-areas:
	"L1"
	"L2"
	"L3";
}
#Right {
	grid-area:Right;
	grid-template-columns:auto;
	grid-template-rows:60% 37.5%;
	gap:0.8rem;
	grid-template-areas:
	"R1"
	"R2";
}


/*---------- Primary + Side Bases ----------*/

.Inner {
	box-sizing:border-box;
	display:flex;
	position:relative;
	height: calc(100% - 1.8rem);
	width:100%;
	border:1px solid var(--Border);
	background:var(--Inner);
	margin:0.3rem 0.4rem 0 0.4rem;
}

#L1, #L2, #L3, #P1, #P2, #MQ, #R1, #R2  {
	box-sizing:border-box;
	position:relative;
	display:flex;
	flex-wrap: wrap;
	background:var(--Boxes);
	border:1px solid var(--Border);
	padding-bottom:0.4rem;
}
#L1 {grid-area:L1;}
#L2 {grid-area:L2;}
#L3 {grid-area:L3;}

#P1 {grid-area:P1;}
#P2 {grid-area:P2;}
#MQ {grid-area:MQ;
height:100%;}

#R1 {grid-area:R1;}
#R2 {grid-area:R2;}

 #stamp-marq {
	box-sizing:border-box;
    position:absolute;
	display:block;
	margin-top:0.2rem;
    height:inherit; width:inherit;
}

/*---------- Primary + Sides ----------*/

/*---- Intro ----*/
#P1-in {
	box-sizing:border-box;
	position:absolute;
	display:grid;
	height:90%; width:96%;
	max-height:inherit; max-width:inherit;
	margin:0.75rem 1rem 1rem 1rem;
	padding:1px 0.5rem 0 0;
	grid-template-columns: 33% 33% 33%;
  	grid-template-rows: 100%;
  	gap: 0;
  	grid-auto-flow: row;
  	grid-template-areas:
    "Intro Intro PFP";
	overflow-y:scroll;
	overscroll-behavior-y: none;
	overflow-x:hidden;
	background:var(--Transparent);
	border:1px solid var(--Bar)
}

#Intro, #PFP {
	display:block;
	height:100%;
	}

#Intro {
	grid-area:Intro;
	box-sizing:border-box;
	width:102%;
	font-size:1.05rem;
	line-height: 1.1rem;
	padding:0.05rem 0.2rem  0.5rem 1.2rem;
}

#PFP{
	grid-area:PFP;
	background:var(--Transparent);
	width: 100%;
	height:99%;
	align-content:center;
	border:1px solid var(--AviBorder);
}
#PFPE {
	position:sticky;
	width:99%;
	height:99.4%;
	top:1px;
	margin-left:0.4rem;
	border-left:1px solid var(--Bar);
	padding-left:3px;
}

#Avi {
    background:var(--Avi);
    background-size: cover;
    background-position: center;
	margin:auto; 
    height:95%;
    width:95%;
	border:1px solid var(--AviBorder);
	image-rendering:smooth;
}

/*---- END intro ----*/

#Middle {
	box-sizing:border-box;
	display:grid;
	height:95%;
	width:97%;
	margin:auto;
	grid-template-columns:36% 31% 30%;
	grid-template-rows:55% 41%;
	gap:0.6rem 0.7rem;
	grid-template-areas:
	"AS Mid Mid"
	"MdBot MdBot MdBot"
}

#AS, #Mid, #MdBot  {
	box-sizing:border-box;
	position:relative;
	display:flex;
	background:var(--Transparent);
	border:1px solid var(--Bar);
	height:100%;
	width:100%;
}

#AS {grid-area:AS;}
#Mid {grid-area:Mid;}
#MdBot {grid-area:MdBot;}

/*-------- Status Card --------*/
.Status {
	box-sizing:border-box;
	display:block;
    font-size:0.85rem;
	margin:auto;
    padding:0.5rem 0.85rem;
    line-height:1.5rem;
	width:100%;
}

.StatT {
	color:var(--Titles);
	display:flex;
	justify-content:space-between;
	vertical-align:middle;
}
.StsCon {
	font-size:1.4rem;
	color:var(--Titles2nd);
}

.secondary{
    font-size:1.06rem;
    letter-spacing:0.2rem;
    font-variant: small-caps;
    font-weight:500;
    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 {
	color:var(--Accents2nd);
    font-weight:bold;
    position:relative;
  }
.stat-txt {
    color:var(--Accents);
    margin-bottom:0.25rem;
    font-weight:600;
  }
.justify-stat {
    display: flex;
    justify-content: space-between;
  }
.stat {
    display:inline-block;
    position:relative;
    top:-4px;
  }

#ArtLink {
	margin-top:0.5rem;
	text-align:center; 
	display:block;
	letter-spacing:0.02rem;
}
#ArtLink a:hover {
	letter-spacing: 0.07rem;
}
/*--- END Status Card ---*/

#ArtLink a, #SocialLinks a {
	font-weight:bold;
}

/*---- Outta Space ----*/
#SocialLinks{
	box-sizing:border-box;
	position:relative;
	display:block;
	margin:auto;
	height:inherit;
	width:100%;
	text-align:center;
	line-height:0.8rem;
  }
  #SocialLinks a {
    padding: 0 0.25rem 0 0.25rem;
    font-size:0.9rem;
    letter-spacing:0.05rem;
  }
 #SocialLinks a:hover {
    letter-spacing:0.09rem;
  }

/*-- END Outta Space --*/

/*---- Updates and Info ----*/

#SiteInfo {
	display:block;
	text-align:center;
	padding:0.3rem 0.5rem;
	width:100%;
}

#Vers {
	padding-bottom:0.35rem;
	border-bottom: 1px solid var(--Accents);
	margin-bottom:0;
	margin-top:0.7rem;
}
#ThChanger {
	margin-top:0.5rem;
}
/*-- END Updates and Info --*/


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

.BarTitle {
	position:relative;
    display:inline-block;
    text-align: left;
	line-height:1.45rem;
	margin-left:1.9rem;
	color:var(--BarTitle);
}

.TopBar {
	z-index:999;
	position:relative;
	display: flex;
	background:var(--Bar);
	height:1.48rem;
	width:100%;
	text-align:right;
	justify-content: space-between;
	border-bottom:1px solid var(--BarBd);
}

.sox {
	position:relative;
    display: inline-block;
    font-family: consolas;
    z-index: 5;
}

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

#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.03rem 1rem;
    height: 1.42rem;
}

.FakeFav {
	position: absolute;
	display: inline;
	font-size: 1.4rem;
	color: var(--Icons);
	text-shadow: 1px 1px 0px var(--DropShad), 0 0 2px var(--DropShad);
	--ionicon-stroke-width: 2.25rem;
	margin-left:0.3rem;
	line-height:2.1rem;
}

/*----------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);
	border-radius:0;
}

::-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);
	border-radius:0;
}




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

.slider-block {
  display:block;
  align-self:flex-end;
}

.slider {
    display:flex;
    text-align:center;
    width: 100%;
    left:-6px;
    align-content:space-evenly;
  }
  
  div.btn-container{
    position:relative;
    display: inline-flex;
    margin:auto;
  }
  div.btn-container i {
    position:relative;
    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 -----*/
  
