body {
  /* Nav bar */
  margin: 0;
  background-color: #e9e1cf;
}
.navbar ul {
  list-style-type: none;
  background-color: white;
  padding: 0px;
  margin: 0px;
  display: flex;
  justify-content: flex-end;
}
.navbar a {
  color: maroon;
  text-decoration: none;
  padding: 15px;
  display: block;
  text-align: center;
  font-family: "Lato", sans-serif;
  font-size: 18px;
}
.navbar a:hover {
  background-color: #f9e6e6;
  color: black;
}
.logo img {
  /*Logo */
  width: 150px;
  height: auto;
}
.Menu {
  /*Nav bar and log */
  display: flex;
  justify-content: space-between;
  background-color: white;
  padding: 5px 4%;
}

li.dropdown {
  display: inline-block;
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  z-index: 1;
}

.dropdown-content a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-family: "Lato", sans-serif;
  font-weight: bolder;
}

.dropdown-content a:hover {
  background-color: #f9e6e6;
}

.dropdown:hover .dropdown-content {
  display: block;
}
.turn-container {
  margin: auto;
  width: fit-content;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
}

.turn-boxes {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 170px;
  height: 45px;
}

.turn-box {
  border: 3px solid #000;
  font-size: 26px;
  font-weight: 700;
  z-index: 1;
}

.turn-box:nth-child(even) {
  border-right: none;
}

.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #bdcebe;
  z-index: 0;
  transition: transform 0.3s ease;
  transform: translateX(0%);
}

.main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  height: 250px;
  width: 250px;
  margin: 30px auto;
  border: 2px solid #3a6351;
}

.box {
  cursor: pointer;
  font-size: 32px;
  font-weight: 700;
  border: 2px solid #618685;
  box-shadow: 0 0 10px 5px #618685;
}

.box:hover {
  background-color: #bdcebe;
}

.align {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Coiny", system-ui;
}
.everything {
  padding-top: 70px;
}
.everythingtop {
  padding-top: 100px;
}
.game-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 80px;
  font-family: "Coiny", system-ui;
}

.left-side,
.center-side,
.right-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#results {
  font-size: 30px;
  margin: 0;
  display: none;
}

#play-again,
#reset-game {
  background-color: #bdcebe;
  padding: 10px 25px;
  border: none;
  font-size: 19px;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Lato", sans-serif;
  font-weight: bold;
}

#play-again {
  display: none;
}

#play-again:hover,
#reset-game:hover {
  background-color: #618685;
  color: black;
}
