* {
  --white: #fcfffd;
  --blue: #3094bf;
  --blue-2: #3066be;
  --green: #20a39e;
  --black: #272727;
  --gray: #696773;

  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "Afacad Flux", sans-serif;
}

nav {
  position: fixed;
  padding: 1em;

  color: var(--white);
}

main {
  background-color: var(--black);
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 4em;
}

#difficulty-bar {
  display: flex;

  flex-direction: column;
}

#difficulty-bar > label {
  font-size: 20px;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 1em;
}

#difficulty {
  background-color: var(--gray);
  font-size: 16px;

  color: var(--white);

  border: var(--white) 1px solid;
  padding: 0.25em 1em;
  border-radius: 12px;
}

#btn-base {
  background-color: var(--blue-2);
  border-radius: 1em;
  border: 0.25em solid var(--white);

  width: 300px;
  height: auto;
  aspect-ratio: 1;
}

#play {
  background-color: var(--blue);
  display: block;
  position: relative;
  top: -8px;

  border-radius: 12px;
  padding: 2.5em;

  cursor: pointer;

  transition: all ease-in-out 50ms;
}
#play:active {
  background-color: var(--blue);
  filter: brightness(0.9);
  top: -3px;
}
#play > svg {
  height: 50%;
  fill: var(--white);
  width: auto;
  aspect-ratio: 1;
}

#answer {
  background-color: var(--gray);
  padding: 0.5em 1em;
  border-radius: 18px;

  font-size: 20px;
  font-weight: bold;
  color: var(--white);

  border: var(--white) 1px solid;
}

#answer:focus {
  border: var(--blue) 1px solid;
  outline: none;
}

#answer-bar {
  display: flex;
  align-items: center;
  gap: 1em;
}

#submit {
  background-color: var(--blue);
  border: var(--white) 1px solid;

  cursor: pointer;
  border-radius: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
  height: min-content;
  width: auto;
  aspect-ratio: 1;

  padding: 0.75em;
}

#submit > svg {
  height: 20px;
  width: auto;
  aspect-ratio: 1;
}

#submit:hover {
  border: var(--blue) 1px solid;
}

#bottom-bar {
  position: absolute;

  display: flex;
  justify-content: flex-end;
  width: 100%;
  bottom: 0;
  padding: 1em;
}

#socials {
  background-color: black;
  color: white;
  font-size: 20px;
  font-weight: bold;
  padding: 0.5em 1em;
  border-radius: 12px;

  text-decoration: none;
}

dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  border: none;
  padding: 1.25em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  border-radius: 1em;

  color: white;
}

#hidden-solution {
  display: none;
  font-weight: bold;
}

.modal-top {
  margin-bottom: 2em;
}
.modal-top p {
  font-size: 18px;
}

.modal-bottom {
  /*position: absolute;*/
  /*bottom: 1.25em;*/
  /*right: 0.25em;*/
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.modal-close {
  background-color: var(--white);
  border: none;
  padding: 0.5em 1em;
  border-radius: 0.5em;

  cursor: pointer;

  transition: all 100ms ease-in;
  outline: none;
  color: black;

  margin-left: 1em;
}

.modal-hint {
  background-color: #e97451;
  border: 2px solid var(--white);
  padding: 0.5em 1em;
  border-radius: 0.5em;

  cursor: pointer;

  transition: all 100ms ease-in;
  outline: none;
  color: white;

  font-weight: bold;
}

.modal-close:hover {
  filter: brightness(1.1);
}

#modal-correct {
  background-color: var(--green);
}

#modal-wrong {
  background-color: #e97451;
}

@media only screen and (max-width: 600px) {
  #bottom-bar {
    justify-content: center;
  }
}
