@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");

.nunito-sans-nunitus {
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100, "YTLC" 500;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-y: auto;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.page1 {
  background: url(../assets/background.png) no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo {
  position: absolute;
  height: 11.5vh;
  top: 5%;
  left: 50%;
  transform: translate(-50%, 0%);
}

.ftp {
  position: absolute;
  height: 20.6vh;
  top: 10%;
  left: 20%;
  transform: translate(-50%, 0%);
}

.download-buttons {
  position: absolute;
  bottom: 5%;
  right: 16%;
  transform: translate(50%, 0%);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.download-btn {
  height: 15.7vh;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.download-btn:hover {
  transform: scale(1.05);
}

.policy-box {
  position: absolute;
  height: 10vh;
  bottom: 5%;
  left: 10%;
  cursor: pointer;
}

.box1 {
  position: absolute;
  top: 40%;
  left: 5%;
  width: 60.6vw;
  background-color: #000000;
  padding: 1%;
  border-radius: 2vh;
  border: 2px solid #ffffff;
}

.text1 {
  color: white;
  font-size: 4.5vh;
  text-align: left;
  font-family: "Nunito Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
}

.page2 {
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  flex-direction: column;
  width: 100%;
  position: relative;
}

.box2 {
  position: absolute;
  bottom: 10%;
  left: 10%;
  background-color: #000000;
  padding: 1%;
  border-radius: 1.5vh;
  border: 2px solid #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.text2 {
  color: white;
  font-size: 2vh;
  text-align: left;
  font-family: "Nunito Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
}

.image18 {
  height: 5vh;
  object-fit: contain;
  margin-right: 20px;
}

.our-games {
  color: white;
  font-size: 4.8vh;
  text-align: left;
  font-family: "Nunito Sans", sans-serif;
  font-style: normal;
  font-weight: 800;
  position: absolute;
  top: 10%;
  left: 5%;
}

.page2-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row;
  width: 100%;
}

.game-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.game-image {
  height: 16vh;
  object-fit: contain;
}

.game-text {
  color: white;
  font-size: 2.41vh;
  text-align: center;
  font-family: "Nunito Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
  margin-top: 3vh;
}



.free-play {
  display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page1 {
    background: url(../assets/mobile_background.png) no-repeat center center;
    background-size: cover;
  }
  .logo {
    height: 9.8vh;
    top: 25%;
  }

  .ftp {
    height: 15vh;
    top: 8%;
    left: 50%;
    transform: translate(-50%, 0%);
  }

  .download-buttons {
    right: 50%;
    transform: translate(50%, 0%);
    gap: 8px;
    top:44%
  }

  .download-btn {
    height: 12.3vh;
  }

  .box1 {
    width: 90%;
    font-size: 3vh;
    left: 50%;
    top: 74%;
    transform: translate(-50%, 0%);
    background-color: transparent;
    border: none;
  }

  .text1 {
    font-size: 1.8vh;
    text-align: left;
  }

  .box2 {
    bottom: 2%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, 0%);
  }

  .image18 {
    margin-right: 5px;
    margin-left: 5px;
  }

  .page2 {
    height: 100vh;
    padding: 20px 10px;
  }

  .our-games {
    font-size: 3.5vh;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0%);
  }

  .page2-container {
    flex-direction: column;
    gap: 20px;
    margin-top: 5%;
  }

  .game-container {
    width: 100%;
  }

  .game-image {
    height: 18vh;
  }

  .game-text {
    font-size: 2.1vh;
  }

  .free-play {
    display: inline;
  }
}
