/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7f9;
    color: #333;
}

/* Header and Navigation */
header {
    background-color: #1b3a57;
    color: white;
    padding: 1em 2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1em;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav input[type="text"] {
    padding: 0.5em;
    border-radius: 4px;
    border: none;
    margin-left: 1em;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    color: rgb(0, 0, 0);
}

.hero img {
    width: 100%;
    height: 75%;
    opacity: 1.0;
}

.hero-text {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

.hero-text p {
    font-size: 1.2em;
}

/* Main Sections */
main {
    padding: 2em;
}

section h2 {
    font-size: 1.8em;
    margin-bottom: 1em;
}

/* Recent Races */
.race-cards {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.race-card {
    background-color: white;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
}

/* Top Competitors */
.competitor-cards {
    display: flex;
    gap: 1em;
    overflow-x: auto;
}

.competitor-card {
    background-color: white;
    padding: 1em;
    border-radius: 8px;
    width: 200px;
    text-align: center;
}

.competitor-card img {
    width: 75px;
    height: 50px;
}


/* Footer */
footer {
    background-color: #1b3a57;
    color: white;
    text-align: center;
    padding: 1em;
    margin-top: 2em;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
}

footer ul li {
    margin: 0 1em;
}

footer ul li a {
    color: white;
    text-decoration: none;
}

/* Import mobile responsive styles */
@import url('mobile-responsive.css');
