* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*

verde #60776c
marron #bb9074
rosado #fcd5b8
gris #c3c1ab

*/

body {
    font-family: "Playfair Display", serif;
    background: linear-gradient(135deg, #c3c1ab, #fcd5b8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header img {
    border-radius: 100%;
    width: 120px;
    height: 120px;
}

header h1 {
    margin-top: 10px;
    font-size: 24px;
    color: #333;
}

header h2 {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 400;
    color: #333;
}

h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 400;
    color: #333;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
}

.button-container a,
.button-container .button {
    text-align: center;
    padding: 10px;
    border-radius: 50px;
    background-color: #bb9074;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.button {
    display: flex;
    align-items: center
}
.button img {
    width: 60px;
    border-radius: 100%;
    display: block;
    margin-right: 20px;
}
.button span {
    text-align: left;
}

.button-container a:hover,
.button-container .button:hover {
    background-color: #926e56;
}

footer {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #666;
}
footer .redes {
    padding-bottom: 15px;
}
footer .redes a {
    text-align: center;
    padding: 10px;
    color: #60776c;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
footer .redes a:hover {
    color: #c3c1ab;
}

/* Estilos generales del formulario */
form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
  }
  
  form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
  }
  
  form input:focus {
    border-color: #428938;
    outline: none;
  }
  
  form button {
    width: 100%;
    padding: 12px;
    background-color: #428938;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  form button:disabled {
    background-color: #ddd;
    cursor: not-allowed;
  }
  
  form button:active {
    background-color: #0056b3;
  }
  
  .sending-animation {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #fff;
    border-radius: 50%;
    border-top-color: #3bbd6d;
    animation: spin 0.8s linear infinite;
  }
  
  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  /* Mensaje de gracias */
  .thank-you-message {
    display: none;
    font-size: 18px;
    text-align: center;
    color: #c8c8c8;
  }
  /* Animación para desplegar el formulario */
#formContainer {
    transition: max-height 0.5s ease-out;
    overflow: hidden;
    max-height: 0;
  }
  
  #formContainer.active {
    max-height: 500px; /* Ajusta según el tamaño de tu formulario */
  }
  
  /* Estilo básico para el botón */
  #inscripcionBtn {
    cursor: pointer;
  }