@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    font-family: 'Poppins', sans-serif;
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
    color: black;
}

header{
    background-color: #FFF0A4;
    width: 100%;
    height: 50px;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 80px;
}

.logo{
    width: 90px;
    margin-top: 5px;
}

nav a{
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    padding-left: 30px;
    color: black;
}

nav a:hover{
    color : #FF7400;
}

.search{
    background-color: #FFF0A4 ;
    width: 280px;
    border: none;
    outline: none;
    border-bottom: #908B72 solid 1px;
    font-size: 16px;
    padding-left: 5px;
   
}

i{
    color: #FF7400;
}

.main div h2{
   display: inline-block;
   font-size: 40px;
   font-weight: 400;
   color: white;
}

h1{
    font-size: 40px;
    font-weight: 400;
    color: white;
}

h2 span{
    color: #FF7400;
    font-weight: 700;
}

.main,.reg_form,.log_form{
    width: 100%;
    padding-top: 60px;
    height: 625px;
    background-image: url(../images/books.png);
    background-size:cover;
}

.main div{
    padding: 130px 100px;
    align-items: center;
}

.mainabout, .maincat,.mainquote{
    height: 450px;
}

.main div p{
    width: 345px;
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: 400px;
    padding-left: 15px;
}

.Register , .log{
    border-radius: 28px;
    width: 175px;
    height: 60px;
    margin-top: 50px;
    margin-right: 50px;
    padding: 14px 48px;
    font-size: 20px;
    font-weight: 600;
}

.bookcont button{
    border-radius: 28px;
    width: 210px;
    height: 40px;
    margin-top: 50px;
    margin-right: 50px;
    font-size: 20px;
    font-weight: 600;
    background-color: #FF7400;
    color: white;
    border: none;
}

.add-rev button{
    background-color: #FF7400;
    border: none;
    padding: 10px;
    color: white;
    font-weight: 600 ;
    font-size: 20px;
    border-radius: 30px;
    width: 15%;
    height: 50px;
}

.viewreviews, .add-ques{
    display: flex;
    justify-content: space-between;
}

.Register{
    border: none;
    background-color: #FF7400;
    color: white;
}

.log{
    border: #ff9900 solid 4px;
    background: none;
    color:  #ff9900;
}



.log:hover{
    border-color: #ff5e00;
    background:none;
}

.content{
    width: 100%;
    margin: auto;
    align-items: center;
}
.content h2, .rev h2 ,.ask h2,.Quotes h1,.all,.scien{
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    padding: 48px 0px;
    color: black;
}

.rev,.ask{
    width:80%;
    margin: auto;
}

.ask{
    position: relative;
    top:20px;
}

.tech{
    color: #908B72;
    font-size: 14px;
}

.rev-cont, .ask-cont{
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rev-cont div,.ask-cont div{
    width:290px ;
    height: 280px;
    border: solid #FF7400 2px;
    background: none;
    border-radius: 20px;
    padding: 15px;
    line-height: 30px;
}

.head{
    display: flex;
    justify-content: flex-start;
     gap: 10px;
}

.ask-cont div{
    height: 320px ;
}

.add-ques{
    width: 60%;
    margin: auto;
}

.add-ques button{
    border: none;
    background-color: #FF7400;
    padding: 10px;
    border-radius: 15px;
    margin: 40px;
    color: white;
    font-weight: 600px;
    font-size: 16px;
}

.rev h2,.ask h2{
    font-size: 32px;
}

.add-rev{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    height: 100px;
    margin: auto;
    margin-top: 30px;
}

.add-rev input, .qbook input{
    background: none;
    border: #FF7400 solid 2px;
    padding: 15px;
    width: 80%;
    border-radius: 20px;
}

.group2, .group1, .group3{
    background: linear-gradient(93.02deg, rgba(255, 217, 18, 0.56) 1.65%, rgba(255, 138, 0, 0.392) 104.64%);
    height: 295px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
}

.book {
  display: flex;
  justify-content: center;
  align-items: center;  
  transition: 0.7s ease;
}

.inf{
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
    width:290px;
    height: 220px;
    background: linear-gradient(140.4deg, #FFF09F 0%, #FEF9E0 77.36%);
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    line-height: 40px;
    margin:0px 50px;

}

.bookinf{
      margin-top: 100px;
      width: 930px;
      height: 520px;
      background: linear-gradient(93.02deg, rgba(255, 217, 18, 0.56) 1.65%, rgba(255, 138, 0, 0.392) 104.64%);
      border-radius: 20px;
      gap: 50px;
}

.bookcont{
    width: 100%;
    display: flex;
    justify-content: center;
}

.bookcont div div img{
    width: 260px;
    height: 390px;
    margin-left: -50px;
}

.bookcont  div div p{
    line-height: 30px;
}

.bookcont a i{
    position: absolute;
    top:60px;
    left:90px;
}

.bookcont a ,.ask a{
    color: #FF7400;
}

.bookcont a:hover{
    color: #FF7400;
}

.ask a{
    display: flex;
    justify-content: center;
    align-items: center;
}

.bookcont a:hover,.ask a:hover{
    color:  #e75703;
}
button img{
    width:  21px;
    height: 21px;
}

.bookname{
    color: #FF7400;
    font-weight: 700;
    font-size: 40px;
    line-height: 60px;
    position: absolute;
    left: 100px;
}

.bookcont div div{
    position: relative;
}

.content div div div img , .book div div img  {
    margin-left: -50px;
    width: 156px;
    height: 238px;
}

.inf h1 {
    line-height: 20px;
}

.content h1 ,.book h1{
    font-weight: 700;
    font-size: 20px;
    color: black;
    width: 150px;
    height: 65px;
}

.content p , .book p{
    font-weight: 700;
    font-size: 15px; 
    color: rgba(0, 0, 0, 0.71);
}

.content button ,.qbook button ,.book button{
    width: 150px;
    height: 35px;
    font-weight: 700;
    font-size: 12px;
    color: white;
    padding: 5px;
    border: none;
    background-color: #FF7400;
    margin-top: 0px;
    border-radius: 28px;
}

button:hover{
    background-color: #ff5e00;
}


footer{
    margin-top: 95px;
    background-color: #FFF0A4;
    width:100%;
    height: 310px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 80px;
}

.footerLogo{
    width: 315px;
    height: 180px;
    margin:65px 0px;
}

footer a{
    display: block;
    text-decoration: none;
    color: black;
    line-height: 30px;
}

footer a:hover{
    color : #FF7400;
}

footer h2{
    color: #FF7400;
    font-size: 28px;
    font-weight: 700px;
}

span{
    color: #FF7400;
}

.reg_form .content_reg {
    width: 500px;
    height: 530px;
    background: rgba(0, 0, 0, 0.76);
    border-radius: 20px;
    margin: auto;
    margin-top: 20px;
    padding:20px;
}

.log_form .content_log{
    width: 500px;
    height: 400px;
    background: rgba(0, 0, 0, 0.76);
    border-radius: 20px;
    margin: auto;
    margin-top: 90px;
    padding:20px;
}

.reg_form div h2,.log_form div h2{
    font-weight: 700;
    font-size: 28px;
    color: #FF8A00;
    text-align: center;
}

.input input, .input button{
    width: 350px;
}

.input{
    margin-top: 40px;
    padding: 0px 55px;
}

.input input{
    background:none;
    border: none;
    outline: none;
    border-bottom: #908B72 solid 1px;
    padding-bottom: 10px;
    color: #FEF9E0;
}

.reg,.login{
    height: 50px;
    border-radius: 28px;
    font-size: 20px;
    font-weight: 500;
    background-color: #FF7400;
    color: #FEF9E0;
    border: none;
    margin-top: 40px;
}

.about_content{
    width: 80%;
    margin-right:auto;
    margin-left: auto;
    height: 600px;
    position: relative;
    transition: 0.7s ease;
}

.about_content p{
       color: #ffffff;
       font-weight: 500;
       font-size: 20px;
       text-align: center;
}

.about_content div {
      width: 60%;
      height: 150px;
      padding: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 20px;
}

.about1{
    background-color: #FFC306;
    position: absolute;
    top: 50px;
}

.about2{
    background-color: #FF9A00;
    position: absolute;
    right: 0px;
    top: 250px;
}

.about3{
    background-color: #FF7400;
    position: absolute;
    top: 450px;
}

.Quotes{
    width: 40%;
    margin: auto;
   
}

.qbook div{
    border: #FF7400 solid 2px;
    padding: 20px;
    border-radius: 30px;
    gap: 20px;
    height: 430px;
}

.s{
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-top: 20px;
     gap: 10px;
}


.margin{
    margin-left: 40px;
}

hr{
    width:60%;
    margin: auto;
}

.scient{
    width:60%;
    margin: auto;
    height: 700px;
    background: linear-gradient(93.02deg, rgba(255, 217, 18, 0.56) 1.65%, rgba(255, 138, 0, 0.392) 104.64%);
    margin-top: 20px;
}

.scientific1{
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: auto;
}

.scientific2{
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: auto;
    margin-top: 50px;
}

.icons img {
    width: 20px;
    height: 20px;
    margin-top: 10px;
    margin: 5px;
}


.book:hover{
    transform: scale(1.1);
}

.about1:hover , .about2:hover ,.about3:hover{
    transform: scale(1.1);
}

