/* General Styling */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #d3cdbd;
    color: #333;
    line-height: 1.6;
}

/* Header Styling */
header {
    background-color: #330a4b;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: center;
    background-color: #8b1782;
    padding: 1rem 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #f7f3e9;
}

/* Main Content */
main {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

main h1 {
    color: #a249eb;
    margin-bottom: 1rem;
    font-size: 1rem;
}

main p {
    margin-bottom: 1.5rem;
}
table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #4CAF50;
    color: white;
    text-transform: uppercase;
    font-size: 1em;
}

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

tr:hover {
    background-color: #f1f1f1;
    cursor: pointer;
}

caption {
    font-size: 1.8em;
    font-weight: bold;
    margin: 10px 0;
    text-align: center;
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer Styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

/* Buttons */
button {
    background-color: #476eec;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

ul {
    list-style-type: disc;
    padding-left: 10px;
}

    ul li {
        list-style-position: inside;
    }


button:hover {
    background-color: #be4ce0;
}

/* Image Styling */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav a {
        margin: 0 10px;
    }

    main {
        padding: 1rem;
    }

    header {
        font-size: 2rem;
    }
}
/* Basic navigation styles */
nav {
    text-align: center;
    margin: 20px;
}

nav a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
    margin: 0 15px;
    padding: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Hover effect: text color change */
nav a:hover {
    color: #fff;
    background-color: #007BFF;  /* Blue color */
    transform: scale(1.1);  /* Slight zoom effect */
}

/* Animation for page load */
body.loaded nav a {
    opacity: 0;
    transform: translateY(-20px);
    animation: slideIn 0.6s forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* "Clicked" effect when a link is clicked */
nav a.clicked {
    color: #FFF;
    background-color: #28a745; /* Green color */
    transform: scale(1.1);
}

/* Ensure links do not overlap text */
nav a:focus {
    outline: none;
}

/* Optional: active state for the navigation */
nav a:active {
    transform: scale(0.98);  /* Slight shrink on click */
}
