/* Reset base e evitar overflow lateral */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #f0f0f0, #ffffff);
}

/* Corpo em display block para evitar centralização incorreta no iOS */
body {
  display: block;
}

/* Container full-screen fixo, elimina espaço em branco abaixo e centraliza todo o conteúdo */
.container {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  padding: 40px 20px;
  box-sizing: border-box;
  overflow-y: auto;            /* rolagem interna apenas se precisar */
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);

  /* NOVO: centraliza o conteúdo (logo, texto e botões) */
  text-align: center;
}

/* Logo ou avatar circular */
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;        /* margem automática para centralizar */
  display: block;
  max-width: 100%;
}

/* Título principal */
h1 {
  margin: 10px 0 5px;
  font-size: 24px;
}

/* Subtítulo / descrição */
p {
  color: #555;
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.5;
}

/* Container de botões */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* Estilo dos botões */
.button {
  background-color: #0073e6;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}

.button:hover {
  background-color: #005bb5;
}

/* Ajuste para telas médias e grandes */
@media (min-width: 600px) {
  .buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .button {
    margin: 5px;
  }
}
