.nav-forms {
  display: flex;
  align-items: center;
  margin: 0 20px 0 20px;
}

.above-div {
  height: 220px;
  width: 400px;
  margin: auto;
  position: relative;
  font-size: 3em;
}

video {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: -1;
}

.element-animation {
  margin: 2rem 0;
  font-size: 3rem;

  /* Скроем элемент в начальном состоянии */
  opacity: 0;
  transform: translateY(100%);
}
.element-animation.element-show {
  opacity: 1;
  transition: all 1s;
  transform: translateY(0%);
}

.text-animation {
  font-size: calc(1em + 10vw) !important;
  animation-duration: 6s;
  animation-name: movingin;
  animation-iteration-count: infinite;
}

@keyframes movingin {
  0% {
    transform: translateY(15px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(15px);
  }
}

.fonfor {
  background: linear-gradient(blue, pink);
}

.fonfor:hover {
  background: linear-gradient(rgb(255, 0, 0), rgb(255, 192, 192));
  cursor: pointer;
}

.fonfor2 {
  background: linear-gradient(rgb(21, 203, 163), pink);
}

.fonfor2:hover {
  background: linear-gradient(rgb(255, 0, 0), rgb(255, 192, 192));
  cursor: pointer;
}

.fonfor3 {
  background: linear-gradient(rgb(135, 12, 184), pink);
}

.fonfor3:hover {
  background: linear-gradient(rgb(255, 0, 0), rgb(255, 192, 192));
  cursor: pointer;
}

.btn-redslay {
  border: 3px solid white !important;
  color: white !important;
}

.btn-redslay:hover {
  background-color: white;
  color: black !important;
}

.uslugifon {
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
  background-image: url('/assets/img/background1.jpg');
}

.imageUslugi img {
  cursor: pointer;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.imageUslugi:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.uslugiTheme {
  color: white;
  cursor: pointer;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.uslugiTheme:hover {
  color: red;
}

.btn-redslayInfo {
  width: 200px;
  color: black !important;
  background-color: rgb(208, 208, 208) !important;
}

.btn-redslayInfo:hover {
  background-color: white !important;
  color: black !important;
}