/* ---------- CORPO EM GERAL(BODY) ---------- */
body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  display: flex;
  flex-direction: column; /* organiza tudo em coluna: topo -> conteúdo */
  align-items: center;
  justify-content: flex-start; /* o conteúdo começa do topo */
  min-height: 100vh;
  overflow-x: hidden;
}

/* HEADER CLASS TOPO ESTAQUI */
.topo {
  display: flex;               /* display tentei com float nao ficou como pensei muei pro flex*/
  justify-content: center;     /* centraliza horizontalmente */
  align-items: center;         /* centraliza verticalmente (em cima no caso) */
  width: 100%;
  padding: 20px 0;
  background-color: transparent; /* se quiser, pode colocar cor */
  z-index: 10;
}

.img {
  width: 120px;       /* ESSE É O TAMANHO PADRÃO NÃO MEXER*/
  height: auto;
  animation: fadeIn 1s ease forwards;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 400px;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.8s ease;
}

.container.show {
  transform: scale(1);
  opacity: 1;
}

h1 {
  color: #333333;
  margin-bottom: 25px;
}

.btn {
  display: block;
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  background-color: #f1c40f;
  color: #333333;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.4s;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(241, 196, 15, 0.7);
}

.btn:hover::after {
  left: 100%;
}

footer {
  margin-top: 20px;
  font-size: 14px;
  color: #777;
}

img{
    display: flex;
}