body {
    margin: 0;
    padding: 0;
    background: #000;
    font-family: Arial, sans-serif;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    top: 0;
    left: 0;
    right: 0;
  }
  
  .logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: 75px;
    margin-right: 10px;
  }
  
  .logo h3 {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    font-size: 30px;
    padding:5px;
    text-transform: uppercase;
    color: blueviolet;
    position: relative;
  }
  
  .logo h3:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background:  blueviolet;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease;
  }
  
  .logo h3:hover:before {
    transform: scaleX(1);
  }
  
  .logo h3:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    padding:5px;
    background:  blueviolet;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 1s ease;
  }
  
  
  .logo h3:hover {
    animation: glowing 1s infinite;
  }
  
  @keyframes glowing {
    0% {
      text-shadow: 0 0 5px blueviolet;
    }
    50% {
      text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff;
    }
    100% {
      text-shadow: 0 0 5px blueviolet;
    }
  }
  
  .menu {
    list-style: none;
    margin-top: -2%;
    padding: 0;
    display: flex;
  }
  
  .menu li {
    margin-left: 20px;
  }
  
  .menu li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .menu li a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }
  
  .menu li a:hover:before {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  .menu li a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    top: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }
  
  .menu li a:hover:after {
    transform: scaleX(1);
    transform-origin: right;
  }
  
  .menu li a:before,
  .menu li a:after {
    visibility: hidden;
    opacity: 0;
    background: currentColor; /* Update the background color */
  }
  
  .menu li a:hover:before,
  .menu li a:hover:after {
    visibility: visible;
    opacity: 1;
  }
  
  /* Glow effect */
  @keyframes glowing {
    0% {
      box-shadow: 0 0 5px #fff;
    }
    50% {
      box-shadow: 0 0 20px currentColor, 0 0 40px currentColor;
    }
    100% {
      box-shadow: 0 0 5px #fff;
    }
  }
  
  .menu li a:hover {
    animation: glowing 1s infinite;
  }
  
  .menu li:first-child a:hover {
    color: #00ffff;
  }
  
  .menu li:nth-child(2) a:hover {
    color: #ff00ff;
  }
  
  .menu li:nth-child(3) a:hover {
    color: #ffff00;
  }
  
  .menu li:nth-child(4) a:hover {
    color: #00ff00;
  }
  
  .menu li:nth-child(5) a:hover {
    color: #ff0000;
  }
  
  .container {
    margin: 0 auto;
    max-width: 90%;
    padding: 20px;
  }

  .search-input {
    width: 50%;
    padding: 10px;
    font-size: 16px;
    border: 1.5px solid #ccc;
    border-radius: 4px;
  }

  .search-input::placeholder{
    text-transform: uppercase;
    text-align: center;
  }

  .search-input:focus{
    outline:none;
    border: 1.5px solid #5c5c5cfa;
  }
  #game-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the game elements horizontally */
    margin-top: 20px;
  }

  .game {
    width: calc(10% - 20px);
    margin: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .game:hover {
    opacity:1;
  }

  .game.highlighted {
    opacity: 1;
  }

  .game.fade {
    opacity: 0.7;
  }

  .game-logo {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
  }

  .game-name {
    font-size: 16px;
    margin: 0;
    color: white;
  }

  @media (max-width: 767px) {
    .game {
      width: calc(50% - 20px);
    }
  }

  @media (max-width: 480px) {
    .game {
      width: calc(100% - 20px);
    }
  }
