@import url("https://fonts.googleapis.com/css2?family=Cinzel&family=Amiri&display=swap");
@font-face {
  font-family: 'Snell Roundhand';
  src: URL("../assets/SnellRoundhand-01.ttf") format("truetype");
}

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

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

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

*,
: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 {
  margin-top: 10vh;
  text-align: left;
  display: inline-block;
  padding: 56px;
  background-color: transparent;
}

.form .form__title {
  font-family: 'Snell Roundhand', cursive;
  font-size: 96px;
  margin-top: 0;
  font-weight: 400;
  margin-bottom: 48px;
}

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

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

.input-wrapper {
  font-family: 'Cinzel', serif;
  font-weight: 300;
  position: relative;
  padding: 0;
  border: none;
  overflow: visible;
  margin-bottom: 24px;
  background-color: transparent;
}

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

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

@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: transparent;
}

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

.input-wrapper label {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 18px;
  color: #231f20;
  -webkit-transform-origin: 0 -150%;
          transform-origin: 0 -150%;
  -webkit-transition: -webkit-transform 300ms ease;
  transition: -webkit-transform 300ms ease;
  transition: transform 300ms ease;
  transition: transform 300ms ease, -webkit-transform 300ms ease;
  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: 64px;
  text-align: center;
}

button,
.button {
  all: unset;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  background-color: #566051;
  font-size: 22px;
  color: #fff;
  padding: 8px 28px;
}

@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: 'Cinzel', serif;
  color: #231f20;
  font-size: 18px;
  line-height: 1.5;
}

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

.radio-wrapper input {
  display: none;
}

.radio-wrapper span {
  display: inline-block;
  width: 100%;
  cursor: pointer;
}

.radio-wrapper span::before {
  content: "";
  display: inline-block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 5px 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: 3px;
  left: -2px;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background-color: #c38567;
  -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: #c38567;
}

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

.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: 'Lusitana', 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: 36px;
  right: 0;
  left: 0;
  color: #566051;
  font-weight: 600;
}

.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;
  }
}

.invitation-wrapper .names {
  font-family: 'Snell Roundhand', cursive;
  font-size: 96px;
  margin-top: 0;
  font-weight: 400;
  margin-bottom: 48px;
}

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

.invitation-wrapper .date {
  font-family: 'Amiri', serif;
}

.invitation-wrapper .location1 {
  font-family: 'Amiri', serif;
  margin-bottom: 0;
}

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

.invitation-wrapper .time {
  font-family: 'Amiri', serif;
}

.invitation-wrapper .button {
  display: inline-block;
}
/*# sourceMappingURL=styles.css.map */