@import url("https://fonts.googleapis.com/css2?family=Lalezar&family=Londrina+Solid:wght@100;300;400;900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: var(--black);
}
html {
  /* 1rem = 10px */
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body,
html {
  width: 100%;
  height: 100%;
}
body {
  background: #f5ff7d;
  width: 100%;
  overflow-x: hidden;
}
header,
section {
  font-size: 1.6rem;
}
:root {
  --font-londrina: "Londrina Solid", sans-serif;
  --font-lalezar: "Lalezar", sans-serif;
  --white: #ffffff;
  --black: #000000;
  --nav-height: 100px;
}
.page {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 2%;
  padding-right: 2%;
  min-height: var(--nav-height);
  gap: 10px;
  background-color: #f5ff7d;
  margin: auto;
  max-width: 1400px;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-img {
  width: 6rem;
  height: auto;
  position: relative;
  z-index: 3;
}
.logo-img2 {
  width: 11rem;
}
.logo-img img {
  width: 100%;
  height: 100%;
}
.logo span {
  font-family: var(--font-lalezar);
  font-weight: 400;
  font-size: 4.5rem;
}

.page-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: calc(100vh - var(--nav-height));
}

/* ========bottom-side======== */
.top-wrapper {
  background: linear-gradient(180deg, #dbed09 0%, #dbed09 100%);
}
.top-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 4rem 4% 0 4%;
  background: linear-gradient(180deg, #dbed09 0%, #dbed09 100%);
  max-width: 1400px;
  margin: auto;
}
.bottom-wrapper {
  position: relative;
  overflow: hidden;
}
.bottom-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  padding-top: 14rem;
  padding-bottom: 4rem;
  padding-left: 4%;
  padding-right: 4%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
}
.bg img {
  width: 100%;
  height: auto;
}
/* =========heading section======== */
.text-div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 4;
}
.heading {
  font-family: var(--font-lalezar);
  font-weight: 400;
  font-size: 9rem;
  line-height: 100%;
}

.para {
  font-family: var(--font-londrina);
  font-weight: 400;
  font-size: 4rem;
  max-width: 60rem;
}
/* ========btns section======== */

.btns-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  position: relative;
  margin-top: 2rem;
}

.link-btn {
  padding: 0.5rem 1.3rem;
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s;
  z-index: 10;
  background-color: var(--white);
  border-radius: 50%;
  border: 2px solid #000000;
}
.buy-btn {
  cursor: pointer;
  transition: all 0.3s;
  padding: 0.5rem 1.5rem;
  border: 1px solid #000000;
  background-color: var(--white);
  border-radius: 100px;
  align-content: center;
}
.buy-btn span {
  font-family: var(--font-londrina);
  font-weight: 400;
  font-size: 4rem;
  color: #1d190f;
}

.btn:hover,
.link-btn:hover {
  transform: scale(1.08);
  border: 2px solid #F5FF7D;
}

.link-btn img {
  width: 100%;
  height: auto;
}
/* ========copy btn section======== */

.copy-btn-box {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  position: relative;
  z-index: 10;
  font-family: var(--font-londrina);
}
.copy-btn-box span {
  font-weight: 400;
  font-size: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-btn {
  font-size: 3rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.4s;
  padding: 1rem;
  border: 1px solid #000000;
  background-color: var(--white);
  border-radius: 100px;
}
.copy-text {
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: 100px;
  border: 1px solid #000000;
}

.copy-text p {
  width: 300px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 1.8rem;
  font-weight: 250;
  text-overflow: ellipsis;
}
/* ========main-img section======== */

.main-img {
  position: relative;
  width: 85%;
  z-index: 5;
}
#main-img1 {
  max-width: 45rem;
  position: relative;
  bottom: -8rem;
  margin-top: -8rem;
}
#main-img1::before {
  content: "";
  position: absolute;
  bottom: -5%;
  left: 0;
  right: 0;
  width: 90%;
  height: 10%;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(assets/shadow.png);
  z-index: 2;
}
#main-img2 {
  width: 60%;
  max-width: 40rem;
  position: relative;
  top: 18rem;
  margin-bottom: 15rem;
  transition: opacity 0.3s ease;
}
.main-img img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 5;
}
.cloud {
  position: absolute;
  z-index: 1;
}
#cloud1 {
  max-width: 25rem;
  width: 30%;
  left: 40%;
  top: 5rem;
}
#cloud2 {
  max-width: 25rem;
  width: 30%;
  right: 18%;
  top: 2rem;
}
#cloud3 {
  max-width: 55rem;
  width: 40%;
  right: -3%;
  top: 20rem;
}
/* ====book==== */
.book-container {
  position: relative;
  right: 10rem;
  max-width: 100rem;
  width: 80%;
}
.book {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(-270deg, #e6e6e6 0%, #ffffff 22.25%);
  border: 0.4px solid #000000;
  border-top-left-radius: 100px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}

.book-left-side {
  border-right: 0.4px solid #000000;
  width: 40%;
}
.book-right-side {
  padding: 1rem;
  width: 50rem;
  object-fit: cover;
}
.para2 {
  font-family: var(--font-londrina);
  font-weight: 400;
  font-size: 3rem;
  max-width: 25rem;
  padding: 6rem 2rem 2rem 3rem;

}
.book-right-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  object-fit: cover;
}
.moving-btns {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-right: 20%;
  margin-top: 20px;
  position: relative;
  z-index: 10;
}
.arrow-btn {
  background-color: #dbed09;
  width: 4.5rem;
  height: 4.5rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid #000000;
}
.arrow-btn img {
  width: 60%;
  height: 60%;
}
/* responsivness */
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
}
@media (max-width: 400px) {
  html {
    font-size: 50%;
  }
}
@media (max-width: 1200px) {
  #cloud1 {
    left: 30%;
  }
}
@media (max-width: 1100px) {
  .book-container {
    margin-right: -10rem;
  }
}
@media (max-width: 980px) and (min-width: 830px) {
  .heading {
    font-size: 7rem;
  }
  .para {
    font-size: 3.5rem;
  }
  .logo span {
    font-size: 4rem;
  }
  #main-img1 {
    max-width: 40rem;
  }
}
@media (max-width: 830px) {
  .top-side {
    flex-direction: column;
    gap: 2rem;
  }
  .copy-text p {
    width: 200px;
  }
  .text-div {
    align-items: center;
    text-align: center;
  }
  .para2 {
    font-size: 2.5rem;
  }
  #main-img1 {
    max-width: 40rem;
  }
  .top-side {
    padding-top: 15rem;
  }
  #cloud1 {
    left: 10%;
  }
  #cloud3 {
    max-width: 36rem;
    right: -6%;
    top: 10rem;
    width: 30%;
  }
}
@media (max-width: 700px) {
  .heading {
    font-size: 7rem;
  }
  .para {
    font-size: 3.5rem;
  }
  .logo span {
    font-size: 4rem;
  }
  .copy-btn-box span {
    font-size: 3rem;
  }
  .copy-btn {
    font-size: 2.5rem;
  }
  .logo-img1 {
    width: 5rem;
  }
  #main-img2 {
    top: unset;
    margin-bottom: 0;
    position: absolute;
    bottom: 0;
    max-width: 20rem;
    width: 30%;
    left: 4%;
  }
  .book-container {
    margin-right: 0;
    right: 0;
    width: 90%;
    margin-left: auto;
  }
}

@media (max-width: 631px) {
  :root {
    --nav-height: 80px;
  }
  .logo {
    gap: 10px;
  }
  .para1 {
    margin-bottom: 2rem;
  }
  .copy-btn-box {
    flex-direction: column;
    align-items: center;
  }
  .copy-text p {
    width: 280px;
  }
  .buy-btn span {
    font-size: 3rem;
  }
  .top-side {
    padding-top: 10rem;
  }
  #cloud1 {
    left: 3%;
    top: 2rem;
  }
  #cloud2 {
    width: 40%;
  }
  #cloud3 {
    top: 7rem;
    width: 45%;
  }
}

@media (max-width: 500px) {
  .book-left-side {
    border-right: none;
  }
  .book-container {
    width: 80%;
  }

  .book {
    flex-direction: column;
  }
  #main-img2 {
    width: 50%;
  }
  .moving-btns {
    padding-right: 5%;
  }
  .book-left-side {
    width: 100%;
  }
}
@media (max-width: 400px) {
  .book-container {
    width: 100%;
  }
}
@media (max-width: 350px) {
  .copy-text p {
    width: 210px;
  }
  .heading {
    font-size: 6rem;
  }
  .para {
    font-size: 3rem;
  }
}
