:root {
  --primary-color: #e0ff4f;
  --secondary-color: #00272b;
}

.dark {
  --primary-color: #00272b;
  --secondary-color: #e0ff4f;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Emblema One", system-ui;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-align: center;
  background-size: cover;
  cursor: default;
  /* position: relative; */
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
}

nav h1 {
  margin: 0;
  text-align: center;
}

.settings {
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;
  right: 30px;
  top: 15px;
  scale: 1.5;
  color: var(--secondary-color);
}

.fa-gear:hover {
  scale: 1.6;
  color: #ff0000;
  transform: rotate(240deg);
  transition: all 0.3s ease-in-out;
}

#menu {
  position: absolute;
  top: 35px;
  right: 10px;
  width: 200px;
  height: fit-content;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: var(--secondary-color);
  /* color: var(--primary-color); */
  border-radius: 7mm;
  padding: 10px 0;
  box-shadow: 5px 5px 15px rgba(224, 255, 79, 0.5),
    -5px -5px 15px rgba(0, 0, 0, 0.5);
}

.option {
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  padding: 10px 0;
}

.option:hover {
  scale: 1.2;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transition: all 0.3s ease-in-out;
}

#icon {
  cursor: pointer;
}

#sounds {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
  position: relative;
  width: 120px;
}

#volume-progress {
  width: 100%;
  height: 8px;
  border-radius: 10px;
  background: #ddd;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

#volume-progress::-webkit-progress-value {
  background: var(--secondary-color);
  border-radius: 10px;
}

#volume-slider {
  width: 100%;
  position: relative;
  appearance: none;
  background: none;
  cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  background: var(--secondary-color);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

#sub-menu {
  position: absolute;
  top: 0%;
  right: 0;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  /* max-width: 800px; */
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  border-radius: 7mm;
  padding: 10px 0;
  box-shadow: 5px 5px 15px rgba(224, 255, 79, 0.5),
    -5px -5px 15px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  transition: all 0.3s ease;
}

.inst {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  width: 90%;
  max-width: 1000px;
  padding: 5px;
  border-radius: 7mm;
  margin: 15px;
}

.inst:hover {
  scale: 1.05;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 7mm;
  box-shadow: 5px 5px 15px rgba(224, 255, 79, 0.5),
    -5px -5px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.fa-circle-xmark {
  cursor: pointer;
}

.tips {
  padding: 0px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  max-width: 800px;
}

#sub-menu ul hr {
  margin-right: 40px;
  border: 1px solid;
}

.inst-li {
  line-height: 1.5;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 0 40px 5px 0;
  max-width: 800px;
}

.inst-li div {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 7mm;
  width: 280px;
  padding: 4px;
  box-shadow: 2px 2px 10px rgba(224, 255, 79, 0.5),
    -5px -5px 15px rgba(0, 0, 0, 0.5);
}

.inst-li div:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 7mm;
  transition: all 0.5s ease-in-out;
}

.tips2 {
  padding: 0 20px;
  line-height: 1.5;
  text-align: start;
}

.tips3 {
  padding: 0px 15px;
  align-items: center;
  justify-content: center;
}

.btn {
  height: 10vw;
  width: 10vw;
  border-radius: 20%;
  border: 4px solid black;
  margin: 1.5rem;
  box-shadow: 0px 0px 4px 3px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.btn:hover {
  scale: 1.05;
  box-shadow: inset 5px 5px 10px 3px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.btn-container {
  display: flex;
  justify-content: center;
}

.start {
  font-family: "Emblema One", system-ui;
  /* border:#00272b; */
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 225%;
  font-size: 20px;
  cursor: pointer;
}

.start:hover {
  scale: 1.1;
  box-shadow: 0px 0px 4px 3px rgba(0, 0, 0, 0.35);
  filter: brightness(2.9);
  transition: all 0.3s ease;
}

p a {
  text-decoration: none;
  color: #9d1f15;
}

.video-container {
  display: flex;
  justify-content: center;
}

.red {
  background-color: #ff662a;
}

.yellow {
  background-color: #ffa22a;
}

.green {
  background-color: #82ac26;
}

.blue {
  background-color: #4f3f84;
}

.flash {
  background-color: white;
}

.userflash {
  background-color: rgb(37, 248, 0);
}
