h1,
h2,
h3,
li,
ul,
p,
a,
img {
  margin: 0;
  padding: 0;
}
a {
  line-height: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;

  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}
.overflow {
  overflow: hidden;
}

.decor {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 80px;
  /* margin: 2rem 0; */
}

.decor__left {
  width: 18rem;
  height: 0.1rem;
  background-color: rgba(84, 84, 83, 0.4);
  color: #aeaaaa;
}

.decor__right {
  width: 18rem;
  height: 0.1rem;
  background-color: rgba(84, 84, 83, 0.4);
}

.heart {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-bottom: 50px;
}

.foto-thumb {
  margin-top: 80px;
  width: 480px;
  height: 300px;
}
.foto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  position: relative;
  width: 480px;
  margin: 0 auto;
}
.hero-video-thumb {
  position: relative;
  width: 480px;
  height: 50vh;
  background-color: #faf6f3;
}
/* .hero-video-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  height: 300px;
  background-image: linear-gradient(to bottom, #0000007f 20%, #00000000 80%);
} */
.hero-photo {
  padding-top: 30px;
  display: block;
  margin: auto;
  /* width: 20%; */
  /* height: 100%; */
  /* object-fit: cover; */
  /* object-position: center; */
}
canvas {
  position: absolute;
  inset: 0;
}
.hero-video::-webkit-media-controls {
  display: none;
}
.hero-image {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.hero-title {
  position: absolute;
  top: 240px;
  width: 100%;
  text-align: center;

  font-family: 'Cormorant Garamond', cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 65px;
  color: #453020;
  /* color: white; */
  text-align: center;
  white-space: nowrap;
}
.hero-text {
  /* position: absolute;
  top: 40px;
  width: 100%; */
  text-align: center;

  font-family: 'Poiret One', serif;
  font-weight: 600;
  font-style: normal;
  font-size: 38px;
  text-align: center;
  text-transform: uppercase;
  /* color: white; */
  color: #453020;
}
.date-timer {
  font-family: 'Poiret One', serif;
  padding-top: 30px;
  padding-bottom: 30px;
  font-weight: 400;
  font-style: normal;
  font-size: 28px;
  color: #453020;
  text-align: center;
}

.invitation {
  width: 480px;
  margin: 0 auto;
  padding-top: 80px;
  background-color: #faf6f3;
}
.invitation-title {
  font-family: 'Cormorant Garamond', cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 95px;
  color: #453020;
  text-align: center;
  margin-bottom: 40px;
}
.invitation-text-title {
  font-family: 'Playfair Display', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
  color: #453020;
  margin-bottom: 20px;
}
.invitation-text {
  font-family: 'Poiret One', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  text-align: center;
  color: #453020;
  line-height: 1.3;
}
.invitation-line {
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0 auto;
}

.location {
  width: 480px;
  margin: 0 auto;
  padding-top: 80px;
  background-color: #faf6f3;
}
.location-title {
  font-family: 'Cormorant Garamond', cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 95px;
  color: #453020;
  text-align: center;
  margin-bottom: 40px;
}
.location-subtitle {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
  color: #63584f;
}

.location-subtitle__last {
  margin-top: 50px;
}
.location-text {
  font-family: 'Playfair Display', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 26px;
  text-align: center;
  color: #453020;
  margin-bottom: 70px;
}
.location-button {
  display: block;
  width: 270px;
  margin: 0 auto;
  /* margin-bottom: 10px; */

  font-family: 'Poiret One', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
  color: #453020;
  text-decoration: none;
  border-bottom: 1px solid #453020;
  padding-bottom: 15px;
}
.location-foto-thumb {
  margin-top: 80px;
  width: 480px;
  height: 600px;
}

.taming {
  width: 480px;
  margin: 0 auto;
  padding-top: 80px;
  background-color: #faf6f3;
}
.taming-title {
  font-family: 'Cormorant Garamond', cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 95px;
  color: #453020;
  text-align: center;
  margin-bottom: 40px;
}
.taming-list {
  list-style-type: none;
  width: 360px;
  margin: 0 auto;
}
.taming-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 45px;
}
.taming-left-side {
}
.taming-number {
  font-family: 'Cormorant Garamond', cursive;
  font-weight: 600;
  font-style: normal;
  font-size: 35px;
  color: #453020;

  writing-mode: vertical-lr;
}
.taming-line {
  display: block;
  height: 90px;
}
.taming-right-side {
}
.taming-subtitle {
  font-family: 'Playfair Display', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  text-transform: uppercase;
  color: #453020;
}
.taming-text {
  font-family: 'Poiret One', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  color: #453020;
}
.taming-foto-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 480px;
  gap: 10px;
  margin-top: 80px;
}
.taming-foto {
  width: 235px;
}

.dresscode {
  width: 480px;
  margin: 0 auto;
  padding: 100px 50px 0 50px;
  background-color: #faf6f3;
}
.dresscode-title {
  font-family: 'Cormorant Garamond', cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 95px;
  color: #453020;
  text-align: center;
  margin-bottom: 40px;
}
.dresscode-text {
  font-family: 'Poiret One', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  text-align: center;
  color: #453020;
  margin-bottom: 30px;
}
.dresscode-subtitle {
  font-family: 'Playfair Display', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
  color: #453020;
  margin-bottom: 30px;
}
.dresscode-list {
  list-style-type: none;
  display: flex;
  gap: 5px;
  width: 375px;
  margin: 0 auto;
}
.dresscode-item {
  width: 90px;
  height: 35px;
}
.dresscode-item:nth-child(1) {
  background-color: #909b71;
}
.dresscode-item:nth-child(2) {
  background-color: #f9d59b;
}
.dresscode-item:nth-child(3) {
  background-color: #e85e75;
}
.dresscode-item:nth-child(4) {
  background-color: #f6c8b8;
}

.details {
  width: 480px;
  margin: 0 auto;
  padding-top: 100px;
  background-color: #faf6f3;
}
.details-title {
  font-family: 'Cormorant Garamond', cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 95px;
  color: #453020;
  text-align: center;
  margin-bottom: 40px;
}
.details-text {
  font-family: 'Poiret One', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  text-align: center;
  color: #453020;
  margin-bottom: 30px;
}
.details-image {
  display: block;
  margin: 0 auto;
}

.registration {
  width: 480px;
  margin: 0 auto;
  padding: 50px 50px 50px 50px;
  background-color: #faf6f3;
}
.registration-title {
  font-family: 'Cormorant Garamond', cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 95px;
  color: #453020;
  text-align: center;
  margin-bottom: 40px;
}
.registration-text {
  font-family: 'Poiret One', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  text-align: center;
  color: #453020;
  margin-bottom: 30px;
}

.registration-form {
  margin-bottom: 80px;
}
.form-field {
  margin-bottom: 15px;
}
.form-input {
  width: 100%;
  height: 50px;
  font-size: 20px;
  border: 1px solid #453020;
  border-radius: 8px;
  padding: 2px 15px;
  outline: none;
  background-color: transparent;
}
.form-input::placeholder {
  font-family: 'Poiret One', serif;
  font-weight: 400;
  font-style: normal;
  color: #453020;
}
.checkbox-label {
  display: flex;
  align-items: center;
  font-family: 'Poiret One', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  color: #453020;
  margin-bottom: 15px;
}
.checkbox-input:checked + .custom-checkbox > .checkbox-icon {
  display: block;
}
.custom-checkbox {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border: 1px solid #453020;
  border-radius: 4px;
  margin-right: 15px;
}
.checkbox-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  width: 15px;
  height: 15px;
  background-color: #514940;
  border-radius: 2px;
}

.registration-btn {
  font-family: 'Playfair Display', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 17px;
  color: white;
  text-transform: uppercase;

  width: 100%;
  height: 50px;
  border: 2px solid #514940;
  border-radius: 4px;
  background-color: #514940;
}

.registration-number {
  display: block;
  text-align: center;
  font-size: 24px;
  color: #514940;
  text-underline-offset: 4px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 300;
  letter-spacing: 1px;
}

.registration-number--name {
  display: block;
  text-align: center;
  font-size: 20px;
  color: #514940;
  margin-bottom: 40px;
}

.bottom-foto-thumb {
  margin: 0 auto;
  width: 480px;
  /* height: 100vh; */
}
.bottom-foto {
  display: block;
  object-fit: cover;
  width: 100%;
  /* height: 100%; */
}

.overflow--footer {
  position: relative;
  overflow: visible;
}

.footer {
  position: absolute;
  width: 100%;
  inset-block-end: 0;
  width: 480px;
  margin-inline: auto;
  padding-block: 20px;
  background-image: linear-gradient(to top, #000000, #00000000);
}

.footer .container {
  display: grid;
  justify-content: center;
  justify-items: center;
  grid-gap: 10px;
}

.footer__link {
  font-family: 'Poiret One', serif;
  font-size: 16px;
  text-decoration: none;
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
}

.body-no-margin {
  margin: 0;
}
.wrapper {
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
}

.wrapper::before,
.wrapper::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60vh;
  z-index: 5;
  background-image: url(../img/bg-top.png);
  background-size: cover;
  background-position: bottom center;
  animation-duration: 1400ms;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  animation-delay: 1000ms;
}

.wrapper::before {
  animation-name: top-letter;
  z-index: 10;
}

.wrapper::after {
  top: auto;
  bottom: 0;
  background-image: url(../img/bg-bottom.png);
  background-position: top center;
  animation-name: bottom-letter;
}

@keyframes top-letter {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-100%);
  }
}

@keyframes bottom-letter {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(100%);
  }
}
.thanks {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #faf6f3;
  padding-inline: 20px;
  background-image: url(../img/thanks-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.thanks::before {
  content: '';
  position: absolute;
  inset: 20px;
  background-color: rgba(250, 246, 243, 0.65);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-radius: 5px;
}

.thanks .container {
  min-width: 100%;
}

.thanks__title {
  position: relative;
  font-size: 50px;
  letter-spacing: 1px;
  line-height: 1;
  font-weight: 300;
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Montserrat', sans-serif;
}

.thanks__desc {
  position: relative;
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 10px;
}

.thanks__logo {
  position: relative;
  display: block;
  margin: 20px auto;
}

.thanks__link {
  position: relative;
  display: grid;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 60px;
  margin: 0 auto;
  text-align: center;
  border-radius: 4px;

  background-color: #514940;
  color: #ffffff;

  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.music {
  background-color: #faf6f3;
  padding-top: 50px;
}

.music-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 300px;
  margin: 0 auto;
}

.music-text-left {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #453020;
  text-align: center;
  text-transform: uppercase;
}

.music-button {
  background-color: transparent;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #453020;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-play__first {
  transform: translateX(2px);
}

.music-text-right {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #453020;
  text-align: center;
  text-transform: uppercase;
}

.wishes__title {
  font-family: 'Playfair Display', serif;
  text-align: center;
  font-size: 30px;
  color: #453020;
  margin-bottom: 20px;
}

.wishes__text {
  font-family: 'Poiret One', serif;
  font-size: 20px;
  line-height: 1.4;
  text-align: center;
  color: #453020;
  margin-bottom: 30px;
}
