html, body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.outer {
  flex-grow: 1;
  min-height: 0;
  width: 100%;
  min-height: 100vh;
  background-image: var(--background-image);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

* {
	box-sizing: border-box;
    scrollbar-width: thin;
    -ms-overflow-style: none;
    scrollbar-color: #00000083 #ffffffd3;
  cursor: url("/img/cursor.gif"), auto;

}

img {
    user-select: none;
}

a {
color: var(--a-color);
text-decoration-style: wavy;
}
 
a:hover{
text-shadow: var(--a-shadow);
}

::-webkit-scrollbar{
width: 8px; 
}
 
::-webkit-scrollbar-track{
background-color: #ffffffd3;
}
 
::-webkit-scrollbar-thumb{
background-color: #e9b2ae00;  
}

body.default {
  --primary-color: #ff98a2;
  --secondary-color: #243668f3;
  --background-color: #dce3b3e5;
  --mood-color:#bbce87;
  --text-color: #131622;
  --top-image: url('/img/top.png');
  --bottom-image: url('/img/bottom.jpg');
}

body.dark {
  --primary-color: #2e2e38;
  --secondary-color: #353544;
  --background-color: #818199;
  --mood-color:#cccccc;
  --text-color: #d0d3ff00;
  --top-image: url('/img/homescreen2.png');
  --bottom-image: url('/img/bottom2.png');  
     
}

.outer.default {
  --background-image: url('/img/background.jpg');
  --header-image: url("/img/fontpic.png");
  --header-glow: drop-shadow(2px 2px 0 #fff) drop-shadow(2px 2px 2px #fff) drop-shadow(0 0 50px #cf868cde) drop-shadow(0 0 30px #f7efaee5);
  --ds-shadow: drop-shadow(10px 10px 1px #f0e5ab) drop-shadow(0px 0px 20px #fff);
  --a-color:#62854a;
  --a-shadow: 0px 0px 2px #78beff;
  --leagueborder: url('/img/border1.png') 18 round;
  --leaguebackground: url("/img/inner1.jpg");
  --maincolor: #536c99;
  --piclogborder: hue-rotate(-90deg); 
   --lt-shadow: drop-shadow(5px 5px 1px #f0e5ab) drop-shadow(0px 0px 20px #fff);
   --letterboxdborder: unset;
}

.outer.dark {
  --background-image: url('/img/background2.jpg');
  --header-image: url("/img/header1.jpg");
  --header-glow: drop-shadow(2px 2px 0 #fff) drop-shadow(2px 2px 2px #fff) drop-shadow(0 0 50px #000000) drop-shadow(0 0 30px #000000);
  --ds-shadow: drop-shadow(10px 10px 1px #3d3632) drop-shadow(0px 0px 20px #ffffffa4);
  --a-color:#777777;
  --a-shadow: 0px 0px 2px #332f2c;
  --leagueborder: url('/img/border2.jpg') 18 round;
  --leaguebackground: url("/img/inner2.jpg");
    --maincolor: #35312e;
     --piclogborder: sepia(100%) brightness(70%) contrast(160%) grayscale(40%);
     --lt-shadow: drop-shadow(5px 5px 1px #3d3632) drop-shadow(0px 0px 20px #ffffffa4);
     --letterboxdborder: sepia(100%) brightness(80%) contrast(120%) grayscale(20%);
}

 
.main {
 position: relative;
    width: fit-content;
    height:1038px;
    margin: 5% auto  ;
    grid-area: main;
    filter: var(--ds-shadow);
}

.threeds {
    pointer-events: none;
    user-select: none;
    z-index: 1;
    position: relative;
}

.cloud {
position: relative;
  width: 600px;
  background-image: var(--top-image);
  top: -941px;
  left: 200px;
  z-index: 0;
  height: 360px;
  background-repeat: no-repeat;
}

.bottom {
position: relative;
  width: 481px;
  background-image: var(--bottom-image);
  top: -815px;
  left: 260px;
  z-index: 0;
  height: 365px;
  background-repeat: no-repeat;
}

.cloud > .homescreen2 {

}

#local-time {
  display: block;
  width: fit-content;
  margin: auto 0 auto auto;
  padding: 10px 16px;
  font-size: 2rem;
  color:var(--primary-color);
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px #ffffffc4) drop-shadow(0 0 8px #ffffffc4) drop-shadow(0 0 10px #fff) drop-shadow(0 0 30px #fff);
  text-shadow: 1px 1px var(--secondary-color);
  font-family: 'square';
  text-align: right;
}

.hello {
  width: fit-content;
  font-size: 2rem;
  margin: 0 auto -16px 18px;
  color:var(--secondary-color);
  text-shadow: 2px 2px 0 #fff;
  font-family:'plank';
}

.mood {
  margin: -10px auto auto 100px;
  border:1px solid #0000000c;
  text-shadow: none;
  color:#000;
  background-color:var(--mood-color);
  padding:0 7px 1px;
  border-radius: 6px;
  width: fit-content;
  font-family: 'np';
  img {
    vertical-align: -2px;
    cursor:pointer;
  }
}

.cloud .message2 {
  width:200px;
  height:220px;
  margin:6px auto auto 20px;
  background-color:var(--background-color);
  border-radius: 20px;
  border: 1px solid var(--mood-color);
  color:var(--text-color);
  padding: 8px 10px;
  font-family:'np';
  font-size:16px;
  text-shadow: 1px 1px 0 #fff;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.intro {
  height:98%;
  width:104%;
  overflow: auto;
  text-align: justify;
  line-height: 1rem;
  padding-right: 6px;
  scrollbar-color: #00000083 transparent;
::-webkit-scrollbar-track{
background-color: #ffffffd3;
}
 
::-webkit-scrollbar-thumb{
background-color: transparent;  
}
}

.bottom > .homescreen {
  padding: 13px 10px;
}

.homescreen .message {
  margin-top:0px;
  text-align: center;
  color:#fff;
  text-shadow: 1px 1px #000;
  font-family: 'np';
  font-size: 24px;
  transform: translateZ(0);
}

.translucent-blur {
  background: rgba(255, 255, 255, 0.418);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 3px #00000052;
  height:285px;
  width:94%;
  margin: 14px auto 8px;
  padding: 12px 10px 16px;
  overflow: auto;
}

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

.homeiconimage {
  width:106px;
  height:106px;
  background-color: #fff;
  padding: 10px;
  margin: 12px;
  border-radius: 16px;
  border: 1px solid rgba(128, 128, 128, 0.473);
  filter: drop-shadow(0px 0px 3px #f3edea) drop-shadow(0px 0px 3px #f3edea) drop-shadow(0px 0px 3px #f3edea);
}

.homeiconimage:hover {
  transform: rotate(6deg);
  cursor: pointer;
}

.border {
margin: 5% auto 5%;
width: fit-content;
display: grid;
grid-template-areas:
'header'
'main'
'mybutton';
}

.header {
grid-area: header;
font-size:6rem;
filter: var(--header-glow);
background-image: var(--header-image);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
font-family: "king";
}

@font-face {
    font-family: 'king';
    src: url('/font/King.ttf');
}

@font-face {
    font-family: 'np';
    src: url('/font/nintendopixel.ttf');
}

@font-face {
    font-family: 'square';
    src: url('/font/square.ttf');
}

@font-face {
    font-family: 'plank';
    src: url('/font/plank.ttf');
}

.chatbox2 {
  background-color: #00000069;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.chatboxcontainer {
  margin: auto;
}

.notice {
  width: 100%;
  height:100%;
  position: absolute;
  background-color: #ffffffbe;
  padding: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.noticetext {
  margin: auto auto 0 auto;
  text-shadow: 1px 1px 0 #f5c7ca;
  font-family: 'np';
  font-size: 24px;
  line-height: 1.1rem;
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 10px #fff) drop-shadow(0 0 20px #fff);
}

.understand {
  display: block;
  width: fit-content;
  margin: 10px auto auto auto;
  font-family: 'np';
  font-size: 16px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 0 #fff;
  box-shadow: 1px 1px #f5c7ca;
}

.understand::before {
  content:"";
  width:32px;
  height:32px;
  background-image: url('/img/click.gif');
  display: block;
  position: absolute;
  image-rendering: pixelated;
  margin-top:10px;
  margin-left:66px;
  transform: rotate(-15deg);
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.arrow {
  font-family: 'np';
  position: absolute;
  top: -75px;
  left:22px;
  line-height: 0.7rem;
}

.arrow::before {
  content: "";
  display: block;
  position: absolute;
  width: 50px;
  height:19px;
  filter: drop-shadow(2px 2px 0 #fff);
  top:0px;
  left:35px;
  background-image: url('/img/arrow.png');
}

.leaguecontainer {
  border-image: var(--leagueborder);
  border-width: 12px;
  border-style: solid;
  background-image:var(--leaguebackground);
  width:295px;
  position: absolute;
  transform: rotate(-3deg);
  z-index: 3;
  height: fit-content;
  top:630px;
  right: -350px;
  padding: 10px;
  text-align: right;
  font-family: 'np';
  color: var(--maincolor);
  text-shadow: 1px 1px #fff;
}

.leaguecontainer a {
  color:var(--a-color);
}

.leaguecontainer a:hover {
  text-shadow: var(--a-shadow);
}

#matches {
  text-align: left;
}

.match-card {
  display: flex;
  align-items: center;
  gap:10px;
  background: rgba(119, 119, 119, 0.5);
  padding: 15px;
  border-radius: 8px;
  text-align: left;
  margin-bottom:3px;
  color:#fff;
  text-shadow: 1px 1px 0 #000, 0px 0px 4px #000;
  line-height: 1rem;
  font-size: 19px;
  letter-spacing: 1px;
   filter: sepia(70%) hue-rotate(-10deg);
}

.match-card span {
  background-color: rgba(119, 119, 119, 0.801);
  padding: 1px 4px;
}

.piclog {
  position:absolute;
  width: 250px;
  height: 342px;
  z-index: 3;
  transform: rotate(-5deg);
  left: -360px;
  top: 100px;
  overflow: hidden;
}
.piclogborder {
width: 250px;
height: 342px;
z-index: 5;
position: relative;
filter: var(--piclogborder);
}

.piclogimage {
width: 220px;
height: 290px;
position: absolute;
top: 30px; left: 10px;
img{
  height:100%;
}
}

.mybutton {
  grid-area:mybutton;
 margin: auto;
 width: fit-content;
}

.mii2 {
  background-image: url('/img/aboutmebg.jpg');
  height: 100%;
  background-size: cover;
  overflow: auto;
  padding: 10px;
}

h1 {
  font-family:'pixelw';
  color: #413e38;
margin: 0 auto auto ;
}

h2 {
  margin: 15px auto 0;
  font-family:'pixelw';
  color: #413e38;
}

@font-face {
    font-family: 'pixelw';
    src: url('/font/pixelw.ttf');
}

.stats1 {
  font-family:'np';
  color:#413e38;
  font-size: 21px;
  line-height: 17px;
background-color: #ffffff78;
  padding: 5px;
  border-radius: 10px;
  box-shadow: 2px 2px 2px #00000028;
}

.stats2 {
  font-family:'np';
  color:#413e38;
  font-size: 21px;
  line-height: 23px;
  margin: 10px 0 auto;
  display: flex;
}

.mepic {
  width: 210px;
  height: 210px;
  border-radius: 10px;
  border-style:double;
  color: #413e38;

}

.elrond {
  width: fit-content;
  height: fit-content;
  position: relative;
  margin: auto 0 auto auto;
   .tooltip-container {
    }

    .tooltip-text {
      visibility: hidden;
      background-color: rgb(159, 243, 170);
      color: #413e38;
      text-align: center;
      padding: 5px 8px;
      border-radius: 4px;
      position: absolute;
      bottom: 50%; /* Position above image */
      left: 50%;
      transform: translateX(-50%);
      white-space: nowrap;
      z-index: 1;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .tooltip-container:hover .tooltip-text {
      visibility: visible;
      opacity: 1;
    }
}


.quickstats {
  padding: 0 10px 0 5px;
  border-radius: 10px;
  background-color: #c8f8b557;
  box-shadow: 2px 2px 2px #00000028;
}

.stats3 {
  font-family:'np';
  font-size: 21px;
  color:#413e38;
     table {
            border-collapse: collapse;
            width: 90%;
            margin: 10px auto auto;
            box-shadow: 2px 2px 2px #00000028;
        }
        th, td {
            border: 1px solid #413e38;
            padding: 1px 4px;
            text-align: left;
           
          
        }
        th {
            background-color: #f5afaf;
        }
        td {
          background-color: #ffffff4d;
        }
       
      }

      .tooltip-container {
      position: relative;
      display: inline-block;
    }

    .tooltip-text {
      visibility: hidden;
      background-color: #413e38;
      color: #ffffff;
      text-align: center;
      padding: 5px 8px;
      border-radius: 4px;
      position: absolute;
      bottom: 95%; /* Position above image */
      left: 50%;
      transform: translateX(-50%);
      white-space: nowrap;
      z-index: 1;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .tooltip-container:hover .tooltip-text {
      visibility: visible;
      opacity: 1;
    }

.stats4 {
  font-family: 'np';
  font-size: 21px;
}

.favourites {
  display: grid;
  grid-template-areas:
  'h3'
  'games'
  'h4'
  'movies'
  'h5'
  'series'
  'h6'
  'books'
  'h7'
  'characters';
  row-gap: 10px;
  &> div {
    display: flex;
    flex-direction: row;
    div {
      margin: auto;
      img {
        width: 100px;
        height: 150px;
      }
    }
  }
  .games {
    grid-area: games;
  }
  .movies {
    grid-area: movies;
  }
  .series {
    grid-area: series;
  }
  .books {
    grid-area: books;
  }
  .characters {
    grid-area: characters;
  }
  h3 {
    grid-area: h3;
  }
  h4 {
    grid-area: h4;
  }
  h5 {
    grid-area: h5;
  }
  h6 {
    grid-area: h6;
  }
  h7 {
    grid-area: h7;
  }
  h3, h4, h5, h6, h7 {
    font-size: 30px;
    margin: 0 auto;
    color: #915c69;
    font-weight: 100;
  }
}

.statuscafe {
  position:absolute;
  width:200px;
  height:94px;
  z-index: 3;
  right: -350px;
  top: 150px;
 background-image:url('/img/antea2.gif')
}

.statusinside {
width: 172px;
height: 70px;
margin: 12px auto auto;
background-color:#fff;
overflow: auto;
}

.littlegirl {
  position:absolute;
  right: -140px;
  top: 110px;
  z-index: 4;
  img{
    image-rendering: pixelated;
    width: 100px;
  }
}

#statuscafe {
    padding: 2px 5px;
    color: #413e38;
    text-shadow: 1px 1px 0 #ffffff;
    font-family: 'np';
    a{
      color: var(--secondary-color);
    }
}
#statuscafe-username {
    margin-bottom: .5em;
}
#statuscafe-content {
    margin: 0 1em 0.5em 1em;
    line-height: 15px;
}

.music2{
  overflow: auto;
  height: 100%;
  display: grid;
  grid-template-areas: 
  'musictopbar'
   'musicmiddlebar'
    'musicbottombar';
    grid-template-rows: 1fr auto 1fr;
    background-color: #ffffff;
}

.musictopbar {
  width:100%;
  height: 60px;
  background-image: url('/img/toppiano.png');
  background-size: contain;
}

.musicbottombar {
  width:100%;
  height: 60px;
  background-image: url('/img/bottompiano.png');
  background-size: contain;
}

.musicmiddlebar {
background-image: url('/img/middlepiano.png');
background-repeat: no-repeat;
background-position: right bottom;
}

.spotify{
  position: absolute;
  top:430px;
  left:-255px;
  transform: rotate(12deg);
}

.spotifyshower{
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.album-container {
    position: absolute;
    width: 123px;
    height: 123px;
    top:246px;
    left:72px;
    transform: rotate(4deg);
    font-family: 'np';
  }

  .album-container img.album {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    filter:sepia(100%) hue-rotate(40deg) grayscale(40%);
  
  }

  .status{
    position: absolute;
    z-index: 3;
    top: 251px;
    right: -243px;
    width: 25px;
    height: 25px;
    filter: drop-shadow(0 0 3px #f1edae);
    animation: pulse 1.5s infinite
  }

  @keyframes pulse {
  0% {
    filter: drop-shadow(0 0 3px #f1edae);
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 10px #f1edae);
    transform: scale(1.1);
  }
  100% {
    filter: drop-shadow(0 0 3px #f1edae);
    transform: scale(1);
  }
}

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    border-radius: 12px;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
  }

  .album-container:hover .overlay {
    opacity: 1;
  }

  .song {
    font-weight: bold;
    font-size: 20px;;
    margin-bottom: 5px;
  }

  .artist {
    font-size: 18px;
    color: #ccc;
  }

  .listeningto{
    position: absolute;
    transform: rotate(-17deg);
    top: 866px;
    left: 70px;
    filter: var(--lt-shadow) ;
    
  }

  .hirono{
    position: absolute;
    z-index: 5;
    top:320px;
    left:-165px;
    width: 150px;
  }

   .letterboxd { 
    position: absolute;
    top:300px;
    right:-325px;
       transform: rotate(3deg);
  .movie-container {
    position: absolute;
    width: 120px;
    height: 180px;
    top:65px;
    left:-145px;
    border-radius: 12px;
    overflow: hidden;
    
    
  }

  .movie-container img.poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    filter:sepia(100%) hue-rotate(-60deg);
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    border-radius: 12px;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
  }

  .movie-container:hover .overlay {
    opacity: 1;
  }

  .title {
    font-family: 'np';
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 5px;
  }

  .year {
    font-family: 'np';
    font-size: 16px;
    color: #ccc;
  }
} 

.letterboxdwindow{
  position: absolute;
  z-index: 5;
  width:350px;
  right:-90px;
  pointer-events: none;
  filter: var(--letterboxdborder);
  
}

.figure{
  position: absolute;
  z-index: 6;
  top:490px;
  right:-170px;
  height: 150px;
}

.figure2{
  position: absolute;
  z-index: 6;
  top:273px;
  right:-410px;
  height: 105px;
}

.lettertext{
    position: absolute;
    z-index: 6;
    top: 662px;
    right:340px;
    transform: rotate(3deg);
    width: 25px;

}

.boxdtext{
 position: absolute;
    z-index: 6;
    top: 685px;
    right:90px;
    transform: rotate(3deg);
    width: 25px; 
}

.figure3{
 position: absolute;
    z-index: 5;
    top:370px;
    left:-380px;
    width: 90px;
    transform: rotate(-3deg);
}

.webrings2 {
  background-image: url('/img/webringsbg.jpg');
  background-size: cover;
  overflow: auto;
  height: 100%;
}

#gamer-ring{
  backdrop-filter: unset !important;
  -webkit-backdrop-filter: unset !important;
}