.banner {
  position: relative;
  padding: 108px 0;
  border-top: 4px solid var(--color-green);
  border-bottom: 4px solid var(--color-green);
  overflow: hidden;
}

.banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.banner__content {
  max-width: 624px;
}

.banner__title {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  text-shadow: 0 4px 0 black;
  margin-bottom: 16px;
}

.banner__text {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  max-width: 504px;
  line-height: 1.35;
}

.banner__image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 900px;
  max-width: 50%;
  z-index: 2;
  height: 100%;
}

.banner__image img {
  height: 100%;
}

@media (max-width: 1024px) {
  .banner__title {
    font-size: 48px;
  }

  .banner__text {
    font-size: 18px;
  }

  .banner__image {
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .banner {
    padding: 60px 0 0 0;
  }

  .banner__title {
    font-size: 32px;
  }

  .banner__text {
    font-size: 16px;
  }

  .banner .container {
    flex-direction: column;
    text-align: center;
  }

  .banner__image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    max-width: 80%;
    margin: 0 auto;
  }
}
