*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* :root{
  --white:#ffffff;
  --black:#212a31;
  --lightblack:#2e3944;
  --darkblue:#124e66;
  --darkgrey:#748d92;
  --lightgrey:#cdd2ce;
} */

:root{
  --merryred:#8d0202;
  --black:#000000;
  --peechwhite:#dacece;
  --white:#ffffff;
  --skinsandy:#ffecd9;
}

::-webkit-scrollbar{
  width: 10px;
}
::-webkit-scrollbar-button{
  background-color:var(--merryred);
}
::-webkit-scrollbar-thumb{
  background-color:var(--black);
}
::-webkit-scrollbar-track{
  background-color:var(--peechwhite);
}

.front-cover-page{
  width: 100%;
  margin-bottom: 30px;
}

.front-cover-page img{
  width: 100%;
}

.back-cover-page{
  width: 100%;
  margin-top: 30px;
}

.back-cover-page img{
  width: 100%;
}

.lssn-chapter{
  font-size: 20px;
}

 /* this code for chapters menu --start */

 .forward-menu-flex{
  display: flex;
  align-items: center;
  position: fixed;
  right: -200px;
  transition: .8s;
}

.forward-slide{
  right: 0px;
  transition: .8s;
}


.forward-menu-btn{
  display: flex;
}

.forward-menu-btn button{
  width: 40px;
  height: 40px;
  border-radius: 100% 0 0 100%;
  border: 2px solid var(--merryred);
  background-color: var(--skinsandy);
}

.forward-menu-btn button:hover{
  background-color: var(--peechwhite);
}

.forward-menu-btn button:active{
  background-color: black;
  color: white;
}

.forward-menu-btn button i{
  font-size: 20px;
}

  .forward-menu-container{
     background-color:var(--merryred);
     width:200px;
     height:80vh;
     line-height: 50px;
     overflow:scroll;
     border: 2px solid var(--merryred);
  }

  .forward-menu-container ul li{
     border-bottom: 1px solid var(--white);
     list-style-type:none;
     padding: 0 10px;
     text-align: center;
  }

  .forward-menu-container ul li a{
     font-family: "open-sans", sans-serif;
     font-size: 14px;
     color: var(--white);
     text-decoration-line: none;
     padding: 10px 0px;
  }

  .forward-menu-container ul li:hover{
     background-color: white;
     transition: .5s;
  }
  .forward-menu-container ul li:hover a{
     color: var(--black);
     transition: .5s;
  }

  .forward-menu-container ul li:active{
     background-color:var(--black);
     transition: .5s;
  }
  .forward-menu-container ul li:active a{
     color: var(--white);
     transition: .5s;
  }

  .copyright{
    margin-top: 20px;
    padding: 5px 0;
    text-align: center;
    color: white;
    background-color: black;
  }
  


  @media(max-width:768px){

     .forward-menu-btn button{
        width: 20px;
        height: 30px;
        border-radius: 10px 0 0 10px;
      }
     
      .forward-menu-btn button i{
        font-size: 15px;
      }
     
        .forward-menu-container ul li a{
           font-size: 12px;
        }
  }

/* this code for chapters menu --end */


body{
  background-color:var(--white);
  background-repeat: no-repeat;
  background-size:cover;
  background-position: center;
  height: 100vh;
}

header{
  position: sticky;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  background:var(--merryred);
  justify-content: space-between;
  align-items: center;
  height:70px;
  z-index: 999;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.463);
}

.logo-group{
  width: 30%;
  display: flex;
  align-items: center;
  justify-content:space-evenly;
}

.logo-group a{
  text-decoration-line: none;
}

.logo-group img{
  width: 50px;
  height: 50px;
  border-radius: 100%;
}

.logo-group span{
  font-size: 1.5rem;
  color: var(--white);
   font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.nav{
  display: flex;
  width: 50%;
  justify-content: center;
}

.nav ul{
  width: 70%;
  display: flex;
  justify-content: space-evenly;
}

.nav ul li{
  list-style-type: none;
  padding: 5px 10px;
}

.nav ul li:hover{
  border-bottom: 1px solid var(--white);
}

.nav ul li a{
  text-decoration-line: none;
  font-size: 20px;
  color: var(--skinsandy);
   font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

.nav ul li a:active{
  color:var(white);
}

.hamburger{
  display: none;
}

.back-btn{
  position:fixed;
  font-size: 30px;
  width: 65px;
  height: 100px;
  border: none;
  background-color: transparent;
  color: var(--merryred);
  transition: .2s;
}

.back-btn:hover{
   background-color: var(--merryred);
   color: var(--skinsandy);
}

.lessn{
    width: 100%;
    padding: 20px;
    background-color:var(--skinsandy);
    padding: 50px;
    width: 90%;
    margin: 0 auto;
}

.lessn .maintitle{
    display: grid;
    align-items: center;
    text-align: center;
     font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color:var(--merryred);
    padding: 10px;
    background-color:rgba(0, 0, 0, 0.13);
    border-top: 2px solid var(--merryred);
    border-bottom: 2px solid var(--merryred);
}

.lessn .maintitle b{
  font-size: 16px;
  text-transform: uppercase;
  color: var(--black);
}

.lessn .story-para{
    display: grid;
    grid-template-columns:repeat(2,1fr);
    min-height:400px;
    align-items: center;
    gap: 30px;
}

.lessn .story-para .img{
    display: grid;
    justify-content:center;
}

.lessn .story-para .img img{
  border: 2px solid var(--white);
  -webkit-box-shadow:0 0 10px 2px var(--merryred);
  -moz-box-shadow:0 0 10px 2px var(--merryred);
  box-shadow: 0 0 15px 1px var(--merryred);
  width: 100%;
  height: 350px;
}

.boldline{
    /* text-align: justify; */
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    padding: 10px;
    color:black;
    font-weight:600;
    line-height: 1.7;
    word-spacing: 5px;
}

.normalline{
    /* text-align: justify; */
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    padding: 10px;
    color:black;
    line-height: 1.7;
    word-spacing: 5px;
}

.qoutesline{
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  padding: 15px;
  color:var(--merryred);
  font-weight: bold;
  line-height: 1.7;
  word-spacing: 5px;
  background-color:var(--white);
  border-top: 2px solid var(--darkblue);
  margin: 15px 0;
  font-style: italic;  
  text-align: center;
}

.subtitle{
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  padding: 15px;
  font-weight: bold;
  border-top: 1px solid var(--merryred);
  border-bottom: 1px solid var(--merryred);
  background-color:var(--peechwhite);
  text-decoration-line: underline;
  text-decoration-thickness:2px;
  text-align:start;
}

.highlightline{
  color: var(--merryred);
  font-weight: bold;
  display: block;
  text-align: right;
}

.lesson-inner-img{
  display: grid;
  justify-content: center;
  margin: 20px;
}

.lesson-inner-img img{
  border: 2px solid var(--white);
  -webkit-box-shadow:0 0 10px 2px var(--merryred);
  -moz-box-shadow:0 0 10px 2px var(--merryred);
  box-shadow: 0 0 15px 1px var(--merryred);
}

.blueline{
  font-family: "Montserrat", sans-serif;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: blue;
  margin-top: 20px;
}

.pinkline{
  font-family: "Montserrat", sans-serif;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color:magenta;
}

.endCard{
  margin-top: 30px;
  text-align: center;
}

.endCard img{
  width: 400px;
  mix-blend-mode: multiply;
}







@media(max-width:768px){

  body{
    height: 80vh;
  }

  header{
    height:50px;
  }

  .logo-group{
    width:fit-content;
    margin-left: 10px;
    gap: 10px;
  }

  .logo-group img{
    width: 35px;
    height: 35px;
  }

  .logo-group span{
    font-size: 17px;
  }

  .hamburger{
    display: block;
    color: white;
    margin-right: 15px;
  }

  .back-btn{
    display: none;
  }

  .nav{
    display:block;
    width:fit-content;
  }
  
  .nav ul{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display:block;
    justify-content:center;
    background-color: white;
    margin-top: 50px;
    left: -1000px;
    transition:.8s;
  }

  .nav ul.slider{
    left: 0;
    transition:.8s;
  }

  .nav ul li{
    text-align: center;
    align-items: center;
    line-height: 5rem;
    border-bottom: 1px solid var(--bluezodiac);
    border-top: 1px solid var(--bluezodiac);  
  }

  .nav ul li a{
    color: black;
    text-align: center;
    font-size: 17px;
  }

  .lessn{
    padding: 0;
    width: 90%;
  }

  .lessn .maintitle{
    font-size: 20px;
    margin-bottom: 20px;
    padding-top: 20px;
}

  .lessn .story-para{
    display: grid;
    grid-template-columns:1fr;
    align-items: center;
}

.lessn .story-para .img img{
    max-width: 250px;
    height: 200px;
    
}

.boldline{
  font-size: 14px;
  line-height: 1.5;
  text-align: justify;
}

.normalline{
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;

}

.qoutesline{
  font-size: 13px;
  padding: 10px;
  text-align: justify;
  } 

  
.subtitle{
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  padding: 10px;
  text-decoration-thickness:1px;
}

.lesson-inner-img img{
 width: 200px;
}

.blueline{
  font-size: 14px;
  padding: 0 10px;
}

.pinkline{
  font-size: 14px;
  padding: 0 10px;
}


.endCard img{
  width: 200px;
  margin-bottom: 20px;
  mix-blend-mode: multiply;
}

.copyright{
  font-size: 12px;
}

}

