@font-face {
  font-family: "Kudryashev Display Sans";
  src: url(kudryashev-display-sans.ttf);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Austina Capitton Alt";
  src: url(AustinaCapittonAlt.ttf);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url(Montserrat-Thin.ttf);
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url(Montserrat-Regular.ttf);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

body {
  font-family: "Kudryashev Display Sans";
  margin: 0;
}

img {
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  pointer-events: none;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
    to bottom,
    rgba(248, 241, 234, 0.3),
    rgba(248, 241, 234, 0.3)
  );
  will-change: transform;
  z-index: -1;
  pointer-events: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.promo__decor {
  font-family: "Austina Capitton Alt";
  font-weight: 400;
  color: #a09d9a;
  font-size: 15vw;
}

.promo__heading {
  margin: 0;
  font-size: 15vw;
  line-height: 1.2;
  text-transform: uppercase;
  animation: fadeUp 1.1s ease 0.2s both;
}

.promo__heading span {
  font-family: "Austina Capitton Alt";
  font-weight: 400;
  color: #a09d9a;
}

.promo__date {
  margin: 0;
  font-size: 6vw;
  font-family: "Montserrat";
  font-weight: 400;
  animation: fadeUp 1.1s ease 0.6s both;
  color: #a09d9a;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .promo__heading,
  .promo__date,
  .guests__calendar div:nth-child(34)::after {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .plan__item {
    opacity: 1;
    animation: none;
  }
}

.promo {
  margin: 0 5vw 10rem;
  padding: 0 0 20vh;
  height: 100vh;
  justify-content: end;
  display: flex;
  flex-direction: column;
}

.guests {
  margin: 0 5vw;
}

.guests__heading {
  margin: 0 0 2rem;
  font-size: 12vw;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.3;
}

.guests__heading span {
  letter-spacing: -0.45em;
}

.guests__text {
  margin: 0;
  text-align: center;
  font-size: 4.7vw;
  font-family: "Montserrat";
  font-weight: 200;
  line-height: 1.8;
}

.guests__text:nth-of-type(1) {
  margin: 0 0 0.5rem;
}

.guests__text:nth-of-type(2) {
  margin: 0 0 3rem;
}

.guests__calendar {
  margin: 0 auto;
  width: 80%;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(7, 1fr);
}

.guests__calendar div {
  text-align: center;
}

.guests__calendar div:nth-child(-n + 7) {
  font-size: 1.3rem;
  font-style: italic;
}

.guests__calendar div:nth-child(34) {
  position: relative;
  scale: 1.3;
}

.guests__calendar div:nth-child(34)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 2.5rem;
  height: 2.5rem;
  z-index: -1;
  background: url(./calendar.png) no-repeat center center / 100% auto;
  animation: heartPulse 1.2s ease-in-out infinite;
}

@keyframes heartPulse {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 0.8;
  }
}

.guests__month {
  margin: 0 0 1.3rem;
  font-size: 8vw;
  text-align: center;
  line-height: 1;
}

.place {
  position: relative;
  padding: 18vh 0 20vh;
  margin: 0 5vw;
  background: url("decor-love.png") no-repeat center bottom calc(10vh - 50px) /
    50px auto;
}

.place::before {
  content: "";
  left: 50%;
  translate: -50% 0;
  top: 2vh;
  position: absolute;
  height: 14vh;
  width: 1px;
  background: #000;
}

.place__text {
  margin: 0 0 2rem;
  text-align: center;
  font-size: 4.7vw;
  font-family: "Montserrat";
  font-weight: 100;
}

.place__text span {
  font-size: 8vw;
  font-family: "Kudryashev Display Sans";
}

.place__btn {
  margin: 0 auto;
  max-width: 90%;
  margin-top: 1rem;
  display: block;
  background: #72706e;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem 0;
  font-family: "Montserrat";
  font-weight: 400;
}

.plan {
  padding: 0 0 20vh;
  margin: 0 5vw;
  background: url("decor-love.png") no-repeat center bottom calc(10vh - 50px) /
    50px auto;
}

.plan__heading {
  position: relative;
  margin: 0 0 4vh;
  font-size: 13vw;
  text-align: center;
  text-transform: uppercase;
}

.plan__heading::after {
  position: absolute;
  content: "timing";
  font-family: "Austina Capitton Alt";
  font-weight: 400;
  color: #a09d9a;
  font-size: 17vw;
  text-transform: lowercase;
  right: 0;
  translate: -12% 21%;
  rotate: -15deg;
}

.plan__list {
  display: grid;
  gap: 2rem;
}

.plan__item {
  display: flex;
  align-items: center;
  opacity: 0;
}

.plan.is-visible .plan__item {
  animation: fadeUp 0.7s ease both;
}

.plan.is-visible .plan__item:nth-child(1) {
  animation-delay: 0s;
}

.plan.is-visible .plan__item:nth-child(2) {
  animation-delay: 0.15s;
}

.plan.is-visible .plan__item:nth-child(3) {
  animation-delay: 0.3s;
}

.plan.is-visible .plan__item:nth-child(4) {
  animation-delay: 0.45s;
}

.plan.is-visible .plan__item:nth-child(5) {
  animation-delay: 0.6s;
}

.plan__item img {
  width: 40vw;
  margin-right: 1rem;
}

.plan__item div {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plan__item div span:nth-child(1) {
  font-size: 7vw;
  font-weight: bold;
}

.plan__item div span:nth-child(2) {
  font-size: 6vw;
  font-family: "Montserrat";
  font-weight: 100;
}

.details {
  margin: 0 5vw;
  padding: 0 0 20vh;
  margin: 0 5vw;
  background: url("decor-love.png") no-repeat center bottom calc(12vh - 50px) /
    50px auto;
}

.details__heading {
  margin: 0 0 1rem;
  font-size: 12vw;
  text-align: center;
  text-transform: uppercase;
  font-weight: normal;
}

.details__heading::after {
  position: absolute;
  content: "details";
  font-family: "Austina Capitton Alt";
  font-weight: 400;
  color: #a09d9a;
  font-size: 17vw;
  text-transform: lowercase;
  right: 0;
  translate: -26% 28%;
  rotate: -15deg;
}

.details__decor {
  margin: 0 auto 2rem;
  width: 23vw;
  height: 23vw;
  background: #cdc7c1 url(flower.png) no-repeat center center / 130% auto;
  border-radius: 50%;
}

.details__text {
  margin: 0 auto;
  text-align: center;
  font-size: 4.7vw;
  font-family: "Montserrat";
  font-weight: 100;
  line-height: 1.8;
}

.anketa {
  margin: 0 5vw 15vh;
}

.anketa__heading {
  margin: 0 0 1.8rem;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 12vw;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.3;
}

.anketa__text {
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 4.7vw;
  font-family: "Montserrat";
  font-weight: 100;
  line-height: 1.8;
}

.anketa__heading span {
  letter-spacing: -0.45em;
}

.anketa__field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 4.5vw;
  margin: 0 0 2rem;
  font-family: "Montserrat";
}

.anketa__field span {
  font-weight: 400;
  margin: 0 0 0.7rem;
}

.anketa__field input[type="text"] {
  font: inherit;
  color: #8a8580;
  border: none;
  border-bottom: 1px solid #000;
  background: transparent;
  padding: 0 0 0.6rem;
}

.anketa__group {
  margin: 0 0 2rem;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.anketa__divider {
  border: none;
  border-top: 1px solid #000;
  margin: 0 0 2rem;
}

.anketa__question {
  margin: 0 0 1rem;
  padding: 0;
  font-size: 4.5vw;
  font-family: "Montserrat";
  font-weight: 400;
}

.anketa__checkbox {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 4.5vw;
  font-family: "Montserrat";
}

.anketa__checkbox input[type="checkbox"] {
  appearance: none;
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  margin: 0;
  position: relative;
  border: 1px solid #8a8580;
  border-radius: 4px;
  font-family: "Montserrat";
}

.anketa__checkbox input[type="checkbox"]:checked {
  border-color: #6b6660;
}

.anketa__checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 32%;
  height: 55%;
  border: solid #6b6660;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -55%) rotate(45deg);
}

.anketa__radio {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 4.5vw;
  font-family: "Montserrat";
}

.anketa__radio input[type="radio"] {
  appearance: none;
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  margin: 0;
  position: relative;
  border: 1px solid #8a8580;
  border-radius: 50%;
}

.anketa__radio input[type="radio"]:checked {
  border-color: #6b6660;
}

.anketa__radio input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background: #6b6660;
  transform: translate(-50%, -50%);
}

.anketa__submit {
  width: 100%;
  margin-top: 1rem;
  display: block;
  border: none;
  background: #72706e;
  color: #fff;
  font: inherit;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.05em;
  padding: 0.9rem 0;
  cursor: pointer;
}

.time {
  padding-bottom: 5rem;
}

.time__heading {
  margin: 0 0 2rem;
  font-size: 8vw;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.3;
  text-transform: uppercase;
}

.time__section {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.time__block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time__block div:first-child {
  font-weight: bold;
  font-size: 8vw;
}

.time__block div:last-child {
  font-size: 5vw;
}
