* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: url("./img/bg.png");
  background-size: cover;
}
.page-container {
  padding: 1rem;
  display: flex;
}
.character-selection {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.character-display {
  width: 50%;
  display: flex;
  flex-direction: column;
}
img {
  width: 400px;
  margin: 0 auto;
}
h1 {
  color: white;
  text-align: center;
  text-transform: capitalize;
  font-family: "Caesar Dressing", cursive;
}
.character {
  height: 140px;
  width: 140px;
  border-radius: 50%;
  border: 5px solid black;
}
.character:hover,
.selected {
  cursor: pointer;
  border: 5px solid red;
  transform: scale(1.1);
}
.character:nth-child(1) {
  background-image: url("./img/small/achilles.png");
  background-size: cover;
}
.character:nth-child(2) {
  background-image: url("./img/small/alecto.png");
  background-size: cover;
}
.character:nth-child(3) {
  background-image: url("./img/small/aphrodite.png");
  background-size: cover;
}
.character:nth-child(4) {
  background-image: url("./img/small/ares.png");
  background-size: cover;
}
.character:nth-child(5) {
  background-image: url("./img/small/artemis.png");
  background-size: cover;
}
.character:nth-child(6) {
  background-image: url("./img/small/asterius.png");
  background-size: cover;
}
.character:nth-child(7) {
  background-image: url("./img/small/athena.png");
  background-size: cover;
}
.character:nth-child(8) {
  background-image: url("./img/small/cerberus.png");
  background-size: cover;
}
.character:nth-child(9) {
  background-image: url("./img/small/chaos.png");
  background-size: cover;
}
.character:nth-child(10) {
  background-image: url("./img/small/charon.png");
  background-size: cover;
}
.character:nth-child(11) {
  background-image: url("./img/small/demeter.png");
  background-size: cover;
}
.character:nth-child(12) {
  background-image: url("./img/small/dionysus.png");
  background-size: cover;
}
.character:nth-child(13) {
  background-image: url("./img/small/dusa.png");
  background-size: cover;
}
.character:nth-child(14) {
  background-image: url("./img/small/eurydice.png");
  background-size: cover;
}
.character:nth-child(15) {
  background-image: url("./img/small/hades.png");
  background-size: cover;
}
.character:nth-child(16) {
  background-image: url("./img/small/hermes.png");
  background-size: cover;
}
.character:nth-child(17) {
  background-image: url("./img/small/hypnos.png");
  background-size: cover;
}
.character:nth-child(18) {
  background-image: url("./img/small/megaera.png");
  background-size: cover;
}
.character:nth-child(19) {
  background-image: url("./img/small/nyx.png");
  background-size: cover;
}
.character:nth-child(20) {
  background-image: url("./img/small/orpheus.png");
  background-size: cover;
}
.character:nth-child(21) {
  background-image: url("./img/small/patroclus.png");
  background-size: cover;
}
.character:nth-child(22) {
  background-image: url("./img/small/persephone.png");
  background-size: cover;
}
.character:nth-child(23) {
  background-image: url("./img/small/poseidon.png");
  background-size: cover;
}
.character:nth-child(24) {
  background-image: url("./img/small/sisyphus.png");
  background-size: cover;
}
.character:nth-child(25) {
  background-image: url("./img/small/skelly.png");
  background-size: cover;
}
.character:nth-child(26) {
  background-image: url("./img/small/thanatos.png");
  background-size: cover;
}
.character:nth-child(27) {
  background-image: url("./img/small/theseus.png");
  background-size: cover;
}
.character:nth-child(28) {
  background-image: url("./img/small/tisiphone.png");
  background-size: cover;
}
.character:nth-child(29) {
  background-image: url("./img/small/zagreus.png");
  background-size: cover;
}
.character:nth-child(30) {
  background-image: url("./img/small/zeus.png");
  background-size: cover;
}

footer {
  color: white;
  text-align: center;
  padding: 1rem;
}

footer a {
  color: white;
}

footer a:hover {
  opacity: 0.5;
}

@media (max-width: 768px) {
  .page-container {
    display: flex;
    flex-direction: column;
  }
}
