@charset "UTF-8";

* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#header {
  color: #fff;
}

.flex-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.set__row {
  border-bottom: 2.5px solid black !important;
}

.set__col {
  border-right: 2.5px solid black !important;
}

.given {
  font-weight: 800;
  background-color: whitesmoke;
  color: black;
}

.emptyItem {
  font-weight: 600;
  color: blue;
  background-color: #6299ED;
  cursor: pointer;
  /* background: linear-gradient(to bottom right, #87CEFA, #4169E1); */
}

.emptyItem.selected {
  background-color: #ddd !important;
  color: black;
}

.btn-darkline-light {
  color: black !important;
  border-color: black !important;
}

html {
  /* width: 100%;
  height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; */
  user-select: none;
}

html body {
  /* height: 100%;
  width: 100%;
  background-image: url("images/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-size: 100% 100%; */
}

html body #main__container {
  display: none;
  /* max-width: 80vh; */
  /* min-height: 80vh; */
  position: relative;
  margin: auto;
}

html body #main__container #header__controls {
  height: 10vh;
  width: 100%;
  /* margin-bottom: 6px; */
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

html body #main__container #header__controls #header__menu {
  width: 33.3%;
  font-family: "Poppins";
  text-align-last: left;
}

html body #main__container #header__controls #header__menu img {
  cursor: pointer;
  height: 0.754rem;
  vertical-align: middle;
  margin-left: 0.25rem;
}

html body #main__container #header__controls #header__menu img:active {
  padding: 1px;
}

html body #main__container #header__controls #header__header {
  width: 33.3%;
  font-size: 2rem;
  text-align: center;
  font-family: "Recursive";
}

/* 
html body #main__container #header__controls #header__submit {
  width: 33.3%;
  text-align: right;
  font-family: "Poppins";
}

html body #main__container #header__controls #header__submit span {
  border: 1px solid black;
  padding: 5px 8px;
}

html body #main__container #header__controls #header__submit span:hover {
  background-color: #27ae60;
  border-color: #27ae60;
  color: white;
  font-weight: 400;
  cursor: pointer;
}

html body #main__container #header__controls #header__submit span:active {
  padding: 4px 7px;
} */

html body #main__container #dotMenu {
  display: none;
  min-width: 30%;
  height: 20%;
  position: absolute;
  left: 0;
  top: 8vh;
}

html body #main__container #dotMenu>div {
  background-color: #f1f2f6;
  border: 1px solid #a4b0be;
  font-family: "Poppins";
  font-size: 1.075rem;
  margin-bottom: 1px;
  text-align: center;
  padding: 0.2rem 0;
  cursor: pointer;
}

html body #main__container #dotMenu>div:not(:last-child):hover {
  background-color: #a4b0be;
  color: white;
}

html body #main__container #dotMenu>div:active {
  -webkit-transform: scale(0.98);
  transform: scale(0.98);
}

html body #main__container #dotMenu #solver {
  position: relative;
  padding: 0;
}

html body #main__container #dotMenu #solver span {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.2rem 0;
}

html body #main__container #dotMenu #solver span:after {
  content: "Solver ▷";
}

html body #main__container #dotMenu #solver span:hover,
html body #main__container #dotMenu #solver span:focus {
  background-color: #a4b0be;
  color: white;
}

html body #main__container #dotMenu #solver span:hover:after,
html body #main__container #dotMenu #solver span:focus:after {
  content: "Solver ▶";
  color: black;
}

html body #main__container #dotMenu #solver #solverMenu {
  display: none;
  position: absolute;
  left: 102%;
  top: -1%;
  min-width: 100%;
}

html body #main__container #dotMenu #solver #solverMenu div {
  background-color: #f1f2f6;
  border: 1px solid #a4b0be;
  font-family: "Poppins";
  font-size: 1.075rem;
  margin-bottom: 1px;
  text-align: center;
  padding: 0.2rem 0;
  cursor: pointer;
}

html body #main__container #dotMenu #solver #solverMenu div:hover {
  background-color: #a4b0be;
  color: white;
}

html body #main__container #dotMenu #solver #solverMenu div input[type="checkbox"]+label {
  display: block;
  margin: 0.1rem;
  cursor: pointer;
  padding: 0.1rem;
}

html body #main__container #dotMenu #solver #solverMenu div input[type="checkbox"] {
  display: none;
}

html body #main__container #dotMenu #solver #solverMenu div input[type="checkbox"]+label:before {
  content: "\2714";
  border: 0.1em solid #000;
  border-radius: 0.2rem;
  display: inline-block;
  width: 0.7rem;
  height: 0.7em;
  padding-left: 0.3rem;
  padding-bottom: 0.6rem;
  padding-right: 0.2rem;
  margin-right: 0.5rem;
  vertical-align: bottom;
  color: transparent;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

html body #main__container #dotMenu #solver #solverMenu div input[type="checkbox"]+label:active:before {
  -webkit-transform: scale(0);
  transform: scale(0);
}

html body #main__container #dotMenu #solver #solverMenu div input[type="checkbox"]:checked+label:before {
  background-color: MediumSeaGreen;
  border-color: MediumSeaGreen;
  color: #fff;
}

html body #main__container #dotMenu #solver #solverMenu div input[type="checkbox"]:disabled+label:before {
  -webkit-transform: scale(1);
  transform: scale(1);
  border-color: #aaa;
}

html body #main__container #dotMenu #solver #solverMenu div input[type="checkbox"]:checked:disabled+label:before {
  -webkit-transform: scale(1);
  transform: scale(1);
  background-color: #bfb;
  border-color: #bfb;
}

#main__container #board {
  aspect-ratio: 1/1;
  margin-top: 0px;
  /* width: 60vh; */
  /* height: 60vh; */
  font-family: "Ubuntu";
  border-top: 2.5px solid black;
  border-left: 2.5px solid black;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto auto auto auto auto auto auto auto auto;
  grid-template-columns: auto auto auto auto auto auto auto auto auto;
  -ms-grid-rows: auto auto auto auto auto auto auto auto auto;
  grid-template-rows: auto auto auto auto auto auto auto auto auto;
  /* grid-gap: 5px; */
  /* margin-top: 20px; */
}

html body #main__container #board .grid__item {
  border-right: 1px solid rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(0, 0, 0, 0.7);
}

html body #main__container #keypad {
  /* width: 100%;
  height: 6vh; */
  margin-top: 2vh;
  font-family: "Red Rose";
}

html body #main__container #keypad .keypad__item {
  /* height: 80%;
  width: 8%; */
  width: 52px;
  height: 52px;
  margin-right: 4px;
  /* margin-right: 3px; */
  /* margin-right: 1%;
  margin-left: 1%; */
  border: 1px solid black;
  border-radius: 100%;
  text-align: center;
  background-color: white;
  cursor: pointer;
  /* margin-top: 35px; */
  font-size: 20px;
}

.game-main-container {
  border-radius: 10px;
  border-radius: 37x;
  background: #ddd;
  padding: 19px;
  display: block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);


}

.game-playing-inner-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  padding: 30px;
}

html body #main__container #keypad .keypad__item:hover {
  border: 1px solid black;
  background-color: wheat;
  font-weight: 600;
}

html body #main__container #keypad .keypad__item:active {
  -webkit-transform: scale(0.96);
  transform: scale(0.96);
  outline: none;
}

html body #home {
  display: block;
  position: relative;
  /* width: 60vh;
  height: 60vh; */
  width: 100%;
  height: 100%;
  border-radius: 0.25rem;
}

html body #home #header {
  height: 30%;
  font-size: 4rem;
  margin-top: 1rem;
  text-align: center;
  font-family: "Recursive";
}

html body #home .selection {
  font-size: 1rem;
  width: 60%;
  height: 30%;
  margin: 1.5rem auto 1rem auto;
  vertical-align: middle;
}

html body #home .selection .title {
  width: 30%;
  font-size: 1.075rem;
  font-weight: 600;
}

html body #home .selection .options {
  /* width: 70%; */
}

html body #home #selection__size .options {
  /* -ms-flex-pack: distribute;
  justify-content: space-around; */
}

html body #home #selection__size .options svg:hover {
  cursor: pointer;
  color: #0097e6;
}

html body #home #selection__size .options span:first-child {
  color: #0097e6;
}

html body #home #selection__level .options span {
  /* border: 1px solid black;
  padding: 0.3rem 0.5rem;
  margin-right: 0.2rem;
  cursor: pointer; */
}

html body #home #selection__level .options span:hover {
  background-color: #0097e6;
  color: white;
}

html body #home #selection__level .options span:active {
  background-color: #0097e6;
  color: white;
}

html body #home #selection__level .options span:first-child {
  color: white;
  background-color: #0097e6;
}

/*
html body #home #start {
  font-family: "Raleway";
  width: 40%;
  font-size: 2.25rem;
  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;
  margin: 0 auto;
  cursor: pointer;
  border: 1px solid darkcyan;
  background-color: #44bd32;
}
*/

html body #home #start:hover {
  /* background-color: #3fac2f; */
}

html body #home #start:active {
  -webkit-transform: scale(0.96);
  transform: scale(0.96);
}

@media only screen and (max-width: 600px) {
  html body #home #selection__level .options span {
    font-size: 10px;
  }

  html body #home .selection {
    font-size: 9px;
  }

  #title {
    font-size: 25px;
  }

  #board {
    font-size: 10px !important;
    aspect-ratio: 1/1;
  }

  html body #home #start {
    font-size: 0.6rem;
  }

  html body #home .selection .title {
    font-size: 0.6rem;
  }

  .given {
    font-size: 25px;
  }

  html body #main__container {
    /* width: 80vw; */
  }

  html body #main__container #header__controls {
    width: 80vw;
    padding: 0 2vw;

  }

  html body #main__container #board {
    margin-left: auto;
    margin-right: auto;
    /* width: 80vw;
    height: 80vw; */
  }

  html body #main__container #keypad {
    margin-left: auto;
    margin-right: auto;
    /* width: 80vw;
    height: 50px; */
  }

  html body #main__container #keypad .keypad__item {
    height: 8vw;
    width: 8vw;
  }

  html body #home .selection .options {
    width: 100%;
  }

  html body #home #header #start {
    margin-bottom: 1.5rem;
  }
}

.d-block {
  display: block !important;
}

.green {
  color: purple;
}

.solverHover {
  background-color: #a4b0be;
  color: white;
}

/* Footer */
footer {
  background: black;
  color: white;
  padding: 40px 0 0 0;
  width: 100%;
  margin-top: auto;
}

.footer-column h4 {
  font-size: unset;
  /* Resets font size */
  line-height: unset;
  /* Resets line height */
  margin: unset;
  /* Resets margin */
  font-weight: 700;
  /* Resets font weight */
}

.footer-content-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 24px;
  color: white;
  text-decoration: none;
}

.footer-column h4 {
  margin-bottom: 10px;
}

.footer-column a {
  color: white;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-column a:hover {
  text-decoration: underline;
}

.game-inner-content {
  max-width: 712px;
}

/* Bob and Message Bubble container */
.bob-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .bob-image {
  width: 50px;
  height: 50px;
} */

.tooltip-bob {
  color: #000;
  font-size: 18px;
  max-width: 28ch;
  text-align: center;
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 10px;
  padding: 1em;
  position: relative;
  margin-left: 20px;
}

.tooltip-bob::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px 10px 10px 0;
  border-style: solid;
  border-color: transparent #000 transparent transparent;
}

.tooltip-bob::after {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px 8px 8px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

/* How to Play Section */
.how-to-play {
  background: linear-gradient(135deg, #d4fc79, #96e6a1);
  color: #333;
  padding: 30px;
  border-radius: 10px;
  max-width: 900px;
  width: 95%;
  margin: 20px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.how-to-play h2 {
  margin-bottom: 20px;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  color: #333;
  font-size: 24px;
  line-height: unset;
  font-weight: 700;
}

.how-to-play h3 {
  margin-bottom: 20px;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  color: #333;
  font-size: 24px;
  line-height: unset;
  font-weight: 700;
}

.how-to-play p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}


@media only screen and (max-width: 400px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

}

@media only screen and (max-width: 500px) {
  .game-playing-inner-container {
    padding: 15px;
  }

  .game-main-container {
    min-height: 0px !important;
    padding: 10px !important;
  }

  .given {
    font-size: 20px;
  }
}

/* Modal */
.answer-p {
  color: rgb(51, 51, 51);
  font-size: 18px;

}

.modal {
  transform: translate(6%, 39%);
}

.modal-inner-content {
  border-radius: 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  /* border: 1px solid red; */
}

.modal-content {
  max-width: 357px;

}

.btn-props {
  border-radius: 15px;
}

/* How to Play Section */
.how-to-play {
  background: linear-gradient(135deg, #d4fc79, #96e6a1);
  color: #333;
  padding: 30px;
  border-radius: 10px;
  max-width: 712px;
  width: 98%;
  margin: 20px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.how-to-play h2 {
  margin-bottom: 20px;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  color: #333;
  font-size: 24px;
  line-height: unset;
  font-weight: 700;
}

.how-to-play h3 {
  margin-bottom: 20px;
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  color: #333;
  font-size: 24px;
  line-height: unset;
  font-weight: 700;
}

.how-to-play p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Hamburger Menu for Mobile */
.hamburger-menu {
  display: none;
  position: relative;
}

.hamburger-icon {
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  left: 15px;
  color: #fff;
}

.hamburger-links {
  display: none;
  flex-direction: column;
  background-color: #003366;
  padding: 10px;
  position: absolute;
  top: 50px;
  left: 0;
  width: 200px;
  z-index: 99;
}

.hamburger-links.active {
  display: flex;
}

.hamburger-links a {
  color: #fff;
  padding: 10px;
  text-decoration: none;
}

.hamburger-links a:hover {
  background-color: #2f6d9b;
}


/* Hide desktop navigation on mobile */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }
}

.add {
  background: white;
}

/*# sourceMappingURL=style.css.map */
span.btn.btn-outline-light[style="color: rgb(0, 151, 230);"] {
  background: #fff;
}

.wiki {
  color: black;
  text-decoration: none;
}

a:hover {
  color: #fff;
}