* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

body {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background: linear-gradient(0deg, rgb(255, 96, 54), rgb(253, 38, 122)) no-repeat;
}

 .placer-en-linea {
      position: absolute;
      top: 80px;
      right: -10px;
      width: 150px; /* Ajusta según el tamaño deseado */
      height: auto;
      z-index: 15;
    }

     .nav-buttons {
      position: absolute;
      width: 100%;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      justify-content: space-between;
      padding: 0 20px;
      z-index: 20;
    }

    .nav-buttons ion-icon {
      font-size: 60px;
      color: white;
      background: rgba(0, 0, 0, 0.5);
      border-radius: 50%;
      padding: 15px;
      cursor: pointer;
      transition: transform 0.3s ease, background 0.3s ease;
    }

    .nav-buttons ion-icon:hover {
      transform: scale(1.1);
      background: rgba(255, 255, 255, 0.3);
    }

    #mi-perfil {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #ccc; /* Color del icono */
}


.icon {
    font-size: 28px; /* Ajusta el tamaño del icono */
}


/* Descripción de la publicación */
.post-description {
    position: fixed; /* Cambié a fixed para que se mantenga en la parte inferior incluso si haces scroll */
    bottom: 15px;
    left: 15px;
    background: rgba(150, 150, 150, 0.7); /* Gris más oscuro con más opacidad */
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
    max-width: 90%;
    font-size: 1rem;
    word-wrap: break-word;
    /*font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; /* Fuente Impact */*/
    text-transform: uppercase; /* Opcional: pone el texto en mayúsculas para más impacto */
    letter-spacing: 2px; /* Opcional: añade un poco de separación entre letras */
    z-index: 10; /* Asegura que el texto esté por encima de otros elementos */
}

/* Estilo especial para dispositivos móviles */
@media (max-width: 768px) {
    .post-description {
        position: fixed; /* Cambié a fixed para que se quede fijo en la parte inferior de la pantalla en móviles */
        bottom: 60px;
        left: 0;
        width: 100%; /* Ocupa todo el ancho de la pantalla */
        padding: 10px;
        text-align: center; /* Centra el texto en dispositivos móviles */
    }
}





#swiper {
  height: 70vh;
  aspect-ratio: 2 / 3;
  perspective: 1000px;
  perspective-origin: center 50%;
  transform-style: preserve-3d;
  position: relative;
}

.card {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  transform: translateZ(calc(-30px * var(--i))) translateY(calc(-20px * var(--i))) rotate(calc(-4deg * var(--i)));
  filter: drop-shadow(2px 2px 20px rgba(0, 0, 0, 0.5));
  cursor: pointer;
  user-select: none;
  transition: transform 0.5s;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

#like,
#dislike {
  font-size: 16vh;
  border-radius: 50%;
  padding: 20px;
  position: relative;
  z-index: 1;
  animation-name: animation1;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
  /* don't run animation at the beginning */
  animation-play-state: paused;
}

#like.trigger,
#dislike.trigger {
  animation-name: animation2;
}

#like {
  color: red;
  background-color: rgba(255, 255, 255, 0.5);
}

#dislike {
  color: #ccc;
  background-color: rgba(0, 0, 0, 0.5);
}

@keyframes animation1 {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }
}

@keyframes animation2 {

  0%,
  100% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }
}


/*menu inferior perfil - mas - lupa*/
 .contenedor-perfil-usuario {
        position: relative;
        display: inline-block;
    }

    .menu-perfil-usuario {
        display: none;
        position: absolute;
        bottom: 50px; /* Se abre hacia arriba */
        right: -60px;
        background: rgba(255, 255, 255, 0.95); /* Fondo con ligera transparencia */
        border: 1px solid #ccc;
        border-radius: 15px;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.15);
        padding: 10px;
        width: 160px;
        z-index: 100;
        backdrop-filter: blur(8px); /* Suaviza el fondo */
        
    }

     /* Estilos para los enlaces del menú */
    .menu-perfil-usuario a {
        display: block;
        padding: 12px 15px;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        color: #333;
        text-align: left;
        border-radius: 8px;
        transition: background 0.3s ease;
    }

    .menu-perfil-usuario a:hover {
        background: #f1f1f1;
    }

/*imagenes privadas y borrosas*/

     .blurred {
        filter: blur(14px);
        position: relative;
    }
    .private-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, 0.3);
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
    }
    .private-overlay svg {
        width: 50px;
        height: 50px;
        opacity: 0.8;
        fill: gray;
    }
    .post-container {
        position: relative;
        display: inline-block;
    }

    

    