/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&family=Ranchers&family=Share+Tech+Mono&display=swap');


@font-face {
  font-family: "ComforterBrush-Regular";
  src: url('../fonts/ComforterBrush-Regular.ttf'),
    url('../fonts/ComforterBrush-Regular.ttf');
}

@font-face {
  font-family: "Audiowide-Regular";
  src: url('../fonts/Audiowide-Regular.ttf'),
    url('../fonts/Audiowide-Regular.ttf');
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  display: grid;
  justify-content: center;
  font-family: 'Ranchers', cursive;
  cursor: pointer;
}

body {
  position: relative;
  top: 10px;
  background-color: white;
  background-image: url("../images/board.jpeg");
  font-family: 'Ranchers', cursive;
  color: white;
  text-align: center;
  overflow-x: hidden;
  /* overflow-y: hidden; */
}

/* Start of: Scrollbars */
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff8a00, #e93e0a);
  border-radius: 22px;
  box-shadow: inset 2px 2px 2px hsla(0, 0%, 100%, .25), inset -2px -2px 2px rgba(0, 0, 0, .25);
  cursor: pointer;
}

/* width */
::-webkit-scrollbar {
  width: 23px;
  cursor: pointer;
  box-shadow: inset 2px 2px 2px hsla(0, 0%, 100%, .25),
    inset -2px -2px 2px rgba(0, 0, 0, .25);
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 2px;
  cursor: pointer;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(127, 66, 206);
  border-radius: 2px;
  cursor: pointer;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(209, 143, 0);
  box-shadow: inset 2px 2px 2px hsla(0, 0%, 100%, .25),
    inset -2px -2px 2px rgba(0, 0, 0, .25);

  cursor: pointer;
}

/* End of: Custom Scrollbars */
canvas {
  font-family: "Audiowide-Regular";
  font-size: 2rem;
}

#board {
  margin-top: 0px;
  display: inline-block;
  justify-content: center;
  background-image: url("board.jpeg");
  padding: 20px;
  box-shadow: 10px 10px 12px #000000;
  border: 4px solid black;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  font-family: "Audiowide-Regular";
  padding-bottom: -23px;
}

#display {
  margin-left: 0px;
}

#menu {
  display: grid;
  font-size: 12pt;
  color: black;
  width: 800px;
  height: 400px;
  box-sizing: border-box;
}

#menu p {
  margin-top: 1px;
  margin-bottom: 1px;
}

#menu input,
#menu button {
  font-family: "Audiowide-Regular";
  font-weight: 500;
  letter-spacing: 17px;
  font-size: 2.3rem;
  /* background-color: goldenrod; */
}

#moves {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 12px;
  font-family: 'Share Tech Mono';
  margin-top: 23px;
  color: black;
}

#game-info {
  position: relative;
  text-align: center;
  top: 0px;
  letter-spacing: 4px;
  font-size: 1.5rem;
  color: rgb(248, 248, 248);
  font-family: 'Share Tech Mono';
}

#label-sss {
  margin-top: -100px;
  font-size: 3rem;
  letter-spacing: 3px;
  position: relative;
  left: 77px;
  font-family: 'Ranchers', cursive;
}

.numeric-option {
  position: relative;
  text-align: center;
  margin-top: -160px;
  text-align: center;
}

#size {
  position: relative;
  right: -156px;
  top: 56px;
  letter-spacing: 4px;
  font-size: 1.5rem;
  font-family: 'Share Tech Mono';
  text-align: right;
  height: 66px;
}


input[type=number]::-webkit-inner-spin-button {
  opacity: 1;
  cursor: pointer;
  width: 150px;
  border: 3px solid black;
}

input[type=number] {
  background-color: rgb(15, 173, 201);
}

.input-size {
  top: -150px;
  right: 100px;
  width: 66px;
  padding-left: 15px;
  font-size: 2rem;
  border: 2px solid black;
}

input[type="radio"] {
  cursor: pointer;
  height: 40px;
  width: 40px;
  -webkit-appearance: none;
  appearance: none;
  background-color: rgb(13, 126, 141);
  width: 1.15em;
  height: 1.15em;
  border: 0.5em solid rgb(68, 68, 68);
  border-radius: 50%;
  margin: 0;
}

input[type="radio"]:checked {
  content: "";
  width: 0.65em;
  height: 0.65em;
  background-color: #6c2ad6;
  border: 1.00 em solid rgb(10, 10, 10);
  border-radius: 50%;
  padding: 12px;
  transition: all;
  -webkit-animation: appear 1s ease 0s 1 normal;
  -moz-animation: appear 1s ease 0s 1 normal;
  -ms-animation: appear 1s ease 0s 1 normal;
  animation: appear 1s ease 0s 1 normal;
  /* to make it disappear
    transform: scale(0); 
    */
  transform: scale(1.2);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
}

input[type="radio"]:checked::before {
  transform: scale(1);
}

#colorWell {
  position: relative;
  cursor: pointer;
  left: 88px;
  border: 2px solid black;
}

#reset {
  position: relative;
  top: 60px;
  padding-top: 7px;
  padding-bottom: 7px;
  cursor: pointer;
  text-align: center;
  background-color: rgb(127, 66, 206);
  padding-left: 11px;
  font-family: "Audiowide-Regular";
  font-weight: 500;
  letter-spacing: 33px;
  font-size: 3em;
  border: 1px solid black;
  border-radius: 7px;
  width: 100%;
}

#reset:hover {
  background-color: goldenrod;
  /* Created with https://www.css-gradient.com */
  background: -webkit-linear-gradient(center, rgb(209, 143, 0), rgba(233, 130, 1, 1.0));
  background: -moz-linear-gradient(center, rgba(209, 143, 0), rgba(233, 130, 1, 1.0));
  background: linear-gradient(ellipse at center, rgba(209, 143, 0), rgba(233, 130, 1, 1.0));
  border: 2px solid black;
  letter-spacing: 33px;
  color: whitesmoke;
  /* -webkit-animation: delay .2s ease 0s 1 normal;
  -moz-animation: delay .2s ease 0s 1 normal;
  -ms-animation: delay .2s ease 0s 1 normal;
  animation: delay .2s ease 0s 1 normal; */

  -webkit-animation: delayReverse .3s ease-in;
  -moz-animation: delayReverse .3s ease-in;
  -ms-animation: delayReverse .3s ease-in;
  animation: delayReverse .3s ease-in;
}

#content {
  margin: auto;
  width: 450px;
}

/* Start of: Timer Controls */

.base-timer {
  position: relative;
  width: 300px;
  height: 300px;
}

.base-timer__svg {
  transform: scaleX(-1);
}

.base-timer__circle {
  fill: none;
  stroke: none;
}

.base-timer__path-elapsed {
  stroke-width: 7px;
  stroke: grey;
}

.base-timer__path-remaining {
  stroke-width: 7px;
  stroke-linecap: round;
  transform: rotate(90deg);
  transform-origin: center;
  transition: 1s linear all;
  fill-rule: nonzero;
  stroke: currentColor;
}

.base-timer__path-remaining.green {
  color: rgb(65, 184, 131);
}

.base-timer__path-remaining.orange {
  color: orange;
}

.base-timer__path-remaining.red {
  color: red;
}

.base-timer__label {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.timer-controls {
  display: flex;
  justify-content: space-around;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  width: 100%;
  top: 120px;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: grey;
  background-image: url("../images/board.jpeg");
  box-shadow: inset 2px 2px 2px hsla(0, 0%, 100%, .25),
    inset -2px -2px 2px rgba(0, 0, 0, .25);
  border: 1px solid black;
}

.timer-controls:hover {
  border: 4px solid black;
  box-shadow: inset 4px 4px 4px hsla(0, 0%, 100%, .25),
    inset -4px -4px 2px rgba(0, 0, 0, .25);
}

.time_options {
  z-index: 200;
  display: flex;
  /* justify-content: space-between; */
  padding: 2px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  width: 88%;
  top: -40px;
  left: 50%;
  transform: translate(-50%, -50%);
}

.number_points {
  /* font-family: "Audiowide-Regular"; */
  /* font-family: 'Ranchers', cursive; */
  font-family: 'Share Tech Mono';
  font-size: 1.7rem;
  letter-spacing: 4px;
  padding: 11px;
}

.game_timer {
  z-index: 700;
  position: relative;
  text-align: center;
  top: 80px;

}

#game_timer {
  position: relative;
  top: -66px;
  /* font-family: 'Ranchers', cursive; */
  /* font-family: "Audiowide-Regular"; */
  font-family: 'Share Tech Mono';
  font-weight: 500;
  letter-spacing: 5px;
  font-size: 2.8em;
}

button {
  cursor: pointer;
}

.buttonClass {
  margin: 40px;
  cursor: pointer;
  background-color: rgb(127, 66, 206);
  /* font-family: "Audiowide-Regular"; */
  /* font-family: 'Ranchers', cursive; */
  font-family: 'Share Tech Mono';
  background-image: url("../images/board.jpeg");
  font-weight: 500;
  letter-spacing: 4px;
  line-height: 5%;
  font-size: 1.5rem;
  padding-left: 4px;
  border: 1px solid black;
  width: 140px;
  height: 100px;
  color: rgb(0, 0, 0);
  border-color: #050505;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: inset 0px 1px 7px 0px #fce2c1;
  text-shadow: inset 0px 1px 0px #cc9f52;
  /* background: linear-gradient(#ffc477, #fb9e25); */
}

.resume {
  padding-left: 4px;
}

.buttonClass:hover {
  background: linear-gradient(#fb9e25, #ffc477);
  border: 2.5px solid black;
  color: rgb(255, 255, 255);

}

/* End of: Timer Controls */
/* Start of: Music Controls */
#music {
  position: relative;
  z-index: 100;
  left: 90px;
  letter-spacing: 3px;
}

#bgMusic {
  position: relative;
  cursor: pointer;
  z-index: 600;
  transition: all;
}

#bgMusic:hover {
  -webkit-animation: elastic 2s ease 0s 1 normal;
  -moz-animation: elastic 2s ease 0s 1 normal;
  -ms-animation: elastic 2s ease 0s 1 normal;
  animation: elastic 2s ease 0s 1 normal;
}

.bgMusicNotes {
  position: relative;
  top: -80px;
  left: 50px;
}


#playpause {
  position: relative;
  text-align: center;
  left: 10%;
  bottom: -80px;
  font-size: 3rem;
  width: 66px;
  font-family: 'Ranchers', cursive;
  /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; */
  font-weight: 500;
  margin: 0%;
}

/* Start of: Slider Controls */

input[type='checkbox'] {
  width: 66px;
  height: 66px;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  display: inline-block;
  width: 78px;
  height: 68px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 6px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(150, 195, 206);
  -webkit-transition: .4s;
  transition: .4s;
  border: 2px solid black;
}

/* input:checked+.slider {
  border: 4px solid black;
} */

.slider:before {
  position: absolute;
  content: "";
  height: 40px;
  width: 40px;
  top: 9px;
  left: 4px;
  bottom: 2px;
  border: 2px solid black;
  background-color: #21ecf3;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:hover {
  background-color: #e93e0a;
}

input:checked+.slider {
  /* background-color: #2196F3; */
  border: 2px solid black;
  padding-top: -23px;
  background-color: #2196F3;


}

input:focus+.slider {
  box-shadow: 0 0 1px #6c2ad6;
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* End of: Slider Controls */

#myProgress {
  width: 100%;
}

#myBar {
  position: absolute;
  text-align: center;
  left: 50%;
  transform: translate(-50%, -50%);
  /* transform: rotate(90deg); */
  width: 200%;
  height: 2%;
  background-color: #2196F3;
  text-align: center;
  line-height: 30px;
  color: white;
}

#purplebar {
  width: 100%;
  height: 100pt;
  color: blueviolet;
  background: blueviolet
}

.full_screen {
  position: relative;
  right: 0%;
  bottom: 0%;
  transition: transform 0.5s ease 0s;
}

#img_full_screen:hover {
  -webkit-animation: bounce-in 1s ease 0s 1 normal;
  -moz-animation: bounce-in 1s ease 0s 1 normal;
  -ms-animation: bounce-in 1s ease 0s 1 normal;
  animation: bounce-in 1s ease 0s 1 normal;

}

/* Start of: Modal Instruction  Window*/
.show-modal {
  z-index: 1000;
  position: absolute;
  top: 2%;
  left: -50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  letter-spacing: 5px;
  font-family: 'Ranchers', cursive;
  font-weight: 600;
  padding: 2.5rem 2.5rem;
  margin: 5rem 2rem;
  border: 2px solid rgb(0, 0, 0);
  box-shadow: 2px 2px 7px black;
  background-color: transparent;
  color: rgb(252, 252, 252);
  /* border-radius: 10rem; */
  cursor: pointer;
}

.show-modal:hover {
  background-color: rgb(127, 66, 206);
  border: 2px solid black;
  color: black;
}

.close-modal {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-size: 5rem;
  color: #333;
  cursor: pointer;
  border: none;
  background: none;
}

.hidden {
  display: none;
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  background-color: rgb(141, 141, 141);
  padding: 6rem;
  border-radius: 5px;
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.3);
  z-index: 10;
}

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

.help-title {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 12px;
  font-family: 'Share Tech Mono';
  margin-top: -66px;
  color: black;
}

#help-instructions {
  position: relative;
  top: 22px;
  margin-top: 12px;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 5px;
  font-family: 'Ranchers', cursive;
  color: rgb(252, 252, 252);
}

/* End of: Modal Instruction Window */

/* Start  of: Mobile Responsiveness */





/* End of: Mobile Responiveness */