body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  height: 100vh;
  color: #fff;
  background-color: #ccc;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
  background-repeat: no-repeat;
  background-size: cover;

  /* overflow: hidden; */
}

#main {
  display: flex;
  width: 100%;
  /* margin: 2% 0.5% 0.5% 0.5%; */
  /* height: 99%; */
  padding: 2%;
  border-radius: 10px;
  background-color: rgba(87, 82, 82, 0.7);

  /* flex: 1; */
}

#mapContainer {
  display: block;
}
#mapContainer h1 {
  display: flex;
  align-items: center;
  justify-content: center;
}

#map {
  margin: 1%;
  width: 90%;
  /* height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3%;
  background-color: #fff;
  border-radius: 14px;
  /* flex: 1; */
}

table {
  border-collapse: separate;
  border-spacing: 4px;
}

/* table td {
  margin: 2px;
} */

#scoreTrack {
  display: flex;
  justify-content: space-between;
  margin: 1%;
  padding-left: 5%;
  padding-right: 10%;
}

.scoreLeft {
  float: left;
}
.scoreRight {
  float: right;
}

/* #map table {
  width: 100%;
} */

.cell {
  background-color: lightgoldenrodyellow;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  border-radius: 10%;
  width: 3.8rem;
  height: 3.8rem;
  background-size: cover;
  box-sizing: border-box;
}

#details {
  display: block;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-left: 3%;
  padding-right: 1%;
  padding-bottom: 10%;
}

.score {
  margin: 0% 3%;
  /* padding: 10%; */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  /* background-color: black; */
}

.SeanonsAndPoints {
  display: block;
  /* align-items: center;
  justify-content: center; */
}
.totalPoints {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* .scoreBoxs {
  align-items: center;
  justify-content: center;
} */

.scoreBox {
  font-size: large;
  width: 130px;
  height: 130px;
  border: 1px solid #ccc;
  margin: 10px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  border-radius: 14px;

  /* margin: 10px;
  width: 200px;
  height: 100px;
  border-radius: 5%;
  justify-content: center;
  text-align: center; */
  color: white;
  text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.4);
  /* align-content: center; */
  /* background-color: green; */
}

.score1 {
  background-color: #61e036;
  border: 3px solid rgb(5, 126, 5);
}
.score2 {
  background-color: #ecec21;
  border: 3px solid rgb(187, 159, 0);
}
.score3 {
  background-color: #e6b218;
  border: 3px solid #a37e0c;
}
.score4 {
  background-color: #40bfff;
  border: 3px solid #078cce;
}

.col-1 {
  width: 8.33%;
}
.col-2 {
  width: 16.66%;
}
.col-3 {
  width: 25%;
}
.col-4 {
  width: 33.33%;
}
.col-5 {
  /* width: 41.66%; */
  width: 45%;
}
.col-6 {
  width: 50%;
}
.col-7 {
  /* width: 58.33%; */
  width: 55%;
}
.col-8 {
  width: 66.66%;
}
.col-9 {
  width: 75%;
}
.col-10 {
  width: 83.33%;
}
.col-11 {
  width: 91.66%;
}
.col-12 {
  width: 100%;
}

.missions {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35%;
  width: 100%;
  /* margin-bottom: 0; */
}
.mission-card {
  width: 100%;
  height: 45%;
  padding: 0px;
  border: 1px solid #ccc;
  color: #fff;
  background-color: 8c8c8c;
  margin: 1%;
  border-radius: 14px;
  margin: 10px;
}

.highlightMissions img {
  box-shadow: 2px 2px 10px rgba(255, 255, 0, 0.989);
  border-radius: 5px;
}
/* .missions h4 {
  font-size: 20px;
  color: #fff;
  margin: 0;
} */
/* 
p {
  font-size: 14px;
  margin-top: 10px;
} */

.btn {
  display: block;
  float: right;
  margin-top: 18vh;
  padding: 30px;
}

button {
  width: 100px;
  display: block;
  padding: 15px;
  color: #fff;
  text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.4);
  background-color: grey;
  border: none;
  border-radius: 10px;
  margin-top: 12px;
  box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.4);
}

.nextElement {
  display: flex;
  /* padding: 20px; */
  height: 33vh;
}

.right {
  margin-top: 3%;
  display: block;
  background-color: #fff;
  border-radius: 20px;
  width: 45%;
  color: #000;

  /* align-items: center;
  justify-content: center; */
  /* padding: 25% 10% 25% 15%; */
}

.rightForShapes {
  height: 100%;
  width: 100%;
  display: flex;
  color: #ccc;
  background-color: #fff;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  margin-top: -10%;
  /* padding: 25% 10% 25% 15%; */
}

.emoji {
  /* width: 100%; */
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  margin-bottom: -10%;
  display: flex;
  float: right;
}

.emoji span {
  padding-left: 20px;
  padding-right: 20px;
  font-size: 40px;

  /* margin-right: 10px; */
}

.left {
  display: block;
}

.missionDivs {
  display: block;
  height: 100%;
  width: 100%;
  margin: 1%;
}
.missionDivs img {
  width: 100%;
  height: 100%;
}

/* .totalPoints {
  display: block;
} */
/* 
table {
  display: block;
  width: 200px;
  height: 200px;
  margin: 100px;
  
} */

/* table tr {
  width: 40px;
  height: 40px;
} */

/* table td {
  width: 80px;
  height: 55px;
  margin: 10px !important;
  border: 1px solid black;
} */
/* 
button {
  width: 100px;
  margin: 10px;
  padding: 10px;
} */

.mountain {
  background-color: chocolate;
  background-image: url(./tiles/mountain_tile.png);
  background-repeat: no-repeat;
  background-size: cover;
}
/* .highlightedCell {
  border: 3px solid green;
  box-sizing: content-box;
} */

.cell.highlightedCell::before {
  /* content: ""; */
  position: absolute;
  /* top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px; */
  border: 3px solid green;
  border-radius: 10%;
}

[type="water"] {
  color: gray;
  background-image: url("./tiles/water_tile.png");
  background-repeat: no-repeat;
  background-size: cover;
}
[type="forest"] {
  color: green;
  background-image: url("./tiles/forest_tile.png");
  background-repeat: no-repeat;
  background-size: cover;
}
[type="farm"] {
  color: yellow;
  background-image: url("./tiles/plains_tile.png");
  background-repeat: no-repeat;
  background-size: cover;
}
[type="town"] {
  color: blue;
  background-image: url("./tiles/village_tile.png");
  background-repeat: no-repeat;
  background-size: cover;
}

/* -------------------------- */
/* CLASSES TO MAKE MODAL WORK */
.hidden {
  display: none;
}

.modal {
  width: 50%;
  height: 50%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  margin: auto;
  /* background-color: white; */
  padding: 6rem;
  border-radius: 0.5rem;
  text-shadow: 1px 3px 5px rgba(0, 0, 0, 0.3);
  /* box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3); */
  z-index: 10;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(3px);
  z-index: 5;
}

body.modal-open {
  overflow: hidden;
}

.go {
  display: flex;
  align-items: center;
  justify-content: center;
}

.missionPoints {
  display: flex;
  align-items: center;
  justify-content: center;
}

.missionTitle {
  margin: -0.7em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.missionResults {
  display: flex;
}

.missionResults div {
  /* display: flex; */
  padding: 0;
  margin-right: 2.5rem;
  margin-left: 2.5rem;
}

.activeMission {
  box-shadow: 0 3rem 5rem rgba(255, 255, 0, 0.6);
}

/* buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px;
} */

.reset,
.quit {
  padding: 20px;
  margin: 25px;
}

/* .reset:hover {
  background-color: #40bfff;
}
.quit:hover {
  background-color: #4caf50;
} */

/* $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */

.modal2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 50%;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  border-radius: 0.5rem;
  text-shadow: 1px 3px 5px rgba(0, 0, 0, 0.3);
  z-index: 10;
}
.game-container {
  background-color: #ffffff;
  color: #333;
  border-radius: 8px;
  padding: 15px;
  text-shadow: none;
  /* max-width: 600px; */
  text-align: center;
}

.game-container h1 {
  color: #078cce;
}
.game-description {
  margin-bottom: 20px;
}

.buttons-container {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.button:hover,
button:hover {
  background-color: #4caf50;
  color: #ffffff;
}

.nextButton,
.reset,
.rotate {
  background-color: #0088ff;
  color: #ffffff;
}

.skipButton,
.quit,
.flip {
  background-color: #f44336;
  color: #ffffff;
}

.missionBox {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 2px;
}

.missionBox img {
  width: 100%;
  height: 100%;
}

.missionBox .mission {
  /* width: 70%; */
  width: 400px;
  height: 150px;
  margin: 10px;
}
