@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

/* Estilos generales */
body, html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #9caf88;
  font-family: 'Outfit', sans-serif;
  color: white;
  display: flex;
  flex-direction: column;
}

/* Links */
a {
  color: white;
  text-decoration: none !important;
  outline: none;
}
a:focus,
a:hover,
a:active {
  text-decoration: none !important;
  outline: none;
  color: #526241;
}

/* Contenedor centrado */
.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* ahora centrado vertical */
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Logo + aro giratorio */
.logo-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
  margin-bottom: 25px;
}
.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 60%;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
  animation: spin 15s linear infinite;
  z-index: 1;
}
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Texto */
h1 {
  font-size: 1.8em;
  margin-bottom: 15px;
}
p {
  font-size: 1.2em;
  max-width: 90%;
  margin: 0 auto 30px auto;
}
a {
  color: #ffffff;
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9em;
  color: #526241;
  padding: 15px 10px;
}

/* Responsividad */
@media (max-width: 480px) {
  .logo-wrapper {
    width: 280px;
    height: 280px;
    margin-bottom: 20px;
  }
  .logo {
    max-width: 65%;
  }
  .spinner {
    max-width: 100%;
  }
  h1 {
    font-size: 1.4em;
  }
  p {
    font-size: 1em;
  }
}

@media (max-width: 320px) {
  p {
    padding: 0 10px;
  }
}