/* ===== New Trend - Mava Community invitation ===== */

/* ---- Fonts ---- */
@font-face {
  font-family: "Minion Pro";
  src: url("fonts/minion-pro/MinionPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Minion Pro";
  src: url("fonts/minion-pro/MinionPro-It.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: block;
}
@font-face {
  font-family: "BPG Rioni Vera";
  src: url("fonts/bpg_rioni_vera_light-54013131515.otf")
    format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "GL Gordeziani";
  src: url("fonts/gl-gordeziani/gl-gordeziani-regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "GL Gordeziani";
  src: url("fonts/gl-gordeziani/gl-gordeziani-medium.ttf")
    format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "GL Gordeziani";
  src: url("fonts/gl-gordeziani/gl-gordeziani-bold.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

:root {
  --cream: #DBD3CA;
  --cream-light: #EDE7E0;
  --cream-deep: #d4c8c1;
  --red: #df352a;
  --ink: #232323;
  --ink-soft: #4a4744;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  background-color: var(--cream);
  color: var(--ink);
  font-family: "Noto Sans Georgian", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Lock scroll while the intro plays */
html.intro-active,
body.intro-active {
  height: 100%;
  overflow: hidden;
  touch-action: none;
}

/* ---- Custom scrollbar (palette-matched) ---- */
html {
  scrollbar-color: var(--red) var(--cream-deep);
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 8px;
}

/* ===== Intro opener ===== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.9s ease;
}
.intro.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.intro.is-gone {
  display: none;
}

/* Autoplay-blocked cover - only shown when iOS blocks autoplay */
.intro-tap {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url('https://weddsite.b-cdn.net/showcase/new-trend/first.jpg') center / cover no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  cursor: pointer;
}
.intro-tap.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.intro-tap.is-visible::after {
  content: 'გახსენი / Open';
  position: absolute;
  bottom: 13%;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "BPG Rioni Vera", "Noto Sans Georgian", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
  animation: tap-bob 2.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tap-bob {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50%       { transform: translateY(-8px); opacity: 1; }
}

.intro__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ===== Site ===== */
.site {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-color: #000;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}
.hero__cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero__cta.is-in {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* ---- Hero scroll arrows ---- */
.hero__scroll-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.hero__scroll-arrows span {
  display: block;
  width: 11px;
  height: 11px;
  border-right: 2px solid rgba(255, 255, 255, 0.65);
  border-bottom: 2px solid rgba(255, 255, 255, 0.65);
  transform: rotate(45deg);
  animation: hero-arrow-pulse 1.6s ease-in-out infinite;
}
.hero__scroll-arrows span:nth-child(2) {
  animation-delay: 0.18s;
}
.hero__scroll-arrows span:nth-child(3) {
  animation-delay: 0.36s;
}
@keyframes hero-arrow-pulse {
  0%, 100% {
    opacity: 0.25;
    transform: translateY(-2px) rotate(45deg);
  }
  50% {
    opacity: 0.9;
    transform: translateY(3px) rotate(45deg);
  }
}

/* ===== RSVP button ===== */
.rsvp-btn {
  position: relative;
  overflow: hidden;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background-color: rgba(223, 53, 42, 0.86);
  color: var(--white);
  font-family: "Noto Sans Georgian", system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.07em;
  padding: 17px 42px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(223, 53, 42, 0.22),
    0 1px 2px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: background-color 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.rsvp-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: skewX(-18deg);
  transition: left 0.75s ease;
  pointer-events: none;
}
.rsvp-btn:hover {
  background-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(223, 53, 42, 0.36),
    0 2px 4px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.rsvp-btn:hover::before {
  left: 130%;
}
.rsvp-btn:active {
  transform: translateY(0) scale(0.985);
}

/* ===== Poster ===== */
.poster {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--cream);
  display: flex;
  flex-direction: column;
}

/* ---- Content column (above circles) ---- */
.poster__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 86px 0 34px;
}

/* ---- Reveal (after circles settle) ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.poster.is-in [data-reveal] {
  opacity: 1;
  transform: none;
}
.poster.is-in .poster__logo--top {
  transition-delay: 1s;
}
.poster.is-in .poster__para:nth-of-type(1) {
  transition-delay: 1.12s;
}
.poster.is-in .poster__para:nth-of-type(2) {
  transition-delay: 1.24s;
}
.poster.is-in .poster__banner {
  transition-delay: 1.36s;
}
.poster.is-in .poster__tagline {
  transition-delay: 1.48s;
}
.poster.is-in .poster__logo--bottom {
  transition-delay: 1.6s;
}

/* ---- Logos ---- */
.poster__logo {
  display: block;
  height: auto;
}
.poster__logo--top {
  width: 56%;
  max-width: 320px;
}
.poster__logo--bottom {
  width: 38%;
  max-width: 160px;
  margin-top: auto;
}

/* ---- Body text ---- */
.poster__body {
  margin-top: 72px;
}
.poster__para {
  font-family: "BPG Rioni Vera", "Noto Sans Georgian", sans-serif;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.poster__para + .poster__para {
  margin-top: 26px;
}

/* ---- Banner ---- */
.poster__banner {
  width: 100%;
  margin-top: 44px;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #f2ede6;
}
.poster__banner-title {
  font-family: "BPG Rioni Vera", "Noto Sans Georgian", sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.12em;
}
.poster__banner-date {
  font-family: "GL Gordeziani", "Noto Sans Georgian", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
  margin-top: 6px;
}
.poster__banner-num {
  color: inherit;
}

/* ---- Italic tagline ---- */
.poster__tagline {
  font-family: "Minion Pro", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-top: 52px;
}

/* ===== Scroll-linked circles (travel from poster into section 3) ===== */
.circles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  transform-origin: 0 0;
  will-change: transform, opacity;
  opacity: 0;
}
.circle--white {
  background-color: var(--white);
  z-index: 2;
}
.circle--red {
  background-color: var(--red);
  z-index: 1;
}

/* ===== Section 3 - video overlay ===== */
.vsec {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-color: var(--cream);
}
.vsec__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
}
.vsec::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22%;
  background: linear-gradient(to bottom, transparent, #DBD3CA);
  z-index: 3;
  pointer-events: none;
}
/* ===== Section 3 - RSVP (sits above circles layer so circles pass behind) ===== */
.rsvp {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}
.rsvp__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 420px;
  text-align: center;
  background-color: var(--cream-light);
  border-radius: 20px;
  padding: 40px 24px 32px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.10);
}
.rsvp__eyebrow {
  font-family: "Minion Pro", serif;
  font-size: 13px;
  letter-spacing: 0.42em;
  color: var(--red);
  text-indent: 0.42em;
}
.rsvp__title {
  font-family: "GL Gordeziani", "Noto Sans Georgian", sans-serif;
  font-weight: 500;
  font-size: 27px;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 14px;
}
.rsvp__rule {
  width: 42px;
  height: 1px;
  background-color: var(--red);
  margin: 20px auto;
}
.rsvp__note {
  font-family: "BPG Rioni Vera", "Noto Sans Georgian", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 38px;
}

/* ---- Form ---- */
.rsvp__form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field-row {
  display: flex;
  gap: 14px;
}
.field-row .field {
  flex: 1;
  min-width: 0;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.field label,
.field__label {
  font-family: "BPG Rioni Vera", "Noto Sans Georgian", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.14em;
  /* text-transform: uppercase; */
  color: var(--ink-soft);
}
.field input {
  width: 100%;
  border: none;
  /* border-bottom: 1px solid rgba(35, 35, 35, 0.22); */
  background-color: var(--cream);
  font-family: "GL Gordeziani", "Noto Sans Georgian", sans-serif;
  font-size: 16px;
  color: var(--ink);
  padding: 9px 8px;
  outline: none;
  border-radius: 6px;
  transition: border-color 0.25s ease;
}
.field input:focus {
  border-bottom-color: var(--red);
}

/* ---- Attendance choice ---- */
.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.choice__card {
  position: relative;
  cursor: pointer;
}
.choice__card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice__face {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  border: 1px solid rgba(35, 35, 35, 0.22);
  border-radius: 40px;
  font-family: "GL Gordeziani", "Noto Sans Georgian", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  background-color: var(--cream);
  transition: background-color 0.25s ease, border-color 0.25s ease,
    color 0.25s ease;
}
@media (max-width: 387px) {
  .choice__face {
    padding: 10px 5px;
    font-size: 11px;
  }
}
.choice__card input:checked + .choice__face {
  background-color: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ---- Submit / status ---- */
.rsvp__submit {
  position: relative;
  overflow: hidden;
  appearance: none;
  margin-top: 6px;
  width: 100%;
  border: none;
  background-color: var(--red);
  color: var(--white);
  font-family: "GL Gordeziani", "Noto Sans Georgian", sans-serif;
  font-size: 16px;
  letter-spacing: 0.07em;
  padding: 17px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(223, 53, 42, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease, opacity 0.3s ease, background-color 0.3s ease;
}
.rsvp__submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 100%
  );
  transform: skewX(-18deg);
  transition: left 0.75s ease;
  pointer-events: none;
}
.rsvp__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 28px rgba(223, 53, 42, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.rsvp__submit:hover::before {
  left: 130%;
}
.rsvp__submit:active {
  transform: translateY(0) scale(0.985);
}
.rsvp__submit:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
  box-shadow: 0 4px 12px rgba(223, 53, 42, 0.18);
}
.rsvp__status {
  min-height: 18px;
  text-align: center;
  font-family: "BPG Rioni Vera", "Noto Sans Georgian", sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-soft);
}
.rsvp__personal-note {
  margin-top: 28px;
  font-family: "BPG Rioni Vera", "Noto Sans Georgian", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-align: center;
  padding: 14px 16px;
  border-top: 1px solid rgba(35, 35, 35, 0.12);
}
.rsvp__thanks {
  text-align: center;
  font-family: "GL Gordeziani", "Noto Sans Georgian", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  padding: 18px 0;
}

/* ---- Reveal ---- */
.rsvp__inner > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.rsvp.is-in .rsvp__inner > * {
  opacity: 1;
  transform: none;
}
.rsvp.is-in .rsvp__title {
  transition-delay: 0.08s;
}
.rsvp.is-in .rsvp__rule {
  transition-delay: 0.16s;
}
.rsvp.is-in .rsvp__note {
  transition-delay: 0.24s;
}
.rsvp.is-in .rsvp__form {
  transition-delay: 0.32s;
}
.rsvp.is-in .rsvp__personal-note {
  transition-delay: 0.44s;
}

/* ---- Footer credit ---- */
.footer {
  padding: 2px 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background-color: var(--cream);
}
.footer__credit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.28;
  text-decoration: none;
  color: var(--ink);
  transition: opacity 0.35s ease;
}
.footer__credit:hover {
  opacity: 0.6;
}
.footer__credit span {
  font-family: "BPG Rioni Vera", "Noto Sans Georgian", sans-serif;
  font-weight: 300;
  font-size: 8px;
  letter-spacing: 0.32em;
  /* text-transform: uppercase; */
  text-indent: 0.32em;
}
.footer__logo {
  width: 22px;
  height: auto;
}

/* ===== Scroll-down hint ===== */
.scroll-hint {
  position: fixed;
  right: 14px;
  top: 18px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding: 14px 8px;
  border-radius: 999px;
  background-color: rgba(35, 35, 35, 0.26);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--white);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.6s ease;
}
.scroll-hint.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-hint.is-hidden {
  opacity: 0;
}
.scroll-hint__text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1;
  font-family: "BPG Rioni Vera", "Noto Sans Georgian", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.scroll-hint__arrow {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: scroll-hint-bob 1.4s ease-in-out infinite;
}
@keyframes scroll-hint-bob {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.85;
  }
  50% {
    transform: translateY(4px) rotate(45deg);
    opacity: 1;
  }
}

/* ===== Language toggle ===== */
.lang-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0;
  background-color: rgba(35, 35, 35, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 3px;
  cursor: pointer;
  appearance: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}
.lang-toggle__opt {
  padding: 6px 12px;
  border-radius: 999px;
  font-family: "BPG Rioni Vera", "Noto Sans Georgian", sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  transition: background-color 0.28s ease, color 0.28s ease;
  user-select: none;
}
.lang-toggle__opt.is-active {
  background-color: var(--cream-light);
  color: var(--ink);
}

/* ===== Desktop notice ===== */
.mobile-prompt {
  display: none;
}

@media (min-width: 450px) {
  .mobile-prompt {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px;
    color: var(--ink);
  }
  .mobile-prompt__logo {
    width: 52px;
    height: auto;
    opacity: 0.8;
    margin-bottom: 22px;
  }
  .mobile-prompt p {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
  }
  .mobile-prompt__sub {
    margin-top: 10px;
    font-size: 14px;
    color: var(--ink-soft);
  }
}


/* ===========================================================================
   Viewport pin + loading screen
   ---------------------------------------------------------------------------
   Shared across every Weddsite template; only the palette below is per design.

   --vh is written by the inline script in <head> and re-measured on width
   changes only, so Instagram's and Messenger's sliding nav bar cannot resize
   the layout. `vh`, `svh`, `lvh` and `dvh` all move with it, which is why the
   pin has to come from JS. The 100vh/100svh floors stay as the no-JS fallback
   and MUST be declared before the .vh-lock rule that overrides them.

   The loader exists so `font-display: block` is safe: the block period is spent
   behind the spinner instead of on an invisible page. It also holds the entry
   animation (via .is-loading) so the intro is not played out behind it.
   =========================================================================== */

:root {
    --vh: 1vh;
}

html {
    overscroll-behavior-y: none;
}

.vh-lock .hero,
.vh-lock .vsec {
    height: calc(var(--vh) * 100);
}

.vh-lock .poster,
.vh-lock .rsvp {
    min-height: calc(var(--vh) * 100);
}

/* Entry animations must not play out behind the spinner - a guest who uncovers a
   finished, static scene has been shown nothing. `is-loading` is set by the
   inline script in <head> before first paint and removed on reveal, so a paused
   animation resumes from frame zero exactly when the guest can first see it.
   The spinner itself is excluded, and with JS off the class never lands. */
.is-loading body *:not(.loader):not(.loader__spinner) {
    animation-play-state: paused !important;
}

.loader {
    position: fixed;
    inset: 0;
    /* Out-ranks every entry overlay (envelopes / curtains / clouds live at 9999+). */
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #DBD3CA;
    opacity: 1;
    transition: opacity 0.55s ease;
}

.loader.is-hidden {
    opacity: 0;
}

.loader.is-gone {
    display: none;
}

.loader__spinner {
    display: block;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(35, 35, 35, 0.2);
    border-top-color: #df352a;
    border-radius: 50%;
    animation: loader-spin 0.9s linear infinite;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}
