body, h1, p, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}


.dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown button {
  background-color: rgb(223, 229, 231);
    
    color: white;
    padding: 0px 0px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: -7px;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    right: 0px;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
  }

  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    
  }

  .dropdown-content a:hover {
    background-color: #f1f1f1;

    
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown button:hover {
    background-color: #768d76;
  }
  .imgdrop{
      width: 50px;
      height: 40px;
  }

header {

  margin: 10px 10px 10px 10px;

  border-radius: 25px;
  background-color: rgb(223, 229, 231);
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

header .logo h1 {
  font-size: 24px;
}

header nav ul {
  list-style-type: none;
  display: flex;
  justify-content: baseline;
}

header nav ul li {
  margin-left: 20px;
  
}

header nav ul li a {
  color: black;
  text-decoration: none;
}

header nav ul li a:hover {
  text-decoration: underline;
}

/* 
header {
    width: 100%;
} */



.ing{
    margin-top: 30px;
    margin-left: 40px;
    display: flex;
    justify-content: space-evenly;
    width: 600px;
    gap: 10px;
}
.width{
    width: 350px;
    height: 230px;
    border-radius: 6px;
    box-shadow: 2px 2px 10px rgb(133, 131, 131);
    transition: all 3s ease;
}
.img1:hover{
    transform: scale(1.1);
}
.img2:hover{
    transform: scale(1.1);
}
.img3:hover{
    transform: scale(1.1);
}
.img4:hover{
    transform: scale(1.1);
}

/* .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f0f0f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
} */
/* 
.logo {
    max-width: 100px;
    height: auto;
}

header h1 {
    font-size: 24px;
    margin: 0 20px;
}

.nav-container ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-container ul li {
    
    display: inline-block;
}

.nav-container ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

.nav-container ul li a:hover {
    background-color: #ddd;
    border-radius: 5px;
} */

.index {
    width: 100%;
    height: 50vh;
    position: relative;
    overflow: hidden;
}

.index img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

h1 {
    text-align: center;
    font-size: 2rem;
    margin: 20px 0;
}

.book {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.book-div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 300px;
    margin: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-sizing: border-box;
    box-shadow:10px 10px #555;
}

.book-img {
    width: 100px;
    height: 150px;
    object-fit: cover;
    margin-right: 20px;
}

.description {
    text-align: left;
    width: calc(100% - 120px);
}

.about-us, .contact-us {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.about-us {
    background-color: #f4f4f9;
    color: #333;
    text-align: center;
}

.about-us h2 {
    font-size: 2rem;
    color: #1e90ff;
    margin-bottom: 20px;
}

.about-us p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.contact-us {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-us h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.contact-us p {
    text-align: center;
    margin-bottom: 30px;
    color: #555;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    font-weight: bold;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

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

/* Media Queries */
@media (max-width: 1024px) {
    header h1 {
        font-size: 22px;
    }
    
    .nav-container ul {
        gap: 15px;
    }
    
    .nav-container ul li a {
        font-size: 16px;
        padding: 8px 12px;
    }
    
    .index {
        height: 40vh;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 80px;
    }
    
    header h1 {
        font-size: 20px;
    }
    
    .nav-container ul {
        gap: 10px;
    }
    
    .nav-container ul li a {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .book-div {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 60px;
    }
    
    header h1 {
        font-size: 18px;
    }
    
    .nav-container ul {
        gap: 8px;
    }
    
    .nav-container ul li a {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .book-img {
        width: 80px;
        height: 120px;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }
    
    .contact-form button {
        font-size: 14px;
        padding: 8px 12px;
    }
}
.library-title {
    font-size: 4rem;
    font-weight: bold;
    color: #333; 
    text-align: center; 
    margin: 20px 0; /
}
input:focus{
    outline:none;
}
textarea:focus{
    outline: none;
}