/* Basic styling for body and navigation */
body {
    font-family: Arial, sans-serif;
	font-size: 16px;
    line-height: 1.6;
  background: #CE58B2;
background: -moz-linear-gradient(-45deg, #CE58B2 0%, #5A55A4 69%, #E6AA40 100%);
background: -webkit-linear-gradient(-45deg, #CE58B2 0%, #5A55A4 69%, #E6AA40 100%);
background: linear-gradient(135deg, #CE58B2 0%, #5A55A4 69%, #E6AA40 100%);
    color: #333;
    margin: 0;
    padding: 0;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #333;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover, nav ul li a:focus {
    background-color: #B30059;
    transform: scale(1.1);
    outline: none;
}

/* Search bar styling within nav */
.search-bar {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-form input {
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px 0 0 8px;
    border-right: none;
    outline: none;
}

.search-form button {
    padding: 10px 20px;
    background-color: #CE58B2;
    color: white;
    border: 2px solid #0D181B;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.search-form button:hover, .search-form button:focus {
    background-color: #5A55A4;
    transform: scale(1.05);
    outline: none;
}

/* Main layout */
main {
    padding: 20px;
    background-color: #fff;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 900px;
}

/* Header styling */
header h1 {
    color: #333;
    text-align: center;
    margin-top: 0;
    font-size: 2.5rem;
    text-shadow: 2px 2px #ff7f50;
}

/* Section styling */
section h2 {
    color: #007acc;
    border-bottom: 2px solid #007acc;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* Accessible table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 12px;
    font-size: 1rem;
}

th {
    background-color: #007acc;
    color: white;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Form styling */
form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.2rem;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 2px solid #007acc;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus, form textarea:focus {
    border-color: #ff7f50;
    box-shadow: 0 0 5px rgba(255, 127, 80, 0.5);
    outline: none;
}

form button {
    background-color: #007acc;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1.2rem;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

form button:hover, form button:focus {
    background-color: #005f99;
    transform: scale(1.05);
    outline: none;
}

/* Styling for the Back to Top button */
#backToTopBtn {
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #6ECAE7; /* Set a background color */
    color: Black; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

#backToTopBtn:hover {
    background-color: #005f99; /* Darker background on hover */
}
footer {
    background-color: #333; /* Dark gray background */
    color: white;
    text-align: center;
    padding: 1em 0;
}