@keyframes rot {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.cursor {
  width: 25px;
  height: 25px;
  border-radius: 100%;
  background: linear-gradient(151deg, rgb(228, 72, 63) 25%, rgb(196, 51, 171) 64%);
  transition: all 100ms ease-out;
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  left: 0;
  top: 0;
  transform: translate(calc(-50% + 15px), -50%);
  opacity: 1;
}

.cursor.none {
  display: none !important;
}

.cursor.hidden {
  opacity: 0;
}

.cursor.white {
  background: white;
}

.cursor.img {
  z-index: 2;
}
.cursor.img::before {
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  width: 706px;
  height: 415px;
  content: "";
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: calc(50% - 207px);
  left: calc(50% - 353px);
}

.cursor.close-video {
  background-image: url(../media/close-video.svg);
  background-size: 50px 50px;
  display: inline-block;
  width: 50px;
  height: 50px;
  z-index: 1000;
  display: block !important;
}

.cursor2 {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  opacity: 0;
  position: fixed;
  z-index: 1000;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width 0.3s, height 0.3s, opacity 0.3s;
}
.cursor2 img {
  width: 100%;
  height: 100%;
}
.cursor2 .head_cursor_text {
  animation: 10s linear 0s normal none infinite running rot;
  -webkit-animation: 10s linear 0s normal none infinite running rot;
  width: 100px;
}

.head_cursor_text {
  position: absolute;
  top: 0;
}

.cursor2.show {
  opacity: 1;
}

.hover {
  background-color: red;
  opacity: 0.5;
}

.cursorinnerhover {
  width: 50px;
  height: 50px;
  opacity: 0.5;
}

@media screen and (max-width: 900px) {
  .cursor2 {
    display: none;
  }
  .cursor {
    display: none;
  }
}