/* Standard-Stile für größere Bildschirme (Laptop, Desktop) */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    padding: 1em;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
}

#logo img {
    width: 150px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1em;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 2em;
    background-color: white;
}

a:link, a:visited {
 text-decoration: none;
}

.tb1 {
  border-collapse: collapse;
   width: 75%;
}

.tb1 th, .tb1 td{
  border: 1px solid #ddd;
  border-collapse: collapse;
  padding: 8px;
}

.tb1 tr:nth-child(even){background-color: #f2f2f2;}

.tb1 th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #787878;
  color: white;
}

.tb2 {
  border-collapse: collapse;
  width: 75%;
}

.tb2 th, .tb2 td{
  border: 0;
  padding: 15px;
}

.tb2 th {
  background-color: #96D4D4;
}

h1 {
    font-size: 2.5em;
}

p {
    font-size: 0.9em;
    line-height: 1.5;
}

p.klein {
    font-size: 0.7em;
    line-height: 1.2;
}


footer {
    background-color: #333;
    color: white;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 0.5em 0;
    position: fixed;
    bottom: 0;
    width: 100%;
   
   
img {
            margin-right: 10px; /* Abstand zwischen Bild und Text */
    }
             
ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1em;
}

ul li {
    margin: 0;
}

ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
  
}




/* Stile für Tablets und kleinere Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    h1 {
        font-size: 2em;
    }

    p {
        font-size: 1.0em;
    }

    nav ul {
        gap: 0.5em;
    }
}

/* Stile für iPhones und andere Mobilgeräte (max-width: 768px) */
@media (max-width: 768px) {
    header {
        display : none;
        flex-direction: column;
        align-items: flex-start;
    }
    
    footer {
        display: none;
    }


 img {
        width: 250px;
    }

    #logo img {
        width: 80px;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5em;
    }

    h1 {
        font-size: 1.75em;
    }

    p {
        font-size: 0.7em;
    }
}

/* Stile für sehr kleine Bildschirme wie iPhone SE (max-width: 480px) */
@media (max-width: 480px) {
    img {
        width: 100px;
    }


#logo img {
        width: 75px;
    }

#logo2 img {
        width: 50px;
    }

    header {
        display: none;
    }

   

    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 0.5em;
    }

}

