body.antes-sorteio {
  height: 100vh;
  display: flex;
  overflow: hidden;
}

body.antes-sorteio .botao-sortear {
  animation: animacao-pulse 1.5s ease-in-out infinite;
}

body.antes-sorteio header,
body.antes-sorteio .divisao,
body.antes-sorteio .contact,
body.antes-sorteio .container-img {
  display: none;
}

body.antes-sorteio .container-principal {
  padding-top: 0;
  min-height: 0;
}

body.depois-sorteio .botao-sortear,
body.depois-sorteio header {
  display: none;
}

body.depois-sorteio .container-principal {
  padding-top: 0;
  min-height: auto;
  flex-grow: 1;
}

body.depois-sorteio .contact {
  display: flex;
}

body.depois-sorteio .divisao {
  display: block;
}

body.depois-sorteio .container-img {
  display: flex;
}

body.depois-sorteio .logo-branco {
  display: none;
}

body {
  align-items: center;
  justify-content: center;
  justify-items: center;
  background-color: #000;
}

header {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: left;
  display: flex;
  width: 100%;
  height: 70px;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
}

.texto {
  font-size: 1.6rem;
  color: #000;
}

h2 {
  font-size: 2rem;
  color: #000;
}

.logo-header {
  width: 150px;
  height: 50%;
}

.container-principal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 192px);
  padding-top: 70px;
}

.botao-sortear {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  padding: 15px 30px;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: background-color 0.3s, color 0.3s;
}

.botao-sortear:hover {
  background-color: #333;
  color: #fff;
}

.container-img {
  width: 100%;
  height: auto;
}

img {
  width: 100%;
  height: 100%;
}

.container-compartilhar {
  width: 100%;
  height: 130px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  display: flex;
  background-color: #fff;
  flex-direction: column;
  text-align: center;
}

.botao-compartilhar {
  width: 30px;
  height: 30px;
}

.caixa {
  padding-top: 2%;
  padding-bottom: 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 25px;
}

.contact {
  background-color: #fff;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-items: center;
  flex-direction: column;
  padding-top: 6%;
  padding-bottom: 8%;
  gap: 15px;
  height: 120px;
}

.insta {
  width: 35px;
  height: 35px;
  filter: grayscale(100%);
}

.divisao {
  border: solid 2px #000;
}

.logo-branco {
  padding-bottom: 1rem;
  width: 70%;
}

body.antes-sorteio .formulario-email {
  display: none;
}

body.depois-sorteio .formulario-email {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 20px;
  background-color: #1a1a1a;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
}

.formulario-email .form-titulo {
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
}

.formulario-email input[type="email"] {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #555;
  background-color: #333;
  color: #fff;
  font-size: 1rem;
}

.formulario-email button[type="submit"] {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.formulario-email button[type="submit"]:hover {
  background-color: #ccc;
}

#form-mensagem {
  font-size: 0.9rem;
  height: 15px;
}
#form-mensagem.sucesso {
  color: #4caf50;
}
#form-mensagem.erro {
  color: #f44336;
}

body.depois-sorteio .sorteio-form {
  display: none;
}

.sorteio-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.sorteio-form .form-titulo {
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
}

.sorteio-form input[type="email"] {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #555;
  background-color: #333;
  color: #fff;
  font-size: 1rem;
}

.sorteio-form .botao-sortear {
  width: 100%;
  margin-bottom: 0;
}

#form-mensagem {
  font-size: 0.9rem;
  height: 15px;
}
#form-mensagem.sucesso {
  color: #4caf50;
}
#form-mensagem.erro {
  color: #f44336;
}

@keyframes animacao-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); /* Cria um brilho que expande */
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
