@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&family=Montserrat:wght@200;300;400;500;600;800&display=swap');

@font-face {
  font-family: "Forum";
  src: url("../fonts/Forum/moontime-regular.ttf");
}

head,
body {
  min-height: 100%;
  background-color: #f3f5f7;
  font-family: 'Montserrat', sans-serif;
}

head.body--form,
body.body--form {
  background-image: url("../assets/form1.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left bottom;
}

@media screen and (max-width: 768px) {

  head.body--form,
  body.body--form {
    background-image: url("../assets/form.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 17% 50%;
  }
}

.main-names h1 {
  font-family: "Forum";
  font-size: 130px;
  font-weight: 400;
  margin: 0 auto;
  width: 100%;

}

@media screen and (max-width: 768px) {
  .main-names h1 {
    font-family: "Forum";
    font-size: 65px;
    font-weight: 400;
    margin: 0;

  }
}

.mon {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 55px;
}

head.body--invitation,
body.body--invitation {
  background-image: url("../assets/form1.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
}

@media screen and (max-width: 768px) {

  head.body--invitation,
  body.body--invitation {
    background-image: url("../assets/form.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 17% 50%;
  }
}

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

.wrapper {
  padding: 32px;
  min-height: 100%;
  width: 100%;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .wrapper {
    padding: 16px;
  }
}

.form {
  text-align: center;
  display: inline-block;
  margin: 0 auto;
  width: auto;
  background-color: transparent;
}

.form .form__title {
  margin-bottom: 48px;
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  margin-top: 0;
  font-weight: 400;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
  .form .form__title {
    font-size: 25px;
  }
}

@media screen and (max-width: 768px) {
  .form {
    padding: 126px 0 18px 0;
    width: 100%;
    max-width: 400px;
  }
}

.input-wrapper {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  position: relative;
  padding: 0;
  border: none;
  overflow: visible;
  background-color: transparent;
  margin: 25px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

@media screen and (max-width: 768px) {
  .input-wrapper {
    margin-bottom: 42px;
  }
}

.input-wrapper input {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 45%;
  padding: 12px 10px 8px;
  border: none;
  text-align: center;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
  border-bottom: 1px solid #000000;
  font-size: 16px;
  outline: none;
}

@media screen and (max-width: 768px) {
  .input-wrapper input {
    font-size: 16px;
  }
}

.input-wrapper input::-webkit-input-placeholder {
  -webkit-transition: color 300ms ease;
  transition: color 300ms ease;
}

.input-wrapper input:not(:focus)::-webkit-input-placeholder {
  color: grey;
}

.input-wrapper input:focus~hr {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  visibility: visible;
}

.input-wrapper label {
  font-size: 18px;
  font-weight: 400;
  color: #231f20;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .input-wrapper label {
    font-size: 16px;
  }
}

.input-wrapper input:focus~label,
.input-wrapper input:not(:placeholder-shown)~label {
  -webkit-transform: scale(0.6);
  transform: scale(0.6);
}

.button-wrapper {
  position: relative;
  padding-top: 25px;
  text-align: center;
}



button,
.button {
  all: unset;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  background-color: #566051;
  font-size: 22px;
  color: #fff;
  padding: 8px 28px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 30px auto;
}

@media screen and (max-width: 768px) {

  button,
  .button {
    font-size: 16px;
    padding: 6px 28px;
  }
}

button:disabled,
.button:disabled {
  background-color: #56605175;
}

.radio-wrapper {
  z-index: 0;
  position: relative;
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  color: #231f20;
  font-size: 18px;
  line-height: 2.1;
}

@media screen and (max-width: 768px) {
  .radio-wrapper {
    font-size: 16px;
  }
}

.radio-wrapper input {
  display: none;
}

.radio-wrapper span {
  display: inline-block;
  width: 100%;
  font-weight: 400;
  font-size: 18px;
  cursor: pointer;
}

.radio-wrapper span::before {
  content: "";
  display: inline-block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 10px 10px 0px 0;
  border: solid 1px;
  border-color: #000000;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  vertical-align: top;
  -webkit-transition: border-color 0.2s;
  transition: border-color 0.2s;
}

.radio-wrapper span::after {
  content: "";
  display: block;
  position: absolute;
  top: 8px;
  left: -2px;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background-color: #000000;
  -webkit-transform: translate(5px, 5px) scale(0);
  transform: translate(5px, 5px) scale(0);
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}

.radio-wrapper input:checked {
  background-color: #000000;
}

.radio-wrapper input:checked+span::before {
  border-color: #000000;
}

.radio-wrapper input:checked+span::after {
  -webkit-transform: translate(5px, 5px) scale(1);
  transform: translate(5px, 5px) scale(1);
}

.radio-wrapper input {
  opacity: 0.04;
}

.radio-wrapper input:focus {
  opacity: 0.12;
}

.radio-wrapper input:focus {
  opacity: 0.16;
}

.radio-wrapper input:active {
  opacity: 1;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: opacity 0s, -webkit-transform 0s;
  transition: opacity 0s, -webkit-transform 0s;
  transition: transform 0s, opacity 0s;
  transition: transform 0s, opacity 0s, -webkit-transform 0s;
}

.radio-wrapper input:active+span::before {
  border-color: #c38567;
}

.radio-wrapper input:disabled {
  opacity: 0;
}

.radio-wrapper input:disabled+span {
  color: #c38567;
  cursor: initial;
}

.radio-wrapper input:disabled+span::before {
  border-color: currentColor;
}

.radio-wrapper input:disabled+span::after {
  background-color: currentColor;
}

/* select starting stylings ------------------------------*/
.companion {
  margin-top: 24px;
}

.select {
  cursor: pointer;
  margin-top: 24px;
  font-family: 'Montserrat', sans-serif;

  font-weight: 300;
  width: 100%;
  position: relative;
}

@media screen and (max-width: 768px) {
  .select {
    margin-top: 42px;
  }
}

.select-text {
  position: relative;
  font-family: inherit;
  background-color: transparent;
  padding: 12px 10px 8px;
  cursor: pointer;
  font-size: 18px;
  width: 100%;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #000000;
}

@media screen and (max-width: 768px) {
  .select-text {
    font-size: 16px;
  }
}

/* Remove focus */
.select-text:focus {
  outline: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
}

/* Use custom arrow */
.select .select-text {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
}

.select:after {
  position: absolute;
  top: 18px;
  right: 10px;
  /* Styling the down arrow */
  width: 0;
  height: 0;
  padding: 0;
  content: "";
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #000000;
  pointer-events: none;
}

/* LABEL ======================================= */
.select-label {
  color: #231f20;
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 10px;
  -webkit-transition: 0.2s ease all;
  transition: 0.2s ease all;
  -webkit-transform-origin: 0 -150%;
  transform-origin: 0 -150%;
}

@media screen and (max-width: 768px) {
  .select-label {
    font-size: 16px;
  }
}

/* active state */
.select-text:focus~.select-label,
.select-text[data-chosen="1"]~.select-label,
.select-text[data-chosen="2"]~.select-label,
.select-text[data-chosen="3"]~.select-label,
.select-text[data-chosen="4"]~.select-label {
  color: #000000;
  -webkit-transition: 0.2s ease all;
  transition: 0.2s ease all;
  -webkit-transform: scale(0.6);
  transform: scale(0.6);
}

/* BOTTOM BARS ================================= */
.select-bar {
  position: relative;
  display: block;
}

.select-bar:before,
.select-bar:after {
  content: "";
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #000000;
  -webkit-transition: 0.2s ease all;
  transition: 0.2s ease all;
}

.select-bar:before {
  left: 50%;
}

.select-bar:after {
  right: 50%;
}

/* active state */
.select-text:focus~.select-bar:before,
.select-text:focus~.select-bar:after {
  width: 50%;
}

/* HIGHLIGHTER ================================== */
.select-highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

.error-message {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 14px;
  left: 0;
  color: #FF5722;
  font-weight: 400;
}

.error-message.is-hidden {
  display: none;
}

.invitation-wrapper {
  min-height: 100%;
  text-align: center;
  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;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  font-size: 32px;
}

@media screen and (max-width: 768px) {
  .invitation-wrapper {
    font-size: 16px;
    min-height: 100%;
    text-align: center;
    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;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: center;
  }
}

.invitation-wrapper .names {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  margin-top: 0;
  font-weight: 400;
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .invitation-wrapper .names {
    font-size: 25px;
  }
}

.invitation-wrapper .invite {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 10px;
}

@media screen and (max-width: 768px) {
  .invitation-wrapper .invite {
    font-size: 12px;
    letter-spacing: 5px;
  }
}

.content {
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .content {
    width: 95%;
    margin: 0 auto;
  }
}

.invitation-wrapper .date {
  font-family: 'Montserrat', sans-serif;

}

.invitation-wrapper .date img {
  max-width: 500px;
  min-width: 333px;
  margin: 29px auto;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .invitation-wrapper .date img {
    max-width: 500px;
    min-width: 333px;
    margin: 29px auto;
    width: 77%;
  }
}

.invitation-wrapper .location1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 10px;
}

@media screen and (max-width: 768px) {
  .invitation-wrapper .location1 {
    font-size: 12px;
    letter-spacing: 5px;
  }
}

.invitation-wrapper .location2 {
  margin-top: 0;
  font-family: 'Montserrat', sans-serif;

}

.invitation-wrapper .time {
  font-family: 'Montserrat', sans-serif;

}

.invitation-wrapper .button {
  display: inline-block;
}

.ques {
  margin: 27px auto;
}

.flex-d {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 12px;
}

/*# sourceMappingURL=styles.css.map */