body {
    margin: 20px;
    padding: 0 0 20px 0;
    background-image: url("background-rarebooks.jpg"); /* Replace with the path to your background photo */
    background-size: contain;
    background-position: center;
  }
  

    .logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

    .logo {
        width: 100px;
        height: auto;
    }



    .filter-buttons {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .filter-buttons button {
        margin: 0 10px;
        background-color: rgba(255, 255, 255, 0.3);
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
    }

    .filter-buttons button:hover {
        background-color: rgba(255, 255, 255, 0.3);
    }



  
  .intro-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); 
    opacity: 0.5;
  }
  
  .background-photo {
    position: relative;
  }
  
  
  
  .search-bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Adjust the height as needed */
    background-color: rgba(255, 255, 255, 0.5); /* Adjust the background color and opacity as needed */
    margin-bottom: 20px;
  }  

.search-bar {
    display: flex;
    align-items: center;
    background-color: #f1f1f1;
    border-radius: 25px;
    padding: 5px;
}

#searchQuery {
    flex-grow: 1;
    border: none;
    background: transparent;
    outline: none;
    padding: 10px;
    font-size: 16px;
}

#searchButton {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    color: #333;
    font-size: 20px;
}



.slider-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    padding-top: 20px;
  }
  
  .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    margin-bottom: 60px;
  }
  
  .slide {
    position: relative;
    flex: 0 0 100%;
  }
  
  .slide-image {
    width: 50%; /* Adjust the width value as desired */
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image horizontally */
  }
  
  
  .slide-title {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
 
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    text-align: center;
  }
  
  
  .prev-arrow,
  .next-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    cursor: pointer;
  }
  
  .prev-arrow {
    left: 10px;
  }
  
  .next-arrow {
    right: 10px;
  }
  

  .intro-section {
    padding: 20px;
    text-align: center;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3); 
    margin-bottom: 20px;
    border-radius: 80px;
    margin-top: 20px;
  }

 
  
  .phrase {
    margin-bottom: 20px;
  }
  
  .phrase p {
    color: #fff;
    font-style: italic;
  }
  
  .read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
  }

  a {
    color: black;
  }
  

  .thumbnail-image {
    width: 30%;
    height: auto;
    max-width: 100%;
  }
  




  /* Modal styles */
#searchModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  backdrop-filter: blur(10px); /* Glassy effect */
  -webkit-backdrop-filter: blur(10px); /* Glassy effect for Safari */
}

.modal-content {
  background-color: transparent;
  margin: 10% auto;
  padding: 20px;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.modal-content h3{
  color: antiquewhite !important;
  font-style: italic !important;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* Card styles */
.card {
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Shadow effect */
  margin-bottom: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}



.thumbnail-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px; /* Add some spacing between the image and title */
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0; /* Remove any default margin */
  font-family: 'Alex Brush', cursive;
  font-style: italic;
}



#searchResultsContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
  width: 60%;
}




.close {
  color: antiquewhite;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1; /* Ensure the close button is on top of the modal content */
  opacity: 0.8;
}



.footer {
  text-align: center;
  position: static; 
  width: 100%;
  z-index: 100;
  color: #f5f5f5;
}


  
  .footer .navbar-nav {
	margin-bottom: 10px;
  }
  
  .footer .nav-link {
	color: #f5f5f5;;
  }
  
  .footer .social-media ul {
	list-style: none;
	padding: 0;
  }
  
  .footer .social-media li {
	display: inline-block;
	margin-right: 10px;
  }
  
  .footer .social-media a {
	font-size: 18px;
  color: #f5f5f5;
  }
  
  .footer .copyright {
	margin-top: 10px;
	color: #f5f5f5;
	font-size: 14px;
  }
  

  a:visited {
    color: black;
  }
  