@import url("https://use.typekit.net/wbx5njf.css");
:root {
  --font-text: "barlow-semi-condensed", sans-serif;
  --font-title: "selfie-neue-round", sans-serif;
}

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

html,
body {
  padding: 0;
  margin: 0;
  font: 400 24px/1.3 var(--font-text);
  color: #3b3a57;
  scroll-behavior: smooth;
}
@media (max-width: 767px) {
  html,
  body {
    font-size: 18px;
  }
}

img {
  display: block;
  max-width: 100%;
}

.btn {
  padding: 5px 15px 8px 15px;
  border: 1px solid #fff;
  text-transform: uppercase;
  color: #fff;
  background: #3b3a57;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font: 500 24px/1 var(--font-text);
}
.btn:hover {
  background: #fff;
  color: #3b3a57;
}

header {
  background: #fff;
  background-size: cover;
  aspect-ratio: 1.95;
  overflow: hidden;
}
header .video {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  aspect-ratio: 16/9;
  translate: 0 -50%;
}
header .video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  aspect-ratio: 16/9;
}
header .logo {
  position: absolute;
  left: 8vw;
  top: 3vw;
  width: 20vw;
  filter: drop-shadow(0px 0px 40px #fff);
}
header .banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 25px 20px 25px;
  color: #fff;
  background: no-repeat right top url(corner.svg);
  background-size: auto 100%;
  text-align: right;
  font: 600 24px/1.3 var(--font-text);
}
header::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -1px;
  width: 100%;
  height: 9vw;
  background: no-repeat top center url(hero-overlay.svg);
  background-size: 100% auto;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 767px) {
  header {
    aspect-ratio: 1.5;
    background-position: 35% center;
  }
  header .logo {
    width: 35vw;
    left: 42vw;
    top: 18vw;
  }
  header .banner {
    padding: 10px 15px 15px 15px;
    font-size: 14px;
    background-size: auto 100%;
    background-position: right top;
  }
}

main {
  z-index: 2;
}
main h1 {
  color: #f15a2b;
  font: 400 64px/1 var(--font-title);
  letter-spacing: 0.05em;
  margin-block: 0 20px;
}
main h2 {
  font-size: 32px;
  margin: 0;
  padding: 0;
  letter-spacing: 0.05em;
}
main p {
  margin-top: 0;
}
main p:last-child {
  margin-bottom: 0;
}
main section {
  padding: 60px max(20px, 50% - 600px);
}
main #form {
  position: absolute;
  right: 0;
  bottom: calc(100% - 44px);
  display: flex;
  align-items: flex-end;
  gap: 20px;
  scroll-margin-top: 40px;
}
main #form img {
  flex: none;
  width: 100px;
}
main #form .form {
  flex: none;
  width: 400px;
  padding: 30px;
  background: #3b3a57;
  color: #fff;
}
main #builders {
  background: #3b3a57 no-repeat center center url(flower.svg);
  background-size: auto 80%;
  background-position: -5vw center;
  color: #fff;
}
main #builders h2 {
  margin-bottom: 30px;
}
main #builders .builders {
  display: grid;
  grid-template: auto/1fr 1fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 767px) {
  main #builders .builders {
    grid-template: auto/1fr;
  }
}
main #builders .builders .builder {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 10px;
  font-size: 16px;
  text-wrap: balance;
}
main #builders .builders .builder h2,
main #builders .builders .builder p {
  margin: 0;
}
main #builders .builders .builder img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
main #builders .builders .builder .btn {
  width: 70%;
}
@media (max-width: 767px) {
  main h1 {
    font-size: 42px;
  }
  main h2 {
    font-size: 24px;
  }
  main #form {
    position: relative;
    flex-direction: column;
  }
  main #form img {
    margin: 0 auto;
  }
  main #form .form {
    width: 100%;
  }
}

footer {
  display: flex;
  flex-direction: column;
  vertical-align: center;
  gap: 15px;
  padding: 40px max(20px, 50% - 600px) 30px max(20px, 50% - 600px);
  background: #91bb3f no-repeat center center url(greenbar.webp);
  background-size: cover;
}
footer h2 {
  margin: 0;
  text-align: center;
}
footer .btn {
  border: none;
  margin: 0 auto;
}
footer p {
  margin: 0;
  text-align: right;
}
footer p img {
  display: inline-block;
  width: 32px;
  margin-left: 10px;
}
@media (max-width: 767px) {
  footer p {
    font-size: 16px;
  }
}

.ctct-form-success .btn {
  display: block;
  width: 100%;
}

#avemaria .ctct-form-text {
  font: 400 16px/1.3 var(--font-text);
}
@media (max-width: 767px) {
  #avemaria .ctct-form-text {
    font-size: 14px;
  }
}
#avemaria .ctct-form-header {
  font-size: 24px;
  margin: 0;
  padding: 0;
  letter-spacing: 0.05em;
  line-height: 1.1em;
  margin-bottom: 10px;
}
#avemaria .ctct-form-defaults {
  padding: 0;
}
#avemaria .ctct-form-field {
  margin-bottom: 15px;
}
#avemaria .ctct-form-label {
  margin-bottom: 5px;
}

dialog {
  position: fixed;
  padding: 30px;
  background: #3b3a57;
  color: #fff;
  border: none;
  opacity: 0;
  scale: 0.8;
  transition: all 0.5s ease;
  max-width: 720px;
  filter: drop-shadow(0 0 20px #fff);
  border-radius: 10px;
}
@media (max-width: 767px) {
  dialog {
    padding: 20px;
    max-width: calc(100% - 30px);
  }
}
dialog .ctct-form-custom {
  display: grid;
  gap: 20px 20px;
}
dialog .ctct-form-custom * {
  margin: 0 !important;
}
@media (max-width: 767px) {
  dialog .ctct-form-custom {
    grid-template: auto/1fr;
  }
}
@media (min-width: 768px) {
  dialog .ctct-form-custom {
    grid-template: auto/1fr 1fr;
  }
  dialog .ctct-form-custom h2,
  dialog .ctct-form-custom p,
  dialog .ctct-form-custom button,
  dialog .ctct-form-custom #gdpr_text {
    grid-column-start: span 2;
  }
}
dialog h2 {
  margin: 0;
}
dialog::backdrop {
  background: rgba(59, 58, 87, 0);
  transition: all 0.5s ease;
}
dialog.show {
  opacity: 1;
  scale: 1;
}
dialog.show::backdrop {
  background: rgba(59, 58, 87, 0.6901960784);
}
dialog .close {
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 30px;
  font-weight: 600;
  font-size: 30px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
}

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