* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

img {
  max-width: 100%;
}

/* Navigation Bar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5em 2em;
  background-color: #141414;
  color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

nav span img {
  color: red;
  width: 130px;
  position: relative;
  z-index: 10;
}

nav div {
  display: flex;
  align-items: center;
}

nav .btn {
  background-color: red;
  color: white;
  padding: 3px 24px;
  font-size: 18px;
  border-radius: 9px;
  font-weight: 400;

}

nav .btn:hover {
  background-color: white;
    color: black;
}

#game-heading {
  margin-top: 80px; 
  text-align: center;
  font-size: 2em;
  color: #edb506;
}





.slider-game {
  width: 80%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  margin-top: 5%;

}

.container {
  display: grid;
  width: 25em;
  height: 25em;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 8em;
}

.original-image {
  width: 20em;
  height: 25em;
}

.image-container {
  border: 1px solid #ffffff;
}

.cover-screen {
  position: absolute;
  top: 0;
  left: 0;
  /* background-color: #edb506; */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background-image: url('bg1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#start-button {
  font-size: 1.2em;
  padding: 0.8em 2em;
  border: none;
  border-radius: 3em;
  cursor: pointer;
}

#start-button:hover {
  background-color: #edb506;
  color: #060606;
}

#game-heading {
  text-align: center;
  /* Centers the heading */
  font-size: 2em;
  /* Increases font size */
  color: #edb506;
  /* Sets the color (change as needed) */
  margin-bottom: 20px;
  /* Adds space below the heading */
  font-family: "Poppins", sans-serif;
  /* Ensures it matches the rest of the text */
}

#moves {
  position: relative;
  margin: 1em;
  text-align: right;
}

.hide {
  display: none;
}

@media only screen and (max-width: 768px) {
  .slider-game {
    flex-direction: column;
  }

  .container {
    width: 20em;
    height: 20em;
    grid-auto-rows: 6em;
  }

  .original-image {
    width: 20em;
    height: 20em;
  }
}


