@import url("https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap");
@font-face {
  font-family: "Chizh";
  src: url("/demos/brown-leafs/assets/fonts/Czizh-Body.woff2") format("woff2");
}
* {
  padding: 0;
  margin: 0;
  border: 0;
}

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

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3 {
  color: #80655d;
  font-weight: bold;
  font-family: "Chizh", serif;
  text-align: center;
  margin-bottom: 15px;
  font-size: 32px;
  padding: 0px 10px;
  line-height: 1.1;
}

body {
  margin: 0;
  padding: 0;
  background-image: radial-gradient(73% 147%, #eadfdf 59%, #ece2df 100%), radial-gradient(91% 146%, rgba(255, 255, 255, 0.5) 47%, rgba(0, 0, 0, 0.5) 100%);
  background-blend-mode: screen;
  font-family: "Didact Gothic", serif;
  width: 100%;
  height: 100%;
  background-size: cover;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
  line-height: 1;
  overflow: hidden;
  overflow-y: scroll;
}

p {
  font-size: 20px;
  text-align: center;
  margin-bottom: 1rem;
  color: black;
  padding: 0px 10px;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: black;
}

ul {
  list-style: none;
}

.wrapper {
  height: 100dvh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100vw;
  padding: 5px;
  overflow: hidden;
  position: relative;
}

.wrapper2 {
  display: none;
  z-index: 20;
  height: 100dvh;
  width: 100dvw;
  opacity: 0;
  overflow: hidden;
}

.section {
  margin-block: 40px;
}

.wrapper3 {
  overflow: hidden;
}

.text-line {
  display: block;
  height: 15px;
}

.text-container h1 {
  overflow: hidden;
  background-image: radial-gradient(73% 147%, #eadfdf 59%, #ece2df 100%), radial-gradient(91% 146%, rgba(255, 255, 255, 0.5) 47%, rgba(0, 0, 0, 0.5) 100%);
  background-blend-mode: screen;
}

.hidden-text {
  display: inline-block;
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  font-size: 28px;
}

.music-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 1;
  margin-bottom: 15px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.music-choice {
  font-size: 20px;
  margin: 0;
  padding: 0;
  width: 50%;
}

.switch {
  position: relative;
  display: inline-block;
  width: 57px;
  height: 22px;
  margin: 0 10px;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
}

.switch input {
  display: none;
}

.slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 25px;
  left: 3px;
  bottom: 1px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50px;
}

input:checked + .slider {
  background-color: #80655d;
}

input:checked + .slider::before {
  -webkit-transform: translateX(27px);
          transform: translateX(27px);
}

.opening-cloud {
  position: absolute;
  z-index: -10;
  width: 400px;
  bottom: 0rem;
  right: 0;
}

.opening-leafs {
  position: absolute;
  z-index: -10;
  width: 200px;
  top: 0rem;
  right: -1rem;
  rotate: -30deg;
}

.open-btn {
  padding: 8px 15px;
  font-size: 18px;
  border-radius: 10px;
  background-color: #80655d;
  color: white;
  -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: -100%;
  background-color: #80655d;
  z-index: 20;
}

.intro-container {
  height: 100dvh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  overflow: hidden;
}

.intro-wrapper {
  text-align: center;
}

.intro-photo {
  width: 250px;
  margin-bottom: 20px;
  border-radius: 20px;
}

.intro-names {
  margin-top: 10px;
}

.intro-date {
  font-size: 35px;
}

.reveal-img-ph {
  text-align: center;
}

.intro-cloud1 {
  position: absolute;
  top: -2rem;
  left: -4rem;
  width: 300px;
  z-index: -10;
}

.intro-cloud2 {
  position: absolute;
  bottom: -2rem;
  right: -6rem;
  width: 300px;
  z-index: -10;
}

.intro-leaf {
  position: absolute;
  top: 0;
  right: -4rem;
  width: 180px;
  z-index: -10;
}

.intro-leafs {
  position: absolute;
  bottom: 0;
  left: -5rem;
  z-index: -10;
  rotate: 58deg;
}

.intro-swiper {
  width: 35px;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 5px;
}

.intro-text {
  margin-bottom: 8px;
}

.nav-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 5px 10px;
  background-color: #80655d;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: fixed;
  width: 100vw;
  z-index: 100;
}

.nav-text {
  font-weight: 400;
  color: white;
  margin: 0;
  font-size: 20px;
}

.audio-icon {
  width: 25px;
  color: white;
}

.story-container {
  height: 500px;
  position: relative;
}

.slideshow-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 85dvw;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  -webkit-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
  border-radius: 20px;
}

.info {
  position: relative;
}

.info-cloud {
  position: absolute;
  z-index: -10;
  width: 400px;
  right: 0;
  bottom: 0;
}

.info-leaf {
  position: absolute;
  z-index: -10;
  width: 150px;
  bottom: 14rem;
  right: -4rem;
}

.timeline-container {
  position: relative;
  width: 85dvw;
  margin: 0 auto;
}

.timeline-icon {
  width: 60px;
  margin: 0 auto;
}

.timeline-wrapper1,
.timeline-wrapper3,
.timeline-wrapper5,
.timeline-wrapper7 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-block: 30px;
  padding-right: 55%;
  visibility: hidden;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #80655d;
}

.timeline-wrapper2,
.timeline-wrapper4,
.timeline-wrapper6,
.timeline-wrapper8 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-block: 30px;
  padding-left: 55%;
  visibility: hidden;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #80655d;
}

.timeline-cloud1 {
  position: absolute;
  z-index: -10;
  width: 400px;
}

.timeline-cloud2 {
  position: absolute;
  z-index: -10;
  width: 400px;
}

.timeline-leaf {
  position: absolute;
  z-index: -10;
  width: 150px;
  left: -3rem;
  top: 45rem;
}

.timeline-leafs {
  position: absolute;
  z-index: -10;
  width: 200px;
  bottom: 15rem;
  right: 0;
}

.timeline-section p {
  padding: 0;
  margin-block: 10px;
}

.number {
  color: #80655d;
  font-size: 30px;
  margin: 0;
}

.mesto-map {
  width: 90vw;
  height: 300px;
  border-radius: 5px;
}

.place-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
}

.place-leafs {
  position: absolute;
  z-index: -10;
  width: 200px;
  left: 0;
  rotate: 40deg;
}

.dress-colors div {
  width: 40px;
  height: 40px;
  border-radius: 20px;
}

.dress-color1 {
  background: #80655d;
}

.dress-color2 {
  background: #565953;
}

.dress-color3 {
  background: #835d1f;
}

.dress-color4 {
  background: #7d3516;
}

.dress-color5 {
  background: #b09e7f;
}

.dress-color6 {
  background: #494425;
}

.dress-colors {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-column-gap: 10px;
     -moz-column-gap: 10px;
          column-gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.form-wrapper p {
  text-align: start;
  padding: 0;
  margin-block: 20px;
}

.form-wrapper {
  padding-inline: 20px;
  position: relative;
}

.form-wrapper input {
  margin-bottom: 10px;
  border: none;
  -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  background-color: #e0d8d5;
  padding: 5px 8px;
  min-width: 350px;
  max-width: 600px;
  font-size: 1.2rem;
  border-radius: 5px;
}

.form-btn {
  display: block;
  margin-top: 20px;
  background-color: #80655d;
  color: white;
  padding: 8px 15px;
  font-size: inherit;
  border-radius: 5px;
  -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.form-leaf {
  position: absolute;
  z-index: -10;
  width: 150px;
  right: -2rem;
  bottom: -2rem;
}

/* ============  TIMER ============*/
.timer-container {
  position: relative;
}

.count-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 5px 30px;
  margin-bottom: 25px;
  color: black;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.big-text {
  font-size: 1.5rem;
}

.count-el span {
  font-size: 1.5rem;
}

/* ========== PHOTOGRAPHER =========== */
.photographer-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}

.photo-link {
  color: white;
  background-color: #80655d;
  -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
          box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  padding: 8px 15px;
  font-size: 1.2rem;
  border-radius: 5px;
}

.hashtag-self {
  color: #80655d;
  font-size: 30px;
}

.hashtag-container {
  position: relative;
}

.hashtag-leafs {
  position: absolute;
  z-index: -10;
  width: 200px;
  rotate: 30deg;
  left: -3rem;
}

.cont-container {
  position: relative;
  margin-top: 80px;
}

.cont-groom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 20px;
}

.cont-groom p {
  margin: 0;
}

.cont-bride {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 20px;
}

.cont-bride p {
  margin: 0;
}

.cont-icon {
  width: 40px;
}

.cont-line {
  width: 300px;
  -o-object-fit: contain;
     object-fit: contain;
  position: absolute;
  right: 0;
  left: 0;
  margin: 0 auto;
  top: -4rem;
}

.cont-cloud {
  position: absolute;
  z-index: -10;
  width: 400px;
}

.cont-leaf {
  position: absolute;
  z-index: -10;
  width: 150px;
  bottom: -5rem;
  rotate: -60deg;
  right: -2rem;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  -ms-scroll-chaining: none;
      overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}