/*
  This mixin can be used to set the object-fit:
  @include object-fit(contain);
  or object-fit and object-position:
  @include object-fit(cover, top);
*/
@font-face {
  font-family: "Calibre";
  src: url("../fonts/CalibreLight.woff") format("woff");
}

@font-face {
  font-family: "Ogg";
  src: url("../fonts/Ogg-Roman.otf") format("opentype");
}

@font-face {
  font-family: "Ogg";
  font-style: Italic;
  src: url("../fonts/Ogg-Italic.ttf") format("truetype");
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  overflow-x: hidden;
}

@media only screen and (max-width: 991px) {
  html {
    font-size: 58%;
  }
}

@media only screen and (max-width: 767px) {
  html {
    font-size: 54%;
  }
}

@media only screen and (max-width: 575px) {
  html {
    font-size: 50%;
  }
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: inherit;
}

*:focus {
  outline: none;
}

a,
a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

button {
  background-color: transparent;
}

button:not(:disabled) {
  cursor: pointer;
}

button:focus {
  outline: none;
}

body {
  background: #e8e4de; //
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: "Calibre", sans-serif;
  font-weight: normal;
  font-style: normal;
  line-height: normal;
  min-width: 320px;
}

body::-webkit-scrollbar {
  -webkit-appearance: none;
}

body::-webkit-scrollbar:horizontal {
  height: 11px;
}

body::-webkit-scrollbar:vertical {
  width: 11px;
}

body::-webkit-scrollbar-thumb {
  background-color: #a8a8a8;
  border: 2px solid #fff;
  border-radius: 8px;
}

input,
textarea {
  box-shadow: none;
}

::-webkit-input-placeholder {
  opacity: 1;
  color: #777777;
  line-height: inherit;
}

::-moz-placeholder {
  opacity: 1;
  color: #777777;
  line-height: inherit;
}

:-ms-input-placeholder {
  opacity: 1;
  color: #777777;
  line-height: inherit;
}

::-ms-input-placeholder {
  opacity: 1;
  color: #777777;
  line-height: inherit;
}

::placeholder {
  opacity: 1;
  color: #777777;
  line-height: inherit;
}

:-ms-input-placeholder {
  color: #777777;
  line-height: inherit;
}

::ms-input-placeholder {
  color: #777777;
  line-height: inherit;
}

.container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

@media only screen and (min-width: 1200px) {
  .container {
    margin: 0 auto;
    padding-left: 38px;
    padding-right: 38px;
  }
}

@media (min-width: 1921px) {
  .container {
    width: 1844px;
    margin: 0 auto;
    padding-left: 38px;
    padding-right: 38px;
  }
}

.container2 {
  width: 100%;
}

@media (min-width: 1921px) {
  .container2 {
    width: 1844px;
    margin: 0 auto;
  }
}

.btn {
  position: relative;
  width: 19.9rem;
  background: transparent;
  padding: 3.3rem 6.8rem;
  border: solid 2px #838b7c;
  font-family: "Calibre", sans-serif;
  font-size: 2.4rem;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: 8.6px;
  color: #394831;
  text-transform: uppercase;
  text-align: center;
  transition: 0.5s;
}

.btn:before {
  position: absolute;
  content: '';
  width: 9rem;
  height: 4rem;
  background: #e8e4de;
  left: -3px;
  bottom: -3px;
  transition: 1.5s;
}

.btn:after {
  position: absolute;
  content: '';
  width: 7rem;
  height: 6rem;
  background: #e8e4de;
  right: -5px;
  top: -5px;
  transition: 1.5s;
}

.btn:hover:after,
.btn:hover:before {
  width: 0;
  height: 0;
}

.header-block {
  position: relative;
  z-index: 10;
}

.header-block__wrapper {
  display: flex;
  justify-content: space-between;
  padding: 3.4rem 0 0 0;
}

@media only screen and (max-width: 767px) {
  .header-block__wrapper {
    flex-direction: column-reverse;
    align-items: center;
  }
}

.menu ul {
  display: flex;
}

@media only screen and (max-width: 767px) {
  .menu ul {
    justify-content: center;
  }
}

.menu li,
.menu a {
  position: relative;
  font-family: "Calibre", sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  color: #394831;
  text-transform: uppercase;
}

@media only screen and (max-width: 767px) {
  .menu li,
  .menu a {
    margin: 2rem 0;
    font-size: 2rem;
  }
}

.menu li:first-child {
  margin-right: 5.95rem;
}

.menu li:last-child {
  margin-left: 4.3rem;
}

.header-block__logo {
  max-width: 27.4rem;
}

.menu li:after {
  background-color: #394831;
  display: block;
  content: "";
  height: 2px;
  width: 0%;
  -webkit-transition: width .3s ease-in-out;
  -moz--transition: width .3s ease-in-out;
  transition: width .3s ease-in-out;
}

.menu li:hover:after,
.menu li:focus:after {
  width: 100%;
}

.hero-block__wrapper {
  margin-top: -3.6rem;
  position: relative;
  display: flex;
  justify-content: center;
}

@media (max-width: 1440px) {
  .hero-block__wrapper {
    margin-top: 5rem;
  }
}

.hero-block__title {
  position: absolute;
  top: calc(50% - 94px);
  text-align: center;
  width: 135.3rem;
  z-index: 10;
  padding: 0 5rem;
}

@media only screen and (max-width: 767px) {
  .hero-block__title {
    padding: 0;
    width: 35rem;
    top: calc(50% - 40px);
  }
}

.hero-block__image {
  max-width: 59.4rem;
}

@media (max-width: 1440px) {
  .hero-block__image {
    max-width: 45rem;
  }
}

.hero-block__image img {
  -o-object-fit: contain;
  object-fit: contain;
}

.rotate-date,
.rotate-address {
  position: fixed;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  font-family: "Calibre", sans-serif;
  font-size: 2.4rem;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #394831;
  text-transform: uppercase;
}

@media only screen and (max-width: 1199px) {
  .rotate-date,
  .rotate-address {
    display: none;
  }
}

.rotate-date {
  bottom: 15rem;
  left: 0;
}

.rotate-address {
  bottom: 15rem;
  right: 0;
}

.date-block__title {
  font-family: "Calibre", sans-serif;
  font-size: 3rem;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #9a9e90;
  text-transform: uppercase;
}

.date-block hr {
  margin: 3.95rem 0;
  width: 3rem;
  height: 1px;
  background-color: #9a9e90;
}

@media (max-width: 1680px) {
  .date-block hr {
    margin: 1.5rem 0;
  }
}

.date-block__text {
  font-family: "Ogg", sans-serif;
  font-size: 3.4rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.26;
  letter-spacing: normal;
  color: #0f120d;
}

.date-block:not(:last-child) {
  margin-bottom: 17rem;
}

@media (max-width: 1680px) {
  .date-block:not(:last-child) {
    margin-bottom: 5rem;
  }
}

.date-block:last-child {
  margin-bottom: 29.6rem;
}

@media (max-width: 1440px) {
  .date-block:last-child {
    margin-bottom: 10rem;
  }
}

.block-one {
  display: flex;
  margin-top: -28.7rem;
}

@media (max-width: 1680px) {
  .block-one {
    margin-top: -14.7rem;
    justify-content: space-between;
  }
}

@media only screen and (max-width: 1199px) {
  .block-one {
    flex-direction: column-reverse;
    align-items: center;
    margin-top: 10rem;
  }
}

@media (max-width: 1681px) {
  .block-one__right {
    margin-right: 3rem;
  }
}

@media only screen and (max-width: 1199px) {
  .block-one__right {
    margin-right: 0;
  }
}

.block-one__left {
  align-self: flex-end;
  margin-right: 12.7rem;
  flex-shrink: 0;
}

@media only screen and (max-width: 1199px) {
  .block-one__left {
    margin-top: 5rem;
    margin-right: 0;
  }
}

.block-one__image {
  max-width: 110rem;
}

@media (max-width: 1680px) {
  .block-one__image {
    max-width: 90rem;
  }
}

@media (max-width: 1440px) {
  .block-one__image {
    max-width: 75rem;
  }
}

@media only screen and (max-width: 1199px) {
  .block-one__image {
    max-width: 100%;
  }
}

.block-two {
  display: flex;
  justify-content: space-between;
  margin-top: -18.1rem;
}

@media (max-width: 1680px) {
  .block-two {
    margin-top: -5rem;
  }
}

@media only screen and (max-width: 1199px) {
  .block-two {
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
  }
}

.block-two__left {
  flex-shrink: 0;
  align-self: center;
  padding: 0 5rem;
  margin: 0 auto;
margin-left: 12.7rem;
}

@media only screen and (max-width: 767px) {
  .block-two__left {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
  }
}

.block-two__right {
  flex-shrink: 0;
}

@media only screen and (max-width: 1199px) {
  .block-two__right {
    margin-top: 5rem;
  }
}

.block-two__image {
  width: 100%;
}

@media (max-width: 1680px) {
  .block-two__image {
    max-width: 90rem;
  }
}

@media (max-width: 1440px) {
  .block-two__image {
    max-width: 70rem;
  }
}

@media only screen and (max-width: 1199px) {
  .block-two__image {
    max-width: 100%;
  }
}

.block-two--reverse {
  flex-direction: row-reverse;
}

@media (max-width: 1680px) {
  .block-two--reverse {
    margin-top: -5rem;
  }
}

@media only screen and (max-width: 1199px) {
  .block-two--reverse {
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
  }
}

.text-block__title {
  margin-bottom: 15px;
  font-family: "Ogg", sans-serif;
  font-size: 6.4rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: italic;
  line-height: normal;
  letter-spacing: normal;
  color: #9a9e90;
}

@media only screen and (max-width: 767px) {
  .text-block__title {
    text-align: center;
  }
}

.text-block__text, .text-block__list {
  font-family: "Ogg", sans-serif;
  font-size: 2.4rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.79;
  letter-spacing: normal;
  color: #0f120d;
  transition: 1s;
}

.text-block__text {
  margin-bottom: 2rem;
}

.text-block__list a {
  margin-bottom: 15px;
  padding-left: 5px;
  border-bottom: solid 2px rgba(154, 158, 144, 0.42);
}

@media only screen and (min-width: 1200px) {
  .text-block__list:hover a {
    margin-left: -5rem;
    margin-right: 5rem;
  }
}

.block-three {
  display: flex;
  margin-top: -63px;
}

@media only screen and (max-width: 1199px) {
  .block-three {
    flex-direction: column-reverse;
    margin-top: 5rem;
  }
}

.block-three__right {
  margin: 0 auto;
  align-self: center;
}

@media only screen and (max-width: 1199px) {
  .block-three__right {
    padding: 0 2rem;
  }
}

@media (max-width: 1440px) {
  .block-three__left {
    margin: 5rem auto 0;
  }
}

.block-three--reverse {
  display: flex;
  flex-direction: row-reverse;
}

@media only screen and (max-width: 1199px) {
  .block-three--reverse {
    flex-direction: column-reverse;
    margin-top: 5rem;
  }
}

.block-five {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  margin-top: -8rem;
  padding-left: 16.3rem;
  padding-right: 10rem;
}

@media (max-width: 1440px) {
  .block-five {
    margin-top: -5rem;
    padding-left: 8rem;
    padding-right: 6rem;
  }
}

@media only screen and (max-width: 1199px) {
  .block-five {
    flex-direction: column-reverse;
    margin-top: 5rem;
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

@media only screen and (max-width: 991px) {
  .block-five {
    padding-left: 0;
    padding-right: 0;
  }
}

.block-five__left {
  align-self: flex-end;
  margin-left: 12.7rem;
  flex-shrink: 0;
}

@media (max-width: 1440px) {
  .block-five__left {
    margin-left: 7rem;
  }
}

@media only screen and (max-width: 1199px) {
  .block-five__left {
    margin: 5rem auto 0;
  }
}

.block-five__image {
  max-width: 119.3rem;
}

@media (max-width: 1680px) {
  .block-five__image {
    max-width: 70rem;
  }
}

@media (max-width: 1440px) {
  .block-five__image {
    max-width: 55rem;
  }
}

@media only screen and (max-width: 1199px) {
  .block-five__image {
    max-width: 100%;
  }
}

.block-five__right {
  align-self: center;
}

.pay-btn {
  margin-top: 7rem;
  margin-bottom: 7rem;
  transition: 0.5s;
}

.block-registry {
  padding: 11.5rem 5rem 10rem 16.3rem;
  max-width: 140rem;
}

@media only screen and (max-width: 1199px) {
  .block-registry {
    padding: 5rem 2rem 5rem 2rem;
  }
}

.registry-btn {
  margin-top: 7rem;
  margin-bottom: 7rem;
  width: 35.0rem;
  transition: 1.5s;
}

@media only screen and (max-width: 1199px) {
  .registry-btn {
    width: auto;
  }
}

.registry-btn:before {
  width: 16rem;
  height: 4rem;
}

.registry-btn:after {
  width: 16rem;
  height: 3.5rem;
}

.registry-btn:hover:after,
.registry-btn:hover:before {
  width: 0;
  height: 0;
}

.footer-block {
  margin-top: 21.6rem;
  display: flex;
  justify-content: flex-end;
  padding-bottom: 15.9rem;
}

@media only screen and (max-width: 1199px) {
  .footer-block {
    margin-top: 15rem;
    flex-direction: column;
    align-items: center;
  }
}

.footer-block .date-block {
  margin-bottom: 0;
}

.footer-block .date-block:not(:last-child) {
  margin-right: 10rem;
}

@media only screen and (max-width: 1199px) {
  .footer-block .date-block:not(:last-child) {
    margin-bottom: 5rem;
    margin-right: 0;
  }
}

.footer-block .date-block:last-child {
  margin-right: 20rem;
}

@media (max-width: 1440px) {
  .footer-block .date-block:last-child {
    margin-right: 0;
  }
}

.gallery {
  margin: 0 auto;
  max-width: 2200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 15rem;
}

.gallery__title {
  text-align: center;
}

.gallery__item {
  background: transparent;
  width: 30rem;
  height: 30rem;
  margin: 1.5rem 1.5rem;
  overflow: hidden;
  text-align: center;
}

@media only screen and (max-width: 1199px) {
  .gallery__item {
    width: 15rem;
    height: 15rem;
  }
}

.gallery__item:hover img {
  height: 120%;
}

.gallery__item img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: 2s;
}

.img{
	max-width: 1000px;
	max-height: 1000px;
}

/*# sourceMappingURL=styles.css.map */