/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the footer stays at the bottom */
}

/* Header Styles */
header {
    background-color: #007BFF; /* Header background */
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
}

.header-image img {
    width: 100px; /* Logo size */
}

/* Navigation Styles */
nav {
    margin: 10px 0;
}

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

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    color: white;
    text-decoration: none;
}

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

/* Main Content Styles */
.container {
    display: flex;
    flex: 1;
}

.sidebar {
    width: 200px; /* Sidebar width */
    background-color: #f8f8f8;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
}

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

main {
    flex: 1;
    padding: 20px;
}

.container2 {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 600px; /* Set max width for better responsiveness */
    margin: 0 auto; /* Center the container */
    text-align: center;
}

input {
    padding: 10px;
    width: calc(40% - 22px); /* Responsive width */
    margin: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

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

#result {
    margin-top: 20px;
}

/* Hash Table Styles */
#hashTable {
  border: 2px solid #007BFF; /* Border for the hash table */
  background-color: #fff; /* Background color for better visibility */
  padding: 10px;
  margin-top: 20px;
  min-height: 150px; /* Minimum height for the hash table */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align items to the start */
  list-style-type: none; /* Remove bullets */
}

/* List item styles */
#hashTable li {
  background-color: #e0e0e0; /* Different background for hash table items */
  color: #333;
  padding: 8px;
  margin-top: 5px;
  border-radius: 4px;
}


/* Footer Styles */
.footer {
    background-color: #259EE4;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.footer-section {
    width: 30%;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

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

.footer-section img {
    max-width: 100px;
    border-radius: 8px;
}
