.icx-slider {
  min-height: 620px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 56px;
}

.icx-main {
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.item {
  width: 0;
  height: 0;
  list-style-type: none;
  position: absolute;
  bottom: 0;
  transform: translateY(-50%);
  z-index: 1;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0 20px 30px rgba(255,255,255,0.3) inset;
  transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s;
  height: 85%;

  &:nth-child(1), &:nth-child(2) {
    left: 0;
    top: 0;
    width: 100%;
    height: 85%;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
  }

  &:nth-child(3) { left: 10%; }
  &:nth-child(4) { left: calc(10% + 176px); }
  &:nth-child(5) { left: calc(10% + 350px); }
  &:nth-child(6) { left: calc(10% + 520px); opacity: 0; }
  &:nth-child(7) { left: calc(10% + 690px); opacity: 0; }
}

.content {
  width: min(30vw,400px);
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  font: 400 0.85rem helvetica,sans-serif;
  color: white;
  /*text-shadow: 0 3px 8px rgba(0,0,0,0.5);*/
  opacity: 0;
  display: none;

  & .title {
    font-size: 32px;
    font-family: Helvetica, Arial, sans-serif;
    /*color: #190A46;*/
    text-transform: none;
    
  }

  & .description {
    color: #343434;
    font-size: 18px;
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
    font-family: Helvetica, Arial, sans-serif;
  }

  & button {
    width: fit-content;
    background-color: rgba(0,0,0,0.1);
    color: white;
    border: 2px solid white;
    border-radius: 0.25rem;
    padding: 0.75rem;
    cursor: pointer;
  }
}

.right-content{
  width: min(50vw,500px);
  position: absolute;
  top: 35%;
  left: 0;
  right: 40%;
  margin: auto;
  transform: translateY(-50%);
  font: 400 0.85rem helvetica,sans-serif;
  color: white;
  /*text-shadow: 0 3px 8px rgba(0,0,0,0.5);*/
  opacity: 0;
  display: none; 
  padding-top: 30px;
}

.right-title{
    font-size: 40px;
    font-family: Helvetica, Arial, sans-serif;
    /*color: #190A46;*/
    text-transform: uppercase;

}

.bottom-content {
  width: min(50vw,500px);
  position: absolute;
  top: 93%;
  left: 0;
  right: 0;
  margin: auto;
  transform: translateY(-50%);
  font: 400 0.85rem helvetica,sans-serif;
  color: white;
  /*text-shadow: 0 3px 8px rgba(0,0,0,0.5);*/
  opacity: 0;
  display: none; 
  padding-top: 30px;

}

.bottom-content .description{
  font-size: small;
  text-align: center;
}


.item:nth-of-type(2) .content {
  display: block;
  animation: show 0.75s ease-in-out 0.3s forwards;
}
.item:nth-of-type(2) .bottom-content {
  display: block;
  animation: show 0.75s ease-in-out 0.3s forwards;
}
.item:nth-of-type(2) .right-content {
  display: block;
  animation: show 0.75s ease-in-out 0.3s forwards;
}

@keyframes show {
  0% {
    filter: blur(5px);
    transform: translateY(calc(-50% + 75px));
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

.nav {
  display: flex;
  justify-content: space-between;
  width: 56%;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  user-select: none;
}

.nav .btn {
  background-color: rgba(25, 10, 70, 0.3);
  color: #ffffff;
  margin: 0 0.25rem;
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.3s; /* Transición suave para cambios de color y opacidad */
  width: 1.3em;
  height: 1.3em;
  &:hover {
    /*background-color: #190a46;*/
  }
}

.nav .prev,
.nav .next{
  background-color: unset !important;
  color: #1391F1 !important;
  margin: 0 0.25rem;
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.3s; /* Transición suave para cambios de color y opacidad */
  width: 1.6em;
  height: 1.6em;
  &:hover {
    /*background-color: #190a46;*/
  }
}

/* Estilos específicos para el icono central */
/*.nav .btn.hide-mobile.hide-tablet:nth-child(5) {
  background-color: #190a46; /* Color más intenso para el icono central * /
  opacity: 1; / * Hacer completamente visible el icono central * /
}*/
.nav .btn.hide-mobile.hide-tablet.active {
  background-color: #190a46; /* Color más intenso para el icono central */
  opacity: 1; /* Hacer completamente visible el icono central */
}

/* Estilos para los iconos laterales que se desvanecen */
.nav .btn.hide-mobile.hide-tablet:nth-child(2),
.nav .btn.hide-mobile.hide-tablet:nth-child(8) {
  opacity: 1; /* Reducir la opacidad de los iconos laterales */
}

/* Estilos para los iconos laterales que se desvanecen */
.nav .btn.hide-mobile.hide-tablet:nth-child(3),
.nav .btn.hide-mobile.hide-tablet:nth-child(7) {
  opacity: 1; /* Reducir la opacidad de los iconos laterales */
}

/* Estilos para los iconos laterales que se desvanecen */
.nav .btn.hide-mobile.hide-tablet:nth-child(4),
.nav .btn.hide-mobile.hide-tablet:nth-child(6) {
  opacity: 1; /* Reducir la opacidad de los iconos laterales */
}

@media (width > 650px) and (width < 900px) {
   .slider .item{
    background-size: 1000px;
    background-repeat: no-repeat;
    background-position: 50% 70%;
  }
  .icx-slider {
    height: 800px;
  }
  .right-content {
    width: min(100vw, 500px);
    top: 15%;
    left: 0;
    right: 0;
    text-align: center;
  }
  .bottom-content {
    width: min(80vw, 500px);
    top: 27%;

  }
  .content {
    width: min(80vw, 400px);
    top: 95%;
    margin: auto;
    right: 0;
    left: 0;
    text-align: center;
  }
  .content .title br{
    display: none;
  }
  .hide-mobile.active{
    display:unset!important
  }
  .hide-tablet.active{
    display:unset!important;
  }
  .hide-mobile.active{
    display:unset!important
  }
  .hide-tablet.active{
    display:unset!important;
  }
  /*
  .content {
    & .title        { font-size: 1.1rem; }
    & .description  { font-size: 0.8rem; }
    & button        { font-size: 0.8rem; }
  } */ 
  .item {
      width: 0;
  height: 0;

    &:nth-child(3) { left: 50%; }
    &:nth-child(4) { left: calc(50% + 170px); }
    &:nth-child(5) { left: calc(50% + 340px); }
    &:nth-child(6) { left: calc(50% + 510px); opacity: 0; }
    &:nth-child(7) { left: calc(50% + 720px); opacity: 0; }
  }
}

@media (width < 650px) {
  .slider .item{
    background-size: 1000px;
    background-repeat: no-repeat;
    background-position: 50% 70%;
  }
  .icx-slider {
    height: 730px;
  }
  .right-content {
    width: min(100vw, 500px);
    top: 15%;
    left: 0;
    right: 0;
    text-align: center;
  }
  .bottom-content {
    width: min(80vw, 500px);
    top: 27%;
  }
  .content {
    width: min(80vw, 400px);
    top: 95%;
    margin: auto;
    right: 0;
    left: 0;
    text-align: center;
  }
  .content .title br{
    display: none;
  }
  .hide-mobile.active{
    display:unset!important
  }
  .hide-tablet.active{
    display:unset!important;
  }
  /*
  .content {
    & .title        { font-size: 1.1rem; }
    & .description  { font-size: 0.8rem; }
    & button        { font-size: 0.8rem; }
  }*/
  
  .content {
    & .title {
        font-size: 1.1rem;
    }
    & .description {
        font-size: 0.8rem;
    }
    & button {
        font-size: 0.8rem;
    }
}

/* Estilos específicos para pantallas móviles */
@media only screen and (max-width: 575px) {
    .content {
        & .title {
            font-size: 1.1rem; 
        }
    
        & .description {
            font-size: 15.5px; 
        }
        & button {
            font-size: 0.8rem; 
            margin-top: 30px;
        }
    }
  .bottom-content{
    & .description {
            margin-top: 30px;
            font-size: 15.3px; 
     }
  }
  .item {
    &:nth-child(1), &:nth-child(2) {
        width: 100%;
        height: 87%;
        opacity: 1;
    }
}
  .nav{
    
  }
}

  .item {
      width: 0;
      height: 0;

    &:nth-child(3) { left: 50%; }
    &:nth-child(4) { left: calc(50% + 140px); }
    &:nth-child(5) { left: calc(50% + 280px); }
    &:nth-child(6) { left: calc(50% + 420px); opacity: 0; }
    &:nth-child(7) { left: calc(50% + 590px); opacity: 0; }
  }
}