@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
:root{
  --main-color: #79b1ec;
  --main-color-hover: #48399D
}
body{ margin:0; font:normal 75% Arial, Helvetica, sans-serif; } canvas{ display: block; vertical-align: bottom; } /* ---- particles.js container ---- */ 
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #25008a, #6b5686);
}
::-webkit-scrollbar {
  width: 10px; /* Example: Sets scrollbar width to 10 pixels */
}
html{
  scrollbar-color:var(--main-color) var(--main-color-hover);
  scrollbar-width: 10px;
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
.sideNav{
  width: 14.6em;
  position: fixed;
  top: 0em;
  left: 0;
  height: 100%;
  background-color: var(--main-color-hover);
  display: inline-block;
  transition: box-shadow 0.3s ease;
  overflow-x: hidden;
  scrollbar-width: none;
  box-shadow: 2px 0px 6px #896cac;
}
.sideNav:hover{
  transition: overflow 0.15s delay;
  scrollbar-width: thin;
  box-shadow: 0 0 10px 4px #896cac;
}
.sideSVG{
  width: 2em;
  height: 2em;
  margin: 0.5em;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease;
}
.sideSVG:hover{
}
.sideEmoji{
  font-size:1.75em;
  display: inline-block;
  vertical-align: middle;
  width: 1.71428571429em;
  height: 1.71428571429em;
  line-height: 1.71428571429em;
  text-align: center;
  margin: 0em;
  transition: rotate 0.4s ease, transform 0.2s ease;
}
.sideEmoji:hover{
}
.sideName{
  color: var(--main-color);
  font-size: 1.2em;
  margin: 0.5em;
  margin-left: 0.25em;
  transition: color 0.4s ease, padding 0.3s ease;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: 1px;
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
.sideName:hover, .current{
  color: white;
  padding-left: 1em;
}

.fullrotate{
  transition: rotate 0.4s ease;
}
.fullrotate:hover{
  rotate: 360deg;
}

.grow:hover{  transform: scale(1.3);
           transition: transform 0.3s ease;}
#main{
  width: calc(100% - 14.6em);
  left: 14.6em;
  height: calc(100% - 4.444vh);
  position: absolute;
  top: 4.444vh;
  overflow: scroll;
  overflow-x: hidden;
}
  #main {
    opacity: 1;
    transition: opacity 0.3s ease;
  }
  #main.fade-out {
    opacity: 0;
  }
hr{
  color: #896cac;
  background-color: #896cac;
  width: calc(14.6em - 30px);
  margin-left: 15px;
  margin-right: 15px;
  box-shadow: 0 0 10px 4px #896cac;
}
.sideNav:hover hr{
  margin-right: 0px;
}
/*games*/
.gameframe_game {
  margin: 2vw;
  text-align: center;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 15px;
  box-shadow: 0 0 4px 2px #896cac;
}
.gameframe_game img {
  width: 9.375vw;
  height: 9.375vw;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  transition: all 0.3s ease; 
  background: #3e334d

}
.gameframe_game:hover img {
  cursor: pointer;
  filter: brightness(0.5); 
  background: #896cac;
  box-shadow: 0 0 0 4px var(--color-3);
}
.gameframe_game:hover{

  box-shadow: 0 0 10px 4px #896cac;
  transform: scale(1.3);
}
.gameframe_game h1 {
  margin: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.333vw; 
  opacity: 0;
  transition: 0.3s ease;
  position: absolute;
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  color: #ffffff;
  width: 9.375vw;
}
.gameframe_game:hover h1 {
  opacity: 1;
}
.sideNav a{
  text-decoration: none;
}
.adNav{
  width: calc(14.6em - 34px);
  height: 700px;
  border: 2px solid black;
  margin-left: 15px;
  margin-right: 15px;
  background: url('/adblock.png'); background-size: cover;
}
.sideNav:hover .adNav{
  margin-right: 0px;
}
.frame{ 
  border: 2px solid var(--main-color-hover);
       border-radius: 12px;
       margin: 2.5vw;
       height: calc(50vh + 5vh);
       width: calc(50vw + 2px);
  background-color: var(--main-color-hover);
  padding: 0.75em;
}

.game_frame{
  frameborder: 0;
  width: 50vw;
  height: 50vh;

  border-radius: 12px;
  border: 2px solid var(--main-color-hover);
}
.gameUIbutton{
  float: right;
  height: 2.431vh;
  width: 2.431vh;
  padding: 10px;
  padding-right: 15px;
  border-radius: 6px;
  transition-duration: 0.125s;
  margin-top: 5px;
}
.gameUIbutton:hover{
float: right;
height: 45px;
width: 45px;
padding: 5px;
padding-right: 10px;
border-radius: 6px;

}
.gmsName {
  position: relative;
  float: left;
  top: -11px;
  margin-left: 10px;
  margin-bottom: 0;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, 
               -1px 1px 0 #000, 1px 1px 0 #000;
  width: calc(50vw - 140px);
  color: var(--main-color);
  font-size: 3vh;
  overflow-y: hidden;
  -ms-overflow-style: none;  
  scrollbar-width: none;
  height: 1.15em;
}
  .gmsName::-webkit-scrollbar {
    display: none;
  }
/*search*/
.topSearch{
  align-items: center;
  text-align: center;
  position: absolute;
  top: 0px;
  left: 14.6em;
  width: calc(100% - 14.6em);
  height: 4.444vh;
  background-color: var(--main-color-hover);
  z-index: 4;

  box-shadow: 2px 2px 6px #896cac inset;
}
.Search{
  position: relative;
  left: -3.75em;
  height: 3.333vh;
  border-radius: 1em;
  width: 18em;
  margin-top: 0.278vh;
  opacity: 0.7;
  border: none;

}
#results {
  position: absolute;
  max-height: 300px;
  overflow-y: auto;
  background: var(--main-color-hover);
  border: 1px solid #333;
  border-radius: 6px;
  padding: 5px;
  display: none;
  z-index: 1000;
}
#results .gameframe_srch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  cursor: pointer;
}
#results .gameframe_srch:hover {
  background:#7961b3;
}
#results img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}
#results h1 {
  font-size: 14px;
  margin: 0;
}
.logo{
  width: 13.7em;
  height: 2.5em;
  margin-top: 0.5em;
  margin-left: 0.25em;
  transition: all 0.4s ease;
  animation: blink 2s infinite;
}
@keyframes blink{
  50%{
  filter: brightness(1.4);
  opacity: 0.8
  }
  100%{
  filter: brightness(1);
  opacity: 1
  }
}
.frameCenter {
  width: calc(50vw + 2px);
  margin-left: calc((100% - 14.6em - (50vw + 2px)) / 2);
}
.homeLogo{
  width: 60vw;
}
.hometext{
  color: var(--main-color);
  font-size: 2.5vw;
  max-width: 60vw;
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  margin-left: 0.5em;
}
.home{
  margin: 2vw;
}
.getstarted{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8vw;
  height: 4.5vw;
  background: var(--main-color-hover);
  text-decoration: none;
  color: var(--main-color);
  border-radius: 0.75vw;
  font-size: 0.5vw;
  box-shadow: 0 0 6px 4px #896cac;
  transition: all 0.3s ease;
  margin-left: 0.5vw;
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
.getstarted:hover{
  box-shadow: 0 0 10px 4px #896cac;
  rotate: 5deg
}

.gamesRotate{
  width: 13vw; 
  height: calc(100vh - 4.444vh);
  overflow: hidden;
  position: absolute;
}
.Container1{
  left: 63vw;
  top: 0em;
}
.Container2{
  left: 74vw;
  top: 0em;
}

.column {
  width: 13vw;
  height: calc(100% - 4.444vh);
  position: relative;
  overflow: hidden;
}

.rotatetrack {
  animation: up 18s linear infinite;
  flex-direction: column;
  display: flex;
}

.rotatetrack.down {
  animation: down 18s linear infinite;
}

.rotatetrack a {
  display: block;
  padding: 0.48vw; /* 0.4vw * 1.2 = 0.48vw */
  box-sizing: border-box;
}

.rotatetrack img {
  width: 100%;
  height: 13.2vw; /* 11vw * 1.2 = 13.2vw */
  object-fit: cover;
  border-radius: 1vw;
  transition: transform 0.25s ease, outline 0.25s ease;
  will-change: transform;
  outline: 0.18vw solid transparent; /* 0.15vw * 1.2 = 0.18vw */
}

.rotatetrack a:hover img {
  transform: scale(1.05);
  outline: 0.18vw solid #f0d210;
}

/* Infinite scroll keyframes */
@keyframes up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes down {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}
.rotatetrack .gameframe_game img{
  border-radius: 1em;
}