/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', sans-serif;
}

/* Imagem de fundo fullscreen */
body {
  background: url('foto_principal.png') no-repeat center center;
  background-size: cover; /* Preenche toda a tela */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Camada escura para contraste */
.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Conteúdo central */
.content {
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  max-width: 90%;
  color: white;
}

/* Títulos e textos */
h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

p {
  font-size: 1.2em;
  margin: 10px 0;
}

.footer {
  font-style: italic;
  margin-top: 20px;
  font-size: 1.1em;
}

/* Loader animado */
.loader {
  margin: 20px auto;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #ffffff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsividade para telas pequenas */
@media (max-width: 600px) {
  h1 {
    font-size: 1.6em;
  }

  p {
    font-size: 1em;
  }

  .loader {
    width: 40px;
    height: 40px;
    border-width: 5px;
  }
}