body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f9f9f9;
    text-align: center;
    margin-top: -80px;
}
img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    max-width: 600px; /* para que no sea gigante en escritorio */
  margin: 0 auto;
  display: block;
}
 /* Estilo del párrafo con letra más pequeña */
h1 {
  text-align: center;
  margin-bottom: 20px;
}
  
  
  p {
    text-align: center;
    font-size: 0.8rem; /* más chico que el tamaño base */
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.4;
    color: #666;
  }
 
.container {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box; /* que el padding no cree scroll horizontal */
}


.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 20px;
  }
  
.button-container a {
    text-decoration: none;
}
button {
    width: 100%; /* Ajuste automático */
    max-width: 140px; /* Tamaño máximo */
    padding: 15px;
    font-size: 18px; /* Tamaño fijo para mejor diseño */
    /* background-color: rgb(189, 152, 72); */
    background-color: #1e8cbe; /* Celeste pastel */
    color: white; 
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
}

.form-container {
    display: flex;
    justify-content: center;
}

.form-container form {
    /* width: 100%; */
    text-decoration: none;
}
.form-container button {
    min-width: 50%;
    margin-top: 10px;
}
.form-container input {
    padding: 15px 10px;
    border-radius: 4px;
    margin-right: 10px;
    margin-top: 10px;
    font-size: 5vmin;
}

.input-container {
    position: relative;
    display: inline-block;
}

.input-container::after {
    content: '€';
    pointer-events: none;
    font-size: 5vmin;
    margin-left: 0px;
    margin-right: 10px;
}

button:hover {
    background-color: #0056b3;
}

/* @media (max-width: 800px) {
  .button-grid {
    grid-template-columns: 1fr;
  }
} */
/* @media (max-width: 800px) {
  .container {
    max-width: 95%;
    padding: 5px;
  }
} */
@media (max-width: 600px) {
  .container {
  width: 100%;
  max-width: 90%;
  padding: 10px;
  margin: 0 auto;
  }
}
@media (min-width: 1024px) {
    img {
        max-width: 100%;
    }
    h1, .button-container button {
        font-size: 3em;
    }
    .container p{
        font-size: 2em;
    }
} 


.button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 25px auto 10px;
  }
  
  .button-grid a {
    text-align: center;
    text-decoration: none;
  }
  
  .button-extra {
    display: flex;
    justify-content: center;
    margin-top: 25px;
  }
  
  .donate-button {
    background-color: #007bff;
    color: white;
    padding: 25px 0;
    border: none;
    border-radius: 12px;
    font-size: 1.8rem;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .donate-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
  }
  
  .special {
    width: 300px;
    max-width: 80%; /* Para que no se pase del ancho en móviles */
  }

  .donacion-texto {
    text-align: center;
    font-size: 1.4rem;
    color: #666;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.4;
  }

