.hero {
  position: relative;
}

.hero__background {
  position: relative;
}

.hero__background img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__background::after {
  content: '';
  position: absolute;
  inset: 0;
}

.hero__content {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 800px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero__title h1,
.hero__title p {
  margin: 0;
  font-family: var(--font-bungee);
  font-size: 2rem;
  line-height: 120%;
  font-weight: 400;
}

.hero__text  {
  max-width: 580px;
}

.hero__text p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 140%;
}

.hero__link a {
  display: inline-flex;
  padding: 14px 24px;
  background: var(--color-primary--2);
  color: var(--color-white);
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 16px;
  transition: all 0.25s ease;
}
.hero__link a:hover {
  background: var(--color-primary--1);
  text-decoration: none;
}

@media (min-width: 768px) {
  .hero__content {
    left: 100px;
  }
}

@media (min-width: 1000px) {
  .hero__title p {
    font-size: 3rem;
    line-height: 130%;
  }
  .hero__text p {
    font-size: 1.5rem;
    line-height: 170%;
  }
  .hero__background::before {
    content: '';
    position: absolute;
    bottom: -77px;
    right: 0;
    width: 518px;
    height: 562px;
    background-image: url('../../images/hero/blue-shape.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    z-index: 1;
  }
}

@media (min-width: 1200px) {
  .hero__content {
    top: 40%;
  }
}