
:root {
  --lightgray: #efefef;
  --blue: steelblue;
  --white: #fff;
  --black: rgba(0, 0, 0, 0.8);
  --bounceEasing: cubic-bezier(0.51, 0.92, 0.24, 1.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#frame {
  border: 2px solid #000;
  padding-top: 3vh;
  padding-bottom: 3vh;
  margin: 3vh auto;
  width: min(100vw, 1200px);
  background-color: rgba(181, 189, 182, 0.534);
}

#title {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: 3rem;
  color: #fff;
  background-color: #000;
  border: 1px solid #000;
  height: min(20vw, 100px);
}

#instructions {
  background-color: #eee;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 300;
  font-size: 1.5vh;
  color: #333;
  height: min(38vw, 210px);
  padding-inline: 1rem;
  text-align: center;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

#wordle-block {
  margin-top: 3vh;
  margin-bottom: 5vh;
  width: min(100vw, 1000px);
  display: flex;
  flex-wrap: wrap;
  margin-inline: auto;
  justify-content: center;
  align-items: center;
}

.wordle-square,
#wordle-block input {
  width: min(17vw, 100px);
  height: min(17vw, 100px);
  border: none;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  margin-right: 2vw;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  font-size: 3.5rem;
  text-align: center;
  text-transform: uppercase;
  caret-color: transparent;
}

#wordle-block input:focus {
  outline: none;
}

.wordle-white input {
  background-color: white;
}

.wordle-green input {
  background-color: rgb(107, 172, 94);
}

.wordle-yellow input {
  background-color: rgb(212, 211, 113);
}

#toprow,
#middlerow,
#bottomrow,
#outer,
#title,
#instructions {
  margin-bottom: 1vh;
  width: min(100vw, 1000px);
  display: flex;
  flex-wrap: wrap;
  margin-inline: auto;
  justify-content: center;
  align-items: center;
}

#toprow,
#middlerow,
#bottomrow,
#outer,
#instructions {
  margin-top: 4vh;
}

.field {
  border-radius: 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: min(8vw, 70px);
  height: min(8vw, 70px);
  border: 1px solid #000;
  margin-right: 1vw;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.field-white {
  background-color: white;
}

.field-grey {
  background-color: rgb(187, 181, 181);
}

.field span {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
}

#buttons-main, #buttons-results {

  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
margin-top: 4vh;
margin-bottom: 1vh;

}

#submit button, #reset button, #resultsReset button {
  color: #fff;
  background-color: rgb(0, 0, 0);
  border: none;
  width: min(25vw, 200px);
  height: min(9vw, 50px);
  font-size: 1.5rem;
}

#submit button:hover, #reset button:hover, #resultsReset button:hover {
  background-color: rgb(74, 73, 75);
}

#results {
  border-radius: 2rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  margin-top: 5vh;
  margin-bottom: 3vh;
  width: min(50vw, 500px);
  display: flex;
  flex-wrap: wrap;
  margin-inline: auto;
  justify-content: center;
  align-items: center;
  background-color: white;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

#results li {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  text-decoration: none;
  list-style-type: none;
  margin-top: 2vh;
  margin-bottom: 2vh;
  border: 1px solid black;
  border-radius: 2rem;
  padding-inline: 2rem;
  background-color: rgb(96, 158, 101);
  color: white;
}


.hidden {

  display: none;

}

/* MODAL
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.modal {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 200;
  font-size: 1rem;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--black);
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  transition: all 0.35s ease-in;
}



.modal.is-visible {
  visibility: visible;
  opacity: 1;
}

.modal-dialog {
  position: relative;
  max-width: 400px;
  max-height: 80vh;
  border-radius: 5px;
  background: grey;
  overflow: auto;
  cursor: default;
}

.modal-dialog > * {
  padding: 1rem;
  color: rgb(238, 232, 144);
}

.modal-header,
.modal-footer {
  font-size: 1.1rem;
  font-weight: 400;
  color: maroon;
  background: darkorange;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header .close-modal {
  font-size: 1.5rem;
}

.modal p + p {
  margin-top: 1rem;
}



/* SLIDE LEFT ANIMATION
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* [data-animation="slideInOutLeft"] .modal-dialog {
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.5s var(--bounceEasing);
}

[data-animation="slideInOutLeft"].is-visible .modal-dialog {
  opacity: 1;
  transform: none;
  transition-delay: 0.2s;
} */


/* FOOTER
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* .page-footer {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

.page-footer span {
  color: #e31b23;
} */