@charset "UTF-8";
/* Reset and base styles  */
@import url("https://fonts.googleapis.com/css2?family=Bad+Script&family=Great+Vibes&family=Playfair+Display+SC&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+SC&display=swap");
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

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

/* Links */
a, a:link, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */
aside, nav, footer, header, section, main {
  display: block;
}

h1, h2, h3, h4, h5, h6, p {
  font-size: inherit;
  font-weight: inherit;
}

ul, ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img, svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */
input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

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

textarea {
  resize: vertical;
}

button, input[type=submit] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

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

label {
  cursor: pointer;
}

legend {
  display: block;
}

input[type=file] {
  max-width: 100%;
}

@font-face {
  font-family: Miama Nueva Medium;
  src: url(../../fonts/Miama_Nueva.ttf);
  font-style: normal;
}
@font-face {
  font-family: Snell Roundhand;
  src: url(../../fonts/Snell_Roundhand.ttf);
  font-style: normal;
}
body h1 {
  font-size: 7rem;
  font-family: "Snell Roundhand", serif;
}
body {
  scroll-behavior: smooth;
}
@media screen and (max-width: 500px) {
  body h1 {
    font-size: 4rem;
  }
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}
@media screen and (max-width: 500px) {
  .container {
    max-width: 300px;
    margin: 0 auto;
    padding: 0 5px;
  }
}

.none {
  display: none !important;
}

/* САЙТ ИЗНАЧАЛЬНО СКРЫТ */
.site {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 1s ease, filter 1s ease;
}

/* появление */
.site.show {
  opacity: 1;
  filter: blur(0);
}

/* базовое состояние (до появления) */
.autoShow,
.autoRotate,
.fadeUp {
  opacity: 0;
  transform: translateY(30px);
}

/* когда элемент появился */
.show.autoShow {
  animation: text-appear 0.8s ease forwards;
}

.show.autoRotate {
  animation: autoRotateAnimation 1s ease forwards;
}

.show.fadeUp {
  animation: fadeUpAnimation 0.8s ease forwards;
}

/* анимации */
@keyframes text-appear {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes autoRotateAnimation {
  from {
    opacity: 0;
    transform: rotate(0deg);
  }
  to {
    opacity: 1;
    transform: rotate(90deg);
  }
}
@keyframes fadeUpAnimation {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #3e513c;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

/* конверт */
#envelope {
  width: 300px;
  cursor: pointer;
  animation: envelopeBounce 1.2s infinite ease-in-out;
  transition: opacity 0.5s ease, transform 0.6s ease;
}

/* подпрыгивание */
@keyframes envelopeBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
/* исчезновение */
#envelope.hide {
  opacity: 0;
  transform: translateY(-120%) scale(0.9);
}

/* обертка */
.intro__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* текст */
.intro__text {
  color: #fff;
  font-size: 2rem;
  font-family: "Great Vibes", cursive;
  letter-spacing: 1px;
  opacity: 0.8;
  animation: textFade 2s ease-in-out infinite;
}

/* лёгкое дыхание текста */
@keyframes textFade {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
header {
  background-color: #3e513c;
}

.header__couples {
  display: flex;
  color: #f3dbb9;
  gap: 10rem;
  line-height: 8rem;
  align-items: center;
  justify-content: center;
}
.header__couples img {
  width: 20rem;
  rotate: 270deg;
  top: 0rem;
}

.header__info {
  padding: 0 5rem;
  font-family: "Cormorant SC", serif;
  font-size: 1.4rem;
}
.header__info ul {
  display: flex;
  align-items: center;
  color: #f3dbb9;
}
.header__info li {
  padding-left: 15px;
  border-left: 1px solid #f3dbb9; /* Полоса слева */
}
.header__info li:first-child {
  padding-right: 15px;
  border-left: none;
}
.header__info p {
  padding: 1.25rem 5rem;
  color: #ffffff;
}

.story {
  background-color: #3e513c;
  padding: 5rem 0;
}

.story__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.story__wrapper img {
  width: 10rem;
  padding-bottom: 2.5rem;
  rotate: -90deg;
}
.story__wrapper h1 {
  color: #f3dbb9;
}

.story__text {
  font-family: "Bad Script", cursive;
  font-size: 21px;
  color: #ffffff;
  padding-top: 2.5rem;
  margin: 0 12.5rem;
  text-align: center;
}

.schedule {
  padding: 5rem 0;
  background-color: #f3dbb9;
  color: #3e513c;
}
.schedule h1 {
  text-decoration: underline;
  text-decoration-thickness: 0.1rem;
  text-underline-offset: 1rem;
  text-decoration-color: #3e513c;
}
.schedule p, .schedule ul {
  font-family: "Cormorant SC", serif;
  font-size: 1.5rem;
}

.schedule__list {
  display: flex;
  flex-direction: row;
  padding-top: 2rem;
  margin-left: auto;
  width: -moz-fit-content;
  width: fit-content;
}
.schedule__list li {
  border-bottom: 0.15rem solid #3e513c;
  padding-right: 2rem;
  padding: 1.25rem 2.5rem;
  justify-content: center;
}
.schedule__list li:first-child {
  border-top: 0.15rem solid #3e513c;
}

.your_eyes {
  background-color: #3e513c;
}

.your_eyes__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5rem 0;
}
.your_eyes__wrapper h1, .your_eyes__wrapper h2 {
  color: #f3dbb9;
  font-family: "Snell Roundhand", serif;
  font-size: 2.5rem;
  padding-top: 5rem;
}
.your_eyes__wrapper h1 {
  font-size: 5rem;
}
.your_eyes__wrapper p {
  color: #ffffff;
  font-family: "Bad Script", cursive;
  font-size: 1.5rem;
  margin-top: 2rem;
  width: 50%;
  text-align: center;
}

.your_eyes__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
}
.your_eyes__qr img {
  width: 200px;
  height: 200px;
}
.your_eyes__qr a {
  color: #f3dbb9;
  font-family: "Bad Script", cursive;
  font-size: 1.2rem;
  margin-top: 1rem;
}

.dress_code {
  padding: 5rem 0;
  background-color: #ffffff;
  color: #3e513c;
}
.dress_code p {
  font-family: "Bad Script", cursive;
  font-size: 1.5rem;
  margin-top: 2rem;
  width: 50%;
  text-align: center;
}

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

.dress_code__items {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding-top: 5rem;
}

.dress_code__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5rem;
}

.dress_code__name {
  transform: rotate(-90deg);
  font-family: "Cormorant SC", serif;
  font-size: 1.2rem;
  color: #3e513c;
  white-space: nowrap;
}

.dress_code__color {
  width: 128px;
  height: 128px;
  border-radius: 50%;
}

.dress_code__item:nth-child(1) .dress_code__color {
  background-color: #5c4033;
}

.dress_code__item:nth-child(2) .dress_code__color {
  background-color: #5d6744;
}

.dress_code__item:nth-child(3) .dress_code__color {
  background-color: #b0c49e;
}

.dress_code__item:nth-child(4) .dress_code__color {
  background-color: #e8d6bc;
}

@media only screen and (max-width: 768px) {
  header {
    padding: 1rem 0;
  }
  header h1 {
    font-size: 4rem;
  }
  .header__couples {
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    line-height: 4rem;
    margin: 0 0;
  }
  .header__couples .header__couples-names {
    text-align: center;
  }
  .header__couples .header__logo {
    order: -1;
  }
  .header__couples .header__logo img {
    width: 8rem;
    rotate: 270deg;
  }
  .header__info {
    padding: 1rem;
    text-align: center;
  }
  .header__info ul {
    flex-direction: column;
    gap: 0.5rem;
  }
  .header__info li {
    border-left: none;
    border-bottom: 1px solid #f3dbb9;
    padding: 0.5rem 0;
  }
  .header__info li:first-child {
    border-bottom: 1px solid #f3dbb9;
    border-left: none;
  }
}
@media only screen and (max-width: 768px) {
  .header__info {
    padding: 1.5rem;
    text-align: center;
  }
  .header__info ul {
    gap: 0.5rem;
  }
  .header__info ul li {
    font-size: 1rem;
  }
  .header__info li {
    border-left: none;
    border-bottom: 1px solid #f3dbb9;
    padding: 0.5rem 0;
  }
  .header__info li:first-child {
    border-bottom: 1px solid #f3dbb9;
    border-left: none;
  }
  .header__info p {
    padding: 0 0;
  }
}
@media only screen and (max-width: 768px) {
  .story {
    padding: 3rem 0;
  }
  .story__wrapper {
    flex-direction: column;
    text-align: center;
  }
  .story__wrapper img {
    width: 8rem;
    padding-bottom: 1rem;
  }
  .story__title {
    font-size: 4rem;
    margin-bottom: 1rem;
  }
  .story__text {
    font-size: 16px;
    margin: 0 1rem;
    text-align: center;
  }
}
@media only screen and (max-width: 768px) {
  .schedule {
    padding: 3rem 0;
  }
  .schedule p, .schedule ul {
    font-size: 1rem;
  }
  .schedule__wrapper {
    text-align: center;
    padding-bottom: 4rem;
  }
  .schedule__wrapper h1 {
    display: flex;
    margin-bottom: 2rem;
    text-align: center;
  }
  .schedule__list {
    text-align: center;
    gap: 0;
    margin: 0 auto;
  }
  .schedule__list li {
    border-bottom: 0.15rem solid #3e513c;
    width: 100%;
    padding: 1rem 1rem;
  }
  .schedule__list li li:first-child {
    border-top: 0.15rem solid #3e513c;
  }
}
@media only screen and (max-width: 768px) {
  .your_eyes {
    padding: 3rem 0;
  }
  .your_eyes__wrapper {
    text-align: center;
    padding: 3rem 1rem;
  }
  .your_eyes__wrapper h1,
  .your_eyes__wrapper h2 {
    font-size: 3rem;
  }
  .your_eyes__wrapper h2 {
    font-size: 1.5rem;
    padding-top: 2rem;
  }
  .your_eyes__wrapper p {
    font-size: 1rem;
    margin-top: 1rem;
    width: 100%;
  }
  .your_eyes__qr {
    margin-top: 2rem;
  }
  .your_eyes__qr img {
    width: 150px;
    height: 150px;
  }
  .your_eyes__qr a {
    font-size: 1rem;
    margin-top: 0.5rem;
  }
}
@media only screen and (max-width: 768px) {
  .dress_code {
    padding: 5rem 0;
    background-color: #ffffff;
    color: #3e513c;
  }
  .dress_code p {
    font-family: "Bad Script", cursive;
    font-size: 1rem;
    margin: 1.5rem auto 0;
    width: 85%;
    text-align: center;
  }
  .dress_code__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .dress_code__items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding-top: 3rem;
  }
  .dress_code__item {
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .dress_code__name {
    transform: none;
    font-family: "Cormorant SC", serif;
    font-size: 0.9rem;
    color: #3e513c;
    white-space: normal;
    text-align: center;
    width: 100%;
  }
  .dress_code__color {
    width: 80px;
    height: 80px;
    border-radius: 50%;
  }
  .dress_code__item:nth-child(1) .dress_code__color {
    background-color: #5c4033;
  }
  .dress_code__item:nth-child(2) .dress_code__color {
    background-color: #5d6744;
  }
  .dress_code__item:nth-child(3) .dress_code__color {
    background-color: #b0c49e;
  }
  .dress_code__item:nth-child(4) .dress_code__color {
    background-color: #e8d6bc;
  }
}/*# sourceMappingURL=main.css.map */