/* Online FONT Styles */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Agdasima&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap');

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');  

body{
  background: #FCE9F1; 

}

/* Reset default margin and padding for the body, header, and ul */
header, ul {
  margin: 0;
  padding: 0;
  border-radius: 50px;
}

/* Set the position of the header and make it stick to the top */
header {
  background-color: rgba(255, 255, 255, 0.1); /* Adjust the background color and opacity */
  backdrop-filter: blur(2px); 
  position: fixed;
  top: 0;
  left: 0;
  width: 99%;
  
  padding: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Align items horizontally */
  z-index: 9999;
  font-family: 'Poppins', sans-serif;
}

/* Style the logo */
.logo {
  margin-right: 20px;
}

.logo img {
  max-height: 100px;
}

/* Style the navigation bar */
nav ul {
  display: flex;
  list-style-type: none;
}

nav ul li {
  margin-left: 10px;
}

nav ul li a {
  font-weight: bold;
  font-size: 120%;
  text-decoration: none;
  color: black;
  padding: 5px;
  position: relative;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: black;
  color: white;
}

nav ul li a::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 2px;
  bottom: -4px;
  background-color: #333;
  transform: scaleX(30%);
  transition: all 0.3s ease;
}

nav ul li a:hover::before {
  transform: scaleX(1);
}

nav ul li a:active {
  background-color: #ccc;
  transform: scale(0.97);
  background-color: red;
  color: white;
  border-radius: 10px;
}


  html{
    display: flex;
    gap: 10px;
  }

  /* --------------------------------------------------- */

  /* Designing the INTRO SECTION */

  .Intro-Section{
    background: white;
    width: 100%;
    border-radius: 30px;
    margin-top: 55px;
  }

  #Intro-image-1{
    width: 50vw;
    height: 70vh;
    transform: scale(0.97);
  }  


  .Section-1-Name{
    font-weight: bold;
    color: #3F2305;
    font-size: 20px;
    padding: 40px;
    margin: 30px;
  }

  .Section-1-Name h2{
    font-size: 40px;
    font-family: 'Kaushan Script', cursive;
    color: black;
  }

  .Section-1-Name h3{
    font-size: 25px;
    font-weight: 150;
    font-family: 'Pacifico', cursive;
  }

  .Section-1-Name p{
    font-family: 'Kalam', cursive;
    color: black; 
    text-shadow: 0 0.3vw 0.3vw #d49a0b;
    font-size: 29px;
  }

  /* Designing the div sections*/

  .Section-1-Name{
    padding: 40px;
    margin: 10px;
    margin-right: 50%;
    border: 30px;
  }

  .Section-2-Picture{
    position: absolute;
    transform: translate(90%, 5%);
    width: 52vw;
    margin-top: 20px;
    border: 0;
    border-radius: 5px;
    overflow: hidden;
     background-image: url(./assets/images/bookstore_image_2.png); 
    background-size: 95% auto;
    background-repeat: no-repeat;
  }

  /* Button to re-direct to BESTSELLERS */

  .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: black;
    color: white;
    font-family: 'Acme', sans-serif;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s ease, color 0.3s ease, scale 0.3s ease, transform 0.3s ease-out;
    animation: glowing 2s ease-in-out infinite; /* Adjust the duration and timing as needed */
    color: #DD58D6;
    
  }
  
  .button:hover {
    background-color: black;
    transform: scale(1.2);
  }

  @keyframes glowing {
    0% {
      text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #FF00FF, 0 0 40px #FF00FF, 0 0 50px #FF00FF, 0 0 60px #FF00FF;
    }
    50% {
      text-shadow: none;
    }
    100% {
      text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #FF00FF, 0 0 40px #FF00FF, 0 0 50px #FF00FF, 0 0 60px #FF00FF;
    }
  }



  /* OUR BESTSELLERS */

  #Heading-Bestsellers{
    font-family: 'Oswald', sans-serif;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    text-shadow: 0 0.3vw 0.3vw #d49a0b;
  }

  #subtitle{
    font-family: 'Dancing Script', cursive;
    font-size: 200%;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 0.3vw 0.3vw #d49a0b;
  }

/* ------------------------------------------------------------------ */
/* Designing the CARDS Section */

@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

.cards{
    margin: 0px;
    padding:5px;
    border: 5px;
    border-radius: 5px;
    height: 550px; /* Take note of this height - Hides the description*/
}

.cards{
    display: inline-block;
    margin-top: 5vh;
    margin-bottom: 5vh;
    margin-left: 3vw;
    margin-right: 6px;
    width: 15%;  /* Resize the size of each Image card */
    background-color: #F5F5F5;
    box-shadow: 2px 2px 10px black;
    overflow: hidden;
}

 .container img{               /*    IMAGE    */
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: auto;
    border-color: black;
    border-radius: 8px;
}  

.container .image #ET-book{
  height: 50vh;
} 

.title{                     /*  Title  */
    text-align: center;
    font-size: 120%;
    margin: 5px;
    font-family: 'Oswald', sans-serif;
}

.title #calculus{
    text-align: center;
    font-size: 125%;
    margin: 2px;
    font-family: 'Oswald', sans-serif;
}

/* ---------------------------------------------------------------  */

 

.button .focus{
  padding: 1px 1px;
  color: black;
  font-weight: bold;
    cursor: pointer;
}

button.focus:focus {
  background-color: #A7EDE7;
}

button.focus:focus::after {
  content: "ed";
}

/* --------------------------------------------------------- */

#rupee{   /* PRICE TAG */
  float: right;
  margin-right: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  
}

.genre p{
  color: blue;
  font-family: 'Agdasima', sans-serif;
  font-weight: bold;
  font-size: large;
  margin-left: 10px;
  transform: translateY(-1vh);
}

.genre {
  float: left;
  width: 40%;
}

.discount {
  float: right;
  font-weight: bold;
  color: brown;
  width: 50%;
  
}

/* ------------------------------------------------ */ 
/*       HOVER TEXT DESCRIPTION       */


.container{
  position: relative;
}

.content{
  width: 91.5%;
  height: 97%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;

  padding: 10px;
  border-left: 10px;
  
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  top: 30px;
  left: 0;
  display: none;
}

.container:hover .content{
  margin-left: 0px;
  margin-right: 0px;
  top: 0%;

  font-family: 'Oswald', sans-serif;
  font-size: large;
  color: white;
  display: flex;
  visibility: visible;
  opacity: 1;
}

/* ------------------------------------------------------------------------ */

/* SEARCH BAR */

form {
  position: relative;
  box-shadow: 0px 32px 40px -19px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

#search-box{
  outline: none;
  border: none;
  font-size: large;
  font-family: 'PT Sans', sans-serif;
  border: 2px solid black;
  border-radius: 30px;
  padding: 1rem 3rem;
  padding-right: 4rem;
  width: 0;
  transition: width .5s;
}

i {
  position: absolute !important;
  top: 18px;
  font-size: 1.25rem;
  color: #7f7bf2;
  transition: left 1.5s;
}

#search-box:focus {
  width: 500px;
}

#search-box:focus  + i {
  left: 67% /* Added transform property */
}


/* ------------ REVIEWS SECTION --------------------- */

.testimonials{
  padding: 40px 0;
  background: #f1f1f1;
  color: #434343;
  text-align: center;
  box-shadow: 2px 2px 10px black;
}

.inner{
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  padding: 0 20px;
}

.border{
  width: 160px;
  height: 5px;
  background: #6ab04c;
  margin: 26px auto;
  
}

.row{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.col{
  flex: 33.33%;
  max-width: 25%;
  box-sizing: border-box;
  padding: 15px;
  
}

.testimonial{
  background: #fff;
  padding: 30px;
  border-radius: 10px;
}
.testimonial img{
  width: 200px;
  height: 200px;
  border-radius: 100%;
  border: 2px solid black;
}

.name{
  font-size: 20px;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  margin: 10px 0;
}

.stars {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  background:black;
  border-radius: 50px;
}

.stars .fa-star {
  font-size: 20px;
  color: #FFD700;
}

.testimonial p{
  font-family: 'Kalam', cursive;
  font-size: 20px;
  font-weight: bold;
}

@media screen and (max-width:960px) {
.col{
  flex: 100%;
  max-width: 80%;
}
}

@media screen and (max-width:600px) {
  .col{
    flex: 100%;
    max-width: 100%;
  }
} 


/* ---------------------------------------------- */

/* REVIEWS TITLES */

#reviews{
  font-family: 'Oswald', sans-serif;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  text-shadow: 0 0.3vw 0.3vw #d49a0b;
}

#reviews-subtitle{
  font-family: 'Dancing Script', cursive;
  font-size: 120%;
  font-weight: bold;
  text-align: center;
}

/* ---------------- SUBMIT YOUR REVIEW -----------------  */

.submit-review{
  font-family: 'Dancing Script', cursive;
  font-size: 60px;
  font-weight: bold;
  text-align: center;
  text-shadow: 0 0.3vw 0.3vw #d49a0b;
}

/* ------------ REVIEW CARD --------------- */


.Container{
  width: 85%;
  height: 50vh;
  margin: 6rem;
  
  border-radius: 30px;
  
  display: flex;
  align-items: center;
  justify-content: center;
}

#BOX{
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 2vw 4vw;
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
}

#BOX input, #BOX textarea{
  border: 0;
  margin: 10px 0;
  width: 90%;
  font-family: 'Kalam', cursive;

  padding: 20px;
  outline: none;
  background: #f5f5f5;
  font-size: 16px;
}

#BOX button{
  padding: 15px;
  font-family: 'Dancing Script', cursive;
  background: #98EECC;
  color: white;
  font-size: 30px;
  border: 0;
  outline: none;
  cursor: pointer;
  width: 50%;
  margin: 20px auto 0;
  border-radius: 30px;
}

#submit:active{
  transform: scale(0.97);
}

/* ---------------- FOOTER ------------------------------- */


.footer .socials{
  text-align: center;
  color: #4b4c4d;
}


/* ----------------------------------------  */

.fa {  
  background: black;
  padding: 20px;
  display: flex;  
  text-align: center;
  justify-content: center;    
  font-size: 30px;  
  width: 15px;
  border-radius: 50%;

}  

.socials{
  display: flex;
  align-items: center;
  justify-content: center;
}

.socials a{
  margin: 20px;
  justify-content: center;
  font-size: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.fa-facebook {  
  background: #3B5998;  
  color: white;  
}

.fa-twitter {  
  background: #55ACEE;  
  color: white;  
}

.fa-pinterest {  
  background: #cb2027;  
  color: white;  
}

.fa-linkedin {  
  background: #007bb5;  
  color: white;  
}

.fa-instagram {  
  background: #125688;  
  color: white;  
}

.fa-youtube {  
  background: #bb0000;  
  color: white;  
}
  
.fa:hover {  
  opacity: 0.9;  
  transform: scale(1.2);
  transition: transform 0.5s;
}  

.fa:active{
  transform: scale(0.9);
}

/* ----------- Check out our SOCIALS ------------------- */

.changing-text{
  background: linear-gradient(90deg,#ff0000, #ff0023, #ff00f3, #0033ff, #ff00c4, #ff0000);
  background-size: 30%;
  font-size: 40px;
  font-family: 'Oswald', sans-serif;
  text-align: center;
  margin-right: 150px;
  border-top: 20px;
  
  font-weight: 600;
  
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;  
  
} 

.changing-text{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  width: 100%;
  border-radius: 50px;
}

.List{
  display: flex;
  align-items: center;
  justify-content: center;
}

.List ul{
  list-style: none;
  padding: 0;
  display: flex;
  line-height: 1.6;
  font-size: 18px;
  text-align: center;
  margin-bottom: 0;
}

.List ul li{
  display: inline-block;
  padding: 0 15px;
}

.List ul li a{
  text-decoration: none;
  opacity: 0.8;
  font-family: 'Montserrat', sans-serif;
}

.List ul li a:hover{
  opacity: 1;
  transform: scale(1.2);
  transition: font-size 0.3s;
}

footer p{
  font-size: 18px;
  font-family: 'Oswald', sans-serif;
}

/* ------------ BACK TO TOP -------------------- */

html{
  scroll-behavior: smooth;
}

section{
  width: 100%;
  height: 300vh;
  background-size: cover;
}

.gotopbtn{
  display: flex;
  align-items: center;
  justify-content: center;

  position: fixed;
  width: 50px;
  height: 50px;
  background: #A2FF86;
  bottom: 40px;
  right: 30px;

  text-decoration: none;
  text-align: center;
  line-height: 50px;
  color: white;
  font-size: 100%;
}
