body {
  font-family: "Press Start 2P", cursive, Times, "Times New Roman";
  background: #1e1e1e;
  color: black;
}

body::before {
  content: "";
  background-image: url("../images/fundo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title {
  z-index: 1;
  display: flex;
  justify-content: center;
  color: #f5f5f5;
  font-size: 50px;
  -webkit-text-stroke: 1px;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.container .character-big {
  text-align: center;
  width: 40%;
  height: 70vh;
  position: relative;
}

.container .character-big img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.container .character-big .name::before {
  content: "";
  height: 30px;
  width: 100%;
  position: absolute;
  bottom: -15px;
  left: 0;
}

.container .character-big .name h2 {
  color: #f5f5f5;
  position: absolute;
  bottom: 0px;
  width: 100%;
  font-size: 25px;
}

.container .character-big.player-one .name::before {
  background-color: rgb(241, 83, 83);
}

.container .character-big.player-two .name::before {
  background-color: rgb(44, 61, 243);
}

.container .characteres-options {
  display: flex;
  flex-wrap: wrap;
  max-width: 600px;
  justify-content: center;
  gap: 10px;
}

.container .characteres-options .character {
  border: 4px outset #6bee43;
  width: 25%;
  height: 120px;
  cursor: pointer;
  z-index: 2;
  border-radius: 5px;
  position: relative;
  transition: 0.15s ease-in-out;
}

.container .characteres-options .character img {
  width: 100%;
  height: 100%;
  border-radius: 2px;
}

.container .characteres-options .character.select {
  border: 6px inset rgb(241, 83, 83);
}

.container .characteres-options .character.player-two-selected {
  border: 6px inset rgb(44, 61, 243);
}

.container .characteres-options .character:hover {
  border: 8px inset rgb(37, 119, 77);
  transform: scale(1.07);
  z-index: 2;
}

.container .characteres-options .character .tag {
  display: none;
  position: absolute;
  top: 5px;
  left: 5px;
  font-weight: bold;
  transition: opacity .3s ease-in-out;
  background-color: #1e1e1e;
  color: #ffffff;
  padding: 3px;
}

.container .characteres-options .character.select .tag {
  display: block;
}

.container .characteres-options .character.player-two-selected .tag {
  display: block;
}
