/* Blue Shadow */

/* Blue Background */
.blue-animated-shadow {
  text-shadow: 0px 1px 0px #83e0f7;
  border-radius: 15px;
  -webkit-animation: blue 2s infinite;
  -moz-animation: blue 2s infinite;
  -o-animation: blue 2s infinite;
  animation: blue 2s infinite;
}
.blue-animated-shadow:hover {
  box-shadow: 1px 0px 19px 4px rgba(0, 130, 196, 0.7),
    inset 0px 0px 10px rgba(255, 255, 255, 0.5) !important;
}

@-moz-keyframes blue {
  0%,
  100% {
    -moz-box-shadow: 1px 0px 19px 4px rgba(0, 130, 196, 0.7),
      inset 0px 0px 10px rgba(255, 255, 255, 0.5);
    box-shadow: 1px 0px 19px 4px rgba(0, 130, 196, 0.7),
      inset 0px 0px 10px rgba(255, 255, 255, 0.5);
  }

  50% {
    -moz-box-shadow: 0px 0px 0px 0px rgba(0, 130, 196, 0),
      inset 0px 0px 0px rgba(255, 255, 255, 0);
    box-shadow: 0px 0px 0px 0px rgba(0, 130, 196, 0),
      inset 0px 0px 0px rgba(255, 255, 255, 0);
  }
}

@-webkit-keyframes blue {
  0%,
  100% {
    -webkit-box-shadow: 1px 0px 19px 4px rgba(0, 130, 196, 0.7),
      inset 0px 0px 10px rgba(255, 255, 255, 0.5);
    box-shadow: 1px 0px 19px 4px rgba(0, 130, 196, 0.7),
      inset 0px 0px 10px rgba(255, 255, 255, 0.5);
  }

  50% {
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 130, 196, 0),
      inset 0px 0px 0px rgba(255, 255, 255, 0);
    box-shadow: 0px 0px 0px 0px rgba(0, 130, 196, 0),
      inset 0px 0px 0px rgba(255, 255, 255, 0);
  }
}

@-o-keyframes blue {
  0%,
  100% {
    box-shadow: 1px 0px 19px 4px rgba(0, 130, 196, 0.7),
      inset 0px 0px 10px rgba(255, 255, 255, 0.5);
  }

  50% {
    box-shadow: 0px 0px 0px 0px rgba(0, 130, 196, 0),
      inset 0px 0px 0px rgba(255, 255, 255, 0);
  }
}

@keyframes blue {
  0%,
  100% {
    box-shadow: 1px 0px 19px 4px rgba(0, 130, 196, 0.7),
      inset 0px 0px 10px rgba(255, 255, 255, 0.5);
  }

  50% {
    box-shadow: 0px 0px 0px 0px rgba(0, 130, 196, 0),
      inset 0px 0px 0px rgba(255, 255, 255, 0);
  }
}
/* green Background */
.green-animated-shadow {
  text-shadow: 0px 1px 0px green;
  border-radius: 15px;
  -webkit-animation: green 3s infinite;
  -moz-animation: green 3s infinite;
  -o-animation: green 3s infinite;
  animation: green 3s infinite;
}
.green-animated-shadow:hover {
  /* box-shadow: 1px 0px 10px 4px rgb(130, 163, 130),
    inset 0px 0px 10px rgba(255, 255, 255, 0.5) !important; */
}

@-moz-keyframes green {
  0%,
  100% {
    -moz-box-shadow: 1px 0px 19px 4px green,
      inset 0px 0px 10px rgba(255, 255, 255, 0.5);
    box-shadow: 1px 0px 19px 4px green,
      inset 0px 0px 10px rgba(255, 255, 255, 0.5);
  }

  50% {
    -moz-box-shadow: 0px 0px 0px 0px rgba(0, 130, 196, 0),
      inset 0px 0px 0px rgba(255, 255, 255, 0);
    box-shadow: 0px 0px 0px 0px rgba(0, 130, 196, 0),
      inset 0px 0px 0px rgba(255, 255, 255, 0);
  }
}

@-webkit-keyframes green {
  0%,
  100% {
    -webkit-box-shadow: 1px 0px 19px 4px green,
      inset 0px 0px 10px rgba(255, 255, 255, 0.5);
    box-shadow: 1px 0px 19px 4px green,
      inset 0px 0px 10px rgba(255, 255, 255, 0.5);
  }

  50% {
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 130, 196, 0),
      inset 0px 0px 0px rgba(255, 255, 255, 0);
    box-shadow: 0px 0px 0px 0px rgba(0, 130, 196, 0),
      inset 0px 0px 0px rgba(255, 255, 255, 0);
  }
}

@-o-keyframes green {
  0%,
  100% {
    box-shadow: 1px 0px 19px 4px green,
      inset 0px 0px 10px rgba(255, 255, 255, 0.5);
  }

  50% {
    box-shadow: 0px 0px 0px 0px rgba(0, 130, 196, 0),
      inset 0px 0px 0px rgba(255, 255, 255, 0);
  }
}

@keyframes green {
  0%,
  100% {
    box-shadow: 1px 0px 19px 4px rgba(0, 196, 33, 0.7),
      inset 0px 0px 10px rgba(255, 255, 255, 0.5);
  }

  50% {
    box-shadow: 0px 0px 0px 0px rgba(0, 130, 196, 0),
      inset 0px 0px 0px rgba(255, 255, 255, 0);
  }
}
/* rainbow mobing border */

/* gradient border animation */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.moving-border::before,
.moving-border::after {
  content: "";
  position: absolute;
  inset: -0.2rem;
  z-index: -1;
  border-radius: 15px;
  background: linear-gradient(var(--angle), #4fcf70, #a767e5);
  animation: rotate 2s linear infinite;
}
.moving-border::after {
  filter: blur(10px);
}
@keyframes rotate {
  0% {
    --angle: 0deg;
  }
  100% {
    --angle: 360deg;
  }
}
/* changing word animation */

.main {
  position: absolute;
  height: auto;
  width: 80%;
  margin: auto auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.changing-word-box {
  display: flex;
  justify-content: center;
  text-align: center;
  letter-spacing: 4px;
}
.changing-word-box div {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 60px;
  z-index: -1;
  overflow: hidden;
  text-align: center;
}
.changing-word-box div ul {
  padding: 0;
  width: auto;
  text-align: left;
  animation: animate 10s linear infinite;
}
@keyframes animate {
  0% {
    transform: translateY(0px);
  }
  26% {
    transform: translateY(0px);
  }
  34% {
    transform: translateY(-60px);
  }
  58% {
    transform: translateY(-60px);
  }
  65% {
    transform: translateY(-120px);
  }
  93% {
    transform: translateY(-120px);
  }
  100% {
    transform: translateY(-170px);
  }
}
.changing-word-box div ul li {
  list-style-type: none;
  color: white;
  height: 60px;
  width: auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-wrap: nowrap;
  letter-spacing: 0px;
}

/* floating animations */

@keyframes float {
  0% {
    transform: translatey(0px);
  }
  50% {
    transform: translatey(-20px);
  }
  100% {
    transform: translatey(0px);
  }
}
.floating {
  overflow: hidden;
  transform: translatey(0px);
  animation: float 4s ease-in-out infinite;
}

.floating2 {
  overflow: hidden;
  transform: translatey(0px);
  animation: float 5s ease-in-out infinite;
}

.floating3 {
  overflow: hidden;
  transform: translatey(0px);
  animation: float 5500ms ease-in-out infinite;
}

.floating4 {
  overflow: hidden;
  transform: translatey(0px);
  animation: float 3300s ease-in-out infinite;
}

.floating-green {
  overflow: hidden;
  transform: translatey(0px);
  animation: float 2s ease-in-out infinite, green 3s infinite;
}
.floating-blue {
  overflow: hidden;
  transform: translatey(0px);
  animation: float 4s ease-in-out infinite, blue 4s infinite;
}
.floating-idk {
  animation: float 3s ease-in-out infinite, rotate 4s linear infinite;
}
/* megnatic mouse */

/* .megnatic-item {
  --x: 0 !important;
  --y: 0 !important;
  cursor: pointer;
  transform-origin: 50% 50%;
  transform: translate(var(--x), var(--y));
} */
.magnetic {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  /*border: 1px solid #000; //use this for debugging*/
}
/* responsive */
@media (min-width: 200px) {
  .magnetic {
    margin: 0px;
    padding: 0px;
  }
  .changing-word-box div {
    height: 40px;
  }
  @keyframes animate {
    0% {
      transform: translateY(0px);
    }
    26% {
      transform: translateY(0px);
    }
    34% {
      transform: translateY(-40px);
    }
    58% {
      transform: translateY(-40px);
    }
    65% {
      transform: translateY(-80px);
    }
    93% {
      transform: translateY(-80px);
    }
    100% {
      transform: translateY(-120px);
    }
  }
  .changing-word-box div ul li {
    height: 40px;
    font-size: 10px;
    border-radius: 5px;
    padding: 0 5px;
    font-weight: 700;
  }
}
/* md */
@media (min-width: 700px) {
  .changing-word-box div ul li {
    width: 240px !important;
    font-size: 16px;
  }
}
@media (min-width: 900px) {
  .changing-word-box div ul li {
    width: 200px !important;
    font-size: 14px;
  }
}
@media (min-width: 1200px) {
  .magnetic {
    margin: -80px;
    padding: 80px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
  }
  .changing-word-box div {
    height: 40px;
  }
  @keyframes animate {
    0% {
      transform: translateY(0px);
    }
    26% {
      transform: translateY(0px);
    }
    34% {
      transform: translateY(-40px);
    }
    58% {
      transform: translateY(-40px);
    }
    65% {
      transform: translateY(-80px);
    }
    93% {
      transform: translateY(-80px);
    }
    100% {
      transform: translateY(-120px);
    }
  }
  .changing-word-box div ul li {
    height: 40px;
    width: 240px !important;

    font-size: 12px;
  }
}

/* // XX-Large devices (larger desktops, 1400px and up) 2xl*/
@media (min-width: 1400px) {
  .changing-word-box div {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 60px;
    z-index: -1;
    overflow: hidden;
    text-align: center;
  }
  @keyframes animate {
    0% {
      transform: translateY(0px);
    }
    26% {
      transform: translateY(0px);
    }
    34% {
      transform: translateY(-60px);
    }
    58% {
      transform: translateY(-60px);
    }
    65% {
      transform: translateY(-120px);
    }
    93% {
      transform: translateY(-120px);
    }
    100% {
      transform: translateY(-170px);
    }
  }
  .changing-word-box div ul li {
    list-style-type: none;
    color: white;
    height: 60px;
    width: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px !important;
  }
}
