
body , html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: auto; /* Allow scrolling */
    background-color: rgba(0, 0, 0, 0.637);
}

/* Make the video background cover the entire page */

html {    font-family: system-ui, sans-serif;     }
body {    scroll-behavior: smooth;        color: lightgrey;
     }
.parent{
position: relative;
width: 100%;        height: 100vh;
       } 
.video-background {
    position: fixed;
    top: 0;          left: 0;
    width: 100%;     height: 100%;  
    z-index: -1;     overflow: auto;   
                  }
.video-background video {
    min-width: 100%;        min-height: 100%;
    width: auto;            height: auto;
    position: absolute;     top: 50%;
    left: 50%;              transform: translate(-50%, -50%);
    object-fit: cover;
                        }
.content {
    position: relative;    z-index: 1;
    color: white;        text-align: center;
    padding: 20px;         margin-top: 20%;
         }
:root {     --accent-light: 224, 204, 250;     }
html {
    font-family: system-ui, sans-serif;
    background: #13151a;        scroll-behavior: smooth;
}
body {
    padding-top: 4rem;       color: white;
     }
nav {
    background: rgba(0, 0, 0, 0.719);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;      left: 0;     right: 0;
    z-index: 1000;
    }

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 2.7vh;     font-weight: bold;
    color: rgb(var(--accent-light));
}
.nav-links {
    display: flex;         gap: 2rem;
    list-style: none;      margin: 0;
}
.nav-links a {
    color: white;
    text-decoration: none;     font-size: 3vh;
    transition: color 0.3s;
}
 .activ{
    background: linear-gradient(to right,#008baa,#7e42a7,#6600c5,#2a46ff,#177dc2,#008ead);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-position: 0%;
    background-size: 350%;
    font-size: 4rem;
    animation: text-grad 2.7s linear infinite ;
    background-position: 0%;
  }
  .nav-links a:hover{   color: cyan;   }
main {
    margin: auto;       padding: 1rem;
    width: 800px;       max-width: calc(100% - 2rem);
    font-size: 20px;    line-height: 1.6;
}
h1 {
    line-height: 1;
    text-align: center;
    margin-bottom: 1.5em;
}

.text-gradient {
    background: linear-gradient(to right,#008baa,#7e42a7,#6600c5,#2a46ff,#177dc2,#008ead);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 350%;
    animation: text-grad 1.4s linear infinite ;
}
@keyframes text-grad {
    from{
        background-position: 0%;
    }
    to {
        background-position: 350%;
    }
}
.book-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;         padding: 1.5rem;
}
.book-cover {
    width: 100%;            height: 100%;
    object-fit: cover;      border-radius: 4px;
    margin-bottom: 1rem;
}

.book-info h2 {   font-size: 1.5rem;        }
.author {
    color: #888;
    font-size: 1rem;      margin: 0.5rem 0;
}
.book-card button {
    margin-top: 30px;           display: flex;
    position: absolute;         align-items: end;
    font-family: inherit;
    cursor: pointer;            font-weight: 500;
    font-size: 17px;
    padding: 0.8em 1.3em 0.8em 0.9em;       color: white;
    background: linear-gradient(to right, #1b1642,
     #302b63, #24243e);
    border: none;           letter-spacing: 0.05em;
    border-radius: 16px;
  }
.rat{
display: flex;              align-items: start;
justify-content: end;       color: white;
}
.rating:not(:checked) > input {
position: absolute;         appearance: none;
}
  .rating:not(:checked) > label {
    float: right;        cursor: pointer;
    font-size: 30px;     color: #666;
  }
.rating:not(:checked) > label:before {    content: '★';  }
  .rating > input:checked + label:hover,
  .rating > input:checked + label:hover ~ label,
  .rating > input:checked ~ label:hover,
  .rating > input:checked ~ label:hover ~ label,
  .rating > label:hover ~ input:checked ~ label {
      color: #e58e09;
                                                }                 
  .rating:not(:checked) > label:hover,
  .rating:not(:checked) > label:hover ~ label {
    color: #ff9e0b;
                                              }
  .rating > input:checked ~ label {
 color: #ffa723;         animation: yippee 0.75s backwards;
                                  }
    @keyframes yippee {
        0% {
          transform: scale(1);       fill: var(--fill);
          fill-opacity: 0;           stroke-opacity: 1;
          stroke: var(--stroke);      stroke-dasharray: 10;  
          stroke-width: 1px;          stroke-linejoin: bevel;
        }
        30% {
          transform: scale(0);         fill: var(--fill);  
          fill-opacity: 0;              stroke-opacity: 1;   
         stroke: var(--stroke);         stroke-dasharray: 10;
         stroke-width: 1px;            stroke-linejoin: bevel;
        }
        30.1% {
          stroke: var(--fill);                stroke-dasharray: 0;
          stroke-linejoin: miter;             stroke-width: 8px;
        }
        60% {
          transform: scale(1.2);         fill: var(--fill);
        }
      }
.description {
    font-size: 0.9rem;           margin: 0;
}
/* About Page Styles */
.about-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.about-section {
    margin-bottom: 2rem;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section h2 {
    color: rgb(var(--accent-light));
    font-size: 1.8rem;
}

.about-list {
    list-style-type: none;
    padding-left: 0;
}

.about-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.about-list li::before {
    content: "•";
    color: rgb(var(--accent-light));
    position: absolute;
    left: 0;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9em;
}
/* Responsive Design */
@media (max-width: 600px) {
    
    .nav-content{
    flex-direction: column;       gap: 1rem;
                }
    .nav-links {
        font-size: 2.86vh;
        gap: 1rem;
               }
}
@media (max-width: 768px) {
    .book-card img{     height: auto;     }
}
::-webkit-scrollbar {
    width: 2.3vh;
    background: linear-gradient(to right,white,#008baa,#7e42a7,#6600c5,#2a46ff,#177dc2,#008ead,white);
    border-radius: 45%;
}



    
