body {
    background: rgb(99, 39, 120)
}
    
/*navbar */
.nav-link {
    font-size: 1.2rem; /* Aumenta el tamaño de la letra */
    color: #ffffff !important; /* Cambia el color a lila */
    border-color: #ffffff;
}

.nav-link:hover {
    color: #632778 !important; /* Cambia el color a blanco al pasar el cursor */
    background-color: #D8BFD8 !important;
}

.btn-outline-light {
    font-size: 1.2rem; /* Tamaño de fuente más grande */
    color: #ffffff !important; /* Botón color lila */
    border-color: #ffffff;
}

.btn-outline-light:hover {
    background-color: #D8BFD8 !important;
    color: #632778 !important;
}

@media (max-width: 768px) {
  .navbar-collapse {
    justify-content: center; /* Centra los elementos dentro del contenedor colapsable */
  }

  .nav-item {
    width: 100%; /* Asegura que cada ítem ocupe todo el ancho */
  }
  .btn-outline-light{
      width: 100%; /* Asegura que cada ítem ocupe todo el ancho */
  }

  .nav-link {
    width: 100%; /* Cada enlace ocupa todo el ancho */
    display: block; /* Fuerza los enlaces a ser bloques para centrar el texto */
  }

  .btn-outline-light {
    margin-bottom: 10px; /* Espaciado entre botones */
  }

  .btn-outline-light:last-child {
    margin-bottom: 0; /* Elimina el margen del último botón */
  }
}

/*Carrusel de Imagenes */  
.image-carousel-container {
  display: flex;
  flex-direction: row; /* Por defecto, alineación en fila */
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #f9f9f9;
}

/* Carrusel vertical */
.vertical-carousel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 20%;
  max-height: 130vh;
  overflow-y: auto;
}

.carousel-image {
  width: 200px;
  height: 200px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 10px;
  transition: transform 0.2s, border-color 0.2s;
}

.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-image:hover {
  transform: scale(1.1);
  border-color: #632778;
}

.image-display {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-display img {
  max-width: 100%;
  max-height: 80vh;
  border: 2px solid #632778;
  border-radius: 10px;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
  .image-carousel-container {
    flex-direction: column; /* Cambia la dirección a columna */
  }

  .vertical-carousel {
    width: 100%; /* Ajusta el ancho al 100% */
    max-height: none; /* Permite que las miniaturas se expandan si es necesario */
    flex-direction: row; /* Alinea las miniaturas en una fila */
    overflow-x: auto; /* Habilita el desplazamiento horizontal */
    overflow-y: hidden; /* Oculta el desplazamiento vertical */
    justify-content: center;
  }

  .carousel-image {
    width: 80px; /* Reduce el tamaño de las miniaturas en móviles */
    height: 80px;
  }

  .image-display img {
    max-height: 50vh; /* Reduce la altura máxima de la imagen principal */
  }
}
/*loader*/
.loader {
   
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 24px;
}

.glitch {
    position: relative;
    font-size: 30px;  /* Puedes ajustar el tamaño según lo necesites */
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    letter-spacing: 5px;
    z-index: 1;
    animation: shift 1s ease-in-out infinite alternate;
}

.glitch:before,
.glitch:after {
    display: block;
    content: attr(data-glitch);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
}

.glitch:before {
    animation: glitch 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: #8b00ff;
    z-index: -1;
}

.glitch:after {
    animation: glitch 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
    color: #00e571;
    z-index: -2;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-3px, 3px);
    }

    40% {
        transform: translate(-3px, -3px);
    }

    60% {
        transform: translate(3px, 3px);
    }

    80% {
        transform: translate(3px, -3px);
    }

    to {
        transform: translate(0);
    }
}

@keyframes shift {
    0%, 40%, 44%, 58%, 61%, 65%, 69%, 73%, 100% {
        transform: skewX(0deg);
    }

    41% {
        transform: skewX(10deg);
    }

    42% {
        transform: skewX(-10deg);
    }

    59% {
        transform: skewX(40deg) skewY(10deg);
    }

    60% {
        transform: skewX(-40deg) skewY(-10deg);
    }

    63% {
        transform: skewX(10deg) skewY(-5deg);
    }

    70% {
        transform: skewX(-50deg) skewY(-20deg);
    }

    71% {
        transform: skewX(10deg) skewY(-10deg);
    }
}

/* input subir imagenes */ 
.input {
  max-width: 190px;
  display: none;
}

.labelFile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 250px;
  height: 190px;
  border: 2px dashed #ccc;
  align-items: center;
  text-align: center;
  padding: 5px;
  color: #404040;
  cursor: pointer;
}

/* Previsualizacion de Imagenes */
.image-preview-container {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .image-preview {
      position: relative;
      width: 120px;
      height: 120px;
      border: 2px solid transparent;
      border-radius: 5px;
      overflow: hidden;
      cursor: grab;
    }

    .image-preview img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .image-preview[data-main="true"] {
      border-color: #632778;
    }

    .delete-btn {
      position: absolute;
      top: 5px;
      right: 5px;
      background: red;
      color: white;
      border: none;
      border-radius: 50%;
      width: 20px;
      height: 20px;
      cursor: pointer;
    }
