/* General styles */
body {
  font-family: sans-serif;
  background-color: #121212;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  overflow-y: auto; /* Fix scrolling issue */
}
iframe {
  display: block;
  margin: 20px auto;
  border: 2px solid #602c8b;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Header styles */
header {
  background-color: #1e1e1e;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

header h1 {
  font-size: 2.5em;
  margin: 0;
  color: #f5f5f5;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #f5f5f5;
  font-size: 1.2em;
  padding: 10px 15px;
  border-radius: 5px;
  background-color: #602c8b;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
hr {
  margin-bottom: 10px;
}
nav ul li a:hover {
  background-color: #3700b3;
  transform: scale(1.1);
}
/* Main section styles */
main {
  padding: 20px;
  text-align: center;
}

main h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #f5f5f5;
}

main p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #b0b0b0;
}
main li {
  color: #b0b0b0;
}
/* Game grid styles */
.game-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.game-item {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 10px;
  width: 200px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #f5f5f5;
}

.game-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.game-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.game-item span {
  font-size: 1.2em;
}

/* Footer styles */
footer {
  background-color: #1e1e1e;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  color: #b0b0b0;
  font-size: 0.9em;
}
br {
  margin: 5px 0;
}
#fs {
  background-color: #ffffff;
  color: #000000;
  padding: 10px 20px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
main input {
  background-color: #1e1e1e;
  color: #f5f5f5;
  border: 3px solid #602c8b;
  padding: 10px;
  border-radius: 5px;
  font-size: 1em;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 400px;
  margin-bottom: 10px;
}

main input:focus {
  border-color: #8a59b1;
  outline: none;
  box-shadow: 0 0 6px rgba(138, 89, 177, 0.5);
}

#fs:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
a:not(.game-item):not(nav ul li a) {
  text-decoration: none;
  color: #602c8b;
  transition: color 0.3s ease;
}

a:not(.game-item):not(nav ul li a):hover {
  color: #8a59b1;
}