
body {
   background-image: url(base-images/stars.jpg);

   background-repeat: repeat-y;
   color: #afb6c2;
   margin-bottom: 25rem;
   text-align: center;
}

.game {
  display: inline-block;
}
.wrapper {
  position: relative;
  display: inline-block;
  width: 200px;
  height: 200px;
  margin-top: 20px;
  margin-left: 35px;
  
}
.wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  display: block;
  transition: transform .3s ease, filter .3s ease;
}
.wrapper:hover img {
  transform: scale(1.17);
  filter: blur(4px);
}
.wrapper .text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: 600;
  font-size: 1.9rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, transform .25s ease;

}
.wrapper:hover .text {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(-6px);
}









.title {
display: flex;
justify-content: center;
font-family: 'Archivo Black', sans-serif;

}



.topnav {
  background-color: #ffffff54;
  overflow: hidden;
  border-radius: 10px;
  text-align: center;
  display: flex;
  width: 50px;
  place-items: center end;
  position: fixed;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  z-index: 3;
  flex-direction: column;
 right: 0;
  gap: 10px;
  align-items: center;
  transform:  translateY(65%);
  
}
.topnav img {
  height: 40px;
  width: 40px;
}



.topnav a {
  float: center;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  font-family: 'Archivo Black', sans-serif;
  
}


.topnav a:hover {
  background-color: #0c90fc;
  color: black;
  border-radius: 10px;
}


.games a {
  opacity: 1;
  transition: opacity 0.5s ease-in;
}






.topnav a.active {
  background-color: #010ca7;
  color: white;
  border-radius: 10px;
}











