@charset "UTF-8";
@font-face {
  font-family: "Nefelibata";
  font-display: swap;
  src: url("../fonts/Nefelibata-BrushCanvas.woff2") format("woff2"), url("../fonts/Nefelibata-BrushCanvas.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy";
  font-display: swap;
  src: url("../fonts/Gilroy-Light.woff2") format("woff2"), url("../fonts/Gilroy-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "icons";
  font-display: swap;
  src: url("../fonts/icons.woff2") format("woff2"), url("../fonts/icons.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
/*NULL==============================================*/
* {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

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

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

html {
  font-size: 18px;
}

html,
body {
  height: 100%;
  min-width: 320;
}

body {
  line-height: 1;
  font-family: "Gilroy";
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

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

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

button {
  cursor: pointer;
  background-color: inherit;
}

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

a,
a:visited {
  text-decoration: none;
  color: #000;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

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

/*stile==============================*/
body {
  overflow-x: hidden;
  color: #000;
  font-family: "Gilroy";
  font-weight: 400px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

body._lock {
  overflow: hidden;
}

.wrapper {
  width: 100%;
  overflow: hidden;
  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;
}

/*FORMS===================================*/
.form * {
  outline: none;
}

.form-input {
  margin: 20px 0px 20px 0px;
  padding: 5px 0px 5px 0px;
  text-align: center;
  display: block;
  margin: 10px 0;
  width: 100%;
  border: 1px solid #dddddd;
  border-radius: 10px;
  padding: 10px;
  resize: vertical;
}

.form-input._error {
  -webkit-box-shadow: 0 0 15px red;
  box-shadow: 0 0 15px red;
}

.form__body {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.form__body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 51, 51, 0.9) url("../img/loading.gif") center/50px no-repeat;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.form__body._sending::after {
  opacity: 1;
  visibility: visible;
}

.btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/*popup==========================*/
.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-transition: all 0.8s ease 0s;
  -o-transition: all 0.8s ease 0s;
  transition: all 0.8s ease 0s;
  z-index: 25;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.popup__goodbye {
  height: 300px;
  color: #fff;
  background: #000;
  padding: 30px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 15px;
}

.popup.open {
  opacity: 1;
  visibility: visible;
}

.popup__area {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.popup__body {
  min-height: 100%;
  width: 50%;
  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;
  padding: 30px 10px;
  -webkit-transition: all 0.8s ease 0s;
  -o-transition: all 0.8s ease 0s;
  transition: all 0.8s ease 0s;
}

@media (max-width: 767.98px) {
  .popup__body {
    width: 75%;
  }
}
.popup__content {
  color: #000;
  width: 100%;
  height: 80%;
  position: relative;
  -webkit-transition: all 0.8s ease 0s;
  -o-transition: all 0.8s ease 0s;
  transition: all 0.8s ease 0s;
  opacity: 0;
  -webkit-transform: perspective(600px) translate(0px, -100%) rotateX(45deg);
  transform: perspective(600px) translate(0px, -100%) rotateX(45deg);
}

.popup__content_image {
  padding: 0;
}

.popup__image img {
  max-width: 100%;
  vertical-align: top;
}

.popup__close {
  width: 45px;
  height: 45px;
  position: absolute;
  top: -40px;
  right: -40px;
  cursor: pointer;
  z-index: 30;
  background: url("../img/icons/close.svg") center no-repeat;
}

.popup__title {
  font-size: 40px;
  margin: 0px 0px 1em 0px;
}

.popup.open .popup__content {
  -webkit-transform: perspective(600px) translate(0px, 0%) rotateX(0deg);
  transform: perspective(600px) translate(0px, 0%) rotateX(0deg);
  opacity: 1;
}

/*=====================================*/
.button {
  background-color: №fff;
  height: 60px;
  width: 200px;
  border-radius: 8px;
  font-size: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 15px 0px 15px 0px;
  padding: 0px 10px 0px 10px;
  border: 1px solid #09a66d;
  background-color: #09a66d;
  font-family: "Gilroy";
  font-weight: 400px;
}

.button:hover {
  border: 1px solid #09a66d;
  background-color: inherit;
  -webkit-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

.button:hover p {
  color: #fff;
  -webkit-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

h1 {
  font-family: "Nefelibata";
  font-size: 150px;
  color: #fff;
  text-align: center;
}

h2 {
  font-size: 40px;
  font-weight: 500;
  font-family: "Gilroy";
  padding-top: 10px;
}

h3 {
  font-size: 16px;
  font-weight: 700;
  color: #616161;
}

p {
  font-size: 18px;
  color: #000;
  line-height: 28px;
  font-weight: 400;
  padding: 10px 0px 10px 0px;
}

.wedding {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  padding: 40px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -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: fixed;
}

.wedding__content {
  text-align: center;
  overflow: hidden;
  color: inherit;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -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;
  height: 100%;
  width: 100%;
  position: relative;
}

.wedding__img {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-height: 100%;
  width: 100%;
  -webkit-filter: brightness(0.5);
  filter: brightness(0.5);
}

.wedding__img img {
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

.wedding__title {
  margin-bottom: 50px;
}

.wedding__text {
  border-top: #fff solid 1px;
  -webkit-box-flex: 0;
  -ms-flex: 0 1 50%;
  flex: 0 1 50%;
  text-align: center;
  color: #fff;
}

.wedding__question {
  margin-top: 20px;
  border-top: #fff solid 1px;
  -webkit-box-flex: 0;
  -ms-flex: 0 1 50%;
  flex: 0 1 50%;
  text-align: center;
  color: #fff;
}

.wedding__question h2 {
  font-size: 40px;
}

.wedding__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}

.wedding__buttons .button {
  margin: 0px 50px 0px 50px;
}

.wedding__buttons .button p {
  color: #fff;
  font-size: 18px;
}

@media (max-width: 1700px) {
  .button {
    height: calc(40px + 20 * (100vw - 320px) / 1380);
  }
  .button {
    width: calc(150px + 50 * (100vw - 320px) / 1380);
  }
  h1 {
    font-size: calc(70px + 80 * (100vw - 320px) / 1380);
  }
  h2 {
    font-size: calc(24px + 16 * (100vw - 320px) / 1380);
  }
  p {
    font-size: calc(14px + 4 * (100vw - 320px) / 1380);
  }
  .wedding__question h2 {
    font-size: calc(30px + 10 * (100vw - 320px) / 1380);
  }
}
@media (max-width: 767.98px) {
  p {
    padding: 0px 0px 0px 0px;
    line-height: 30px;
  }
  .wedding {
    padding: 20px;
  }
  .wedding__buttons {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .wedding__buttons .button {
    margin: 15px 0px 15px 0px;
    padding: 5px 0px 5px 0px;
  }
}
@media (max-width: 767.98px) and (max-width: 1700px) {
  p {
    line-height: calc(20px + 10 * (100vw - 320px) / 1380);
  }
}