body {
  font-family: Arial, sans-serif;
  position: absolute;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  width: 100%;
  margin: 0px;
}

.wrapper{
  background-image: url('../assets/background.png');
  background-size: auto 100%;
  height: auto;
  margin: 0px;
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 30px;
}

h1 {
  height: auto;
  width: 100%;
  margin: 0px;
  padding: 5px; 
  color: white;
  background-color: rgb(64, 64, 64); 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  text-align: center;
}


.scrollable-list {
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    display: block;
}

.scrollable-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.scrollable-list li {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.scrollable-list li:hover {
    background-color: #f8f8f8;
}

button {
    padding: 15px;
    margin-bottom: 10px; /* Space between buttons */
    border: 1px solid #e0e0e0;
    background-color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 300px; /* Match the width of the scrollable list */
    text-align: left; /* Align text to the left */
    font-size: 16px;
}

button:hover {
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

button:focus {
    outline: none; /* Remove outline on focus */
}

/* The container spans the full width and height of the viewport and allows scrolling */
#pdf-container {
    width: 100%;
    max-width: 100%; /* Prevent overflow */
    height: 100vh; /* Full viewport height */
    overflow-y: scroll; /* Enable vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    background-color: #f5f5f5; /* Optional background for contrast */
    padding: 10px; /* Add some padding around the pages */
    box-sizing: border-box; /* Include padding in the width calculation */
}

/* Ensure each canvas page fills the container's width */
#pdf-container canvas {
    width: 100%; /* Make the canvas responsive */
    height: auto; /* Maintain the aspect ratio */
    margin-bottom: 10px; /* Add spacing between pages */
}


/* Styling for list items */
.scrollable-list ul {
    list-style: none; 
    padding: 0;
    margin: 0;
  }
  
  .scrollable-list li {
    margin: 5px 0; 
    padding: 10px; 
    background-color: #f9f9f9; 
    cursor: pointer;
  }
  
  .scrollable-list a {
    display: block; 
    text-decoration: none;
    color: inherit; 
  }
  
  .scrollable-list li:hover {
    background-color: #e6e6e6; 
  }


/* Styling for list items */
.scrollable-list ul {
    list-style: none; 
    padding: 0;
    margin: 0;
  }
  
  .scrollable-list li {
    margin: 5px 0; 
    padding: 10px; 
    background-color: #f9f9f9; 
    cursor: pointer;
  }
  
  .scrollable-list a {
    display: block; 
    text-decoration: none;
    color: inherit;
  }
  
  .scrollable-list li:hover {
    background-color: #e6e6e6; 
  }
  
  .search-bar {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    width: 305px;
}

#search_bar {
    width: 302px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#search_bar:focus {
    border-color: #007BFF;
    outline: none;
}