main {
  background-color: var(--background-main);
}

#descripcion {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#descripcion p {
  color: var(--text-color);
  text-align: left;
  width: 50%;
  min-width: 700px;
  margin-bottom: 20px;
  font-size: 1.2em;
}

.fila {
  display: flex;
  width: 90%;
  justify-content: space-around;
  text-align: center;
}

.columna {
  flex: 1;
  padding: 20px;
}

#cursos {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#cursos img {
  width: 100%;
  max-width: 700px;
  display: block;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transition: transform .3s ease;
}

#cursos img:hover {
  transform: scale(1.03);
}

#nuevos_grupos {
  padding: 40px 0;
}

#nuevos_grupos h2 {
  text-align: center;
  margin-bottom: 30px;
}

#nuevos_grupos .contenido {
  width: 60%;
  min-width: 700px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

#nuevos_grupos p {
  flex: 1;
  color: var(--text-color);
  line-height: 1.7;
  text-align: justify;
  font-size: 1.2em;
}

#nuevos_grupos img {
  flex: 1;
  max-width: 450px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transition: transform .3s ease;
}

#nuevos_grupos img:hover {
  transform: scale(1.03);
}

#metodo {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#metodo p {
  color: var(--text-color);
  text-align: left;
  max-width: 80%;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .fila {
    flex-direction: column;
  }

  .columna {
    width: 100%;
    padding: 10px;
  }

  #descripcion p,
  #nuevos_grupos p,
  #metodo p {
    max-width: 100%;
    text-align: center;
    margin: 2% 5%;
  }

  h2 {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
