#aboutimg {
    width: 15vw; /* Ajusta el tamaño de la imagen en función del ancho de la pantalla */
    height: 15vw; /* Mantiene la imagen en forma circular */
    border-radius: 50%; /* Hace que la imagen sea circular */
    object-fit: cover; /* Mantiene la proporción de la imagen al recortarla */
    margin-bottom: 15px; /* Espaciado entre la imagen y el texto */
  }
  /*--------------------------------------------------------------------------------------------*/

  .galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.galeria img {
  width:auto; /*calc(25% - 16px);  4 columnas */
  height: 15vh;
  border-radius: 10px;
  display: block;
}
/* Responsivo para tabletas */
@media (max-width: 992px) {
  .galeria img {
    width: calc(33.33% - 16px); /* 3 columnas */
  }
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .galeria img {
    width: calc(50% - 16px); /* 2 columnas */
  }
}

/* Extra pequeño */
@media (max-width: 480px) {
  .galeria img {
    width: 100%;
  }
}

  /*--------------------------------------------------------------------------------------------*/

  #aboutT {
    align-items: center;
    justify-items: center;
  }

  #cards {
    width: 90%;
    justify-self: center;
  }

  .card {
    margin-top: 1%;
    margin-bottom: 1%;
    padding: 3%;
    display: flex;
    height: auto;
    flex-direction: row;
  }

.imagencont {
    display: flex;
    width: 50%;
    height: auto;
    justify-content: center;
    align-items: center;
    padding-right: 1.5%;
    overflow: hidden;
}

.imagencont video,
.imagencont iframe {
    width: 100%;
    height: auto;
    display: block;
    border: none;
}

  .textcardcont {
    display: flex;
    width: 50%;
    height: auto;
    justify-content: center;
    align-items: center;
    text-align: justify;
    flex-direction: column;
  }

  .imgcards {
    height: 25vh;
    width: auto;
  }

  /* Contenedor “ventana” */
  #carousel-container {
    overflow: hidden;
    position: relative;
  }

  .proyectos-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
  }

  .proyectos-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    width: 90%;
    margin: 0 auto;
  }

  @media (min-width: 600px) {
    .proyectos-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 900px) {
    .proyectos-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .proyecto-card {
    width: calc(25% - 16px);  /*4 columnas */
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .proyecto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  }

  .proyecto-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .proyecto-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .proyecto-titulo {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0.5rem 0;
    text-align: center;
  }

  .proyecto-descripcion {
    font-size: 0.95rem;
    color: #555;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .proyecto-boton {
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
    color: #1E1E1E;
    border: 1px solid #1E1E1E;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
  }

  .proyecto-boton:hover {
    background-color: #1E1E1E;
    color: white;
  }

  .proyectos-ver-todos {
    margin-top: 2rem;
    text-align: center;
  }

  .ver-todos-boton {
    display: inline-block;
    background-color: #1E1E1E;
    color: white;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .ver-todos-boton:hover {
    background-color: #333;
  }