body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #007bff;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 1rem;
}

nav a {
    color: #fff;
    text-decoration: none;
}

main {
    padding: 2rem;
}

section {
    margin-bottom: 2rem;
    background-color: #fff;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#hero {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.cta-button {
    background-color: #28a745;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1rem;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #333;
    color: #fff;
}

/* Add more styles as needed */
#results-container, #schedule-container, #team-container, #info-container {
    overflow-x: auto; /* Enable horizontal scrolling for smaller screens */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}


.scene {
    width: 100%;
    max-width: 800px;
}

#dragon-boat-svg {
    width: 100%;
    height: auto;
}

@keyframes move-boat {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

#boat-container {
    animation: move-boat 10s linear infinite;
}

@keyframes move-water {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-400px);
    }
}

.wave {
    animation: move-water 4s linear infinite;
}


@keyframes paddle-row {
    0%, 100% {
        transform: rotate(20deg);
    }
    50% {
        transform: rotate(-20deg);
    }
}

.paddle-instance {
    transform-origin: center -5px; /* Corresponds to y1 of the line */
    animation: paddle-row 1.2s infinite ease-in-out;
    animation-delay: var(--delay);
}
