:root {
    --color-dark: #05262b;
    --color-accent: #1d2c3b;
    --color-green: #75c24a;
    --color-surface: rgba(255, 255, 255, 1);
    --color-error: #c52828;
  }
  *,
  ::after,
  ::before {
    box-sizing: border-box;
  }
  * {
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings:
      "slnt" 0,
      "wdth" 100,
      "GRAD" 0,
      "XOPQ" 96,
      "XTRA" 468,
      "YOPQ" 79,
      "YTAS" 750,
      "YTDE" -203,
      "YTFI" 738,
      "YTLC" 514,
      "YTUC" 712;
  }
  .container {
    width: 100%;
    max-width: 1140px;
    padding: 15px;
    margin: 0 auto;
  }
  add-to-calendar-button {
    outline: 0;
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    border-radius: 999px;
    color: #181818;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    align-self: flex-start;
    display: block;
  }
  .h-100 {
    height: 100%;
  }
  body {
    margin: 0;
    min-height: 100vh;
    font-family: "Roboto Flex", sans-serif;
    color: var(--color-dark);
    background-image: url(../images/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
  }
  .event {
    padding: 43px 24px 72px;
  }
  .event__card {
    position: relative;
    padding: 19px 59px 42px 60px;
    width: 100%;
    max-width: 1110px;
    margin: 16px auto 0;
    height: 100%;
    background: #073030A1;
  }
  
  .event-card {
    position: relative;
    padding: 8px 59px 42px 68px;
    width: 100%;
    max-width: 1110px;
    margin: 16px auto 0;
    border: 1px solid #A5E98D;
    border-radius: 32px;
    padding: 50px 24px 50px 38px;
    height: 100%;
  }
  
  .event-date {
    color: #fff;
    font-size: 19px;
    background-image: url(../images/calendar.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 27px;
    padding: 0 0 0 39px;
    font-weight: 600;
    line-height: 1.5;
  }
  .event-card__title {
    margin: 21px 0 15px 0;
    font-size: clamp(30px, 6vw, 34px);
    line-height: 1.15;
    font-weight: 400;
    color: #A5E98D;
  }
  .event-card__description {
    color: #fff;
    font-size: 24px;
    line-height: 1.13;
    font-weight: 400;
    margin: 20px 0 0;
  }
  .event-card__meta {
    margin-top: 26px;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px 34px;
  }
  .event-card__meta-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #000;
  }
  .event-card__content {
    display: grid;
    grid-template-columns: 540px 1fr;
    gap: 60px;
  }
  .event-card__form-wrap h1 {
    font-weight: 700;
    font-size: 44px;
    line-height: 100%;
    text-transform: uppercase;
    color: #A5E98D;
    margin: 38px 0 0;
  }
.event-card__form-wrap {
position: relative
}
  .event-form {
    margin: 90px 0 0;
  }
  .event-form__row {
    margin-bottom: 23px;
  }
  .event-form__row--columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 0 5px;
  }
  .event-form__field {
    display: block;
    position: relative;
  }
  .event-form__input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #fff;
    background: 0 0;
    height: 40px;
    padding: 0;
    font-size: 18px;
    font: inherit;
    color: #fff;
    font-weight: 600;
  } 
  .event-form__input::placeholder {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff
  }
  .event-form__input:focus {
    outline: 0;
    border-bottom-color: #fff;
  }
  .event-form__error {
    display: block;
    min-height: 18px;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.3;
    color: var(--color-error);
    position: absolute;
  }
  .event-form__actions {
    margin-top: 23px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-left: 4px;
  }
  .event-form__checkbox-wrap {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px 12px;
    max-width: 285px;
    cursor: pointer;
  }
  .event-form__checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .event-form__checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1px solid #fff;
    margin-top: 1px;
    position: relative;
  }
  .event-form__checkbox:checked + .event-form__checkbox-custom::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: #fff;
  }
  .event-form__checkbox-text {
    font-size: 12px;
    line-height: 1.2;
    color: #fff;
  }
  .event-form__checkbox-text a {
    color: #fff;
  }
  .event-form__error--checkbox {
    position: absolute;
    transform: translateY(22px);
  }
  .event-form__submit {
    height: 56px;
    position: relative;
    border: 1px solid #A5E98D;
    border-radius: 999px;
    padding: 0 67px 0 34px;
    font: inherit;
    cursor: pointer;
    transition: filter 0.2s ease;
    margin: 37px 0 0;
    color: #fff;
    font-family: "Roboto Flex";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    background-color: transparent;
    letter-spacing: 0%;
    text-transform: uppercase;
  }
  .event-form__submit span {
    border-radius: 50%;
    display: block;
    position: absolute;
    width: 48px;
    height: 48px;
    border: 1px solid #A5E98D;
    top: 3px;
    right: 3px;
  }
  .event-form__submit span svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .event-form__submit:hover {
    filter: brightness(0.95);
  }
  .success-card {
    background: var(--color-surface);
    border-radius: 22px;
    padding: 7% 9%;
    position: absolute;
    top: 15px;
    left: 0;
    bottom: -20px;
    right: 0;
  }
  .success-card--hidden {
    display: none; 
  }
  .success-card__title {
    margin: 0;
    max-width: 727px;
    font-size: clamp(28px, 3vw, 28px);
    line-height: 1.2;
    font-weight: 700;
  }
  .success-card__text {
    margin: 17px 0 0;
    font-size: 18px;
    font-weight: 700;
    max-width: 400px;
    line-height: 1.3;
    color: var(--color-accent);
  }
  .success-card__button {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 7px 0 31px;
    border-radius: 999px;
    border: 1px solid var(--color-accent);
    color: #181818;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    align-self: flex-start;
  }
  .success-card__button svg {
    margin-left: 16px;
  }
  .header {
    height: 135px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: #073030A1;
    padding: 22px 67px 31px 57px;
  }
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .logo:first-child {
    width: 88px;
    display: inline-block;
    height: 63px;
    margin-right: 40px;
  }
  .logo-hpe {
    width: 122px;
    display: block;
    margin: 13px 0 0;
  }
  @media (max-width: 1024px) {
    .event-card {
      padding: 46px 34px;
    }
    .event-card__content {
    display: flex;
    flex-direction: column-reverse;
    gap: 0;
    }
    .event-form {margin: 30px 0 0;}
    .event-form__actions {
      flex-direction: column;
      align-items: flex-start;
      margin: 16px 0 0;
    }
  }
  @media (max-width: 992px) {
    .success-card__button {
      padding: 0 7px 0 19px;
    }
    .success-card {
      padding: 7% 15px;
      top: 0;
      bottom: 0;
    }
    .event-card__content {
      margin-top: 0;
    }
    .logo:first-child {
      margin-right: 20px;
    } 
    .event-card {
      margin: 28px 0 0;
    }
    .event-card__content {
      grid-template-columns: 1fr;
    }
    .event-card__description {
      margin-bottom: 24px;
    }
    .event-card__form-wrap {
      margin-top: 24px;
      padding: 0 27px;
    }
  }
  @media (max-width: 680px) {
    .event-form__field {
      max-width: 91%;
    }
    .event-card__description {
      margin: 0px 0 0px;
      font-size: 18px;
      max-width: 96%;
    }
    .event-card__content {
      gap: 5px;
    }
    .event-card__form-wrap h1 {
      font-size: 27px;
      margin: 0;
    }
    .header {
      height: 127px;
      display: flex;
      align-items: center;
      padding: 0 0 0;
      background: none;
    }
    .event__card {
      padding: 0;
      margin: 0 0 0;
      background: none;
    }
    .event {
      padding: 29px 19px 72px;
    }
    .event-card {
      padding: 10px 18px 33px;
      margin: 0;
    }
    .event-card__title {
      margin: 0 0 12px;
      line-height: 1.25
    }
    .event-card__meta {
      justify-content: flex-start;
    }
    .event-form__row--columns {
      grid-template-columns: 1fr;
      gap: 19px;
      margin: 0 0 19px;
    }
    .event-form__submit {
      width: 100%;
      justify-content: center;
      padding-inline: 24px;
    }
    .logo-hpe {
      margin: 0
    }
  }
  @media (max-width: 480px) {
    .event-form__submit {
      margin-top: 25px;
      max-width: 87%;
      padding-left: 0;
    }
  }
  