.hero {
  height: 81.2rem;
  background-image: url(../assets/images/hero-bg-m.webp);
  background-size: cover;
  background-position: center;
  padding-top: 16rem;
  color: #FFF;
  position: relative;
}

.hero__logo {
  display: block;
  width: 100%;
  margin-bottom: 6rem;
}

.hero__logo img {
  width: 100%;
  height: auto;
}

.hero__content {
  display: grid;
  gap: 2.4rem;
  margin-bottom: 11rem;
}

.hero__title {
  font-family: "UAFSans";
  font-size: 4rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
  max-width: 28rem;
}

.hero__text {
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 2.8rem */
}

.hero__group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__deadline {
  color: rgba(255, 255, 255, 0.80);
  text-align: center;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 300;
  line-height: 140%; /* 1.96rem */
}

.hero__button {
  width: 100%;
}

.hero__bottom_string {
  position: absolute;
  overflow: hidden;
  left: 0;
  bottom: 3rem;
  width: 100%;
  height: 3.6rem;
}

.hero__marquee {
  display: flex;
  width: max-content;
  animation: marquee 15s linear infinite;
}

.hero__marquee_group {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
}

.hero__bottom_text {
  font-family: 'UAFSans', sans-serif;
  font-weight: 300;
  font-size: 3rem;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 4%;
  margin: 0;
  display: inline-block;
}

.hero__bottom_image {
  height: 2rem;
  padding-right: 3rem;
  flex-shrink: 0;
  width: auto;
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


@media (min-width: 768px) {
  .hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 20rem;
    background-image: url(../assets/images/hero-bg-d.webp);
    height: 82.4rem;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 41.5rem 44.7rem;
    gap: 13.5rem 15rem;
    align-items: flex-start;
  }

  .hero__logo {
    width: 41.5rem;
    margin-bottom: 0;
  }

  .hero__content {
    gap: 1.6rem;
    margin-bottom: 0;
  }

  .hero__title {
    font-size: 4.721rem;
    letter-spacing: 0.1888rem;
  }

  .hero__text {
    font-size: 2.4rem;
  }

  .hero__group {
    grid-column: 2 / -1;
    gap: 2.5rem;
  }

  .hero__deadline {
    font-size: 1.6rem;
  }

  .hero__bottom_string {
    height: 6.6rem;
    bottom: 5.8rem;
  }

  .hero__marquee_group {
    gap: 5.7rem;  
  }

  .hero__bottom_text {
    font-size: 5.5rem;
  }

  .hero__bottom_image {
    height: 2.6rem;
    padding-right: 6.7rem;
  }
}