:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.container {
  width: 100%;
  height: 100%;
  padding: 4rem 3rem;
  position: relative;
}
h1 {
  font-size: 3.2em;
  line-height: 1.1;
}
#main-page {
  background-color: rgb(207, 239, 252);
  width: 100vw;
  height: 100vh;
  position: relative;
  background-image: url('/img/backgrounds/background1.png');
  background-size: cover;
  background-position: center;
}
#main-nav {
  position: fixed;
  top: 0;
  padding: 1rem;
  z-index: 10;
  width: 100%;
  background-color: rgba(15, 110, 0, 0.6);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#main-nav .nav-pages {
  display: flex;
  gap: 1.5rem;
}
#main-nav a {
  color: white;
  text-decoration: none;
}
#main-nav a:hover {
  border-bottom: 1px solid lightgreen;
  color: lightgreen;
}
#home-page {
  width: 100%;
  height: 100%;
  background-image: url('/img/backgrounds/background1.png');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.homepage a {
  margin-top: 1rem;
}
.homepage h1 {
  color: darkgreen;
}

.btn-play {
  display: inline-block;
  width: 4rem;
  height: 4rem;
  background-image: url('/img/buttons/play_btn.png');
  background-size: 100% 100%;
}

.hidden-link {
  color: transparent;
  text-indent: -9999px; /* set text out of the page */
}
.games-container {
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}
.games-container .games-card {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  padding: 1rem;
}
.levels-btn {
  display: inline-block;
  width: 5rem;
  height: 5rem;
  background-size: 100% 100%;
}

.level-selection {
  display: flex;
  flex-direction: row;
}
.level-selection .container .levels {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
#level1{
  background-image: url('/img/buttons/level1.png');
}
#level2{
  background-image: url('/img/buttons/level2.png');
}
#level3{
  background-image: url('/img/buttons/level3.png');
}
#level4{
  background-image: url('/img/buttons/level4.png');
}
#level5{
  background-image: url('/img/buttons/level5.png');
}
#level6{
  background-image: url('/img/buttons/level6.png');
}
#level7{
  background-image: url('/img/buttons/level7.png');
}
#level8{
  background-image: url('/img/buttons/level8.png');
}
#level9{
  background-image: url('/img/buttons/level9.png');
}
#level10{
  background-image: url('/img/buttons/level10.png');
}

/* GAME PAGE */
.game-container {
  width: 100vw;
  height: 100vh;
  position: relative;
  background-image: url('/img/backgrounds/bg-farm1.png');
  background-size: cover;
  background-position: center;
  display: flex;
}

.game-container .game-left {
  background-color: rgba(58, 100, 81, 0.5);
  width: 20vw;
}
.game-container .game-center {
  /* background-color: rgba(255, 255, 0, 0.5); */
  width: 60vw;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center; 
}
.game-container .game-center .modal-container{

}
.game-container .game-center .level-show-nb{
  z-index: 20;
  font-size: 1.6rem;
  font-weight: bold;
  height: 20vh;
  color: white;
  padding: 0.5rem;
}
.game-container .game-center .game-area {
  background-color: rgba(61, 38, 194, 0.5);

  height: 65vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
}
.game-container .game-right {
  background-color: rgba(217, 96, 35, 0.5);
  width: 20vw;
}


/* GAME PAGE */