body {
    font-family: 'Open Sans', sans-serif;
    background-color: #1A1A1A;
    color: white;
    text-align: center;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
}
nav ul {
    list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 15px;
	margin-right: 35px;
    margin-left: 20px;
	font-size: 30px;
	padding: 0px;
}

nav li {
    background-color: #444;
    border-radius: 10px;
    transition: 0.3s ease;
    padding: 10px 20px;
}
nav a {
    display: block;
    padding: 15px 24px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px

}

nav li:hover {
    background-color: #E32020;
}

/* MAIN PAGE BELOW ---------------------------*/


.hero {
    position: relative;
}
.hero img {
    width: 100%;
}
.countdown {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    font-size: 20px;

}

/* SCHEDULE SECTION --------------------------------*/


.race-schedule {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.race {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.race h2 {
    color: #E32020;
    font-size: 24px;
}

.race p {
    font-size: 16px;
    margin: 5px 0;
    color: black;

}

/* Teams and Drivers page ----------------------------*/

/* Teams & Drivers Section */
.TDcontent {
    text-align: center;
    padding: 20px;
}

h2 {
    color: #E32020;
    font-size: 28px;
    margin-top: 30px;
    text-transform: uppercase;
    border-bottom: 3px solid #E32020;
    display: inline-block;
    padding-bottom: 5px;
}

.teams-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.column {
    width: 48%;
}

.team {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(255, 255, 255, 0.1);
}

.team h3 {
    color: #E32020;
    margin-bottom: 5px;
}

.team p {
    font-weight: bold;
    color: black;
}

.team ul {
    list-style: none;
    padding: 0;
}

.team li {
    color: black;
    display: flex;
    align-items: center;
    font-size: 16px;
    gap: 10px;
}

.team img {
    width: 24px;
    height: 16px;
}

@media (max-width: 768px) {
    .team {
        max-width: 90%;
        padding: 15px;
    }
}

/* news ---------------------------------------*/


.newsContent {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.news-item h2 {
    color: #d40000;
    font-size: 22px;
}

.news-item p {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .news-container {
        flex-direction: column;
    }
}

/* contact ------------------------------*/

.contact-container {
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.contact-container h2 {
    color: #E32020;
    margin-bottom: 10px;
}
.contact-container p {
    color: black;
    line-height: 1.5;
}
.contact-container a {
    color: #007bff;
    text-decoration: none;
}
.contact-container a:hover {
    text-decoration: underline;
}


footer {
    background: black;
    padding: 10px;
    font-size: 14px;
}
img {
    max-width: 100%;
    height: auto;
}
