/* Estilos base (móvil primero) */
@media (max-width: 599px) {
  .contenedor { width: 100%; }
  .grid { grid-template-columns: 1fr; }
}

/* Estilos para pantallas más grandes (ej. tablets y más) */
@media (min-width: 600px) and (max-width: 899px) {
  .contenedor { width: 80%; margin: 0 auto; }
  .grid { grid-template-columns: repeat(2, 1fr); }

  /* Otros cambios de layout */
}

/* Estilos para pantallas muy anchas (ej. escritorio) */
@media (min-width: 900px) {
  .contenedor { width: 70%; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  /* Más cambios */
}

.grid{
  display: grid;
  /*grid-template-columns: repeat(3, 280px);*/ /* 3 columnas iguales */
  gap: 15px; /* separación entre botones */
  max-width: 960px;
  margin: 0 auto; /* centrar todo el bloque */
}

button{
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    cursor: pointer;
    border: none;
    padding: 24px;
    color: rgb(255, 255, 255);
    font-size: 15px;
    font-weight: bold;
    border-radius: 12px;
    height: 50px;
}


body{
    background-color: rgb(85, 179, 72);
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

a{
    color: #FFF;
    text-decoration: none;
}