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

body {
  margin: 0;
  font-family: 'Antonio', sans-serif;
  background-color: #0e1a10;
  color: #ffffff;
  overflow-x: hidden;
  cursor: url(./cursor.png) 16 16, auto;
}

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

a {
  color: inherit;
  text-decoration: none;
}

input,
textarea,
button {
  font-family: inherit;
}

.invitation-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    /*align-items: center;*/
    /*justify-content: center;*/
    padding: 80px
  }

.background-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.background-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  width: 100%;
  max-width: 1640px;
  padding: 0;
}

.content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 110px;
}

.left-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 0;
  height: calc(100vh - 200px);
  width: 600px;
}

.logo {
  width: 150px;
  height: auto;
}

.inner-circle-logo {
  position: relative;
  margin-top: 80px;
}

.inner-circle-logo img {
  width: 100%;
}

.logo-subtitle {
  font-family: 'Antonio', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #ffffff;
  margin: 16px 0 0 0;
}

.sub-headline {
  font-family: 'Antonio', sans-serif;
  font-weight: 100;
  font-size: 18px;
  color: #ffffff;
  margin-top: 60px;
}

#input-error {
  font-family: 'Antonio', sans-serif;
  font-weight: 100;
  font-size: 18px;
  color: #ff0000;
}

.main-headline {
  font-family: 'Owners Narrow', Impact, sans-serif;
  font-weight: 900;
  font-size: 65px;
  line-height: 1.07;
  color: #ffffff;
  margin: 90px 0 0;
}

.site-footer {
  display: flex;
  gap: 18px;
  font-family: 'Antonio', sans-serif;
  font-weight: 100;
  font-size: 16px;
  color: #ffffff;
  width: 100%;
  justify-content: space-between;
}

.right-pane {
  flex-grow: 1;
  max-width: 327px;
  margin-top: auto;
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label,
.checkbox-title {
  font-family: 'Antonio', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #ffffff;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background-color: #ffffff;
  border: none;
  padding: 16px;
  height: 48px;
  font-size: 14px;
  text-transform: uppercase;  
}

.form-group textarea {
    height: auto;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #c4c4c4 !important;
  font-family: 'Antonio', sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.form-group-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hidden-checkbox {
  display: none;
}

.custom-checkbox {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
}

.custom-checkbox.small {
    width: 32px;
    height: 32px;
}

.hidden-checkbox:checked + .custom-checkbox {
  background-color: #44D62C;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
}

.checkbox-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.checkbox-description,
.privacy-text {
  font-family: 'Antonio', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
}

.privacy-text {
    font-weight: 100;
    line-height: 1.25;
    cursor: pointer;
}

.submit-button {
  background-color: #44D62C;
  color: #000000;
  border: none;
  padding: 8px;
  height: 48px;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
}

.submit-button:hover {
  background-color: #58e036;
}

.submit-button:disabled {
  background-color: #94ab8e;
  cursor: not-allowed;
}

.text-br {
  display: none;
}

.mobile-footer {
  display: none;
}

input:required.invalid {
  border: 1px solid red;
}

@media (max-width: 992px) {
  .registration-form {
    gap: 22px;
  }

  .invitation-section {
    padding: 40px 20px;
  }

  .content-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
  }

  .left-pane {
    height: auto;
    align-items: center;
    padding-top: 0;
    width: 600px;
  }

  .right-pane {
    padding-top: 0;
    width: 100%;
    max-width: 450px;
  }

  .site-footer {
    margin-top: 40px;
    justify-content: center;
  }

  .inner-circle-logo {
    margin-top: 30px;
    max-width: 100%;
  }

  .site-footer {
    display: none;
  }

  .mobile-footer {
    display: flex;
    gap: 18px;
    font-family: 'Antonio', sans-serif;
    font-weight: 100;
    font-size: 14px;
    color: #ffffff;
    width: 100%;
    margin-top: 60px;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .left-pane {
    width: 100%;
    align-items: start;
  }

  .content-wrapper {
    flex-direction: column;
    align-items: start;
    text-align: left;
    gap: 30px;
  }

  .container {
    padding: 0 15px;
  }

  .main-headline {
    font-size: 40px;
  }

  .main-headline {
    margin-top: 30px;
    font-size: 62px;
  }

  .text-br {
    display: block;
  }

  .invitation-section {
    padding: 25px 5px;
  }

  .inner-circle-logo {
    max-width: calc(100vw - 40px);
  }
}

