body {
  min-height: 100vh; /* Establece una altura mínima del 100% del viewport */
  margin: 0;
  background: linear-gradient(10deg, #f0f0f0, #1f1e1e);
  background-size: cover;
  width: 100%;
}

/* Estilos para la rejilla grid */
.grid-container {
  margin-top: 3%;
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* Cuatro columnas con igual ancho */
  gap: 10px; /* Espacio entre celdas */
  padding: 10px; /* Espacio alrededor de la rejilla */
}

/* Estilos para las celdas */
.grid-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff; /* Color de fondo de las celdas */
  border-radius: 10px;
  border: 1px solid #6c6565; /* Borde de las celdas */
  padding: 30px; /* Espacio interno */
  text-align: center; /* Centrar texto en celdas */
}
.grid-item:hover {
  background-color: #bd0202; /* Color de fondo de las celdas */
}
/* Estilos para los enlaces dentro de las celdas */
.grid-item a {
  text-decoration: none; /* Quitar subrayado de los enlaces */
  color: #333; /* Color del texto de los enlaces */
  font-weight: bold;
}
.grid-item a:hover {
  background-color: #ffffff;
  border-radius: 5px;
  padding: 5px;
}

.descripcion h1 {
  margin-top: 100px;
  margin-left: 10%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: solid 2px;
  border-radius: 10px;
  color: #ffffff;
  background-color: #bd0202;
  width: 80%;
}
.descripcion p {
  font-weight: 600;
  margin-top: 30px;
  display: flex;
  margin-left: 10%;
  margin-right: 10%;
}

h6 {
  color: #0667f9;
  text-decoration: none;
  margin-bottom: 15px;
}
a {
  text-decoration: none;
}
.video {
  margin: 10px;
  text-align: center;
}

img {
  width: 40%;
}
.textoVideo {
  margin-top: 10px;
  text-align: center;
}

.inicio {
  margin-top: 50px;
  text-align: center;
}

/* Media Query para tamaños de pantalla más pequeños (móviles) */
@media (max-width: 768px) {
  .container {
    width: 100%; /* Ancho completo en dispositivos más pequeños */
  }
  .grid-container {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* Cambia a 2 columnas en dispositivos más pequeños */
  }
  .grid-item {
    padding: 10px; /* Reduce el espacio interno en tamaños pequeños */
    font-size: 14px; /* Tamaño de fuente más pequeño */
  }
  body {
    background: linear-gradient(90deg, #f0f0f0, #333);
    background-size: cover;
    width: 100%;
    height: 100%;
  }
  .descripcion p {
    font-weight: 600;
    margin-top: 30px;
    display: flex;
    margin-left: 10%;
    margin-right: 10%;
  }
}
