body {
    background-image: url('./images/bg_waves.png');
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: contain;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 100% 0; }
}

.body-background {
    background-image: url('./images/bg_waves.png');
    background-repeat: repeat-x; /* Or repeat-y for vertical movement */
    animation: moveBackground 160s linear infinite;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.5); /* Adjust this color and opacity */
    z-index: -1;
}

.main-container {
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    margin-top: 50px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
}
.main-container {
    padding: 2rem 0;
}
.feature-item {
    margin-bottom: 2rem;
}
.get-involved-section {
    background-color: #e9ecef;
    padding: 2rem 0;
    margin-top: 2rem;
}
.get-involved-heading {
    margin-bottom: 1.5rem;
}
.footer {
    margin-top: 2rem;
    padding: 1.5rem 0;
    background-color: #343a40;
    color: white;
}

.logo-container img {
    max-width: 100%;
}
/* Add custom styles to the na.css file */

/* Style the border between the event logo and title sponsor logo */
.border-end {
    border-right: 2px solid #ddd;
}
/* Add custom styles to the na.css file */


/* Style for the sponsors section */
#sponsors .col-md-3 {
    margin-bottom: 20px;
}

/* Optional: Ensure the images are responsive */
.img-fluid {
    max-width: 100%;
    height: auto;
}


.primary-btn {
    background-color: #D32F2F; /* Red color from the logo */
    color: white;
    border: none;
}

.primary-btn:hover {
    background-color: #B71C1C; /* Darkened red */
}

.navbar {
    margin-bottom: 30px;
}
/* #event-details {
    background-color: #fafafa;
    padding: 30px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
} */

.feature-icon {
    font-size: 1.75em;
    transition: transform 0.2s ease-in-out;
}
.feature-icon:hover, .feature-title:hover {
    transform: scale(1.1);
    cursor: pointer;
}
.feature-item {
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out;
}
.feature-item:hover {
    background-color: #f0f0f0;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#event-details h5 {
    color: #D32F2F; /* Using the red color from the logo */
}
footer {
    position: relative;
    bottom: 0;
    width: 100%;
}
#lastUpdated {
    font-size: 0.9em;
}
/* Upcoming Events Highlight Section */
.events-highlight {
    background-color: #ffffff;
    padding: 40px 0;
}

.events-highlight .container {
    max-width: 800px;
    margin: auto;
    padding: 0 20px;
}

.events-highlight h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.event {
    margin-bottom: 30px;
}

.event h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.event-date,
.event-location {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 5px;
}

.view-full-schedule {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
}

.view-full-schedule:hover {
    background-color: #0056b3;
}



/* Additional CSS classes for Get Involved Section */
.get-involved-section {
    margin-top: 60px; /* Adjust this value as needed */
    background-color: #f2f2f2;
    padding: 40px 0;
}

.get-involved-heading {
    color: #007bff;
}

.get-involved-text {
    color: #333;
}

.get-involved-lead {
    font-size: 1.2rem;
    color: #555;
}

.get-involved-btn-primary {
    border-radius: 5px;
}

.get-involved-btn-secondary {
    border-radius: 5px;
}
/* Teaser Section Styling */
#race-week-teaser {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#race-week-teaser:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#race-week-teaser h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #343a40;
}

#race-week-teaser p {
    font-size: 1.1rem;
    color: #495057;
}

#race-week-teaser .btn-primary {
    background-color: #007bff;
    border: none;
    font-size: 1.1rem;
}

#race-week-teaser .btn-primary:hover {
    background-color: #0056b3;
}
