@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

html {
  box-sizing: border-box;
  overflow-x: hidden;
  font-family: "Geist", sans-serif;
  scrollbar-width: thin;
  scrollbar-color: #000 #111;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: inherit;
  background-color: #f5f7fb;
  padding: 2% ;
  box-sizing: border-box;
}

img,
video,
iframe,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

section,
div,
main {
  max-width: 100%;
  min-width: 0;
}

.container_body {
  width: 100%;
}

/* Scroll */
body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: #000;
}

body::-webkit-scrollbar-thumb {
  background: #000;
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
  box-shadow:
    0 0 0 1px #fff,
    inset 0 0 0 1px #000;
}

body::-webkit-scrollbar-thumb:hover {
  background: #111;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #071227, #071a2b);
  z-index: 9999;
  opacity: 1;
  visibility: visible;
}

.preloader.fade-out {
  animation: fadeOut 0.8s ease forwards;
}

.preloader.hidden {
  display: none;
}

.loader span {
  display: inline-block;
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 700;
  color: #fafafa;
  letter-spacing: -0.04em;
  animation: zoomRotate 1.2s ease-out forwards, colorize 2s linear;
  animation-delay: calc(0.1s * var(--index));
}

/* WhatsApp button */
.whatsapp-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;
  border-radius: 50%;

  background: #fafafa;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  overflow: hidden;

  transition: transform .2s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.06);
}

.whatsapp-fab img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes zoomRotate {
    0%{
      transform: scale(0.3) rotateY(0deg);
    }
    100%{
      transform:scale(1) rotateY(360deg);
    }
  }
  @keyframes colorize {
    to{
      color: #7dd3fc;
      text-shadow: 0 0 2px #7dd3fc, 0 0 1px #7dd3fc;
    }
  }
  @keyframes fadeOut{
    to {
      opacity: 0;
    }
  }
  @media (max-width: 768px) {
    .loader span {
      font-size: 1.5em;
      margin:  0 0.1em;

    }
  }
  .preloader-active{
    overflow: hidden;
  }
