.banner {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: url('../images/background-image.webp') center/cover no-repeat;
  overflow: hidden;
}

.banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.60) 45%,
    rgba(0, 0, 0, 0.20) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.banner__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
  max-width: 900px;
  width: 100%;
  margin: 15%;
}

.banner__logo {
  width: clamp(180px, 25vw, 240px);
  margin-bottom: 3rem;
}

.banner__title {
  font-family: "Open Sans", sans-serif;
  font-size: clamp(1.8rem, 4vw, 4.3rem);
  line-height: 1.2em;
  margin-bottom: 1.5rem;
  color: var(--banner-title__color);
  word-wrap: break-word;
}

.banner__title-highlight {
  color: var(--banner-highlight__color);
}

.banner__description {
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.6em;
  margin-bottom: 2rem;
  color: var(--banner-description__color);
}

@media (max-width: 1440px) {
  .banner__content {
    margin: 56px 10%;
  }
}

@media (max-width: 1024px) {
  .banner__content {
    margin: 56px 8%;
  }
}

@media (max-width: 768px) {
  .banner {
    height: 100vh;
    background-position: center;
  }

  .banner__overlay {
    align-items: center;
    text-align: center;
    padding: 2rem;
  }

  .banner__content {
    margin: 0;
    align-items: center;
  }

  .banner__logo {
    width: clamp(150px, 40vw, 220px);
  }

  .banner__title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
    line-height: 1.3em;
  }

  .banner__description {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    line-height: 1.5em;
  }
}

@media (max-width: 480px) {
  .banner__overlay {
    padding: 2rem;
  }

  .banner__title {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .banner__description {
    font-size: clamp(0.85rem, 3.5vw, 1.1rem);
  }
}
