body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-image: url("https://static.vecteezy.com/system/resources/previews/036/078/641/original/pixel-art-illustration-space-background-pixelated-space-space-galaxy-universe-background-pixelated-for-the-pixel-art-game-and-icon-for-website-and-video-game-old-school-retro-vector.jpg"); /* Replace with your GIF path */
  background-size: cover; /* Make the GIF fit the screen */
  background-repeat: no-repeat; /* Prevent the GIF from repeating */
  background-attachment: fixed; /* Keep the GIF still as the user scrolls */
  display: flex; /* Enable flexbox for the body */
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  min-height: 100vh; /* Ensure body takes up full viewport height */
}

header {
  background-color: #000; /* Solid black background */
  color: #fff;
  padding: 5px 0;  /* Reduced padding for a more compact look */
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100; /* Make it stay on top */
  display: flex;
  justify-content: space-between; /* Space between the elements */
  align-items: center; /* Center the content vertically */
}

.container {
  display: flex;
  justify-content: space-between; /* Center the content horizontally */
  align-items: center; 
  /* You can remove this as we'll center the content directly in the header */
  /* display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto; */
}

.logo {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 2em; /* Make the text bigger */
  margin-right: 100px; /* Add margin to the right for spacing */
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  width: 50px; /* Adjust image size as needed */
  height: 50px; /* Adjust image size as needed */
  margin-right: 10px; /* Add spacing between image and text */
}

.social-icons {
  display: flex;
  margin-left: 100px; /* Add margin to the left for spacing */
}

.icon {
  width: 24px; /* Adjust the icon size as needed */
  height: 24px; /* Adjust the icon size as needed */
  margin-left: 10px; /* Add spacing between icons */
}

/* Style for the game sections */
.new-games {
  padding: 20px; /* Add some padding around the sections */
  text-align: center; /* Center the content of the new-games section */
}

/* Style for the game grid */
.game-grid {
  display: flex; /* Make the games a flex container */
  flex-wrap: wrap; /* Wrap the games to multiple rows if needed */
  justify-content: center; /* Center the items horizontally in the grid */
}

/* Style for each individual game */
.game {
  width: 200px; /* Set the width of each game to the image size */
  margin-bottom: 20px; /* Add margin between games */
  margin-right: 10px; /* Add margin to the right of each game */
  position: relative; /* Position the image relative to its container */
  overflow: hidden; /* Hide the play button initially */
}

.game img {
  width: 100%; /* Make the image fit the width of the game container */
  height: 200px; /* Set the image height to 200 pixels */
  border-radius: 5px; /* Round the corners of the image */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Shadow */
  transition: opacity 0.3s ease; /* Add transition for smooth fading */
}

.game:hover img {
  opacity: 0.5; /* Make the image slightly faded on hover */
}

.newest-games {
  color: white;
  text-transform: uppercase; 
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Style for the play button */
.play-button {
  position: absolute; /* Position it within the game container */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the button */
  background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white background */
  padding: 10px 15px; /* Add padding */
  border-radius: 5px; /* Round the corners */
  opacity: 0; /* Initially hide the button */
  transition: opacity 0.3s ease; /* Add a smooth transition */
  cursor: pointer; /* Make it clickable */
}

.play-button i {
  font-size: 2em; /* Make the play icon bigger */
  color: #ccc; /* Make the icon silver */
}

/* Show the play button on hover */
.game:hover .play-button {
  opacity: 1; /* Make the button visible */
}.play-button-triangle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;  /* Adjust the border width for size */
  border-right: 20px solid transparent; /* Adjust the border width for size */
  border-bottom: 30px solid #ccc; /* Adjust the border width for size */
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s ease; /* Smooth transition for hover */
  cursor: pointer;
}

.game:hover .play-button-triangle {
  opacity: 1; /* Make visible on hover */
}

/* Buttons style */
.buttons {
  display: flex;
  justify-content: center; /* Center the buttons horizontally */
  align-items: center; /* Center the buttons vertically */
  margin-top: 10px; /* Add some space from the header */
}

.button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 15px; /* Rounded corners */
  width: 200px; /* Adjust width as needed */
  transition: background-color 0.3s; /* Smooth transition on hover */
}

.button:hover {
  background-color: #3e8e41; /* Darker green on hover */
}

.main-title {
  font-size: 3em; /* Adjust the font size as needed */
  font-weight: bold;
  color: white;
  margin-top: 100px; /* Adjust the margin as needed */
  text-align: center;
}