/* Google font:  */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

/* header section */
.header {
  max-height: 850px;
  align-items: center;
  justify-content: center;
}

.hero {
  padding: 0;
}

.hero-title {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero p {
  font-size: 1.6rem;
  padding: 0 19rem;
  color: #000;
  font-family: Manrope;
  font-weight: 400;
}

#hero-star {
  position: absolute;
  top: 21%;
  left: 21%;
}

/* article section */

.article {
  position: relative;
  margin-top: 5%;

  z-index: 1;
}

.article-box {
  margin: 1rem 2rem;
}

.article-box img {
  position: relative;
  width: 36vw;
  z-index: 24;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.article-box h2 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 15px;
  color: #000000;
}

.article-box p {
  font-size: 1.5rem;
  color: hsla(0, 0%, 20%, 0.8);
  padding-top: 12px;
  line-height: 1.2;
}

.grid-box {
  padding: 12rem;
  margin-bottom: -4rem;
}

.triangle {
  width: 19%;
  position: absolute;
  opacity: 20%;
  left: -5%;
  top: 88%;
  transform: rotate(100deg);
}

.star {
  width: 16%;
  top: -10%;
  position: absolute;
  right: 0px;
  bottom: 7%;
}

.center-star {
  position: absolute;
  top: 28%;
  width: 22%;
  right: 57%;
}

.girl {
  width: 11%;
  top: -8%;
  position: absolute;
  left: 2%;
}

.kid {
  position: absolute;
  bottom: -10%;
  right: 0;
  z-index: 23;
  width: 24%;
}

.pages {
  width: 100vw;
  height: 100px;
  display: flex;
  align-items: center;
  margin-bottom: 5rem;
  justify-content: center;
  gap: 3rem;
}

.box {
  width: 70px;
  height: 70px;
  background: transparent;
  font-size: 2rem;
  border: 2px solid #ff991c;
  border-radius: 10px;
}

.box.active {
  background-color: #ff991c;
  color: #fff;
}

.box img {
  width: 30px;
  padding: 16px 3px;
}

.right-arrow {
  transform: rotate(180deg);
}

.ele-2 {
  left: -1%;
  width: 18%;
  top: -60%;
}

@media (max-width: 1440px) and (min-width: 1024px) {
  .hero p {
    padding: 0;
  }

  .title p {
    margin: 3rem 0;
  }

  .article-details {
    padding-left: 3rem;
  }

  .list {
    font-size: 1.5rem;
  }

  .quote {
    padding: 0;
    font-size: 1.2rem;
  }

  .grid-box {
    padding: 8rem;
  }

  .ctn {
    width: 50%;
  }

  .frame-2 {
    top: 31%;
    width: 39%;
    max-height: 370px;
    height: 45%;
    right: -1%;
  }

  .ele-2 {
    left: -1%;
    width: 18%;
    top: -43%;
  }

  .article p {
    font-size: 1.8rem;
  }
}

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .hero p {
    font-size: 1.3rem;
    padding: 0;
  }

  .hero-title {
    padding: 0;
  }

  #header-star {
    position: absolute;
    top: 23.5%;
    left: 3%;
  }

  .grid-box {
    padding: 0;
    padding-top: 6rem;
    margin-bottom: 1rem;
  }

  .article-box img {
    width: 42vw;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
  }

  .article-box h2 {
    font-size: 1.5rem;
  }

  .article-box p {
    font-size: 1.2rem;
  }

  .girl {
    width: 19%;
    position: absolute;
    top: -13%;
    left: 2%;
  }

  footer {
    margin-top: 3rem;
  }

  .ele-2 {
    left: -1%;
    width: 18%;
    top: -42%;
  }
}

@media (max-width: 430px) {
  .hero p {
    font-size: 1rem;
  }

  .girl {
    width: 33%;
    top: -6%;
    left: 0%;
  }

  .article-box img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
  }

  .article-box h2 {
    font-size: 1.2rem;
    text-align: center;
  }

  .article-box p {
    text-align: center;
  }

  .box {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .pages {
    gap: 1rem;
  }

  .box img {
    width: 25px;
    padding: 12px 4px;
  }

  .triangle {
    width: 24%;
    top: 99%;
  }

  .kid {
    bottom: -5.4%;
    width: 32%;
  }

  #header-star {
    top: 43.5%;
  }
}
