body {
  padding-top: 60px;
}

.hero {
  position: relative;
  background-image: url('../img/inner-child-pic.jpeg');
  height: 80vh;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  color: white;
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  text-shadow: 0 6px 4px rgba(0, 0, 0, 1);
  animation: fadein 4s;
}

@keyframes fadein {
    0% {
        opacity:0;
    }
    50%{
        opacity:0.5;
    }
    100% {
        opacity:1;
    }
}

hgroup p {
  color: #777;
  font-style: italic;
}


.center {
  text-align: center;
  padding: 3rem 1rem;
  display: grid;
}

.callout {
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.button {
  width: 35%;
  min-width: 120px; /* asegura que no se haga demasiado pequeño */
  font-size: 1.2rem;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  cursor: pointer;
  margin: auto;
}

.form-suscription {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.submit-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.form-subscription button {
  width: 25%;
  min-width: 120px; /* asegura que no se haga demasiado pequeño */
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

/*Estilos responsive*/

/*texto imagen central*/

@media (max-width: 467px) {
  .hero h1 {
    font-size: 1.5rem;
  }
}

/*texto y botón callout*/

@media (max-width: 992px) {
  .button {
    width: 80%; /* más espacio disponible */
    font-size: 1rem; /* ligeramente más pequeño */
    padding: 0.6rem 1.2rem; /* menos espacio interior */
  }
}
