
body {
  background-image: url("../assets/images/setting-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  /* margin 50px */
}
/* Header(backbutton, Tilte) - Flex, titlesize, margin */
#header-part {
  display: flex;
  justify-content: space-between;
}
.instruction-game-name {
  font-size: 150px;
  margin-top: 20px;
  margin-right: 200px;
}

#back-button {
  margin-top: 50px;
  margin-left: 50px;
  width: 100px;
  height: 100px;
  border: none;
  background: none;
  cursor: pointer;
}
#back-button:hover {
  animation: moveAnimation 0.5s infinite alternate;
}
#back-svg {
  width: 120px;
  height: 120px;
}
svg {
  transition: transform 0.3s ease-in-out;
}
@keyframes moveAnimation {
  to {
    transform: translateX(-20px);
  }
}

.container {
  padding: 50px;
  padding-bottom: 30px;
  padding-top: 30px;
  margin: 50px;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 30px;
  border:7px solid red;
  background-color: wheat;
}
#uls {
  display: flex;
}

li,
#uls > ul > h2 {
  text-align: left;
  font-size: medium;
  text-align: justify;
}

#div-pt1 {
  /* border: 2px solid red; */
  width: 1100px;
  margin-right: 50px;
}


@media screen and (max-width: 845px) {
  body {
    background-image: url("../assets/images/setting-bg.png");
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    width: 100%;
    height: 100%;
  }

  .instruction-game-name {
    font-size: 600%; /* Use percentage for font size */
    margin-top: 1%;
    margin-right: 1.2%;
  }

  .container {
    width: 100%; /* Change to 100% */
    padding: 3%;
    padding-bottom: 1.2%;
    padding-top: 1.2%;
    margin: 10%;
    margin-top: 1.5%;
    border-radius: 1em;
    border: .4em solid red;
    background-color: wheat;
  }

  #back-button {
    margin-top: 3%;
    margin-left: 4%;
    width: 8%;
    height: 8%;
    border: none;
    background: none;
    cursor: pointer;
  }

  #back-button:hover {
    animation: moveAnimation 0.5s infinite alternate;
  }

  #back-svg {
    width: 8%;
    height: 8%;
  }

  svg {
    transition: transform 0.3s ease-in-out;
  }

  @keyframes moveAnimation {
    to {
      transform: translateX(-20px);
    }
  }

  #uls {
    display: flex;
  }

  li,
  #uls > ul > h2 {
    text-align: left;
    font-size: medium;
    text-align: justify;
  }

  #div-pt1 {
    width: 70%; /* Change to percentage */
    margin-right: 2.5%;
  }
}
