body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f0f0;
    text-align: center;
}

header {
    text-align: center;
    background-color: #0058a3;
    color: white;
    padding: 20px 0;
}

h1 {
    font-size: 2em;
    margin: 20px 0;
}
h2 {
    font-size: 1.5em;
    margin: 20px 0;
}

nav {
    margin-bottom: 20px;
}
nav a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: color 0.3s ease;
    margin: 0 10px;
    background-color: #ad1802;
}
nav a:hover {
    color: lightblue;
}

.event-dates {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 10px;
}

main {
    margin-top: 20px;
}

#event-details {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin: 20px auto;
    max-width: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.event-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-top: 15px;
}

.event-description {
    margin-top: 15px;
    font-size: 1.2em;
    line-height: 1.6;
    color: #333;
}

footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
}

/* Top Table Styles */
.top-table-container {
    margin: 50px auto;
    max-width: 82%;
}

.top-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white; /* Ensures table has a white background */
}

.top-table th, .top-table td {
    padding: 10px;
    text-align: center;
}

.top-table th {
    font-size: 1.2em;
    font-weight: bold;
}

.top-table img {
    width: calc(95% - 5px);
    max-width: 1000px;
    height: auto;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}

.top-table img:hover {
    transform: scale(1.1);
}

/* Main Table Styles */
.main-table-container {
    width: 80%;
    max-width: 1800px;
    margin: 40px auto;
    padding: 10px;
    overflow-x: auto;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.main-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background-color: white;
}

.main-table img {
    width: 30%;
    max-width: 1000px;
    height: auto;
    margin: 5px;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s;
}

.main-table img:hover {
    transform: scale(1.1);
}

.main-table th, .main-table td {
    padding: 10px;
    text-align: center;
}

.main-table th {
    background-color: #ad1802;
    color: white;
}

.main-table td:first-child {
    background-color: #f7b825;
}

.main-table tr:nth-child(odd) {
    background-color: #f2f2f2;
}

.main-table td:last-child {
    text-align: right;
}

.image-container {
    display: flex;
    gap: 10px;
    justify-content: right;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 95vw;
    max-height: 95vh;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: lightgray;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: lightgray;
    font-size: 50px;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.left {
    left: 10%;
    width: 60px;
    height: 60px;
}

.right {
    right: 10%;
    width: 60px;
    height: 60px;
}

.arrow:hover, .close:hover {
    color: darkblue;
}

.arrow-area {
    position: absolute;
    top: 30;
    bottom: 30;
    width: 100%;
    cursor: pointer;
}

.left-area {
    left: 30;
}

.right-area {
    right: 30;
}

.break-line {
    border-bottom: 2px solid #ccc;
    margin-bottom: 40px;
}

.bottom-images img {
     display: block; /* Makes each image a block element */
     margin: 0 auto 10px; /* Centers images and adds spacing below */
     max-width: 100%; /* Ensures images are responsive */
     height: auto; /* Maintains aspect ratio */
}

.bottom-images{
    width: 40%;
    max-width: 1000px;
    height: auto;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s;
}
.bottom-image:hover {
    transform: scale(1.15);
}