:root {
  --animation-time: 1500ms;
  --node-transition: 200ms;
  --path-transition: 100ms;
  --searched-bg: hsl(263, 52%, 30%);
}

body {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  margin: 0;
  background-color: hsl(218, 15%, 15%);
}

#app {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -47%);
  /* outline: 1px solid hsl(0, 0%, 0%); */
}

.buttons-container {
  box-shadow: 0 2px 5px hsla(0, 0%, 0%, 0.4);
  background-color: hsl(219, 15%, 22%);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 3.4rem;
  display: flex;
  justify-content: space-evenly;
  gap: 2rem;
  align-items: center;
}

.container {
  display: flex;
  justify-content: space-evenly;
  margin: 0;
  padding: 0;
  width: max(26vw, 20rem);
}

.none {
  display: none;
}

:disabled {
  color: hsl(0, 0%, 77%);
  transition: 100ms;
}
:disabled.selected-algo, :disabled.selected-algo:hover {
  background-color: hsla(128, 63%, 33%, 0.7);
}

button {
  text-shadow: 1px 1px 2px black;
  z-index: 2;
  transition: 100ms;
  color: white;
  background-color: hsla(207, 57%, 53%, 0.87);
  border: none;
  border-radius: 7px;
  height: 2.5rem;
  width: 15rem;
}
button:hover {
  background-color: hsla(194, 58%, 54%, 0.87);
}
button:hover:disabled {
  background-color: hsl(192, 4%, 24%);
}
button:disabled {
  background-color: hsl(192, 4%, 24%);
}

.grid-container {
  display: grid;
  width: 98vw;
  grid-template-columns: repeat(53, 1.8490566038vw);
  grid-template-rows: repeat(25, 1.8490566038vw);
  background-color: hsl(218, 15%, 25%);
  border: 4px solid hsl(210, 33%, 7%);
  border-radius: 3px;
  outline: 1px solid black;
}

.node {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-weight: bold;
  text-align: center;
  color: white;
  text-shadow: 1px 1px 2px black, 1px -1px 2px black, -1px -1px 2px black, -1px 1px 2px black;
  background-color: hsl(218, 15%, 25%);
  width: 1fr;
  height: 1fr;
  outline: 1px solid rgb(0, 0, 0);
  font-size: 0.7vw;
  transition: var(--node-transition);
  padding-top: 0.4vw;
}
.node:hover {
  box-shadow: inset 0 0 0.65vw 0.25vw hsl(204, 100%, 71%);
  transition: 0ms;
}

.start-node {
  background-color: hsl(130, 82%, 44%);
}
.start-node::before {
  line-height: 1fr;
  padding-right: 2px;
  content: "Start";
}
.start-node:hover {
  box-shadow: inset 0 0 0.65vw 0.25vw hsl(138, 100%, 73%) !important;
  transition: 0ms;
}

.end-node {
  background-color: hsl(281, 100%, 56%);
}
.end-node::before {
  line-height: 1fr;
  padding-right: 1px;
  content: "End";
}
.end-node:hover {
  box-shadow: inset 0 0 0.65vw 0.25vw hsl(283, 100%, 73%) !important;
  transition: 0ms;
}

.path {
  transition: var(--path-transition) !important;
  background-color: yellow;
}
.path:hover {
  box-shadow: inset 0 0 0.65vw 0.25vw hsl(36, 79%, 45%);
  transition: 0ms;
}

.searching {
  animation: searchAnimation var(--animation-time);
  animation-iteration-count: 1;
  background-color: var(--searched-bg);
}
.searching:hover {
  box-shadow: inset 0 0 0.65vw 0.25vw hsl(128, 69%, 54%);
  transition: 0ms;
}

.wall {
  background-color: hsl(210, 33%, 7%);
  transition: 120ms;
}

@keyframes searchAnimation {
  0% {
    background-color: hsla(138, 100%, 50%, 0);
  }
  25% {
    background-color: hsl(147, 100%, 50%);
  }
  50% {
    background-color: hsl(167, 100%, 50%);
  }
  100% {
    background-color: hsla(194, 88%, 61%, 0.87);
  }
}/*# sourceMappingURL=style.css.map */