@import url('https://fonts.googleapis.com/css?family=Press+Start+2P');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700&display=swap');

body {
  margin: 0;
  font-family: 'Press Start 2P', cursive;
  font-size: 2em;
  color: black;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100vh;
  background-color: #f0f0f0;
}

button {
  outline: none;
  cursor: pointer;
  border: none;
}

#counter {
  position: absolute;
  top: 20px;
  right: 20px;
}

#end {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  visibility: hidden;
}

#controls {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: left;
  padding: 25px;
}

#controls div {
  display: grid;
  grid-template-columns: 50px 50px 50px;
  grid-template-rows: auto auto;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  margin-bottom: 30px;
}

#controls button {
  width: 100%;
  background-color: white;
  border-radius: 3px;
}

#controls button:first-of-type {
  grid-column: 1/-1;
}

.menu-button {
  display: block;
  width: 250px;
  padding: 15px;
  margin: -15px;
  font-size: 18px;
  cursor: pointer;
  font-family: 'Press Start 2P', cursive;
  border: 2px solid black;
  background-color: lightblue;
}

.credits {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: rgb(53, 53, 53);
  background: white;
  border-radius: 50px;
  width: 160px;
  height: 30px;
  position: fixed;
  bottom: 30px;
  right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 5px 10px 18px #57565646;
  font-weight: bold;
}

i {
  margin: 0 4px;
}

.fa-heart {
  color: rgb(255, 87, 58);
}

.fa-js {
  color: rgb(65, 65, 65);
}

.character-selection-container {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

h1 {
  font-size: 2em;
  margin: 20px 0;
}

.characters-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  width: 90%;
  margin: 0 auto;
}

.character-slot-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.character-slot {
  width: 160px;
  height: 160px;
  background-color: #ddd;
  border: 2.5px solid #000000;
  border-radius: 10px;
  margin-bottom: 20px;
  cursor: pointer;
  background: url('miscImages/bgSlot.png') no-repeat center center fixed;
  background-size: 100%;

}

.character-nametag {
  margin-top: 10px;
  font-size: 0.5em;
}

.buttons-container {
  margin-top: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

button {
  width: 600px;
  padding: 10px;
  font-size: 1em;
  cursor: pointer;
  border: none;
  border-radius: 3px;
}

#select-button {
  background-color: lightblue;
  color: black;
  font-family: 'Press Start 2P', cursive;
  border: 2px solid black;
}

#return-button {
  background-color: lightblue;
  color: black;
  font-family: 'Press Start 2P', cursive;
  border: 2px solid black;
}

