@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cabin:ital,wght@0,400..700;1,400..700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cabin", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  background-color: black;
  background-image: url("/assets/img/background/bg.png");
  background-size: contain;
  background-position: center;
  padding: 20px;
  overflow-y: auto;
}

.container {
  width: 420px;
  margin-top: 20px;
  background-color: black;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
  padding: 30px 40px;
  box-shadow: blue 0px 0px 0px 2px inset, rgb(0, 0, 0) 10px -10px 0px -3px,
    rgb(255, 251, 22) 10px -10px, rgb(0, 0, 0) 20px -20px 0px -3px,
    rgb(255, 19, 19) 20px -20px;
}

.container h1 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 500;
  font-size: 50px;
  font-style: normal;
  margin-left: 10px;
}

.pogonit {
  float: right;
  transform: translateY(-20%);
  height: 80px;
  border-radius: 6px;
  margin: 8px;
}

.input-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 30px 0;
}

.input-box input {
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 2px solid;
  border-radius: 40px;
  outline: none;
  font-size: 15px;
  color: white;
  padding: 20px 45px 20px 20px;
}
.teams {
  display: flex;
  gap: 25px;
  justify-content: center;
  padding: 20px 45px 20px 20px;
}

.teams label {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.teams input {
  display: none;
}

.teams img {
  width: 80px;
  height: 80px;
  border: 3px solid transparent;
  border-radius: 10px;
}

.mystic {
  background-image: url("/assets/img/mystic.png");
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: right top;
}
.mystic:hover {
  transform: scale(1.05);
  transition: 0.6s;
}
.mystic input:checked + img {
  border: 2px solid blue;
  transform: scale(1.1);
}
.instinct {
  background-image: url("/assets/img/instinct.png");
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: right top;
}
.instinct:hover {
  transform: scale(1.05);
  transition: 0.6s;
}
.instinct input:checked + img {
  border: 2px solid yellow;
  transform: scale(1.1);
}
.valor {
  background-image: url("/assets/img/valor.png");
  background-size: 30px;
  background-repeat: no-repeat;
  background-position: right top;
}
.valor:hover {
  transform: scale(1.05);
  transition: 0.6s;
}
.valor input:checked + img {
  border: 2px solid red;
  transform: scale(1.1);
}
.register {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 40px;
  background: white;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding-left: 20px; /* espaço para o vídeo no hover */
  border: 3px solid transparent;
}

.register video {
  position: absolute;
  left: 10px;
  width: 40px;
  height: auto;
  display: none;
  z-index: 1;
  border-radius: 50%;
}

.register:hover video {
  display: block;
}

.register:hover {
  background-color: black;
  animation: bordaColorida 12s infinite linear;
  color: #fff;
}

@keyframes bordaColorida {
  0% {
    border-color: rgb(0, 4, 255);
  }
  20% {
    border-color: rgb(0, 204, 255);
  }
  40% {
    border-color: rgb(255, 251, 0);
  }
  60% {
    border-color: rgb(255, 196, 0);
  }
  80% {
    border-color: rgb(255, 8, 0);
  }
  100% {
    border-color: rgb(255, 0, 0);
  }
}

.register a:hover {
  text-decoration: underline;
}

.social {
  display: flex; /* Usa o modelo de layout flexbox */
  justify-content: center; /* Centraliza os itens horizontalmente */
  align-items: center; /* Centraliza os itens verticalmente */
  font-size: 30px;
  padding: 15px 10px 2px;
  gap: 20px;
}

.social a {
  text-decoration: none;
  color: #fff;
}
.avatar-selector {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
  justify-content: center;
  position: relative;
}

#selected-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  cursor: pointer;
  border: 3px solid rgb(255, 255, 255);
  transition: 0.3s ease;
  padding: 5px 0;
}

#selected-avatar img:hover {
  transform: scale(1.05);
  border-color: white;
}

.dropdown-options {
  display: none;
  position: absolute;
  top: 100%; /* abaixo da imagem */
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 10;
  width: fit-content;
  display: none;
  grid-template-columns: repeat(3, 1fr); /* 3 colunas */
  gap: 10px;
  justify-items: center;
}

.dropdown-options img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  margin: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: 0.2s ease;
}

.dropdown-options img:hover {
  border-color: rgb(255, 255, 255);
  transform: scale(1.1);
}

.dropdown-options.show {
  display: grid;
}

#toast {
  visibility: hidden;
  min-width: 300px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 16px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, visibility 0.5s;
}

#toast.show {
  visibility: visible;
  opacity: 1;
}
