.sleeps-hero-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 9rem 0;
  background-image: linear-gradient(
    180deg,
    rgba(246, 245, 251, 1),
    rgba(255, 255, 255, 0)
  );
}

.sleeps-hero-wrapper h1 {
  font-family: Montserrat;
  line-height: 2.5rem;
  font-weight: 600;
  font-size: 5rem;
  color: #070707;
  /* white-space: nowrap; */
  max-width: 900px;
}

.sleeps-hero-wrapper h2 {
  color: #070707;
  font-family: "Open Sans";
  line-height: 2.5rem;
  letter-spacing: 0px;
  font-weight: 700;
  font-size: 2.4rem;
  max-width: 900px;
  margin: 4rem 0 0 0;
  text-align: center;
}

.sleeps-hero-wrapper .sleeps-hero-text {
  font-family: "Open Sans";
  line-height: 3.5rem;
  font-weight: 400;
  font-size: 2.4rem;
  margin: 3rem 0 0 0;
  color: #070707;
  max-width: 900px;
  text-align: center;
}

.sleeps-hero-element-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.sleeps-hero-element-wrapper .sleeps-hero-element {
  /* box-shadow: rgb(233, 233, 233) 1px 1px 2px 1px; */
  background-color: rgba(255, 255, 255, 1);
  margin: 1rem 1.5rem;
  padding: 1.5rem 0.5rem 1rem;
  width: 140px;
  /* height: 120px; */
  font-weight: bold;
  font-size: 1.6rem;
  -webkit-box-shadow: 0 3.49236px 14.3575px rgba(0, 95, 185, 0.10088);
  box-shadow: 0 3.49236px 14.3575px rgba(0, 95, 185, 0.10088);
  transition: all 0.3s ease-in-out;
}

.sleeps-hero-element-wrapper .sleeps-hero-element:hover {
  -webkit-box-shadow: 0 3.49236px 14.3575px rgba(20, 33, 45, 0.201);
  box-shadow: 0 3.49236px 14.3575px rgba(20, 33, 45, 0.201);
}

.sleeps-hero-element-wrapper .sleeps-hero-element a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #7b8086;
  font-weight: 700;
  font-family: "Open Sans";
}

.sleeps-hero-element-wrapper .sleeps-hero-element a img {
  width: 50px;
  height: auto;
}

.sleeps-hero-element-wrapper .sleeps-hero-element a span {
  margin: 0.6rem 0;
  padding: 0;
  line-height: 1.8rem;
  border-bottom: 1px solid transparent;
}

.sleeps-hero-element-wrapper .sleeps-hero-element a:hover span {
  border-bottom: 1px solid #5c00d8;
}

@media screen and (max-width: 980px) {
  .sleeps-hero-wrapper {
    padding: 6rem 0;
  }
  .sleeps-hero-wrapper h1 {
    font-size: 4.3rem;
    line-height: 3rem;
    max-width: 90vw;
    text-align: center;
  }

  .sleeps-hero-wrapper h2 {
    line-height: 2.2rem;
    font-size: 2rem;
    max-width: 90vw;
    margin: 4rem 0 0 0;
    text-align: center;
  }

  .sleeps-hero-wrapper .sleeps-hero-text {
    line-height: 2.5rem;
    font-size: 2rem;
    margin: 2rem 0 0 0;
    max-width: 90vw;
    text-align: center;
  }
}

@media screen and (max-width: 800px) {
  .sleeps-hero-wrapper {
    padding: 3rem 0;
  }
  .sleeps-hero-wrapper h1 {
    font-size: 3.5rem;
    line-height: 3rem;
    max-width: 90vw;
    text-align: center;
  }

  .sleeps-hero-wrapper h2 {
    line-height: 22px;
    font-size: 1.7rem;
    max-width: 90vw;
    margin: 4rem 0 0 0;
  }

  .sleeps-hero-wrapper .sleeps-hero-text {
    line-height: 2.3rem;
    font-size: 2rem;
    margin: 2rem 0 0 0;
    max-width: 90vw;
  }

  .sleeps-hero-element-wrapper {
    margin-top: 3rem;
  }
}

@media screen and (max-width: 500px) {
  .sleeps-hero-wrapper {
    padding: 3rem 0;
  }
  .sleeps-hero-wrapper h1 {
    font-size: 3.2rem;
    line-height: 3.5rem;
    max-width: 90vw;
    text-align: center;
  }

  .sleeps-hero-wrapper .sleeps-hero-text {
    line-height: 2.5rem;
    font-size: 1.8rem;
    margin: 2rem 0 0 0;
    max-width: 90vw;
  }

  .sleeps-hero-wrapper h2 {
    line-height: 2.5rem;
    font-size: 1.9rem;
    max-width: 90vw;
    margin: 4rem 0 0 0;
    text-align: center;
  }

  .sleeps-hero-element-wrapper .sleeps-hero-element {
    padding: 1rem;
    width: 88vw;
  }

  .sleeps-hero-element-wrapper .sleeps-hero-element a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    font-size: 2rem;
  }

  .sleeps-hero-element-wrapper .sleeps-hero-element a img {
    width: 70px;
    margin-left: 2rem;
  }

  .sleeps-hero-element-wrapper .sleeps-hero-element a span {
    margin: 0 0 0 4rem;
    font-size: 1.8rem;
  }
}
