body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background-color: aliceblue;
    margin: 0;
}

.navbar {
    background-color: white;
    padding: 10px;
    text-align: center;
}

.navbar a {
    margin: 0 10px;
    text-decoration: none;
    color: black;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.comic img {
    width: 100%;
    border-radius: 12px;
    align-items: center;
}

/* Navigation Buttons Styling */
.navigation-buttons {
    display: flex;
    justify-content: center; /* Centers the buttons horizontally */
    margin-top: 20px; /* Adds space above the buttons */
    gap: 15px; /* Adds space between the buttons */
}

.navigation-buttons button {
    padding: 10px 20px;
    border: none;
    background-color: #333;
    color: white;
    border-radius: 8px; /* Made the border radius slightly more rounded */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.navigation-buttons button:hover {
    background-color: #555;
    transform: scale(1.05); /* Adds a slight zoom effect on hover */
}
.button-a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF; /* Nice blue */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.button-a:hover {
    background-color: #0056b3; /* Darker on hover */
}
/* Container for the search bar */
.search-container {
    margin: 20px 0; /* Add some space around the search bar */
    text-align: center; /* Center the search bar */
}

/* Style for the input field */
#searchInput {
    padding: 10px;
    font-size: 16px;
    width: 50%; /* Adjust the width as needed */
    max-width: 400px; /* Prevent the input from becoming too wide */
    border: 2px solid #ddd; /* Subtle border */
    border-radius: 4px; /* Rounded corners */
    background-color: #f9f9f9; /* Light background */
    box-sizing: border-box; /* Ensure padding is included in width */
    transition: border-color 0.3s ease-in-out; /* Smooth transition */
}

/* Change border color when focused */
#searchInput:focus {
    border-color: #4CAF50; /* Green border on focus */
    outline: none; /* Remove default outline */
}

/* Optional: style for search button (if needed) */
.search-container button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 10px;
}

.search-container button:hover {
    background-color: #45a049;
}
/* Style for the random comic button */
.random-comic {
    text-align: center;
    margin-top: 20px; /* Space above the button */
}

.random-comic button {
    padding: 12px 24px;
    font-size: 18px;
    border: none;
    background-color: #4CAF50; /* Green color */
    color: white;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease-in-out;
}

/* Hover effect for the random comic button */
.random-comic button:hover {
    background-color: #45a049;
}

