* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Comic Sans MS";
}

body {
  background: url(/images/background-image.png);
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  color: #ffffff;
}

.container {
  width: 900px;
  margin: 0 auto;
}

.top-bar {
  font-size: 16px;
  background-color: #0027ff;
  padding: 15px 50px;
  display: flex;
  justify-content: left;
  align-items: center;
  max-width: 900px;
  margin: auto;
  box-sizing: border-box;
  border-bottom: 1px solid transparent
}

.top-bar a {
  margin-left: 15px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.player-bar {
  font-size: 16px;
  background-color: #425fff;
  padding: 10px 50px;
  display: flex;
  justify-content: left;
  align-items: center;
  max-width: 900px;
  margin: auto;
  box-sizing: border-box;
  border-bottom: 1px solid transparent
}

.player-bar a {
  margin-left: 15px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.games-frame {
  position: relative;
  background-color: #ffffff;
  width: 900px;
  max-width: 90%;
  height: auto;
  min-height: 1100px;
  color: #000;
  text-align: center;
  border: 2px solid #777777;
  margin: 0 auto 250px;
  padding: 20px;
}

.banner img {
  height: 300px;
  margin: auto;
  display: block;
}

.register-link-button {
  margin-top: 4px;
  background-color: #0027ff;
  color: white;
  border: none;
  padding: 5px 10px;
  font-weight: bold;
  cursor: pointer;
  height: 27px;
  width: 100px;
  font-size: 13px;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.register-link-button:hover {
  background-color: #0025f4;
}

.copyrightbar {
  background-color: #0027ff;
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: -51px;
  width: 900px;
  height: 95px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.copyrightbar span,
.copyrightbar a {
  display: block;
  margin-bottom: 5px;
}

.copyrightbar a {
  text-decoration: none;
}

.youtube-icon {
  transform: translateX(450%);
  text-align: center;
  width: 42px;
  height: 42px;
}

.youtube-icon img {
  width: 42px;
  height: 42px;
  margin-bottom: 5px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.game-card {
  height: 300px;
  display: flex;
  flex-direction: column;
}

.game-thumbnail {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #828282;
}

.game-overlay {
  padding: 10px;
  background: #00000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.game-name {
  font-weight: bold;
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 5px;
}

.game-details {
  font-size: 0.9em;
  color: #000000;
  line-height: 1.4;
}

.players-count {
  color: #0025f4
}

.game-overlay a {
  text-decoration: none;
  transition: color 0.2s;
}

.game-overlay a:hover {
  text-decoration-line: underline;
  text-decoration-color: #000000
}