*, *::before, *::after {
    box-sizing: border-box;
  }

body {
    color: rgb(250, 250, 247);
    background-color:rgba(0, 0, 0, 0.74);
    background-image:radial-gradient(rgba(153,151,151,0.726),black);
    font: 1.2rem Tahoma, "Times New Roman", Times, serif;
    background-image: url('../img/hintergrund/test.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-shadow: 2px 2px 0px black, /* Erster Schatten (schwarz) */
                 -1px -1px 0px black, /* Zweiter Schatten (schwarz) */
                 1px -1px 0px black, /* Dritter Schatten (schwarz) */
                 -1px 1px 0px black, /* Vierter Schatten (schwarz) */
                 1px 1px 0px black; /* Fünfter Schatten (schwarz) */
  }
  body,h1, nav ul,figure {
    margin: 0;
  }

  #holder {
    display: flex;
    flex-wrap: wrap;
    width:1400px;
    margin: 0 auto 0 auto;
}

article {
    width: 1400px;
    line-height: 1.5rem;
    padding-left: 1rem;
    background-image:linear-gradient(rgba(16, 41, 117, 0.75),rgba(40, 40, 192, 0.75));
    border-left:  4px solid rgba(255, 255, 255, 0.74);
    border-right:  4px solid rgba(255, 255, 255, 0.74);
    border-top:  4px solid rgba(255, 255, 255, 0.74);
    margin-top: 30px;
    border-radius: 2rem 2rem 0 0;
    

}



header {
background-image:linear-gradient(rgba(16, 41, 117, 0.75),rgba(40, 40, 192, 0.75));
width: 1400px;
text-align: center;
border-radius: 20rem;
margin: 0.3rem;
border:  4px solid rgba(255, 255, 255, 0.74);

}

header img {
    float: left;
    background-color: white;
    border-radius: 20rem;
    margin-top: 1rem;
    margin-left: 1rem;
    border: 3px solid rgb(22, 22, 22) ;
}

header h1 {
    padding-top: 3rem;
}

header p {
    margin-top: 32px;
    padding-bottom: 13px;
}

#navoben   {
  width: 100%;
  padding: 0.5rem;
  background-image:linear-gradient(rgba(2, 2, 2, 0.849),rgba(100, 100, 100, 0.801),rgba(8, 8, 8, 0.822));
  justify-content: space-between;
  text-align: center;
  border-radius: 2rem;
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
  border:  4px solid rgba(255, 255, 255, 0.74);
  
}

#navoben ul{
  display: flex;
  list-style: none;
  padding: 0.3rem;
}

#navoben ul li{
  display: block;
  list-style-type: none;
  flex: 1;
  margin-left: 5px;
  margin-right: 5px;
}

#navoben li {
  display: inline-block;
  padding: 10px;
  width: 200px;
  text-decoration: none;
  background-image: radial-gradient(rgb(161, 6, 6), rgb(104, 13, 13));
  border-radius: 1.3em;
  color: rgb(250, 250, 247);
  border: 3px solid rgb(22, 22, 22) ;
}

#navoben a {
  color: white;
  text-decoration: none;
  display: block; /* Oder display: inline-block; */
width: 100%;
height: 100%;
  
}

#navoben li:hover {

  background-image: radial-gradient(rgb(10, 150, 10), rgb(18, 73, 18)); /* Sanfter Übergang zu grün */
  transform: scale(1.1); /* Vergrößert den Punkt um 10% */
  }

  #navoben ul li ul {
      display: none;  /*Standardmäßig ausblenden */
      
  }

#navoben ul li ul.show {
  display: block; /* Einblenden, wenn die Klasse 'show' vorhanden ist */
}

#navoben li.aktiv {
  background-color: green; /* Grüne Hintergrundfarbe */
  color: white; /* Weiße Schriftfarbe */
  background-image: none; /* Entfernt den radialen Gradienten */
  transform: none; /* Entfernt die Skalierung */
}

#navoben li.aktiv:hover {
  background-color: green; /* Keine Hover-Änderung */
  color: white; /* Keine Hover-Änderung */
  transform: none; /* Entfernt die Skalierung */
}




#navserien   {
  width: 1400px;
  padding: 20px;
  text-align: center;
  border-radius: 2rem;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  justify-content: center;
  


  
}

#navserien ul{
  display: flex;
  list-style: none;
  padding: 10px;
  justify-content: space-between;
}

#navserien ul li{
  display: block;
  list-style-type: none;
  
}

#navserien li {
  display: flex;
  padding: 10px;
  width: 250px;
  
  text-decoration: none;
  color: rgb(250, 250, 247);
  background-image:linear-gradient(rgb(16, 41, 117),rgb(40, 40, 192));
  border: 4px solid rgba(255, 255, 255, 0.74);
  border-radius: 2rem 0rem 2rem 0rem;
}

#navserien a {
  display: block;
  width: 100%;
  color: rgb(250,250,247);
  text-decoration: none;
}

#navserien li.aktiv2 {
  background-image:linear-gradient(rgb(255, 255, 255, 0.74),rgba(116, 114, 114, 0.74));
  border: 4px solid rgb(117, 23, 16);
}

#navserien li.aktiv2 a {
  display: block;
  width: 100%;
  color: rgb(255,255,255);
  text-decoration: none;

}



footer {
    width: 1400px;
    padding: 2rem;
    
    background-color: rgba(0, 0, 0, 0.603);
    border-left:4px solid rgba(255, 255, 255, 0.74);
    border-right: 4px solid rgba(255, 255, 255, 0.74);
    border-bottom: 4px solid rgba(255, 255, 255, 0.74);
    font-size: smaller;
}

table {
    border-collapse: collapse;
    width: 1350px;
    margin-left:5px ;
    border: 1px solid #ddd; /* Grauer Strich unten */
    margin-bottom: 50px;
  

  }
  
  th, td {
    text-align: left;
    padding: 8px;
    font-size: 15px;
    text-align: center;
    
  }
  
  th {
    background-color: #4d4d4d;
    cursor: pointer;
   
   
  }
  
  .flag-cell {
    width: 35px;
    height: 25px;
    cursor: pointer; /* Zeigt den Hand-Cursor an */
      
  }
  
  .flag-cell img {
    width: 100%;
    height: 100%;
  }

  .myTable tbody tr:nth-child(even) {
    background-color: rgba(40, 40, 192, 0.911); /* Weiß */
}

.myTable tbody tr:nth-child(odd) {
    background-color: rgba(16, 41, 117, 0.904); /* Blau */
}

.myTable th, #myTable td {
    border-bottom: 1px solid #ddd; /* Grauer Strich unten */
  }

  .erster {
    color: goldenrod;
    text-decoration: underline;
  }
  .zweiter {
    color: silver;
    text-decoration: underline;
  }

  .dritter {
    color:#bf8970 ;
    text-decoration: underline;
  }

  .ersterplus {
    color: rgb(122, 40, 155);
    text-decoration: underline;
    text-decoration-color: goldenrod;
  }
  .zweiterplus {
    color: rgb(122, 40, 155);
    text-decoration: underline;
    text-decoration-color: silver;
  }

  .dritterplus {
    color: rgb(122, 40, 155);
    text-decoration: underline;
    text-decoration-color: #bf8970;
  }

  .schnellster {
    color: rgb(122, 40, 155);
  }

  .dnf {
    color: rgb(161, 6, 6);
  }

  .dns {
    color: #4d4d4ddc;
  }

  .redbullfarbe {
    color: rgb(16, 41, 117);
    font-weight: bold;
  }


  .mercedesfarbe {
    color: rgb(1,176,169);
    font-weight: bold;
  }

  .astonmartinfarbe {
    color: rgb(0,89,79);
    font-weight: bold;
  }

  .mclarenfarbe {
    color: rgb(255,127,0);
    font-weight: bold;
  }

  .williamsfarbe{
    color: rgb(28,128,185);
    font-weight: bold;
  }

  .alpinefarbe {
    color: rgb(0,111,186);
    font-weight: bold;
  }

  .visacashfarbe {
    color: rgb(22,53,206);
    font-weight: bold;
  }

  .ferrarifarbe {
    color: rgb(226,6,18);
    font-weight: bold;
  }

  .kicksauberfarbe {
    color: rgb(0,176,33);
    font-weight: bold;
  }

  .haasfarbe {
    color: rgb(209,209,209);
    font-weight: bold;
  }

  .ersatzfarbe {
    color: rgb(99,99,99) ;
    font-weight: bold;
  }

  .konstrukteure .flag-cell {
    width: 36.5px;

  }

  .social {
    display: inline-block;
    width: 100%;
    float: none;
   margin-top: 5px;
}

.social p {
    padding: 0 0 15px 0;
    margin: 0;
    text-align: center;
    margin-bottom: 20px;
   }

   .social h3 {
    text-align: center;
   }

   .social a {
    color: rgb(177, 106, 14);
    text-decoration: none;
   }

    h3 {
    text-align: center;
    text-decoration: underline;
    font-size: 26px;
    margin-bottom: 50px;
    margin-top: 70px;
   }

   .einleitung {
    width: 1100px;
    text-align: center;
    align-items: center;
    line-height: 30px;
    margin-left: 120px;
    margin-bottom: 10px;
}

.ablaufliga {
    width: 100%;
    text-decoration: underline;
    padding-top: 30px;
    margin-bottom: 50px;
    text-align: center;
}

.legende {
 
  padding: 10px; /* Padding reduziert */
  margin: 10px auto; /* Margin reduziert */
  width: 1340px; /* Breite reduziert */
  text-align: center;
  display: flex;
  flex-direction: column;
  margin-right: 25px;
}

.legende ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background-color: rgba(177, 174, 172, 0.664);
  border: 1px solid gray;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2); /* Grauer Box-Shadow */
}

.legende li {
  margin-bottom: 5px; /* Margin reduziert */
  display: flex;
  align-items: center;
  flex: 1;
  padding-left: 60px;
  padding-right: 10px;
}

.legende li span {
  margin-left: 5px; /* Margin reduziert */
}

.gold {
  color: gold;
}

.silber {
  color: silver;
}

.bronze {
  color: #bf8970;
}

.violett {
  color: rgb(122, 40, 155);
}

.grau {
  color: gray;
}

.rot {
  color: red;
}

.rennkalender_zwei {
  display: flex;
    justify-content: flex-end;
    margin-right: 100px;
}

.rennkalender_zwei a {
  color: rgb(156, 96, 5);
  text-decoration: none;
   
   display: block; /* Links als Blockelemente */
  padding-top: 30px;
}

.rennkalender_zwei a:hover {
  text-decoration: underline;
}

h5 p {
  padding-top: 14px;
  margin-left: 5px;
  margin-right: 5px;
}

h5 img {
  margin-right: 5px;
}

.rennkalender {
        display: flex;
        justify-content: center;
        margin-top: 40px;
        margin-bottom: 140px;
    }

    hr {
      margin-right: 20px;
    }