@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Montserrat:wght@100&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    background-color: black;
    font-family: 'Montserrat';
    font-size: 19px;
    color: white;
    text-align: left;
    line-height: 1.3;
}

footer {
    background-color: rgb(39, 39, 39);
    opacity: 0.8;
    padding: 10px 0;
    box-sizing: border-box;
    margin-top: 30px;
}

main {
    margin-top: 40px;
}

main p,
main h2 {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

nav {
    font-family: 'Archivo Black';
    text-transform: uppercase;
    text-align: center;
    margin: 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 27px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 5px 5px 15px #7b0101;
}

.highlightnav {
    background-color: #4f0101;
    padding: 4px;
    border-radius: 10px;
}

a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

nav :link,
nav :visited {
    color: white;
}

nav :hover,
nav :active {
    padding: 2px;
}

footer div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 90px;
}


/*INDEX*/


.box {
    background-color: black;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    margin: auto;
}

.card {
    border: 4px solid #490101;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 800px;
    text-align: center;
}

h1 {
    font-family: 'Archivo Black';
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;
}

.f1-image-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    gap: 20px;
    width: 100%;
    margin: auto;
}

.f1-car {
    width: 30%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}


/* Fahrer Seite */

.drivers-container {
    width: 1200px;
    margin: 40px auto;
    padding: 20px;
    color: white;
}

.drivers-intro {
    margin-bottom: 40px;
    width: 100%;
}

.drivers-intro h1 {
    font-size: 32px;
    font-weight: 800px;
    margin: 15px;
}

.fahrer-raster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.fahrer-karte {
    background-color: #490101;
    border-radius: 10px;
    display: flex;
    align-items: stretch;
}

.fahrer-bild {
    width: 40%;
    object-fit: cover;
}

.fahrer-info {
    padding: 20px;
    width: 50%;
}

.fahrer-info h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.fahrer-info p {
    color: white;
    font-size: 19px;
    line-height: 1.4;
}


/* teams Seite Ende */

.team-logo-img {
    width: auto;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.team-land {
    font-size: 13px;
    font-weight: bold;
    color: white;
    margin-bottom: 25px;
}

.team-beschreibung {
    font-size: 15px;
    color: white;
    line-height: 1.4;
    margin-top: 10px;
    padding: 5px;
}


/* schedule Seite */

.scheduleblock {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trackimg {
    width: 400px;
}

h3 {
    text-align: center;
    font-size: 20px;
    font-family: 'Archivo Black';
    margin-top: 30px;
}

h4 {
    text-align: center;
}

.trackblock {
    padding: 10px;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #4f0101;
}

.trackblock:hover .overlay {
    opacity: 1;
    border-radius: 10px;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* rules Seite */

h2 {
    text-align: center;
    font-size: 25px;
    font-family: 'Archivo Black';
}

.n_sp_race {
    padding: 15px;
    border: 5px solid #490101;
    border-radius: 20px;
}

.race_container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px;
}

ul {
    list-style-type: none;
}

td,
th {
    text-align: center;
    padding: 4px;
    border-bottom: 3px solid #490101;
    font-weight: normal;
}

th {
    background-color: #490101bb;
    border-radius: 4px;
    font-weight: bold;

}

hr {
    background-color: #490101;
    height: 5px;
    border: none;
}

.n_sp_race img {
    width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(2px 2px 2px rgba(255, 255, 255, 0.695));
}

.img_rule {
    width: 700px;
    display: block;
    margin-right: auto;
    margin-left: auto;
    border-radius: 8px;
}

.mp4_pit_2 {
    width: 700px;
    display: block;
    margin-right: auto;
    margin-left: auto;
    border-radius: 10px;
}

.rule_tab {
    display: flex;
    justify-content: center;
}

.sprint_rule {
    display: flex;
}

.mp4_pit {
    display: block;
    width: 90%;
    margin: auto;
}

.separate_container p.separate {
    border-left: #490101 5px solid;
}

.separate_container {
    display: flex;
    justify-content: center;
    padding: 50px;
}

.separate_container p {
    max-width: 100%;
    margin: 0;
    padding: 30px;
}

.text_img_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 5px;
}

.text_img_container img {
    width: 200px;
    margin-right: 100px;
}

.text_container {
    max-width: 1000px;
}

.equipment {
    text-align: center;
    border: 5px solid #490101;
    border-radius: 20px;
    padding: 15px;
    width: 100%;
    max-width: 400px;
}

.equipment img {
    margin-top: 15px;
    width: 250px;
    border-radius: 8px;
}

ol {
    text-align: left;
}

.thick {
    font-weight: bold;
}


/* meiserschaft Seite */

.podium {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 50px 0;
}

.driver-card {
    width: 300px;
    background: #111;
    border: 3px solid #750202;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: .3s;
}

.driver-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px red;
}

.driver-card h2 {
    color: #bc0202;
    font-size: 40px;
}

.driver-card h3 {
    color: white;
    margin: 15px 0;
}

.driver-card p {
    color: #aaa;
}

.driver-card span {
    color: white;
    font-size: 22px;
    font-weight: bold;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 50px 0;
}

.stat-box {
    width: 180px;
    background: #111;
    border:  3px solid #490101;
    border-radius: 15px;
    text-align: center;
    padding: 20px;
}

.stat-box h2 {
    color: #bc0202;
    font-size: 40px;
}

.stat-box p {
    color: white;
}

.table-container {
    background: #111;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 30px;
    margin: 50px auto;
    width: 90%;
}

.table-container h2 {
    color: rgb(182, 181, 181);
    text-align: center;
    margin-bottom: 25px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: #490101;
    color: white;
    padding: 15px;
}

td {
    padding: 10px;
    border-bottom: 1px solid #333;
    text-align: center;
    color: white;
}

tr:hover {
    background: #1a1a1a;
}