@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

/* 
  font-family: "Josefin Sans", serif;
  font-family: "Raleway", serif;
  font-family: "Public Sans", serif;
*/
:root {
 --noir: #18191d;
 --dark: #222326;
 --night: #404549;
 --primary: #3c9613;
 --light: #d0f2bd;
}
body {
 overflow-x: hidden;

}
.josefin {
 font-family: "Josefin Sans", serif;
}
.raleway {
 font-family: "Raleway", serif;
}
.public {
 font-family: "Public Sans", serif;
}

.bg-noir {
 background-color: var(--noir);
}
.bg-dark {
 background-color: var(--dark);
}
.bg-night {
 background-color: var(--night);
}
.bg-primary {
 background-color: var(--primary);
}
.bg-light {
 background-color: var(--light);
}

.text-noir {
 color: var(--noir);
}
.text-dark {
 color: var(--dark);
}
.text-night {
 color: var(--night);
}
.text-primary {
 color: var(--primary);
}
.text-light {
 color: var(--light);
}

/* Styles */

.swiper-slide .mx-auto {
 max-width: 300px;
}

.logo img {
 width: 20px;
 height: 20px;
 margin-right: 5px;
}

.card-desktop {
 background-color: #1c1c1c;
 max-width: 400px;
 height: 100%;
 margin: auto;
 clip-path: polygon(10% 0, 100% 0, 100% 85%, 90% 100%, 0 100%, 0 15%);
}
.child-card-desktop {
 background-color: #00000096;
 height: 100%;
}
.inner-image {
 background-image: url("images/aest1.png");
 height: 100%;
 width: 100%;
 background-position: center;
 background-size: cover;
}

.card-desktop li span {
 position: relative;
 left: -10px;
}
.small-gradient {
 background: radial-gradient(circle at 50% 190%, rgba(50, 126, 16, 1) 0%, #000000 85%);
 height: 100px;
}

.font-bold.text-noir.px-4.rounded.rounded-button.bg-white.text-black.hover\:text-white.transition.ease-in-out.duration-300 {
 border: transparent solid;
}
.font-bold.text-noir.px-4.rounded.rounded-button.bg-white.text-black.hover\:text-white.transition.ease-in-out.duration-300:hover {
 background-color: var(--noir);
 border: white solid;
}
button {
 font-family: "Public Sans", serif !important;
}
.swiper {
 width: 100%;
 padding-top: 50px;
 padding-bottom: 50px;
}

.swiper-slide {
 background-position: center;
 background-size: cover;
 width: 40% !important;
}

.swiper-card ul li {
 text-shadow: var(--primary) 0 0 5px;
 color: var(--light);
 position: relative;
 z-index: 3;
}

.gradient {
 background: #000000;
 background: linear-gradient(180deg, #00000094 0%, #1a171c00 100%);
}

.screen_grad {
 height: 100vh;
 width: 100%;
 position: fixed;
 bottom: 0;
 z-index: -2;
 background: radial-gradient(circle at 50% 190%, #327e10 0%, #18191d 85%);
}

.flow-pig {
 position: absolute;
 width: 100px;
 left: 10%;
 top: 30%;
 z-index: -2;
 animation: infinite 4s flowing;
}
.flow-cash {
 position: absolute;
 width: 100px;
 left: 70%;
 top: 70%;
 z-index: -2;
 animation: infinite 10s flowing;
}
.flow-bag {
 position: absolute;
 width: 100px;
 left: 30%;
 top: 0%;
 z-index: -2;
 animation: infinite 8s flowing;
}
.flow-save {
 position: absolute;
 width: 100px;
 left: 45%;
 bottom: 10%;
 z-index: -2;
 animation: infinite 9s flowing;
}
.flow-bank {
 position: absolute;
 width: 100px;
 right: 10%;
 top: 30%;
 z-index: -2;
 animation: infinite 7s flowing;
}
.faq-btn:hover {
 box-shadow: inset #3b6428a4 0 0 30px !important;
}

.overlay-nav {
 background-color: #000000d3;
 z-index: 2;
}
@keyframes flowing {
 0% {
  transform: translateY(0);
 }
 50% {
  transform: translateY(30px);
 }
 100% {
  transform: translateY(0);
 }
}
/* Responsive */

@media screen and (min-width: 1280px) {
 .container {
  max-width: 1150px !important;
 }
}

@media screen and (max-width: 1023px) {
 .container {
  max-width: 1170px !important;
 }
}

@media screen and (max-width: 974px) {
 .wave {
  max-height: 100% !important;
 }
 .flow-bag {
  top: 10%;
 }
 .flow-pig {
  top: 20%;
 }
}
@media screen and (min-width: 768px) {
 .hidden-slider {
  display: none;
 }
}
@media screen and (max-width: 768px) {
 header .w-1\/2.px-2 .w-full.h-full.bg-noir {
  display: none;
 }
 header .w-1\/2.px-2 {
  width: 100%;
 }
 header .w-1\/2.flex.justify-center.items-start.flex-col {
  width: 100%;
  text-align: center;
 }
 header .w-1\/2.flex.justify-center.items-start.flex-col button {
  margin: auto;
  margin-bottom: 20px;
 }
 header .w-1\/2.flex.justify-center.items-start.flex-col h1 {
  margin: auto;
  text-align: center;
 }
 header .w-1\/2.flex.justify-center.items-start.flex-col .text-white.py-2.font-bold.uppercase {
  text-align: center;
  margin: auto;
 }
 header .flex {
  flex-direction: column;
 }
 .hidden-slider {
  display: block;
 }
}
@media screen and (max-width: 586px) {
 .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 50% !important;
 }
 .swiper-slide img.absolute.rounded-xl {
  max-width: 70% !important;
 }
 .flow-pig {
  top: 100%;
 }
 .flow-bag {
  left: 5%;
 }
 .flow-save {
  left: 30%;
 }
}

@media screen and (max-width: 446px) {
 .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 65% !important;
 }
 .swiper-slide img.absolute.rounded-xl {
  max-width: 69% !important;
 }
}

@media screen and (max-width: 363px) {
 .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 75% !important;
 }
 .swiper-slide img.absolute.rounded-xl {
  max-width: 79% !important;
 }
}

@media screen and (max-width: 320px) {
 .flow-save {
  top: 54%;
 }
}

/* Loader */

#parda.animateParda {
 animation: pardaAnim 2s forwards; /* Добавляем анимацию */
}

.loader-wrapper {
 background-color: #4d4855;
 background-image: linear-gradient(147deg, #4d4855 0%, #000000 74%);
 display: flex;
 justify-content: center;
 align-items: center;
 overflow-y: hidden;
}
.loader {
 transform: translate(0, -20px);
 width: fit-content;
 font-size: 17px;
 font-family: monospace;
 line-height: 1.4;
 font-weight: bold;
 background: linear-gradient(#ffffff 0 0) left, linear-gradient(#ffffff 0 0) right;
 background-repeat: no-repeat;
 border-right: 5px solid #0000;
 border-left: 5px solid #0000;
 background-origin: border-box;
 position: relative;
 animation: l9-0 2s infinite;
}
.loader::before {
 content: "CHARGEMENT";
 color: white;
}
.loader::after {
 content: "";
 position: absolute;
 top: 100%;
 left: 0;
 width: 22px;
 height: 60px;
 background: linear-gradient(90deg, white 4px, #0000 0 calc(100% - 4px), white 0) bottom / 22px 20px, linear-gradient(90deg, white 4px, #0000 0 calc(100% - 4px), white 0) bottom 10px left 0/22px 6px,
  linear-gradient(white 0 0) bottom 3px left 0 /22px 8px, linear-gradient(white 0 0) bottom 0 left 50%/8px 16px;
 background-repeat: no-repeat;
 animation: l9-1 2s infinite;
}
@keyframes l9-0 {
 0%,
 25% {
  background-size: 50% 100%;
 }
 25.1%,
 75% {
  background-size: 0 0, 50% 100%;
 }
 75.1%,
 100% {
  background-size: 0 0, 0 0;
 }
}
@keyframes l9-1 {
 25% {
  background-position: bottom, bottom 54px left 0, bottom 3px left 0, bottom 0 left 50%;
  left: 0;
 }
 25.1% {
  background-position: bottom, bottom 10px left 0, bottom 3px left 0, bottom 0 left 50%;
  left: 0;
 }
 50% {
  background-position: bottom, bottom 10px left 0, bottom 3px left 0, bottom 0 left 50%;
  left: calc(100% - 22px);
 }
 75% {
  background-position: bottom, bottom 54px left 0, bottom 3px left 0, bottom 0 left 50%;
  left: calc(100% - 22px);
 }
 75.1% {
  background-position: bottom, bottom 10px left 0, bottom 3px left 0, bottom 0 left 50%;
  left: calc(100% - 22px);
 }
}

@keyframes pardaAnim {
 0% {
  opacity: 1;
 }
 100% {
  opacity: 0;
  display: none;
 }
}

/* Animation */
.hiddenAnim {
 opacity: 0;
 transition: opacity 0.3s ease;
}
