:root {
  --num: 1;
  --animation-cut: 1;
}

.hero {
  height: 400px;
  margin: 0% 2% 1% 2%;
  margin-top: 100px;
}
.hero__paragraph {
  font-size: 1.4rem;
}
.hero__text__container {
  font-size: 1.4rem;
  background-color: white;
  position: absolute;
  height: 400px;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  clip-path: polygon(0% 0%, 80% 0%, 100% 100%, 0% 100%);
}

.hero__text__container h1 {
  white-space: nowrap;
  width: min-content;
  margin-left: 100px;
  padding: 10px 20px;
  background-color: black;
  color: white;
}
.hero__text__container p {
  margin-left: 100px;
  margin-top: 10px;
  width: 50%;
}
.hero__image__container {
  display: flex;
  justify-content: flex-end;
  background-color: gray;
}
.hero__image {
  width: 418px;
}
.text__container {
  color: white;
  margin: 6% 6% 4% 6%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: justify;
  font-size: 1.4rem;
}

.text__headers {
  font-size: 4rem;
  margin-bottom: -26px;
}

.details__container {
  display: flex;
  gap: 2rem;
}
.details__container p {
  display: flex;
  gap: 2rem;
  width: 100%;
}
.details__container__paragraph {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.details__graphic {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.2rem;
  text-align: left;
  background-color: black;
  padding: 2% 6%;
  width: fit-content;
}
.details__graphic h1 {
  white-space: nowrap;
}
.details__graphic p:first-of-type {
  margin-bottom: 14px;
}
@media screen and (max-width: 1100px) {
  .hero__text__container {
    width: 500px;
  }
  .hero__paragraph {
    font-size: 1rem;
  }
}

@media screen and (max-width: 820px) {
  :root {
    --num: 2;
    --animation-cut: 2;
  }
  .hero__image {
    width: 320px;
  }
  .hero {
    display: flex;
    height: 480px;
    flex-direction: column-reverse;
  }
  .hero__text__container {
    clip-path: none;
    width: 100%;
    position: relative;
  }
  .hero__text__container h1 {
    margin-left: 50px;
  }
  .hero__text__container p {
    margin-left: 50px;
    width: 80%;
  }
  .details__container {
    flex-direction: column-reverse;
  }
  .details__graphic {
    width: 100%;
  }
  .banner {
    height: 200px;
  }
  .banner__wheel {
    gap: 4rem;
  }

  .icon__container p {
    font-size: 0.8rem;
  }
  .details__graphic {
    padding: 4% 4%;
  }
}

@media screen and (max-width: 420px) {
  :root {
    --animation-cut: 2.15;
  }
  .hero__text__container {
    font-size: 1rem;
    height: 200px;
  }
  .hero__image {
    width: 300px;
  }

  .intro__text,
  .second__text {
    font-size: 0.8rem;
  }
  .banner {
    height: 140px;
  }
  .banner__wheel {
    gap: 3rem;
  }
  .hero__paragraph {
    font-size: 0.8rem;
  }
}
