:root {
  --bg: #e2e2e2;
  --dim-grey: #066;
  --grey: #004040;
  --slate-grey: #066;
  --cover-back-1: #066;
  --cover-back-2: #004040db;
}

body {
  background-color: var(--bg);
  color: #333;
  letter-spacing: .6px;
  font-family: Commissioner, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}

.wrapper {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 40px 30px 30px;
  display: flex;
}

.button {
  z-index: 7;
  opacity: 1;
  color: var(--dim-grey);
  text-transform: uppercase;
  background-color: #fff;
  border: 2px solid #066;
  border-radius: 40px;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding: 6px 20px;
  font-family: Nourd, sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: color .2s, box-shadow .2s, background-color .2s;
  display: flex;
  box-shadow: 1px 1px 10px #706b5033;
}

.button:hover {
  box-shadow: 1px 1px 10px 0 var(--dim-grey);
  color: #fff;
  background-color: #066;
}

.anime {
  z-index: 3;
  display: none;
  position: fixed;
  inset: 0%;
}

.mobile-cover {
  z-index: 10;
  text-align: center;
  background-color: #fff;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: none;
  position: fixed;
  inset: 0%;
}

.text-field {
  border-style: solid;
  border-width: 1px 0 2px;
  border-color: transparent transparent var(--bg);
  color: var(--bg);
  background-color: #0000;
  min-height: 40px;
  margin-bottom: 20px;
  padding-left: 0;
}

.text-field:hover {
  border-bottom-color: #fff;
}

.text-field:active, .text-field:focus {
  color: #fff;
  border-width: 1px 1px 2px;
  border-color: #0000 #0000 #fff;
}

.text-field::placeholder {
  color: var(--bg);
}

.text-field.note {
  border-width: 2px;
  border-color: var(--bg);
  border-radius: 20px;
  min-height: 100px;
  padding: 15px;
}

.form-button {
  background-color: var(--bg);
  color: var(--grey);
  letter-spacing: 1px;
  border-radius: 30px;
  min-height: 40px;
  margin-top: 10px;
  padding-left: 25px;
  padding-right: 25px;
  font-size: 16px;
  font-weight: 500;
  transition: box-shadow .2s, background-color .2s;
  box-shadow: 1px 1px 6px #423e2a4d;
}

.form-button:hover {
  background-color: #fff;
  box-shadow: 1px 1px 8px #423e2a80;
}

.radio-button-field {
  background-color: var(--dim-grey);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50px;
  flex: 1;
  justify-content: flex-start;
  margin-bottom: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 38px;
  display: flex;
  position: relative;
}

.radio-button-field.middle {
  justify-content: flex-start;
  align-items: center;
  margin-left: 20px;
  margin-right: 20px;
  display: flex;
}

.radio-button-label {
  letter-spacing: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.radio-button {
  background-color: var(--slate-grey);
  width: 20px;
  height: 20px;
  margin-top: 10px;
  margin-left: 0;
  margin-right: 10px;
  position: absolute;
  inset: 0% auto auto 12px;
}

.div-block-6 {
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
}

.form-block {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
}

.form {
  flex-direction: column;
  align-items: center;
  width: 100%;
  display: flex;
}

.success-message {
  color: #fff;
  background-color: #0000;
  margin-bottom: 70px;
  padding-top: 40px;
}

.text-block {
  letter-spacing: 1px;
  margin-bottom: 35px;
  font-size: 18px;
  font-weight: 300;
}

.heading {
  color: var(--bg);
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 300;
}

.text-span-3 {
  font-size: 30px;
}

.save-the-date {
  z-index: 2;
  transform-origin: 50% 0;
  transform-style: preserve-3d;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  inset: 0%;
  transform: none;
}

.invite-upper-img {
  position: absolute;
  inset: 0% 0% auto;
}

.invite-bottom-img {
  position: absolute;
  inset: auto 0% 0%;
}

.frame {
  border: 2px solid #066;
  margin: 15px;
  position: absolute;
  inset: 0%;
}

.front-image-design {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background-image: url('../images/DanTze-Wedding-Invite.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  justify-content: center;
  align-items: center;
  margin: 20px;
  padding-bottom: 0;
  display: flex;
  position: absolute;
  inset: 0%;
  overflow: clip;
}

.invite {
  z-index: 1;
  background-color: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-bottom: 0;
  display: flex;
  position: relative;
  box-shadow: 1px 1px 5px #0000004d, 1px 1px 20px #0000001c;
}

.cover-button-wrap {
  z-index: 4;
  color: #066;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: absolute;
  inset: auto 0% 98px;
}

.cover-front-bg {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background-color: #fff;
  position: absolute;
  inset: 0%;
}

.cover-back-bg {
  background-image: linear-gradient(180deg, var(--cover-back-1) 44%, var(--cover-back-2));
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  justify-content: center;
  align-items: center;
  padding-top: 10%;
  position: absolute;
  inset: 0%;
  transform: rotateX(180deg)rotateY(0)rotateZ(0);
}

.invite-content {
  color: var(--grey);
  text-align: center;
  flex-direction: column;
  align-items: center;
  padding-top: 116px;
  padding-left: 30px;
  padding-right: 30px;
  display: flex;
  position: relative;
}

.invite-logo {
  width: 150px;
  margin-bottom: 30px;
  position: relative;
}

.invite-name {
  letter-spacing: 0;
  margin-top: 10px;
  margin-bottom: 20px;
  font-family: Badscript, sans-serif;
  font-size: 40px;
  line-height: 1.4;
}

.invite-name._2 {
  margin-bottom: 30px;
}

.general-txt {
  color: var(--grey);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
}

.general-txt.date {
  font-size: 18px;
  font-weight: 500;
}

.general-txt.space {
  margin-top: 15px;
  margin-bottom: 15px;
}

.text-block-5 {
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 25px;
  padding: 10px;
  text-decoration: none;
}

.text-block-6 {
  font-family: Badscript, sans-serif;
  font-size: 23px;
}

.invite-wrap {
  z-index: 1;
  perspective: 3000px;
  width: 100%;
  max-width: 650px;
  position: relative;
}

.back-logo {
  width: 80%;
}

.div-block-16 {
  background-color: var(--dim-grey);
  border: 10px solid #fff;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 630px;
  padding: 50px 26px 26px;
  display: flex;
  position: relative;
  box-shadow: 1px 1px 10px -3px #0000008c;
}

.section {
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 10vh;
  display: flex;
}

.invite-buttons-wrap {
  z-index: 0;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  flex-flow: column;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: space-between;
  align-items: center;
  display: grid;
  position: absolute;
  inset: auto 0% 10%;
}

.select-field {
  border-style: solid;
  border-width: 0 0 2px;
  border-color: transparent transparent var(--bg);
  color: var(--bg);
  background-color: #0000;
  border-radius: 0;
  margin-bottom: 20px;
  padding-left: 0;
}

.cover-txt-circle {
  color: var(--grey);
  background-image: radial-gradient(circle, #e2d0bd69, #d4c4a67a), linear-gradient(146deg, #f5d9c4, #fff 54%, #ebd2c1);
  border-radius: 50%;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 440px;
  height: 440px;
  padding-top: 50px;
  padding-bottom: 100px;
  display: flex;
  position: relative;
  box-shadow: 1px 1px 8px #706b5033;
}

.cover-txt {
  letter-spacing: .5px;
  font-size: 30px;
  font-weight: 100;
  line-height: 1.2;
}

.cover-txt.the {
  font-size: 20px;
}

.cover-txt-name {
  letter-spacing: -1px;
  font-family: Badscript, sans-serif;
  font-size: 60px;
  line-height: 60px;
}

.cover-text-wrap {
  flex-direction: column;
  align-items: center;
  display: flex;
  position: relative;
}

.cover-text-name {
  height: 90px;
  margin-top: 40px;
  margin-bottom: 35px;
  position: relative;
}

.cover-txt-frame {
  border: 2px solid var(--grey);
  border-radius: 50%;
  position: absolute;
  inset: 3%;
}

.text-span-4 {
  font-size: 40px;
  font-weight: 400;
}

.bold-text {
  font-weight: 400;
}

.utility-page-wrap {
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100%;
  display: flex;
}

.utility-page-content {
  text-align: center;
  flex-direction: column;
  width: 260px;
  display: flex;
}

.utility-page-form {
  flex-direction: column;
  align-items: stretch;
  display: flex;
}

.image {
  max-width: none;
  height: 100%;
  max-height: none;
}

.image-2 {
  width: 100%;
}

.div-block-17 {
  width: 100%;
  padding: 15px;
}

.paragraph {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 20px;
}

@media screen and (max-width: 991px) {
  .front-image-design {
    background-image: none;
  }

  .image {
    object-fit: cover;
    max-width: none;
    max-height: 100%;
    position: absolute;
  }

  .paragraph {
    margin-left: 30px;
    margin-right: 30px;
  }
}

@media screen and (max-width: 767px) {
  .mobile-cover {
    display: flex;
  }
}

@media screen and (max-width: 479px) {
  .wrapper {
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .button {
    font-size: 15px;
  }

  .mobile-cover {
    display: none;
  }

  .text-field {
    border-radius: 0;
  }

  .text-field.note {
    border-radius: 10px;
  }

  .radio-button-field {
    justify-content: center;
    margin-bottom: 10px;
    padding-left: 0;
  }

  .radio-button-field.middle {
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
  }

  .radio-button-label {
    letter-spacing: 1px;
    font-size: 15px;
  }

  .div-block-6 {
    flex-direction: column;
  }

  .form-block {
    justify-content: flex-start;
  }

  .success-message {
    padding-top: 60px;
  }

  .heading {
    font-size: 20px;
  }

  .front-image-design {
    padding-bottom: 0;
  }

  .invite {
    padding-bottom: 0;
    display: flex;
    position: relative;
  }

  .cover-button-wrap {
    margin-bottom: 15px;
    bottom: 3vh;
  }

  .invite-content {
    padding-top: 56px;
    padding-left: 35px;
    padding-right: 35px;
  }

  .invite-logo {
    width: 80px;
    margin-bottom: 14px;
  }

  .invite-name {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 30px;
    line-height: 1.2;
  }

  .invite-name._2 {
    margin-bottom: 20px;
  }

  .general-txt {
    font-size: 12px;
  }

  .general-txt.date {
    margin-bottom: 0;
    font-size: 16px;
  }

  .invite-wrap {
    justify-content: center;
    align-items: flex-start;
  }

  .div-block-16 {
    border-width: 6px;
    width: 94%;
    padding-top: 40px;
  }

  .section {
    padding-top: 20px;
    padding-bottom: 60px;
  }

  .invite-buttons-wrap {
    grid-column-gap: 1vw;
    grid-row-gap: 1vw;
    flex-flow: column;
    grid-template-rows: auto;
    grid-template-columns: .75fr .75fr .75fr;
    grid-auto-columns: 1fr;
    width: auto;
    margin-bottom: 15px;
    margin-left: 15px;
    margin-right: 15px;
    display: grid;
    inset: auto 0% 5%;
  }

  .cover-txt-circle {
    justify-content: space-around;
    width: 61vw;
    height: 61vw;
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .cover-txt {
    font-size: 5vw;
    font-weight: 200;
  }

  .cover-txt.the {
    font-size: 3vw;
  }

  .cover-txt-name {
    letter-spacing: 0;
    font-size: 8vw;
    line-height: 1;
  }

  .cover-text-name {
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .text-span-4 {
    font-size: 6vw;
  }

  .bold-text {
    letter-spacing: -.5px;
  }

  .paragraph {
    text-align: center;
    margin-left: 30px;
    margin-right: 30px;
    font-family: Nourd, sans-serif;
  }
}


@font-face {
  font-family: 'Badscript';
  src: url('../fonts/BadScript-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Commissioner';
  src: url('../fonts/Commissioner-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Commissioner';
  src: url('../fonts/Commissioner-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Commissioner';
  src: url('../fonts/Commissioner-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Commissioner';
  src: url('../fonts/Commissioner-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Commissioner';
  src: url('../fonts/Commissioner-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nourd';
  src: url('../fonts/nourd_light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nourd';
  src: url('../fonts/nourd_medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nourd';
  src: url('../fonts/nourd_bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nourd';
  src: url('../fonts/nourd_heavy.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nourd';
  src: url('../fonts/nourd_regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nourd Semi';
  src: url('../fonts/nourd_semi_bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}