body,
html {
  overflow-y: auto;
  height: 100%;
  margin: auto;
  width: 100%; 
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

:root { /* this keeps user from zooming */
  --primary-color: #414447;
  --bg-color-primary: #F5F5F5;

  touch-action: pan-x pan-y;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

body{
  background-color: var(--bg-color-primary); 
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  overflow-x: hidden;
  text-align: center;
  color: inherit;
  background-color: inherit;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .wrapper {
    width: 98%;
  }
}

@media (min-width: 810px) {
  .wrapper {
    width: 75%;
  }
}

@media (min-width: 1040px) {
  .wrapper {
    width: 55%;
  }
}

@media (min-width: 1200px) {
  .wrapper {
    width: 45%;
  }
}

.top-container {
  justify-content:space-between;
  align-items:center; 
  color: inherit;
  background-color: inherit;
}

.second-heading {
  justify-content: center;
  align-items: center;
  color: inherit;
  background-color: inherit;
}

.menu-cont {
  display: block;
  cursor: pointer;
  padding-left: 0;
  padding-right: 2.5vw;
  margin-left: 0;
  margin-right: 0;
}

.menu-cont-invisible {
  visibility: hidden;
  display: block;
  cursor: pointer;
  padding-left: 2.5vw;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  
}

.img-2ordle {
  padding: 1vmin;
}

.img-forester {
  padding: 1vmin;
}

.img-snap {
  padding: 1vmin;
}

.img-bale {
  padding: 1vmin;
}

h1 {
  text-align: center;
  color: inherit;
 }
 
 .name-cont{
   color: inherit;
   background-color: inherit;
 }
 
 .bar1, .bar2, .bar3 {
   width: 35px;
   height: 5px;
   margin: 6px 0;
   transition: 0.4s;
   background-color: white ; 
 }
 
 .change, .bar1 {
   transform: translate(0, 11px) rotate(-45deg);
 }
 
 .change, .bar2 {opacity: 0;}
 
 .change, .bar3 {
   transform: translate(0, -11px) rotate(45deg);
 }
 
.forester-games {
  margin-bottom: 2vmin;
  position: relative;
  max-height: 100%;
}

.section__container {
  height: 100%;
}

.games-container {
  margin-top: 2vmin;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 3vw;
  padding: 0 2vw;
  overflow: hidden;
}

.games-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 3vw;
  grid-row-gap: 2vmin;
  margin-top: 2vmin;
  padding: 0 2vw;
  height: 100%; 
  max-height: 100%;
  align-self: flex-start;
  overflow: auto;
}

.game-cover {
  border-radius: 8px;
  background-color: white;
  border: solid 1px gray;
  text-align: center;
  overflow: hidden;
  max-height: 100%;
  max-width: 100%;
  height: 100%;
  flex-basis: calc(50% - 1.5vw); /* Adjust the width of game covers */
  max-width: 100%;
}

.game-cover__button {
  border-radius: 35px;
  letter-spacing: 0.25px;
  color: black;
  border: 1.5px solid black;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 2vmin 5vmin 2vmin;
  position: relative;
  bottom: 5px;
}

.game-cover__button:hover {
  background-color: gray;
  color: white;
  cursor: pointer;
}

.game__cover {
  background-color: white;
  height: calc(100% - 4vh);
}

.game__picture {
  background-repeat: no-repeat;
  background-position: center;
  object-fit: scale-down;
  max-width: 100%;
  max-height: 100%;
}

.game__name {
  
  font-family: 'helvetica';
  font-weight: bold;
  line-height: 120%;
  color: #000;
}

.game-description__text {
  color: black;
  margin: 0 0 1.5vmin;
  line-height: 120%; 
}

.game__description {
  background-color: white;
  position:relative;
  padding: 1vmin;
  font-family: 'helvetica';
  max-height: 50%;
  bottom: 0%;
}

.forester-description__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-start;
  color: white;
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding: 0 2vw; 
}

.forester-description__section {
  flex-basis: calc(95% - 2vw);
  max-width: calc(95% - 2vw);
  margin-bottom: 2vmin;
  height: 100%;
}

.forester-description__section-header {
  letter-spacing: 0.75px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.5vmin;
}

.forester-description-text {
  font-family: 'Helvetica';
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: 3vmin;
}

.overlay {
  height: 400vh;
  width: 100vw;
  display:flex;
  position: absolute; 
  z-index: 10; 
  top: 0%;
  justify-content: center;
  background-color: inherit; 
  color: inherit;
  overflow-x: hidden; 
  overflow-y: auto;
  padding: 3vmin;

} 

.dark-mode {
  background-color: #152028;
  color: #d5cfc1;
  border-color: lightgray;
  box-shadow: 10px 1px 5px black;
  opacity: 1;
  font-weight: 400;
}
.light-mode {
  background-color: white;
  color: #152028;
  border-color: darkgray;
  box-shadow: 10px 1px 5px gray;
  opacity: 1;
  font-weight: 500;
}

.close-button {
  align-self: flex-end; /* Align the close button to the right edge */
  margin-bottom: 10px; /* Add margin to create space between close button and table */
  cursor: pointer;
  z-index: 1;
}

.angled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 2vw; /* Adjust the value as needed */
}

@media (max-width: 768px) { /* Adjust the breakpoint as needed */
  .angled-table {
    font-size: small;
  }
}

.angled-table th,
.angled-table td {
  padding: 8px 12px;
  text-align: center;
  border: 1px solid white;
}

.angled-text {
  white-space: nowrap;
}

#speed-play-button {
  border-radius: 35px;
  letter-spacing: 0.25px;
  color: black;
  border: 1.5px solid black;
  font-weight: 700;
  display: inline-block; /* Adjusted to inline-block */
  margin: 2vmin auto;
  position: relative;
  bottom: 5px;
  background-color: white;
  padding: 10px 20px;
}

#speed-play-button:hover {
  background-color: gray;
  color: white;
  cursor: pointer;
}

#show-stats-button {
  border-radius: 35px;
  letter-spacing: 0.25px;
  color: black;
  border: 1.5px solid black;
  font-weight: 700;
  display: inline-block; /* Adjusted to inline-block */
  margin: 2vmin auto;
  position: relative;
  bottom: 5px;
  background-color: white;
  padding: 10px 20px;
}

#show-stats-button:hover {
  background-color: gray;
  color: white;
  cursor: pointer;
}

#youtube-channel-button {
  border-radius: 35px;
  letter-spacing: 0.25px;
  color: black;
  border: 1.5px solid black;
  font-weight: 700;
  display: inline-block; /* Adjusted to inline-block */
  margin: 2vmin auto;
  position: relative;
  bottom: 5px;
  background-color: white;
  padding: 10px 20px;
}

#youtube-channel-button:hover {
  background-color: gray;
  color: white;
  cursor: pointer;
}

@media screen and (max-height: 450px) {
  font-size: 40px;
  top: 15px;
  right: 35px;
}


@media screen and (max-width: 1024px) {
  .forester-description__section {
    flex-basis: calc(95% - 2vw);
    max-width: calc(95% - 2vw);
  }
}

@media screen and (max-width: 768px) {
  .forester-description__section {
    flex-basis: calc(95% - 2vw);
    max-width: calc(95% - 2vw);
  }
}

.letters-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  justify-content: center;
  align-items: center;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(45deg, #228B22, #a7d1a7);
}

.centered-letters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35em;
}

.put-in-box{
  padding:5px;
  color: white;
  font-weight: bold;
  margin-top: 2vh;
  margin-bottom: 2vh;
  border: solid 1px;
  border-radius: 7px;
  background-color: forestgreen;
  border-color: black;
}

.put-in-box-low{
  padding:5px;
  color: white;
  font-weight: bold;
  margin-top: 3vh;
  margin-bottom: 1vh;
  border: solid 1px;
  border-radius: 7px;
  background-color: forestgreen;
  border-color: black;
}

.put-in-box-hi{
  padding:5px;
  color: white;
  font-weight: bold;
  margin-top: 1vh;
  margin-bottom: 3vh;
  border: solid 1px;
  border-radius: 7px;
  background-color: forestgreen;
  border-color: black;
}


.put-in-box-mid{
  padding:5px;
  color: white;
  font-weight: bold;
  margin-top: 1.5vh;
  margin-bottom: 2.5vh;
  border: solid 1px;
  border-radius: 7px;
  background-color: forestgreen;
  border-color: black;
}

#terms-of-use-button {
  padding:5px;
  color: white;
  font-weight: bold;
  margin-top: 1.5vh;
  margin-bottom: 2.5vh;
  border: solid 1px;
  background-color: forestgreen;
  border-color: black;
}

/* Default font size */
.put-in-box,
.put-in-box-low,
.put-in-box-mid,
.put-in-box-hi {
  font-size: 14;
}

/* Larger font size for larger screens */
@media screen and (min-width: 500px) {
  .put-in-box,
  .put-in-box-low,
  .put-in-box-mid,
  .put-in-box-hi {
    font-size: 16px;
  }
}

@media screen and (min-width: 768px) {
  .put-in-box,
  .put-in-box-low,
  .put-in-box-mid,
  .put-in-box-hi {
    font-size: 18px;
  }
}

@media screen and (min-width: 1000px) {
  .put-in-box,
  .put-in-box-low,
  .put-in-box-mid,
  .put-in-box-hi {
    font-size: 20px;
  }
}

@media screen and (min-width: 1200px) {
  .put-in-box,
  .put-in-box-low,
  .put-in-box-mid,
  .put-in-box-hi {
    font-size: 22px;
  }
}

@media screen and (min-width: 1500px) {
  .put-in-box,
  .put-in-box-low,
  .put-in-box-mid,
  .put-in-box-hi {
    font-size: 25px;
  }
}

