/* styles.css */
/* General Styles */
body {
    font-family:Verdana, Geneva, Tahoma, sans-serif; /* Changed to a more common, readable font */
    margin: 10; /* Remove default body margins */
    color: #333; /* Dark gray text for better contrast */
    line-height: 1.5; /* Improved readability */
    background-color: #f4f4f4; /* Light gray background */
}

h1, h2, h3 {
    font-family: Garamond;
    font-size:1.75rem;
    color: #222; /* Darker color for headings */
}

p {
    color: #555; /* Dark gray text for paragraphs */
    overflow: hidden;
    padding: 0 10px;
}

/* Navigation Bar */
nav {
    background-color: #2c3e50; /* Dark blue/gray for navigation bar */
    color: #fff; /* White text in nav bar */
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px; /* Increased padding for more space */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px; /* Increased gap */
    padding: 10;
    margin: 0;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
nav a {
    display: inline-block;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth transition for hover */
    padding: 8px 13px;
    background-color: #2c3e50; /* Blue button */
    border-radius: 10px;
    cursor: pointer;
    border-color: #c8dbf9;
    border: 1px solid #c8dbf9;
    box-shadow: 1 3px #999; /* Add shadow */
}

nav a:hover {
    animation: pulse 0.6s infinite;
    color: #2c3e50; /* Lighter color on hover */
    background-color: #c8dbf9;
    border-radius: 10px;
    border-color: #c8dbf9;
    box-shadow: 0 3px #3498db; /* Change shadow on hover */
    transform: translateY(-2px); /* Slightly move up on hover */
}

/* Search Bar */
nav form {
    display: flex;
    gap: 30px; /* Increased gap */
    margin: 0;
    align-items: center;
}

nav input[type="text"] {
    padding: 8px 10px; /* Increased padding */
    border: 1px solid #ccc;
    border-radius: 5px; /* More rounded corners */
    transition: border-color 0.3s ease; /* Smooth border transition */
}

nav input[type="text"]:focus {
    outline: none;
    border-color: #3498db; /* Highlight on focus */
}

nav button[type="submit"] {
    padding: 8px 15px; /* Increased padding */
    background-color: #27ae60; /* Green button */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth background transition */
}

nav button[type="submit"]:hover {
    background-color: #2ecc71; /* Lighter green on hover */
}

/* Main Content */
main {
    padding: 20px;
}

section {
    margin-bottom: 30px; /* More space between sections */
    background-color: white;
    padding: 20px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

section h1, section h2 {
    margin-top: 0; /* remove top margin for h1 and h2 */
}

/* Image Upload */
#fileInput {
    padding: 60px 60px; /* Increase padding to make the box bigger */
  border: 1px solid #c8dbf9;
  border-radius: 5px;
  background-color: #2c3e50;
  color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 18px; /* Increase font size */
  margin-bottom: 20px; /* Ensure there's space below the file input */
  display: block; /* Make it a block element */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  #uploadButton {
    padding: 15px 18px;
    background-color: #3498db; /* Blue Button  */
    color: white;
    border-color: #2c3e50;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block; /* Make it a block element */
    margin-top: 20px; /* Add space above the button */
  }
  
  #uploadButton:hover {
    background-color: #c8dbf9; /* Darker blue on hover */
    color: #2f7ab7;
    animation: pulse 0.6s infinite;
    box-shadow: 0 3px #3498db;
  }
  

#caption {
    margin-top: 10px;
    padding: 30px;
}

/* Footer */
footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #2c3e50; /* Dark blue/gray */
    color: #fff; /* Footer text white */
    text-align: center;
    padding: 10px 0; /* Reduced padding */
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    clear: both; /* Ensure footer is below any floated elements */
}

footer p {
    color: #fff; /* Ensure footer paragraph text is white */
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}