@media only screen and (max-width: 1536px) {

  * {
    margin: 0;
    padding: 0;
    font-family: montserrat;
    box-sizing: border-box;
  }

  body {

    background-color: #1F2124;
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-top: 30px;
    /* Ajusta el espacio superior según sea necesario */
    display: flex;
    /* Usamos flexbox */
    justify-content: center;
    /* Centramos horizontalmente */
    align-items: center;
    /* Centramos verticalmente */
    height: 100vh;
    /* Establecemos la altura al 100% de la ventana */
  }

  .title {
    width: 874px;
    height: 73px;
    color: white;
    font-size: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 12%;
    margin-bottom: 7%;
    margin-left: 38%;
}

  .video {
    width: 850px;
    height: 450px;
    /* margin-top: -53%; */
    margin-left: 39%;
  }

  .video video {
    width: 850px;
    height: 460px;
  }

  .carousel-item {
    align-items: center;
  }

  .carousel-images {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }

  .linea {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0%;

    left: 6.5%;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.3);
    /* Color de fondo blanco con 80% de opacidad */
    width: 2px;
    height: 100%;
  }

  .carousel-dots {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 58%;
    transform: translateY(-50%);
    left: 4.6%;
    align-items: center;
  }

  .carousel-dots .dot {
    display: block;
    height: 30px;
    width: 30px;
    background-color: white;
    border-radius: 50%;
    margin-bottom: 70%;
    margin-top: 70%;
    cursor: pointer;
    transition: transform 0.3s ease;
    /* Transición suave */

    animation: pulsate 4s infinite;
  }

  @keyframes pulsate {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.5);
    }

    100% {
      transform: scale(1);
    }
  }

  .carousel-dots .dot:hover {
    transform: scale(1.5);
    animation: none;
  }



  .active {
    height: 60px !important;
    width: 60px !important;
    background-color: white;
    background-image: url('../iconos/ui/play.svg');
    background-position: center;
    background-size: 40px 40px;
    background-repeat: no-repeat;
  }

  .carousel-container {
    position: absolute;
    /* Agregamos posición relativa para poder posicionar elementos hijos de forma absoluta */
  }

}

@media only screen and (max-width: 1366px) {

  .title {
    width: 874px;
    height: 73px;
    color: white;
    font-size: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 9%;
    margin-bottom: 4%;
    margin-left: 19%;
}

  .video {
    width: 800px;
    height: 400px;
    margin-top: 0;
    margin-left: 25%;
  }

  .video video {
    width: 800px;
    height: 400px;
  }

  .carousel-item {
    align-items: center;
  }

  .carousel-images {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }

  .carousel-dots {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 58%;
    transform: translateY(-50%);
    left: 4.6%;
    align-items: center;
  }

  .carousel-dots .dot {
    display: block;
    height: 25px;
    width: 25px;
    background-color: white;
    border-radius: 70%;
    margin-bottom: 70%;
    margin-top: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: pulsate 4s infinite;
  }

  @keyframes pulsate {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.5);
    }

    100% {
      transform: scale(1);
    }
  }

  .carousel-dots .dot:hover {
    transform: scale(1.5);
    /* Aumenta el tamaño en 1.5 veces */
    animation: none;
  }

  .active {
    height: 50px !important;
    width: 50px !important;
    background-color: white;
    background-image: url(../iconos/ui/play.svg);
    background-position: center;
    background-size: 30px 30px;
    background-repeat: no-repeat;
  }
}

@media only screen and (max-width: 1280px) {

  .title {
    width: 874px;
    height: 73px;
    color: white;
    font-size: 25px;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 9%;
    margin-bottom: 0%;
    margin-left: 19%;
}

  .video {
    width: 800px;
    height: 400px;
    margin-top: 0;
    margin-left: 25%;
  }

  .video video {
    width: 800px;
    height: 400px;
  }

  .carousel-item {
    align-items: center;
  }

  .carousel-images {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }


  .carousel-dots {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 58%;
    transform: translateY(-50%);
    left: 4.6%;
    align-items: center;
  }

  .carousel-dots .dot {
    display: block;
    height: 25px;
    width: 25px;
    background-color: white;
    border-radius: 70%;
    margin-bottom: 70%;
    margin-top: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: pulsate 4s infinite;
  }

  @keyframes pulsate {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.5);
    }

    100% {
      transform: scale(1);
    }
  }

  .carousel-dots .dot:hover {
    transform: scale(1.5);
    /* Aumenta el tamaño en 1.5 veces */
    animation: none;
  }

  .active {
    height: 50px !important;
    width: 50px !important;
    background-color: white;
    background-image: url(../iconos/ui/play.svg);
    background-position: center;
    background-size: 30px 30px;
    background-repeat: no-repeat;
  }
}

@media (max-width: 430px) {

  .linea {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 29.1%;
    left: 0.5%;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.3);
    width: 100%;
    height: 2px;
}

  /* .carousel-dots {
    display: ruby;
    flex-direction: column;
    position: absolute;
    top: 28%;
    transform: translateY(-50%);
    left: 20%;
    align-items: center;

}

.carousel-dots .dot {
  display: block;
  height: 25px;
  width: 25px;
  background-color: white;
  border-radius: 70%;
  margin-bottom: 0%;
  margin-top: 0%;
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: pulsate 4s infinite;
  margin-left: 10px; 
  margin-right: 10px; 
} */

.carousel-dots {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          -webkit-flex-direction: row;
          flex-direction: row;
  position: absolute;
  top: 32%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 16%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          -webkit-align-items: center;
          align-items: center;
}

.carousel-dots .dot {
  display: block;
  height: 25px;
  width: 25px;
  background-color: white;
  border-radius: 50%;
  margin-right: 35px; /* Añadir margen derecho entre puntos */
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  animation: pulsate 4s infinite;
}

/* Elimina el margen derecho del último punto */
.carousel-dots .dot:last-child {
  margin-right: 0;
}


.title {
  width: 400px;
  height: 73px;
  color: white;
  font-size: 30px;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: 77%;
  margin-bottom: -43%;
  margin-left: 2%;
}

.video {
  width: auto;
  height: 400px;
  margin-top: 50%;
  margin-left: 7%;
}

.video video {
  width: auto;
  height: 200px;
}

}