/*!*************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js!./src/index.scss ***!
  \*************************************************************************************************************************************/
* {
  margin: 0;
  padding: 0;
}

body {
  background-color: rgb(31, 31, 31);
  overflow: hidden;
}

.header {
  background-color: #334249;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 8vh;
  width: 100vw;
  padding: 8px;
}

.top {
  display: flex;
  justify-content: space-between;
}

.top ul {
  display: flex;
  margin-right: 16px;
}

.top ul li {
  list-style: none;
  padding: 16px;
}

.top ul li a {
  display: flex;
  text-decoration: none;
  color: white;
}

.game {
  display: flex;
  justify-content: center;
  height: 75vh;
  width: 100vw;
}

.game-canvas {
  width: 80%;
  height: 80%;
}

.footer {
  display: flex;
}

.footer .directions, .footer .attack {
  margin-top: 30px;
  font-size: 24px;
  display: flex;
  color: white;
}

.footer .directions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 80px;
}

.footer .attack {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  margin-right: 150px;
}

.footer .attack p, .footer .directions p {
  margin-right: 10px;
  letter-spacing: 3px;
  font-size: 16px;
}

.footer .directions p {
  margin-right: -4px;
}

.footer .attack div, .footer .directions div {
  display: flex;
  border-style: solid;
  border-width: 2px;
  border-color: white;
  border-radius: 5px;
  padding: 8px;
  justify-content: center;
  align-items: center;
  height: 20px;
  width: 20px;
}

.footer .directions div {
  margin-left: 10px;
}

.footer .author-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 5vh;
  width: 100vw;
  margin: 40px;
}

.footer .author-note p {
  margin-top: 2%;
  color: white;
}

* {
  font-family: "Press Start 2P", cursive;
}

#background {
  height: 80vh;
  width: 80vw;
  top: 0;
  left: 20%;
}

canvas {
  position: absolute;
}

.modal, .restart-modal, .win-modal {
  font-family: "Press Start 2P", cursive;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  z-index: 10;
  width: 50%;
}

.instructions {
  line-height: 25px;
  display: flex;
}

.modal .start-btn, .win-btn, .restart-btn {
  display: flex;
  justify-content: center;
}

.start-btn button, .restart-btn button, .win-btn button {
  padding: 8px 16px;
  font-family: "Press Start 2P", cursive;
  border-radius: 10px;
  opacity: 0.8;
}

.start-btn button:hover, .restart-btn button:hover, .win-btn button:hover {
  cursor: pointer;
  opacity: 1;
}

.sound {
  margin-left: 70%;
  z-index: 100;
}

.sound:hover {
  transform: scale(1.1);
  transition: 100ms;
  cursor: pointer;
}

.sound-icon {
  width: 50px;
  height: 50px;
  font-size: 40px;
  color: #d8e5e9;
}

.top h1 {
  font-family: "Press Start 2P", cursive;
}

.footer {
  font-family: "Press Start 2P", cursive;
}

.hidden {
  display: none;
}

.left.toggled, .right.toggled, .up.toggled {
  transform: scale(1.2);
  transition: 120ms;
}

.start-btn.win-btn {
  display: flex;
  column-gap: 10px;
}

#instructions-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}

#instructions-nav:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: scale(1.03);
  transition: 200ms;
  cursor: pointer;
}
