html,
body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #000;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
  background-color: #5a1651;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
  text-shadow: 0 0 4px #ea2fb5, 0 0 8px #2b65ff;
}

nav {
  display: flex;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
}

nav a:hover {
  background-color: #575757;
}

.banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  margin: 32px auto 8px auto;
  max-width: 800px;
}

.banner h2 {
  font-size: 2.5em;
  margin: 0;
  text-shadow: 0 0 4px #ea2fb5, 0 0 8px #2b65ff;
}

.games-container {
  display: flex;
  gap: 20px;
  margin: 0 auto 24px auto;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.game-card {
  background-color: black;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.game-card:hover {
  transform: scale(1.05);
}

.game-card img {
  width: 100%;
  height: 300px;
  width: 300px;
  object-fit: cover;
}

.game-card h3 {
  margin: 8px 16px 4px 16px;
  font-size: 1.2em;
  color: white;
  font-weight: 500;
  height: 1.4em;
}

.game-card p {
  margin: 0 16px 8px 16px;
  color: #aaa;
  font-size: 0.9em;
  height: 3em;
  line-height: 1.6em;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
}

footer {
  background-color: #5a1651;
  color: white;
  text-align: center;
  padding: 10px;
  position: relative;
  bottom: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 700px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  .banner {
    margin: 20px 16px;
  }

  .banner h2 {
    font-size: 1.8em;
    text-align: center;
  }

  nav {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .games-container {
    flex-direction: column;
  }
}
