
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}
* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
header {
    
    background-color: #7f4172;
    color: white;
    padding: 1em 0; 
    text-align:center;
    height:20px;
    margin: 0px;
    height:fit-content;
    justify-content: inline;
}


marquee{
    background-color:rgb(39, 179, 39);
 color:white;
 font-weight: bold;
 font-size: larger;
 height: 30px;
 justify-content:center;
 
 
 
}

header {
    background-color: rgb(251, 231, 214);
    color:rgb(80, 32, 32);
    text-align: center;
    padding-top: 0.5rem;
    padding-left: 2rem;
    
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1.3em;
}
.login-btn a {
    color: #ffffff;
    background-color: transparent;
    /* display: flex; */
    justify-content: center;
}
.search-bar {
    display: flex;
    padding-right: 420px;
    justify-content: left;
    margin-top: 20px;
    height: 40px;
  }

  input[type="text"] {
    padding: 10px;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
  }

  button {
    padding: 10px 20px;
    border: none;
    background-color: #9a7449;
    color: white;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    font-size: 16px;
  }

  button:hover {
    background-color: #50c429;
  }



header h1 {
    margin: 0;
    font-size: 2em;
    font-weight: bold;
   
}

header p {
    margin: 2px 0 0;
}


nav {
    border-top: #333;
    height: fit-content;
    background-color:rgb(97, 59, 59);
    display: flex;
    justify-content :right;
    padding: 10px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

nav a {
    color: rgb(228, 225, 225);
    text-decoration: none;
    margin: 0px 30px;
    font-size: 1.1em;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: green;
}


.container {
    position: fixed;
    top:0px;
    left:20px;
    max-width: fit-content;
    margin-top:0%;
}




footer {
    background-color: #613a34;
    color: paleturquoise;
    text-align: center;
    padding: 105px 0;
    margin-top: 0px;
}

footer a {
    color: #FFD700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


.video-background {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1; 
} 

.container {
    position: relative;
    top: 1%; 
    left:0%;
    width: 100%;
    padding: 0px;
    z-index: 1; 
    color: white;
    text-align: center;
}

h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: black;
}
.logonew {
    
    font-size:80px ;
    font-style:italic;
    font-weight: bold;
}
button {
    justify-content: center;
    
}


.books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
}

.book {
    background-color: rgba(0, 0, 0, 0.6); 
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.book img {
    width: 50%;
    height: auto;
    border-radius: 10px;
}

img:hover{
    background-color: bisque;
    font-size: 18px;
}

.book h3 {
    font-size: 2rem;
    margin: 15px 0;
}

.book p {
    font-size: 1.2rem;
    color: #ddd;
}
.container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.contact-form2 {
    background-color: rgba(255, 255, 255, 0);
    border-radius: 10px;
    padding: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.contact-form2 h2 {
    text-align: center;
    margin-bottom: 20px;
}

.contact-form2 label {
    display: block;
    margin-bottom: 5px;
}

.contact-form2 input,
.contact-form2 textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.contact-form2 button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.contact-form2 button:hover {
    background-color: #0056b3;
}