/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #D8BFD8;
    padding-top: 60px; /* Prevent content overlap with fixed navbar */
}


header h1 {
    margin: 0;
    font-size: 2rem;
    color: #ffcc00;
}

header h2 {
    margin: 10px 0;
    font-size: 1.5rem;
    color: #ffcc00;
}

/* Navbar styling */
nav {
    background: #770737;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    font-weight: bold;
}

nav ul li a:hover {
    background: #811331;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

/* Table container styling */
.table-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.table-container table {
    border-collapse: collapse;
    width: 100%;
    max-width: 500px;
    background-color:		#4169E1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.table-container table:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(255, 204, 0, 0.4);
}

.table-container th, .table-container td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid 			#4169E1;
}

.table-container th {
    background-color: 	#87CEFA;
    color: black;
    font-weight: bold;
}

.table-container tr:nth-child(even) {
    background-color:		#1E90FF;
}

.table-container tr:hover {
    background-color:		#0000FF;
}

/* Responsive design for smaller screens */
@media screen and (max-width: 678px) {
    .carousel .list .item .content {
        padding-right: 0;
    }
    .carousel .list .item .content .title {
        font-size: 30px;
    }
}

/* Additional responsiveness for navbar */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    nav ul li {
        text-align: center;
    }
}

/* Additional spacing for elements */
h1, h2 {
    margin: 10px 0;
}

