* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
div #carousel {
  height: 100vh;
  /* margin-top: 100px; */
  display: grid;
  place-items: center;
  /* overflow: hidden; */
}
.main2 {
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);

}
.background-image1 {
  background-image: url('../../photos-v-j/11zon_converted/17.webp');
  background-position: center;
  background-size: cover;
  transition: transform 0.5s ease-in-out; 
}
.background-image1:hover:not(.active):not(:nth-child(1)):not(:nth-child(2)) {
  background-image: url('https://alonsoviales.s3.amazonaws.com/van-der-laat/VERSION-2024/PROYECTOS-HOVER/25.png');
}


.background-image2{

  background-image: url('../../photos-v-j/11zon_converted/fondo-carousel.webp');
  background-position: center;
  background-size: cover;
}

.background-image2:hover:not(.active):not(:nth-child(1)):not(:nth-child(2)) {
  background-image: url('https://alonsoviales.s3.amazonaws.com/van-der-laat/VERSION-2024/PROYECTOS-HOVER/30.png');
}

.background-image3{

  background-image: url('../../photos-v-j/11zon_converted/3.webp');
  background-position: center;
  background-size: cover;
}
.background-image3:hover:not(.active):not(:nth-child(1)):not(:nth-child(2)) {
  background-image: url('https://alonsoviales.s3.amazonaws.com/van-der-laat/VERSION-2024/PROYECTOS-HOVER/5.png');

  }
.background-image4{

  background-image: url('../../photos-v-j/11zon_converted/14.webp');
  background-position: center;
  background-size: cover;
}
.background-image4:hover:not(.active):not(:nth-child(1)):not(:nth-child(2)) {
  background-image: url('https://alonsoviales.s3.amazonaws.com/van-der-laat/VERSION-2024/PROYECTOS-HOVER/3.png');

  }


.item {
  width: 400px;
  height: 200px;
  list-style-type: none;
  position: absolute;
  top: 55%;

  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;
  
  
 
}


@media only screen and (max-width: 1440px) and (min-width: 1430px) {
  .item {
   
      top: 500px;
    
  }
}
/* como estaban las cards
.item {
  width: 300px;
  height: 400px;
  list-style-type: none;
  position: absolute;
  top: 55%;

  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;
 
} */

/* 
@media (min-width: 768px) {  
  .item:hover { 
    background-blend-mode: multiply;
    background-color: #00579E;
    opacity: 1;
  }
} */

/* .active { 
  background-blend-mode: multiply;
  background-color: #00579E;
  opacity: 1;
} */

.item:nth-child(1), .item:nth-child(2) {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  background-blend-mode: multiply;
  background-color: #00579E;
  opacity: 1;
}

.item:nth-child(3) {
  left: 33%;

}
/* asi estaban las cards verticales */
/* .item:nth-child(3) {
  left: 43%;
} */
.item:nth-child(4) {
  left: calc(50% + 220px);
}
.item:nth-child(5) {
  left: calc(50% + 440px);
}
.item:nth-child(6) {
  left: calc(50% + 660px);
  opacity: 0;
}
.content2 {
  width: 400px;
  position: absolute;
  top: 40%;
  left: 3rem;
  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;
}
.content2 .title2 {
  font-family: Gotham;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08471rem;
  text-align: left;
  font-size: 40px;
}
.content2 .description {
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  font-size: 0.8rem;
}
.content2 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;
}

.content2 button:hover {
  width: fit-content;
  background-color: #F89311;
  color: white;
  border: 2px solid white;
  border-radius: 0.25rem;
  padding: 0.75rem;
  cursor: pointer;
}
.item:nth-of-type(2) .content2 {
  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 {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  user-select: none;
}
.nav .btn {
 
    background-color: #0C9A94;
    color: #fff;
    border: 2px solid rgba(0, 0, 0, 0.6);
    margin: 0 0.25rem;
    padding: 0.75rem;
    border-radius: 50%; /* 50% es igual que 100% pero mas estandar para circulos.*/
    cursor: pointer;
    width: 3rem; /* Ajusta el ancho según tus necesidades */
    height: 3rem; /* Ajusta el alto según tus necesidades */
    display: inline-flex; /* Para centrar el contenido */
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    text-align: center; /*centrar texto, en caso de tenerlo.*/
}

.nav .btn:hover {
  background-color: #fff
}
@media (width > 650px) and (width < 900px) {
  .content2 .title {
    font-size: 1rem;
 }
  .content2 .description {
    font-size: 0.7rem;
 }
  .content2 button {
    font-size: 0.7rem;
 }
  .item {
    width: 240px;
    height: 130px;
    top: 600px;
   
 }
  .item:nth-child(3) {
    left: 10%;
 }
  .item:nth-child(4) {
    left: calc(40% + 170px);
 }
  .item:nth-child(5) {
    left: calc(50% + 340px);
 }
  .item:nth-child(6) {
    left: calc(50% + 510px);
    opacity: 0;
 }
 iframe { 
  width: 100%;
  display: flex;
  /* justify-content:space-around; */

 }
 .space-top{
  margin-top: 5px;
 }
 .parrafos{
  color:#7C7C7C ;
  font-size: 15px;
 }
}


@media (width < 650px) {
  .content2 .title2 {
    font-size: 0.9rem;
 }
  .content2 .description {
    font-size: 0.65rem;
 }
  .content2 button {
    font-size: 0.7rem;
 }
  .item {
    
    width: 130px;
    height: 220px;
 }
  .item:nth-child(3) {
    left: 50%;
 }
  .item:nth-child(4) {
    left: calc(50% + 140px);
 }
  .item:nth-child(5) {
    left: calc(50% + 280px);
 }
  .item:nth-child(6) {
    left: calc(50% + 420px);
    opacity: 0;
 }
 :root, [data-bs-theme=light] {
 --bs-body-font-size: 1.2rem;
 }
}

@media only screen and (max-width: 840px) and (min-width: 810px) {
  .item:nth-child(3) {
    left: 1% !important;
}
.item:nth-child(4) {
  left: calc(45% + 100px) !important;
}
}


@media only screen and (max-width: 1825px) and (min-width: 1100px)  {

 .space-top{
  margin-top: 25px;
 }
 
}



@media only screen and (max-width: 1425px) and (min-width: 1281px)  {
  .content2 .title2 {
    font-size: 1.9rem;
 }
  .content2 .description {
    font-size: 0.65rem;
 }
  .content2 button {
    font-size: 0.7rem;
 }
  .item {
    width: 340px;
    height: 180px;
    top: 600px;
 }
  .item:nth-child(3) {
    left: 10%;
 }
  .item:nth-child(4) {
    left: calc(50% + 140px);
 }
  .item:nth-child(5) {
    left: calc(50% + 280px);
 }
  .item:nth-child(6) {
    left: calc(50% + 420px);
    opacity: 0;
 }
 iframe { 
  width: 100%;

 }
 .space-top{
  margin-top: 25px;
 }
 .parrafos{
  color:#7C7C7C ;
  font-size: 15px;
 }


}


.title2 {

    /* margin: 0; */

    width: 100%;
    left: 0;
    right: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 5px;
    height: 100px;
    color: white;
    font-size: 2rem;
   
}

@media screen and (max-width: 769px) {
  .title2 {

    margin-bottom: 10px;

    /* width: 100%; */
    text-align: left;
 
    text-transform: uppercase;


    color: white;
    font-size: 1rem;
    
   
}
iframe { 
  width: 350px;
  display: flex;
  /* justify-content:space-around; */

 }
}


@media screen and (max-width: 440px) {
  .parrafos{
    color:#7C7C7C ;
    font-size: 17px;
   }
   iframe { 
    width: 100%;
  
   }
   .space-top{
    margin-top: 25px;
   }
   .content2 .title2 {
    font-size: 2rem ;
 }
  .content2 .description {
    font-size: 0.7rem;
 }
  .content2 button {
    font-size: 0.7rem;
 }
  .item {
    width: 160px;
    height: 100px;
    top: 420px;
   
 }
  .item:nth-child(3) {
    left: 8%;
 }
  .item:nth-child(4) {
    left: calc(15% + 170px);
 }
  .item:nth-child(5) {
    left: calc(50% + 340px);
 }
  .item:nth-child(6) {
    left: calc(50% + 510px);
    opacity: 0;
 }
 iframe { 
  width: 425px;
  display: flex;
  /* justify-content:space-around; */

 }
 .space-top{
  margin-top: 5px;
 }
 .parrafos{
  color:#7C7C7C ;
  font-size: 20px;
 }

}

@media only screen and (max-width: 440px) and (min-width:428px) 
{
  .item {
    width: 160px;
    height: 100px;
    top: 620px;
   
 }
}
@media only screen and (max-width: 427px) and (min-width:415px) 
{
  .item {
    width: 160px;
    height: 100px;
    top: 420px;
   
 }
}
@media only screen and (max-width: 414px) and (min-width:410px) 
{
  .item {
    width: 160px;
    height: 100px;
    top: 620px;
   
 }
}

@media only screen and (max-width: 393px) and (min-width:379px) 
{
  .item {
    width: 160px;
    height: 100px;
    top: 520px;
   
 }
 .item:nth-child(3) {
  left: 5%;
}
.item:nth-child(4) {
  left: calc(7% + 170px);
}
.item:nth-child(5) {
  left: calc(50% + 340px);
}
.item:nth-child(6) {
  left: calc(50% + 510px);
  opacity: 0;
}
}

@media screen and (max-width: 375px) {
  .parrafos{
    color:#7C7C7C ;
    font-size: 17px;
   }
   iframe { 
    width: 100%;
  
   }
   .space-top{
    margin-top: 5px;
   }
   .content2 .title2 {
    font-size: 2rem ;
 }
  .content2 .description {
    font-size: 0.7rem;
 }
  .content2 button {
    font-size: 0.7rem;
 }
  .item {
    width: 150px;
    height: 100px;
    top: 500px;
   
 }
  .item:nth-child(3) {
    left: 5%;
 }
  .item:nth-child(4) {
    left: calc(10% + 170px);
 }
  .item:nth-child(5) {
    left: calc(50% + 340px);
 }
  .item:nth-child(6) {
    left: calc(50% + 510px);
    opacity: 0;
 }
 iframe { 
  width: 370px;
  display: flex;
  /* justify-content:space-around; */

 }
 .space-top{
  margin-top: 5px;
 }
 .content2 button {
  font-size: 0.7rem;
  margin-bottom: 60px;
}


}






@media only screen and (max-width: 362px) and (min-width:340px) 
{
  .item {
    width: 160px;
    height: 100px;
    top: 550px;
   
 }
 .item:nth-child(3) {
  left: 3%;
}
.item:nth-child(4) {
  left: calc(5% + 170px);
}
.item:nth-child(5) {
  left: calc(50% + 340px);
}
.item:nth-child(6) {
  left: calc(50% + 510px);
  opacity: 0;
}
}
.carousel-button{
  /* margin-left: 50px; */
  margin-top: 160px;
  width:150px !important;
}

@media screen and (max-width: 335px) {
  .parrafos{
    color:#7C7C7C ;
    font-size: 17px;
   }
   iframe { 
    width: 100%;
  
   }
   .space-top{
    margin-top: 5px;
   }
   .content2 .title2 {
    font-size: 1.5rem ;
 }
  .content2 .description {
    font-size: 0.7rem;
 }
  .content2 button {
    font-size: 0.7rem;
 }
  .item {
    width: 120px;
    height: 100px;
    top: 600px;
   
 }
  .item:nth-child(3) {
    left: 5%;
 }
  .item:nth-child(4) {
    left: calc(10% + 150px);
 }
  .item:nth-child(5) {
    left: calc(50% + 340px);
 }
  .item:nth-child(6) {
    left: calc(50% + 510px);
    opacity: 0;
 }
 iframe { 
  width: 370px;
  display: flex;
  /* justify-content:space-around; */

 }
 .space-top{
  margin-top: 5px;
 }

 .content2 button:hover {
  width: fit-content;
  background-color: #F89311;
  color: white;
  border: 2px solid white;
  border-radius: 0.25rem;
  padding: 0.75rem;
  cursor: pointer;
}
.content2 button {
  font-size: 0.7rem;
  margin-bottom: 30px;
}

}


@media screen and (max-width: 435px) {
.carousel-button{
 
  margin-top: 100px !important;
}
}



@media only screen and (max-width: 1280px) and (min-width:1240px) {
  .item {
      width: 340px;
      height: 180px;
      top: 350px;
  }
  div #carousel {
    height: 80vh;
    /* margin-top: 100px; */
    display: grid
;
    place-items: center;
    /* overflow: hidden; */
}
}

@media only screen and (max-width: 1028px) and (min-width: 940px) {
  .item {
      width: 340px;
      height: 180px;
      top: 380px;
  }
}





@media only screen and (max-width: 939px) and (min-width: 770px) {
  .item {
      width: 340px;
      height: 180px;
      top: 700px;
    
  }

  div #carousel {
    height: 80vh;
    /* margin-top: 100px; */
    display: grid
;
    place-items: center;
    /* overflow: hidden; */
}
  .item:nth-child(3) {
    left: 5%;
}
.item:nth-child(4) {
  left: calc(35% + 170px);
}

.carousel-button {
  /* margin-left: 50px; */
  margin-top: 180px;
}
/* .template-video-intro .intro:before {
  content: " ";
  height: 740px;
} */

}

@media only screen and (max-width: 769px) and (min-width: 767px) {
  .item {
      width: 340px;
      height: 180px;
      top: 690px;
    
  }
  .item:nth-child(3) {
    left: 5%;
}
.item:nth-child(4) {
  left: calc(30% + 170px);
}

.carousel-button {
  /* margin-left: 50px; */
  margin-top: 180px;
}
/* .template-video-intro .intro:before {
  content: " ";
  height: 740px;
} */

}

@media only screen and (max-width: 323px) and (min-width: 319px) {
  .item {
      width: 140px;
      height: 100px;
      top: 360px;
    
  }
  .item:nth-child(3) {
    left: 3%;
}
.item:nth-child(4) {
  left: calc(1% + 170px);
}

.carousel-button {
  /* margin-left: 50px; */
  margin-top: 180px;
}
/* .template-video-intro .intro:before {
  content: " ";
  height: 740px;
} */

}


@media only screen and (max-width: 1900px) and (min-width: 1728px) {
div #carousel {
  height: 80vh;
  /* margin-top: 100px; */
  display: grid
;
  place-items: center;
  /* overflow: hidden; */
}
}

