/* Общие сбросы и стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Moneta";
  src: url("/fonts/Moneta-Light.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Liana";
  src: url("/fonts/liana.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html,
body {
  background-color: white;
  text-align: center;
}

main {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

p {
  font-family: Cormorant Infant;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 3%;

  font-variant: small-caps;
}

/* Обёртка для центрирования и ограничения */
.wrapper {
  max-width: 700px;
  width: 100%;
  height: 790px;

  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}

/* Контейнер с фоном */
.container {
  position: relative;
  max-width: 500px;
  width: 100%;
  height: 100%;
  background-image: url("./img/main.png");
  background-size: cover; /* На мобилках — заполняем весь экран */
  background-repeat: no-repeat;
  background-position: center bottom;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.wedding {
  margin-top: 27px;
  margin-bottom: 21px;
  font-family: Cormorant Infant;
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

.timing-banket {
  margin-top: -25px;
  margin-left: 10px;
}

.mb-20 {
  margin-bottom: 20px !important;
}

/* Текстовый блок с затемнением */
.text-block {
  position: relative;
  height: px;
  width: 100%;

  text-align: center;
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 0;
  overflow: hidden;
}

.text-block-2 {
  position: relative;
  height: 250px;
  width: 100%;

  text-align: center;
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 0;
  overflow: hidden;
}

.plan-block {
  display: flex;
  align-items: center;
  margin: 36px 0px 20px 44px;
}

.plan-time {
  transform: rotate(270deg);
  font-family: Moneta;
  font-weight: 400;
  font-size: 36px;

  letter-spacing: 1px;
  text-transform: uppercase;
}

.plan-item {
  text-align: left;
}

.timing-title-2 {
  margin-left: -15px;
}
/* Стили текста */
.date {
  font-size: 24px;
  letter-spacing: 5px;
  margin-bottom: 100px;
  font-family: "Cormorant Infant", serif;
  font-weight: bold;
  opacity: 0;
  animation: fade-in 1s ease-out forwards 0.9s;
}

.names {
  font-size: 100px;
  font-family: "Cormorant Garamond", serif;
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-weight: 300;
  font-style: normal;
  height: 90px;
  width: 300px;
  margin: 0 auto;

  font-variant: small-caps;
  opacity: 0;
  animation: fade-in 1s ease-out forwards 0.9s;
}

.names-2 {
  font-family: Cormorant Infant;
  font-weight: 700;
  font-style: Bold;
  font-size: 19px;
  margin: 10px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.amp {
  margin: 0 10px;
  font-size: 70px;
}

.dot {
  width: 7px;
  height: 7px;
  background-color: #fff;
  border-radius: 50%;
  margin-bottom: 20px;
}

.dot-2 {
  width: 4px;
  height: 4px;
  background-color: #000000;
  border-radius: 50%;
  margin-bottom: 20px;
  text-align: center;
  margin: 10px auto;
}

.dot-3 {
  width: 4.5px; /* размер точки */
  height: 4.5px;
  background-color: black; /* или другой цвет */
  border-radius: 50%;
  margin: 13px auto; /* auto по горизонтали + отступ сверху/снизу */
}

.pb-30 {
  padding-bottom: 30px !important;
}

.mb-10 {
  padding-bottom: 10px !important;
}

h1 {
  font-family: Liana;
  font-weight: 400;
  font-size: 43px;
  letter-spacing: 3px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.welcome-img {
  width: 100%;
}

.timing {
  display: flex;
  align-items: center;
  margin-top: 20px;

  animation: fade-in 1s ease-out forwards 0.9s;
}

.timing-time {
  font-family: Moneta;
  font-weight: 400;
  font-size: 36px;
  height: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;

  transform: rotate(270deg);
}

.line {
  width: 1px;
  height: 70px;
  background-color: #000;
  margin: 0 20px;
}

.timing-place {
  font-family: Cormorant Garamond;
  font-weight: 400;
  font-size: 14px;
  line-height: 23px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: left;
  margin-top: 5px;
}

.timing-title {
  font-family: Liana;
  font-weight: 400;
  font-size: 38px;
  text-align: left;
  letter-spacing: 0px;
  font-variant: normal;
}

.timing-address {
  font-family: Cormorant Garamond;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: left;
}

.parent {
  width: 100%;
}

.parent {
  display: grid;
  grid-template-columns: 0.15fr 0.05fr 1fr;
  grid-template-rows: 0.2fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  align-items: center;
}

.div1 {
  grid-area: 1 / 1 / 2 / 2;
}
.div2 {
  grid-area: 1 / 2 / 2 / 3;
}
.div3 {
  grid-area: 1 / 3 / 2 / 4;
}

.calendar {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 50px;
  margin-top: 30px;
}

.welcome-date {
  display: flex;
  justify-content: center;
  align-items: center;
}

.box {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #888;
  border-radius: 10px;
}

.day-small {
  width: 34px;
  height: 34px;
  font-size: 18px;
}

.day-medium {
  width: 43px;
  height: 43px;
  font-size: 24px;
}

.heart .number {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 32px;
  font-family: "Roboto Slab", serif;
}

.heart img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.wedding-text {
  margin-bottom: 5px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 16px;
  letter-spacing: 1.8px;
  text-align: center;
  text-transform: uppercase;
  font-variant: small-caps;
}

.heart {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 65px;
  max-height: 65px;
  padding: 0; /* убираем padding */
}

.heart img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* или 'contain', если хочешь сохранить пропорции */
}

.text-small {
  font-size: 8px;
  font-family: Cormorant Garamond;
  text-transform: uppercase;
}

.text-medium {
  font-size: 10px;
  font-family: Cormorant Garamond;
  text-transform: uppercase;
}

.text-large {
  font-size: 13px;
  font-family: Cormorant Garamond;
  text-transform: uppercase;
}

.div10 {
  grid-area: 2 / 3 / 3 / 4;
  margin-bottom: -15px !important;
}

.div6,
.div8 {
  margin-bottom: -5px !important;
}

.our-month {
  font-family: Great Vibes;
  font-weight: 400;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  font-variant: normal;
  color: #7e1222;
  margin: 20px auto;
}

.container-location {
  width: 95%;
  max-width: 800px;
  border: 1px solid black;
  position: relative;
  padding: 28px 0px 20px 0px;
  box-sizing: border-box;
  margin: 0 auto;
  margin-top: 60px;

  animation: fade-in-left 1s ease-out forwards 0.9s;
}

.location-title {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 0 20px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 38px;
  font-weight: 200;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.content {
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
}

.start {
  font-family: Cormorant Infant;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.place {
  font-family: Cormorant Infant;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.description {
  font-family: Cormorant Infant;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 0px;
  text-align: center;
  font-variant: small-caps;
  margin-bottom: 10px;
  margin-top: 10px;
}

.details-text {
  text-transform: lowercase;
  font-size: 15px;
  line-height: 17px;
  letter-spacing: 0.5px;
}

.address {
  margin-bottom: 10px;
}

.dress-container {
  margin-top: 25px;
  display: flex;
  max-height: 510px;
  width: 100%;
}

.dress-code {
  display: flex;
  justify-content: center;
}

.dress-item {
  width: 180px;
  height: 25px;
  border: 1px solid #000;
  margin-top: 20px;
}

.dress-block {
  animation: fade-in-right 1s ease-out forwards 0.9s;
}

.black {
  background-color: #000;
}

.side-text {
  writing-mode: vertical-rl;
  font-family: Moneta;
  font-weight: 400;

  text-transform: uppercase;

  text-orientation: mixed;
  font-size: 60px;
  letter-spacing: 11px;
  color: #1a1a1a;

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

  transform: rotate(180deg);
}

.image-block {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
}

.image-block::before {
  content: "";
  background-color: #ccc;
  background-image: url("./img/dress.png"); /* Заглушка */
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.dress-code {
  margin: 15px auto;
  max-width: 400px;
  display: flex;
  justify-content: space-around;
  width: 95%;
  height: 46px;
}

.dress-code-item {
  width: 46px;
  height: 46px;
}

.pink {
  background-color: #f7dbdb;
}

.light-pink {
  background-color: #f5eaea;
}

.light-yellow {
  background-color: #f8eddb;
}

.light-green {
  background-color: #e2e4dd;
}

.light-blue {
  background-color: #dfe6ef;
}

.black {
  background-color: #000000;
}

.dress-description {
  font-family: Cormorant Infant;
  font-weight: 400;
  margin-top: 20px;
  letter-spacing: 5%;
  line-height: 16px;
  text-align: center;
  font-variant: small-caps;
}

.details-block {
  background-color: #d9d9d9;
  margin-top: 25px;
}

.details-item {
  margin-bottom: 10px;
  line-height: 16px;
  text-transform: lowercase;
}

.details-item:last-child {
  margin-bottom: 0px;
}

.phone {
  font-size: 12px;
}

.end {
  margin-top: 50px;
}

.timer {
  display: flex;

  font-weight: bold;
  align-items: center;
  margin: 0 auto;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.separator {
  width: 1px; /* Толщина линии */
  height: 40px; /* Высота линии */
  background-color: #ccc; /* Цвет линии */
  margin: 0 20px; /* Горизонтальные отступы */
  align-self: flex-start;
  margin-top: 0.3rem; /* можно подогнать под визуал */
}

.label {
  font-size: 1.2rem;
  font-weight: normal;
  margin-top: 5px;
  font-family: Cormorant Garamond;
  font-size: 15px;
}

.details {
  margin-bottom: 40px;
}

.container-timer {
  margin-top: 30px;
  position: relative;
  max-width: 500px;
  width: 100%;
  height: 700px;
  background-image: url("./img/timer.png");
  background-size: cover; /* На мобилках — заполняем весь экран */
  background-repeat: no-repeat;
  background-position: center bottom;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.timer-number {
  font-family: Montaga;
  font-weight: 400;
  font-size: 32px;
  text-align: center;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  text-align: center;
  margin-bottom: 50px;
}

.timer-number {
  font-family: Montaga;
  font-weight: 400;
  font-size: 32px;
  text-align: center;
  letter-spacing: 2px;
  line-height: 1;
}

.label {
  font-family: Cormorant Garamond;
  font-size: 15px;
  margin-top: 5px;
  line-height: 1;
  text-align: center;
}

.wait {
  font-family: Cormorant Infant;
  font-weight: 700;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-variant: small-caps;
}

.in {
  font-family: Cormorant Garamond;
  font-weight: 400;
  font-size: 13px;
  text-align: right;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.text-timer {
  margin: 0 auto;
  margin-bottom: 20px;
}

.form {
  font-family: Cormorant Garamond;
  font-weight: 700;
  font-size: 24px;

  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.name-family {
  font-family: Cormorant Garamond;
  font-weight: 700;
  font-size: 13px;
  line-height: 100%;
  letter-spacing: 5%;

  text-transform: uppercase;
  margin-top: 18px;
  margin-bottom: 3px;
}

.additional {
  font-family: Cormorant Garamond;
  font-weight: 400;
  font-size: 14px;
  line-height: 13px;
  letter-spacing: 2%;
  text-align: center;
  opacity: 0.54;
  font-variant: normal;
}
.radio-group {
  display: flex;
  gap: 20px; /* расстояние между опциями */
}

.custom-radio {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
}

.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  width: 12px;
  background-color: white;
  border: 1px solid #555;
  border-radius: 2px; /* квадрат */
}

.mt-30 {
  margin-top: 30px !important;
}

.custom-radio input:checked ~ .checkmark {
  background-color: #ffffff;
  border-color: #000000;
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.custom-radio input:checked ~ .checkmark::after {
  display: block;
}

.custom-radio .checkmark::after {
  left: 2px;
  top: 1px;
  width: 5px;
  height: 5px;
  border: solid rgb(0, 0, 0);
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

.radio-block {
  text-align: left;
  margin: 0 auto;
  max-width: 220px;
  margin-bottom: 20px;
  margin-top: 15px;
}

.textarea {
  width: 240px;
  height: 75px;
  margin-top: 10px;
  margin-bottom: 20px;
  border: 1px solid #d9d9d9;
  font-family: Cormorant Infant;
  font-size: 15px;
  padding: 5px;

  font-variant: small-caps;
}

.container-telegram {
  margin-bottom: 20px;
}

.form-block {
  max-width: 280px;
  margin: 0 auto;
}

.button {
  font-family: Cormorant Infant;
  height: 30px;
  width: 175px;
  background-color: #ffffff;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 3%;
  background-color: #000;
  text-transform: uppercase;
  font-variant: small-caps;
  letter-spacing: 3px;
  color: #ffffff;
  border: 1px solid #d9d9d9;
}

.telegram {
  font-size: 13px;
  margin-top: 15px;
}

@media (min-width: 768px) {
  .button:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }
}

.container-details {
  width: 91%;
  max-width: 800px;
  border: 1px solid black;
  position: relative;
  padding: 40px 20px 20px 20px;
  box-sizing: border-box;
  margin: 0 auto;
  margin-top: 80px;
}

.details-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 200;
  font-size: 38px;
  padding-top: 30px;
  margin-bottom: 10px;
  color: #000000;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.container-location {
  width: 90%;
  max-width: 800px;
  border: 1px solid black;
  position: relative;
  padding: 40px 0px 20px 0px;
  box-sizing: border-box;
  margin: 0 auto;
  margin-top: 60px;

  animation: fade-in-left 1s ease-out forwards 0.9s;
}

[class*="animate"],
.welcome-block,
.container-location,
.welcome-img,
.dress-container,
.dress-section,
.dress-code,
.details,
.plan-block,
.form,
.timer,
p,
button {
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.container-contacts {
  width: 91%;
  max-width: 800px;
  border: 1px solid black;
  position: relative;
  padding: 40px 20px 20px 20px;
  box-sizing: border-box;
  margin: 0 auto;
  margin-top: 40px;
}

.contacts-title {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 0 20px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 32px;

  letter-spacing: 6px;
  text-transform: uppercase;
}

/* Класс анимации */
.animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.icons-item {
  margin: 0 3px;
}

.fs-16 {
  font-size: 16px;
}
