/* READ NOW 1 */

/* SPHERE */

.decor-container {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.decor-sphere {
  position: absolute;
  top: 80%;
  left: 50%;
  width: 250vmin;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* PEOPLE */
.ppl {
  position: absolute;
  bottom: 5%;
  animation: floatNearOrigin 6s infinite ease-in-out;
  opacity: 0.85;
  will-change: transform;
}

#ppl1 {
  width: 25vw;
  left: 9%;
  top: 45%;
  z-index: 3;
}

/* KITES */
#kite1 {
  position: absolute;
  width: 20vw;
  left: -4%;
  top: 35%;
  z-index: 1;
  animation: floatNearOrigin 5s infinite ease-in-out;
}

#kite2 {
  position: absolute;
  width: 30vw;
  left: 80%;
  top: 0%;
  z-index: 2;
  animation: floatNearOrigin 6s infinite ease-in-out;
  animation-delay: 1s;
}

/* TEXT BLOCK */
.readnow1-title {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 10;
  width: auto;
  max-width: 800px;
  opacity: 0;
  transition: all 1.5s ease;

  /* Text styles */
  font-family: "Sora", sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 80px;
  line-height: 101px;
  text-align: center;
  color: #f3f3f3;
  margin: 0;
}

.readnow1-title.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.readnow1-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 10;
  width: 90%;
  max-width: 700px;
  opacity: 0;
  transition: all 1.5s ease;

  /* Text styles */
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  color: #f3f3f3;
}

.readnow1-text.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.readnow1-text p {
  margin: 0 0 24px 0;
}

.readnow1-text p:last-child {
  margin-bottom: 0;
}

.readnow1-text .text-bold {
  font-weight: 700;
}

.readnow1-text .embark-paragraph {
  display: inline;
  text-align: center;
}

.readnow1-text .embark-logo {
  height: 1em;
  width: auto;
  display: inline-block;
  vertical-align: baseline;
  margin: 0 4px;
}

/* FLOATING ANIMATION */
@keyframes floatNearOrigin {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.85;
  }
  25% {
    transform: translateY(-5px) translateX(2px);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-12px) translateX(-4px);
    opacity: 0.95;
  }
  75% {
    transform: translateY(-5px) translateX(4px);
    opacity: 0.9;
  }
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.85;
  }
}

/* MEDIA QUERIES RESPONSIVE  */

/* Bigger Laptops (<=1920px) */
@media (min-width: 1920px) {
  .readnow1-title {
    font-size: 80px;
    line-height: 88px;
    top: 15%;
  }

  .readnow1-text {
    font-size: 25px;
    line-height: 40px;
    width: 70%;
    max-width: 850px;
    top: 43%;
  }

  .readnow1-text p {
    margin: 0 0 22px 0;
  }
}

/* Laptops (<=1440px) */
@media (max-width: 1440px) {
  .readnow1-title {
    font-size: 70px;
    line-height: 88px;
    top: 15%;
  }

  .readnow1-text {
    font-size: 22px;
    line-height: 33px;
    width: 70%;
    max-width: 650px;
    top: 45%;
  }

  .readnow1-text p {
    margin: 0 0 22px 0;
  }
}

/* Tablets (<=1024px) */
@media (max-width: 1024px) {
  .decor-sphere {
    width: 300vmin;
    top: 75%;
  }

  #ppl1 {
    width: 40vw;
    left: -5%;
  }

  #kite1 {
    width: 25vw;
    top: 45%;
  }

  #kite2 {
    width: 35vw;
    left: 75%;
    top: 5%;
  }

  .readnow1-title {
    font-size: 60px;
    line-height: 76px;
    top: 12%;
  }

  .readnow1-text {
    width: 60%;
    top: 45%;
    font-size: 20px;
    line-height: 30px;
  }

  .readnow1-text p {
    margin: 0 0 20px 0;
  }
}

/* Large Mobile (<=768px) */
@media (max-width: 768px) {
  .decor-sphere {
    width: 340vmin;
    top: 78%;
  }

  #ppl1 {
    width: 48vw;
    margin: 8%;
    top: 65%;
  }

  #kite1 {
    width: 30vw;
    top: 59%;
  }

  #kite2 {
    width: 40vw;
    left: 70%;
    top: 10%;
  }

  .readnow1-title {
    font-size: 48px;
    line-height: 60px;
    top: 13%;
  }

  .readnow1-text {
    width: 85%;
    top: 45%;
    font-size: 18px;
    line-height: 27px;
  }

  .readnow1-text p {
    margin: 0 0 18px 0;
  }
}

/* Small Mobile (<=480px) */
@media (max-width: 480px) {
  .decor-sphere {
    width: 420vmin;
    top: 80%;
  }

  #ppl1 {
    width: 40vw;
    top: 60%;
    left: -10%;
    rotate: -5deg;
  }

  #kite1 {
    width: 23vw;
    top: 60%;
  }

  #kite2 {
    width: 43vw;
    left: 70%;
    top: 0%;
  }

  .readnow1-title {
    font-size: 30px;
    line-height: 48px;
    top: 15%;
  }

  .readnow1-text {
    width: 90%;
    top: 45%;
    font-size: 16px;
    line-height: 24px;
  }

  .readnow1-text p {
    margin: 0 0 16px 0;
  }
}

/* Extra Small Mobile (<=344px) */
@media (max-width: 344px) {
  .decor-sphere {
    width: 500vmin;
    top: 87%;
  }

  #ppl1 {
    width: 65vw;
    top: 55%;
  }

  #kite1 {
    width: 40vw;
    top: 50%;
  }

  #kite2 {
    width: 50vw;
    left: 65%;
  }

  .readnow1-title {
    font-size: 26px;
    line-height: 40px;
    top: 16%;
  }

  .readnow1-text {
    width: 92%;
    top: 44%;
    font-size: 14px;
    line-height: 21px;
  }

  .readnow1-text p {
    margin: 0 0 14px 0;
  }
}
