/* main-page.css */
.banner {
  padding-top: 12rem;
  padding-bottom: 7rem;
}

.banner .container {
  display: flex;
  gap: 2rem;
  position: relative;
}

.banner-main-text {
  width: 100%;
  max-width: 788px;
  border-radius: 50px;
  padding: 3.875rem 3.75rem;
  background: var(--grayscale-color-1);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-orange-1);
}

.banner-title {
  font-weight: 400;
  font-size: clamp(2.25rem, 1.5825rem + 2.8479vw, 5rem);
  margin-bottom: 1.125rem;
  color: var(--typography-black-1);
  line-height: 100%;
}

/* In order to display correct with wagtail RichTextField */
.banner-main-text :is(h1, h2, h3, h4, h5, h6) {
  font-weight: 400;
  font-size: clamp(2.25rem, 1.5825rem + 2.8479vw, 5rem);
  margin-bottom: 1.125rem;
  color: var(--typography-black-1);
  line-height: 100%;
}

.banner-title:lang(en) {
  margin-bottom: 0.75rem;
}

/* In order to display correct with wagtail RichTextField */
.banner-main-text :is(h1, h2, h3, h4, h5, h6):lang(en) {
  margin-bottom: 0.75rem;
}

.banner-description {
  font-size: clamp(1rem, 0.9697rem + 0.1294vw, 1.125rem);
  margin-bottom: 2.625rem;
  color: var(--typography-black-2);
  max-width: 490px;
}

.banner-title span {
  font-style: italic;
}

/* In order to display correct with wagtail RichTextField */
.banner-main-text span {
  font-style: italic;
}

.buttons-container {
  display: flex;
  align-items: center;
  margin-top: auto;
  gap: 1.312rem;
  z-index: 5;
  width: fit-content;
}

.bnr-video-preview img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  border-radius: 50px;
}

.bnr-video-btn {
  width: 100%;
  max-width: 788px;
  padding: 0;
  border-radius: 50px;
  position: relative;
}

.bnr-video-play {
  position: absolute;
  bottom: 30px;
  left: 43px;
  z-index: 2;
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #9E9E9E99;
  border-radius: 50%;
}

.bnr-video-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  border-radius: 50px;
}

.bnr-video-btn:hover {
  color: var(--primary-orange);
}

.second-btn {
  background: var(--border-orange-4);
  color: var(--primary-orange);
}

/* merch-soft.css */
.banner-title span {
  color: var(--primary-orange);
}

/* In order to display correct with wagtail RichTextField */
.banner-main-text span {
  color: var(--primary-orange);
}

.banner-description {
  max-width: 600px;
  text-align: left !important;
}

@media (max-width: 992px) {
  .banner {
    padding-top: 10.5rem;
  }

  .banner .container {
    height: fit-content;
    flex-direction: column;
  }

  .banner-title br {
    display: none;
  }

  .bnr-video-btn {
    max-width: none;
  }

  .banner-main-text {
    max-width: none;
  }

  .bnr-video-btn::before {
    height: calc(100% - 6px);
  }
}

@media (max-width: 768px) {
  .buttons-container {
    align-items: baseline;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0 auto;
  }

  .bnr-video-play {
    width: 48px;
    height: 48px;
    bottom: 28px;
    left: 17px;
  }

  .bnr-video-play img {
    max-width: 1rem !important;
  }

  .bnr-video-btn {
    margin-bottom: 24px;
  }

  .banner-main-text :is(h1) {
    text-align: center;
    margin-bottom: 1.125rem;
    line-height: 100%;
  }

  .banner-description {
    text-align: center !important;
  }
}

@media screen and (max-width: 575px) {
  .main-btn {
    width: 100%;
    max-width: none;
  }

  .buttons-container {
    width: 100%;
  }
}
