.banner-section {
  min-height: 400px;
  text-align: center;
  display: flex;
  flex-direction: column-reverse;
}

.banner-section .banner-bg {
  width: 100%;
  height: 100%;
}

.banner-section .banner-bg .banner-bg-desktop,
.banner-section .banner-bg .banner-bg-mobile {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-section .banner-bg .banner-bg-desktop {
  object-position: right;
}

.banner-bg-desktop {
  display: none;
}

.banner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

.banner-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.site-title {
  font-size: var(--text-22_36);
  font-weight: 700;
  line-height: 120%;
}

.tagline-img {
  max-width: 350px;
  align-self: center;
}

.banner-description {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -0.48px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  font-weight: 600;
  color: var(--foundation-black);
  background-color: var(--foundation-white);
  padding: 8px 24px;
  border: none;
  text-decoration: none;
  font-size: var(--text-16_28);
}

.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  background: linear-gradient(
    180deg,
    #e830ff 0%,
    #00bbbc 112.27%,
    #befeff 169.33%,
    var(--foundation-white) 194.59%
  );
  font-weight: 600;
  color: var(--foundation-white);
  padding: 8px 24px;
  border: none;
  text-decoration: none;
  font-size: var(--text-16_28);
}

.btn-primary,
.register-btn {
  width: auto;
  padding: 8px 48px;
}

.form-btn {
  width: 306px;
  margin: 0 auto;
  font-size: 1.25rem;
  padding: 12px;
}

.register-btn {
  margin: 40px auto;
}

@media screen and (min-width: 768px) {
  .banner-description {
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 992px) {
  .banner-section {
    position: relative;
    z-index: 1;
    min-height: 680px;
    display: block;
  }

  .banner {
    display: grid;
    grid-template-columns: 0.6fr 0.4fr;
    align-items: end;
    text-align: left;
    min-height: 550px;
  }

  .banner-bg {
    position: absolute;
    right: 0;
    z-index: -1;
    max-height: 750px;
  }

  .banner-bg .banner-bg-desktop {
    display: block;
  }

  .banner-bg-moblie {
    display: none;
  }

  .banner-info {
    gap: 40px;
    align-items: flex-start;
  }

  .tagline-img {
    display: none;
  }
}

@media screen and (min-width: 1200px) {
  .banner-section {
    min-height: 750px;
  }

  .banner {
    min-height: 647px;
  }
}
