.hero .top-right-component {
  position: fixed;
  width: 359.05px;
  height: 900.99px;
  top: -160px;
  right: 80px;
  /* display: none; */
  /* Brand Colours/Grayscale/200 */

  background: var(--shapes);
  opacity: 0.2;
  border-radius: 500px;
  transform: rotate(45deg);
  z-index: -888;
}

.hero {
  display: grid;
  grid-template-areas: "hero-title hero-title hero-phone";
  padding: 80px 100px 0 100px;
  margin-top: 100px;
}

.hero .title {
  grid-area: hero-title;
  padding: 70px 20px;
  margin: 0 30px 0 0;
}

.hero .title h2 {
  font-weight: 400;
  font-size: 50px;
  line-height: 62px;
  text-transform: uppercase;
  margin: 15px 0;
}

.hero .title h2:nth-child(2) {
  font-weight: 800;
  text-transform: none;
}

.hero .title .download-buttons img {
  width: 200px;
  height: 60px;
  margin: 0 10px 0 0;
  cursor: pointer;
}

.hero .phone {
  grid-area: hero-phone;
  display: flex;
  justify-content: center;
}

.hero .phone img {
  height: 600px;
}

.hero p {
  font-weight: 600;
  font-size: 24px;
  margin: 50px 0 20px 0;
}

@media screen and (max-width: 1304px) {
  .hero {
    padding: 80px 60px 0 60px;
  }

  .hero .title h2:nth-child(1) {
    font-size: 42px;
  }

  .hero .title h2:nth-child(2) {
    font-size: 46px;
  }
}

@media screen and (max-width: 1050px) {
  .hero {
    margin-top: 60px;
  }
}

@media screen and (max-width: 1172px) {
  .hero {
    padding: 80px 40px 0 40px;
  }

  .hero .title h2:nth-child(1) {
    font-size: 34px;
  }

  .hero .title h2:nth-child(2) {
    font-size: 40px;

    line-height: 54px;
  }

  .hero .phone img {
    height: 540px;
  }
}

@media screen and (max-width: 1024px) {
  .hero {
    padding: 80px 30px 0 30px;
  }

  .hero .title h2:nth-child(1) {
    font-size: 26px;
    margin: 8px 0;
  }

  .hero .title h2:nth-child(2) {
    font-size: 34px;
    margin: 8px 0;

    line-height: 42px;
  }

  .hero .phone img {
    height: 480px;
  }

  .hero p {
    font-weight: 600;
    font-size: 20px;
    margin: 40px 0 20px 0;
  }

  .hero .title .download-buttons img {
    width: 140px;
    height: 50px;
    margin: 5px 10px 5px 0;
  }
}

@media screen and (max-width: 880px) {
  .hero {
    padding: 80px 30px 0 30px;
  }

  .hero .title h2:nth-child(1) {
    margin: 5px 0;
  }

  .hero .title h2:nth-child(2) {
    margin: 5px 0;

    line-height: 36px;
  }

  .hero .phone img {
    height: 480px;
  }

  .hero p {
    margin: 40px 0 15px 0;
  }
}

@media screen and (max-width: 798px) {
  .hero .top-right-component {
    display: none;
  }

  .hero {
    display: grid;
    grid-template-areas:
      "hero-title"
      "hero-phone";
    padding: 50px 40px 0 40px;
  }

  .hero .title {
    grid-area: hero-title;
    padding: 0 20px;
    margin: 0 0 70px 0;
    text-align: center;
  }

  .hero .title .download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 720px) {
  .hero {
    margin-top: 80px;
  }
}

@media screen and (max-width: 500px) {
  .hero {
    padding: 40px 10px 0 10px;
  }

  .hero .title h2:nth-child(1) {
    margin: 5px 0;
    line-height: 2.5rem;
  }

  .hero .title h2:nth-child(2) {
    font-size: 38px;
    line-height: 3.2rem;
    margin: 15px 0;
  }

  .hero .phone img {
    height: 480px;
  }

  .hero p {
    margin: 40px 0 15px 0;
    text-align: center;
  }

  .hero .title .download-buttons {
    margin-left: auto;
    margin-right: auto;
  }

  .hero .title .download-buttons img {
    width: 120px;
    height: 40px;
    margin: 5px 10px 5px 0;
  }
}

@media screen and (width: 427px) {
    .hero .title h2:nth-child(2) {
      font-size: 39px;
    }
  }

@media screen and (max-width: 409px) {
  .hero .title h2:nth-child(1) {
    font-size: 24px;
  }

  .hero .title h2:nth-child(2) {
    font-size: 36px;
  }
}

@media screen and (max-width: 392px) {
  .hero .title h2:nth-child(1) {
    font-size: 22px;
  }

  .hero .title h2:nth-child(2) {
    font-size: 32px;
    line-height: 3rem;
  }
}

@media screen and (max-width: 356px) {
  .hero .title h2:nth-child(1) {
    font-size: 20px;
  }

  .hero .title h2:nth-child(2) {
    font-size: 30px;
    line-height: 2.8rem;
  }
}

@media screen and (max-width: 336px) {
  .hero .title h2:nth-child(1) {
    font-size: 18px;
  }

  .hero .title h2:nth-child(2) {
    font-size: 28px;
    line-height: 2.8rem;
  }
}
