.bg-main {
  top: 0px;
  z-index: 0;
  -webkit-animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.0s both;
  animation: scale-in-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.0s both;
}

@keyframes scale-in-center {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

h1, h2, h3, h4, h5, h6 {
  background: linear-gradient(to right, #56ccff, #b1e8ff, #038ec8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

@media (max-width: 768px) {
  .bg-main {
    top: 85px;
  }
}

@media (min-width: 1400px) {
  .bg-main {
    top: -165px;
  }
}

*, *:before, *:after {
  margin: 0;
  padding: 0;
  word-break: break-all;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: rgba(1,37,64, 1);
  font-family: 'Ubuntu', sans-serif;
  color: #6e6e6e;
  font-size: 1.6rem;
}

a, a:link, a:visited {
  text-decoration: none;
}

img {
  border: 0;
}

ul {
  list-style: none;
}

.center {
  width: 1170px;
  margin: 20px auto 0;
}

.holder {
  width: 18%;
  height: 88.5%;
  position: absolute;
  z-index: 0;
  bottom: 100px;
  right: 40%;
  filter: blur(2px);
  -webkit-animation: slide-in-bottom 1.5s ease-in-out 1.5s both;
  animation: slide-in-bottom 1.5s ease-in-out 1.5s both;
}

@keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(1000px);
    transform: translateY(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

.holder *, .holder *:before, .holder *:after {
  position: relative;
  content: "";
}

.candle {
  top: 0px;
  width: 0px;
  height: 0px;
}

.flame {
  width: 124px;
  height: 100%;
  left: 50%;
  transform-origin: 50% 100%;
  transform: translateX(-70%);
  bottom: 100%;
  border-radius: 50% 50% 20% 20%;

  animation: moveFlame 6s linear infinite, enlargeFlame 5s linear infinite;
  z-index: 9;
}

.flame:before {
  width: 100%;
  height: 100%;
  box-shadow: 0 0 15px 0 rgba(247, 93, 0, .3), 0 -6px 4px 1 rgba(247, 128, 0, .3);
}

.glow {
  width: 26px;
  height: 100%;
	position:absolute;
  left: 50%;
  top: 0px;
  transform: translateX(-50%);
  background: rgba(103,126,184,0.7);
  filter: blur(0.5px);
}
/* Если где-то нужны псевдоэлементы — включай адресно */
.blinking-glow::before,
.glow::before {
  content: "";
  position: absolute;
  /* ... их конкретные стили тут ... */
}
.glow:before {
  width: 16%;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  border-radius: 50%;
  background: rgba(0,30,108,0.35);
}

.blinking-glow {
  width: 50px;
  height: 100%;
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 0%;
  border-radius: 0% 0% 70% 70%;
  transform: translateX(-50%);
  background: rgb(99,223,254, 0.3);
  animation: blinkIt .1s infinite;
}
#particles.sparkles {
  position: absolute;
  inset: 0;
  z-index: 50;              /* выше .glow */
  pointer-events: none;
  mix-blend-mode: screen;   /* светящийся эффект */
}
@keyframes blinkIt {
  50% {
    opacity: .9;
  }
}

.top-navbar a {
  background: linear-gradient(to right, #1F4D60, #49B9E8, #1F4D60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.logo-top {
  max-height: 65px;
  width: auto;
}

.top-navbar {
  background: rgba(1,37,64,0.8);
  border-bottom: solid 1px #49B9E8;
  border-image: linear-gradient(to right, #1F4D60, #49B9E8, #1F4D60) 1;
}

.top-navbar a {
  background: linear-gradient(to right, #00b4ff, #49B9E8, #1F4D60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.land {
  z-index: 1;
  bottom: 0px;
  -webkit-animation: flicker-in-1 0.5s linear 0.5s both;
  animation: flicker-in-1 0.5s linear 0.5s both;
}

.yurta {
  position: absolute;
  bottom: 0px;
  width: 40%;
  left: 30%;
  z-index: 3;
  -webkit-animation: flicker-in-1 0.5s linear 1.5s both;
  animation: flicker-in-1 0.5s linear 1.5s both;
}

@keyframes flicker-in-1 {
  0% {
    opacity: 0.0;
  }
  3% {
    opacity: 0.03;
  }
  6% {
    opacity: 0.00;
  }
  9% {
    opacity: 0.09;
  }
  12% {
    opacity: 0.00;
  }
  15% {
    opacity: 0.15;
  }
  18% {
    opacity: 0.0;
  }
  21% {
    opacity: 0.21;
  }
  24% {
    opacity: 0.0;
  }
  27% {
    opacity: 0.27;
  }
  30% {
    opacity: 0.0;
  }
  33% {
    opacity: 0.33;
  }
  36% {
    opacity: 0.0;
  }
  39% {
    opacity: 0.39;
  }
  42% {
    opacity: 0.0;
  }
  45% {
    opacity: 0.45;
  }
  48% {
    opacity: 0.0;
  }
  51% {
    opacity: 0.51;
  }
  54% {
    opacity: 0.0;
  }
  57% {
    opacity: 0.57;
  }
  60% {
    opacity: 0.0;
  }
  63% {
    opacity: 0.63;
  }
  66% {
    opacity: 0.0;
  }
  69% {
    opacity: 0.69;
  }
  72% {
    opacity: 0.0;
  }
  75% {
    opacity: 0.75;
  }
  78% {
    opacity: 0.0;
  }
  81% {
    opacity: 0.81;
  }
  84% {
    opacity: 0.0;
  }
  87% {
    opacity: 0.87;
  }
  90% {
    opacity: 0.0;
  }
  93% {
    opacity: 0.93;
  }
  96% {
    opacity: 0.0;
  }
  99% {
    opacity: 0.99;
  }
  100% {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .yurta {
    position: absolute;
    bottom: 0px;
    width: 80%;
    left: 10%;
    z-index: 3;
  }
}

.main-button {
  position: relative;
  z-index: 3;
  background: linear-gradient(to right, #1F4D60, #49B9E8, #1F4D60);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.main-h {
  -webkit-animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2.5s both;
  animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2.5s both;
}

@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-1000px);
    transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

.sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.sparkles::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, transparent 80%);
  box-shadow: 50px 100px white, 120px 200px #aef, 200px 50px rgba(255,255,200,0.9), 300px 250px #fff;
  animation: flicker 2s infinite alternate;
}

@keyframes flicker {
  from {
    opacity: 0.3;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1.2);
  }
}
.main-btn{
	position:relative;
	z-inde:2;
}
.main-btn-1 {
	-webkit-animation: slide-in-right 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2.5s both;
	        animation: slide-in-right 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2.5s both;
	
}.main-btn-2 {
	-webkit-animation: slide-in-right 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2.7s both;
	        animation: slide-in-right 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2.7s both;
}.main-btn-3 {
	-webkit-animation: slide-in-right 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 3s both;
	        animation: slide-in-right 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 3s both;
}
@-webkit-keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(100px);
            transform: translateX(100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(100px);
            transform: translateX(100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}

