
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* WebKit browsers (Chrome, Safari) */
body::-webkit-scrollbar {
    width: 0;
  }
  
  /* body::-webkit-scrollbar-thumb {
    background-color: transparent;
  }
  
  body::-webkit-scrollbar-track {
    background-color: transparent;
  }
   */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}

header {
    background-color: #333;
    padding: 10px;
    text-align: center;
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

main {
    max-width: 800px;
    margin: 155px auto 20px;
    /* Adjusted margin to accommodate the fixed header */
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


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

li {
    margin-bottom: 10px;
    /* margin-top: 10px; */
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
}

input[type="text"] {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    padding: 8px 12px;
    font-size: 16px;
    background-color: #333;
    color: white;
    /* border: 1px solid #ccc; */
    border: none;
    /* border-radius: 4px; */
    cursor: pointer;
}

button:hover {
    background-color: gray;
    /* border: 1px solid #ccc; */
    border-radius: 4px;
}

a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

li:hover {
    background-color: gray;
    color: white;
    border-radius: 4px;
}

small {
    /* color: #777; */
    /* font-size: small; */
    font-weight: lighter;
}

/* for suggestions popup */

#searchContainer {
    position: relative;
    margin-right: 2rem;
  }

  #suggestionsPopup {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: #fff;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    width: 100%;
  }

  #suggestionsPopup.visible {
    display: block;
  }

  .suggestion {
    padding: 5px;
    cursor: pointer;
  }

  .suggestion:hover {
    background-color: #f0f0f0;
  }

#suggestions-popup {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.suggestion {
    padding: 8px;
    cursor: pointer;
    color: black;
    text-align: left;
}

.suggestion:hover {
    background-color: #f4f4f4;
}

button {
    font-weight: 600;
}

.docs {
    line-height: 1.5;
    border-radius: 4px;
    color: black;
    padding: 0px 8px;
    background-color: gainsboro;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
  }
  
  .container {
    display: flex;
    /* margin-top: 10px; */
    /* padding-top: 40px; */
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .form-container {
    /* background-color: #f2f2f2; */
    /* padding: 20px; */
    /* border-radius: 10px; */
    /* margin-top: 10px; */
    /* height: 100%; */
    /* box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1); */
    max-width: 700px;
    width: 100%;
  }
  
  h2 {
    text-align: center;
  }
  
  .form-input {
    width: 96%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  textarea.form-input {
    height: 100px;
  }
  
  #form-btn {
    width: 100%;
    padding: 8px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 5px;
    cursor: pointer;
  }
  
  #form-btn[type="submit"]:hover {
    background-color: #45a049;
  }
  
.form-group {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
}

label {
    width: 20%;
}

input {
    width: 80%;
}

span {
    color: red;
}

#deleteList li:hover {
    background-color: white /* Change background color on hover */
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    top: 130px; /* 30px from the top */
  }
  
  /* Show the snackbar when clicking on a button (class added with JavaScript) */
  #snackbar.show {
    visibility: visible; /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
  }
  
  /* Animations to fade the snackbar in and out */
  @-webkit-keyframes fadein {
    from {top: 0; opacity: 0;}
    to {top: 30px; opacity: 1;}
  }
  
  @keyframes fadein {
    from {top: 0; opacity: 0;}
    to {top: 30px; opacity: 1;}
  }
  
  @-webkit-keyframes fadeout {
    from {top: 30px; opacity: 1;}
    to {top: 0; opacity: 0;}
  }
  
  @keyframes fadeout {
    from {top: 30px; opacity: 1;}
    to {top: 0; opacity: 0;}
  }
