.flex {
  justify-content: center;
  align-items: center;
  display: flex;
}

@media screen and (max-width: 767px) {
  .page_content {
    max-width: 100%;
    background-image: url('../images/c08ef6d8-5ca6-4788-90d1-953f5c4ce82b.webp');
    background-position: 50%;
    background-size: cover;
    overflow: hidden;
  }

  .flex {
    height: 100vh;
    flex-direction: column;
  }

  .image {
    z-index: -1;
    width: 100vw;
    height: 100vh;
    min-width: 570px;
    aspect-ratio: auto;
    object-fit: cover;
    position: absolute;
  }

  .image-2 {
    width: 50%;
    margin-bottom: 20px;
  }

  .button {
    width: 50%;
    height: 50px;
    color: #fff;
    text-align: center;
    letter-spacing: 2px;
    background-color: rgba(56, 152, 236, 0);
    border: 3px solid #fff;
    border-radius: 9px;
    margin-bottom: 20px;
    font-family: Bitter, serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 25px;
    text-decoration: none;
  }

  .button.from {
    width: 100%;
    height: 50px;
    background-image: url('../images/goldleaf.webp');
    background-position: 0 0;
    background-size: auto;
  }

  .body {
    font-family: Bitter, serif;
  }

  .field-label {
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 16px;
  }

  .text-field {
    width: 100%;
    height: 50px;
    color: #fff;
    background-color: rgba(241, 241, 241, .22);
    border: 3px solid #fff;
    border-radius: 9px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, .2);
  }

  .text-field:active, .text-field:focus {
    border-color: #c49a1e;
  }

  .text-field:focus-visible {
    border-color: #c49a1e;
  }

  .text-field[data-wf-focus-visible] {
    border-color: #c49a1e;
  }

  .form-block {
    width: 50%;
    margin-top: 20px;
  }

  .submit-button {
    width: 100%;
  }

  .success-message {
    background-image: url('../images/goldleaf.webp');
    background-position: 0 100%;
    background-size: 840px;
    background-attachment: scroll;
    border-radius: 11px;
  }

  .text-block {
    color: #fff;
    font-size: 16px;
    line-height: 22.4px;
  }

  .button2 {
    width: 100%;
    height: 50px;
    color: #fff;
    letter-spacing: 3px;
    background-color: rgba(255, 255, 255, 0);
    border: 3px solid #fff;
    border-radius: 8px;
    font-weight: 700;
    line-height: 25px;
  }

  .html-embed {
    width: 50%;
  }

  .text-block-2 {
    max-width: 50%;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
  }
}

@media screen and (max-width: 479px) {
  .image {
    max-height: 100vh;
    min-height: 100vh;
    object-fit: cover;
    position: absolute;
  }

  .button, .button2 {
    font-size: 4vw;
  }
}
