span {
  font-weight: 800;
}

#customPageTitle {
  display: none;
}

.formContainer {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  font-size: 1.6rem;
  gap: 63px;
}

.image {
  width: 48%;
  /* aspect-ratio: 639/740; */
  aspect-ratio: 1;
}

.formContainer .title {
  width: 100%;
  font-weight: 400;
  text-align: left;
  color: var(--secondary);
  font-size: 30px;
  line-height: 52px;
  font-style: italic;
}

.subtitleLink {
  text-align: left;
  width: 90%;
  margin-top: 1rem;
  margin-bottom: 1.2rem;
  font-size: 15px;
}

.subtitle {
  text-align: left;
  width: 100%;
  margin-bottom: 2.2rem;
  font-size: 13px;
  font-weight: 300;
}

.form {
  width: 100%;
  height: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.brideAGroomContainer {
  width: 100%;
  height: auto;
  display: grid;
  flex-direction: column;
  align-items: center;
  color: var(--grey);
  grid-template-rows: repeat(1, 1fr);
}

.formCont {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text);
}

.form input {
  width: 100%;
  height: 51px;
  border-bottom: 1px solid #DCDCDC;
  padding: 0 15px;
  box-sizing: border-box;
  border-radius: 0;
  line-height: 3.5rem;
  font-weight: 400;
  font-size: 13px;
  color: var(--base-second);
  background: transparent;
  position: relative;
  z-index: 1;
  cursor: pointer;
  margin-bottom: 15px;
}

.invalidInput {
    border-color: #D84242 !important;
}
.invalidInput::placeholder {
    color: #d842427a !important;
    
}

.form input::-webkit-input-placeholder {
  opacity: 1;
  color: var(--base-second);
}

.form input:-moz-placeholder {
  opacity: 1;
  font-weight: 300;
}

.form input::-moz-placeholder {
  opacity: 1;
  font-weight: 300;
}

.form input:-ms-input-placeholder {
  opacity: 1;
  font-weight: 300;
}

.form input::-ms-input-placeholder {
  opacity: 1;
  font-weight: 300;
}

.brideGroomInfoContainer {
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 15px;
}

.brideGroomInfo {
  width: 100%;
}

.brideGroomInfo.phoneNumber {
  width: calc(50% - 7px);
  margin-top: 0rem;
  float: right;
}

.weddingDetailsContainer {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0 15px;
  grid-template-columns: repeat(2, 1fr);
  grid-row: 2/3;
}

.calendarIconContainer {
  position: absolute;
  right: 2px;
  height: 100%;
  display: flex;
  width: 4rem;
  align-items: center;
  box-sizing: border-box;
  justify-content: center;
  border-left: 1px solid var(--grey);
  z-index: 0;
  background: transparent;
  bottom: 6px;
}

.calendarIcon {
  width: 16px;
}

.weddingDateContainer {
  grid-column: 1/2;
  grid-row: 1/2;
  position: relative;
  width: calc(50% - 8px);
  float: left;
}

#weddingComments {
  height: 153px;
  resize: none;
  grid-column: 2/3;
  grid-row: 2/2;
  font-weight: 400;
  font-size: 13px;
  color: #020003;
  border: none;
  box-sizing: border-box;
  width: 100%;
  margin-top: 0;
  border-bottom: 1px solid #DCDCDC;
  padding: 15px;
}
textarea::-webkit-input-placeholder {
  color: var(--base-second);
  /* opacity: 0.5; */
}

.sendContainer {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.formContainer .sendForm {
  width: 100%;
  border: 1px solid var(--secondary);
  color: #fff;
  background: var(--secondary);
  line-height: 3rem;
  margin-top: 2.2rem;
  box-sizing: border-box;
  font-size: 16px;
  text-align: center;
  font-weight: 400;
  cursor: pointer;
  -webkit-transition: color 0.4s;
  -o-transition: color 0.4s;
  transition: 0.3s all ease-out;
  text-transform: uppercase;
  letter-spacing: 2%;
}

.formContainer .sendForm:hover {
  background-color: var(--base-aux);
  color: var(--secondary);
  /* border-color: var(--add-to-cart-btn-border-hover); */
}

@media screen and (max-width: 1100px) {
  .formContainer {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .image {
    width: 100%;
  }

  .formCont {
    width: 88%;
    margin-top: 30px;
  }

  .formContainer .title {
    font-size: 28px;
    line-height: 48px;
    width: 100%;
  }

  .subtitleLink,
  .subtitle,
  .form,
  .sendContainer {
    width: 100%;
  }

  .brideGroomInfoContainer {
    flex-direction: column;
    margin-bottom: 15px;
  }

  .brideGroomInfo {
    width: 100%;
  }

  .weddingDetailsContainer {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  #weddingComments {
    width: 100%;
    height: 12rem;
  }

  .formContainer .sendForm {
    width: 100%;
  }

  .brideAGroomContainer {
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
    gap: 0px;
  }

  .weddingDateContainer,
  .brideGroomInfo.phoneNumber {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
      .customPageCenteredContent {
        gap: 20px;
        margin: 0px auto 0px;
        width: 100% !important;
    }
  .formContainer {
    padding: 0;
    width: 100%;
    margin-bottom: 3rem;
    gap: 20px;
  }
  .formCont {
    margin-top: 10px;
    width: 90%;
  }
  .formContainer .title {
    margin-bottom: 0px;
  }
  .form input {
    width: 100%;
    margin-bottom: 0;
    height: 3.5rem;
  }

  .subtitle {
    font-size: 14px;
  }

  .brideGroomInfo input::placeholder, .weddingDateContainer input::placeholder {
    color: var(--base-second);
    /* opacity: 0.5; */
}
}
