@font-face{
  font-family: 'handmade';
  src: url(../HandmadeBrushes.ttf);
  }
@font-face{
  font-family: 'punkstitles';
  src: url(../Punk.ttf);
  }

body {
   justify-content: center;
    margin: 0;
    padding: 20px;
    background-image: url('../purple.gif');
    text-align: center;
    font-family: 'handmade';
    color:white;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    cursor: url('../cursor.png?v=2'), auto; 
}

a {
  cursor: url('../invertedc.png?v=2'), auto; 
  }
  
h1 {
  font-size:100px;
  }
.menu {
  background-color:#8400AD;
  display: center;
  border: 1px solid #000;
  list-style-position: inside;
  }
  
.menulist {
  color: white;
  display: flex;
  flex-direction: row;  
  justify-content: center;
  gap: 30px;
  }
.button {
  border: none;
  background: transparent;
  font-family: 'punkstitles';
  padding: 0 20px;
  width: auto;
  font-size: 30px;
  cursor: url('../invertedc.png'), auto; 
  display: inline-block; /* Crucial for <a> elements to accept layout/transforms */
  text-decoration: none; /* Removes the default link underline */
  color: white;
  }
  
.button:hover{
  background-color:#FC09F2;
  border: 1px solid #FC09F2;
  color: white;
  transform: scale(1.1);
  transition: background-color 0.2s ease, transform 0.2s ease;
  }
ul {
   list-style-type: none;}
   
.content {
  background-color:#1D052B;
  display: flex;
  } 
   
   
.game1 img {
  height: 200px;
  width:200px;
  border-radius: 10px;
  object-fit: cover;
  }
  
.game1 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 200px;
  height: auto;
  overflow: hidden;
  border: 1px dotted white;
  border-radius: 10px;
  margin-top: 5%;
  margin-left: 5%;
  margin-bottom: 5%;
  padding: 2%;
  position: relative;
  z-index: 3;
  }
   
   
.game1 a {
  font-family:'punkstitles';
  text-align: center;
  font-size: 30px;
  color: white;
  text-decoration: none;
  }
   
.game1:hover {
  transform: scale(1.1);
  transition: background-color 0.2s ease, transform 0.2s ease;
  }
   
.content {
  position: relative;
  z-index: 2;
  }

.stars span {
  position: absolute;
  animation: animate 2s linear infinite;
  z-index: 1; /* Keeps stars on a base layer */
  }
  
.stars span i {
  color: #E700FF;
  font-size: 18px;
  }
  
.stars span:nth-child(1){
  left: 60px;
  animation-delay: 0.3s;
  top: 5%;
  }
  
.stars span:nth-child(2) {
  left: 10%;
  animation-delay: 2s;
  top: 10%;
  }
  
.stars span:nth-child(3) {
  left: 20%;
  animation-delay: 5s;
  top: 15%;
  }
  
.stars span:nth-child(4) {
  left: 16%;
  animation-delay: 4s;
  top: 67%;
  }
  
.stars span:nth-child(5) {
  left: 40%;
  animation-delay: .5s;
  top: 85%
  }

.stars span:nth-child(6) {
  left: 50%;
  animation-delay: 5s;
  top: 23%;
  }
  
.stars span:nth-child(7) {
  left: 60%;
  animation-delay: 5s;
  top: 65%;
  }
  
.stars span:nth-child(8) {
  left: 70%;
  animation-delay: 3.5s;
  top: 12%;
  }
  
.stars span:nth-child(9) {
  left: 80%;
  animation-delay: 9s;
  top: 75%;
  }
  
.stars span:nth-child(10) {
  left: 90%;
  animation-delay: 3s;
  top: 14%;
  }
  
 .content {
  display: absolute;
  justify-content: center;
  align-items: center;
  height: 100vh;
  z-index: 1;
  }
@keyframes animate {
  0% {
    opacity: 0;
    }
  50% {
    opacity: 1;
    }
  100% {
    opacity: 0;
    }
  }

   

  
#yanchan {
  width: auto;