.cnt-about {
  padding: 25px 0px;

}

.cnt-about .about--info {

  margin-top: 25px;
  padding: 40px 20px;
  background-color: var(--border-color);
  border-radius: .7rem;
}

#about .cnt-img {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#about .img-about {
  display: block;
  width: 100%;
  filter: grayscale(100%);
  transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* From Uiverse.io by datpedo_9896 */

.polaroid {
  width: 220px;
  padding: 10px 10px 20px 10px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.12),
    0 4px 4px rgba(0, 0, 0, 0.12), 0 8px 8px rgba(0, 0, 0, 0.12);
  transform: rotate(-2deg);
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.cnt-about:hover .polaroid{
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15), 0 4px 4px rgba(0, 0, 0, 0.15),
    0 8px 8px rgba(0, 0, 0, 0.15), 0 16px 16px rgba(0, 0, 0, 0.15);
}

.photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 210px;
  background: linear-gradient(135deg, var(--link), var(--button-primary));
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.photo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.4) 32%,
      rgba(255, 255, 255, 0) 35%);
  animation: shine 3s infinite;
  z-index: 2;
}

.caption {
  font-family: "Courier New", monospace;
  font-weight: 500;
  text-align: center;
  margin-top: 1rem;
  color: var(--bg-color);
  font-size: 1rem;
  opacity: 0.8;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(120deg);
  }

  20%,
  100% {
    transform: translateX(100%) rotate(120deg);
  }
}

#about .cnt-info p {
  margin-top: 10px;
  color: var(--text-secondary);
}


/* Móviles pequeños */
@media (min-width: 481px) and (max-width: 768px) {
  /* Estilos aplicados solo a tablets en orientación horizontal */

  .polaroid {
    width: 210px;
  }

  .photo {
    height: 200px;
  }
}

/* Tablets grandes y laptops pequeñas */
@media (min-width: 769px) {

  /* Cambios para tablets en horizontal y laptops */
  .cnt-about .about--info {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 25px;
    padding: 10px 20px 10px 40px;
    background-color: var(--border-color);
    border-radius: .7rem;
  }

  #about .cnt-img {
    margin-top: 35px;
  }
}