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

body {
    background-size: cover;
    background-attachment: fixed;
    background-image: url(Pinguin.jpg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    background-color: rgb(25, 26, 50);
    justify-content: center;
    align-items: center;
    box-shadow: 0px 14px 32px 3px rgba(25, 26, 50);
    -webkit-box-shadow: 0px 14px 32px 3px rgba(25, 26, 50);
    -moz-box-shadow: 0px 14px 32px 3px rgba(25, 26, 50);
    z-index: 1;
    flex-wrap: wrap;
}

header nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

header nav ul li {
    display: flex;
    align-items: center;
    margin: 5px 15px;
    padding: 12px 20px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

header nav ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

header nav ul li:hover {
    background-color: rgb(10, 13, 119);
    text-decoration: underline;
}
.visited{
    background-color: rgb(10, 13, 119);
}
.Pinguingif{
    height: 53px;
    width: auto;
    margin: 0 10px;
}

.Pinguingif:hover{
    background-color:rgba(25, 26, 50) ;
}

/* Mobile Menu Styles */
.hamburger {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .hamburger {
        display: block; /* Show on mobile */
        order: 3; /* Move to the right */
    }

    header nav {
        display: none; /* Hide nav by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgb(25, 26, 50);
    }

    header nav.nav-open {
        display: block; /* Show nav when open */
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
    }

    header nav ul li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
}
/* Content Area */
.body-content {
    margin-top: 100px;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Die Karten-Struktur */
.pinguin-card {
    background-color: rgba(255, 255, 255, 0.774); /* Transparenter Hintergrund für die Box */
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column; /* Handy-Standard */
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Bild Styling */
.pinguin-bild {
    width: 100%;
    max-width: 320px;
}

figure {
    background: white;
    border: 3px solid #191a32;
    padding: 5px;
}

figure img {
    width: 100%;
    height: auto;
    display: block;
}

figcaption {
    text-align: center;
    font-weight: bold;
    padding: 10px;
    font-size: 1.2rem;
}

/* Text Styling */
.pinguin-text {
    flex: 1;
    background-color: white;
    border: dotted gray;
    padding: 5px;
    height: 100%;
    overflow-wrap: break-word;
}

.pinguin-text h1 {
    color: #191a32;
    margin-bottom: 15px;
    font-size: 1.8rem;
    border-bottom: 2px solid #191a32;
    display: inline-block;
}

.pinguin-text p {
    line-height: 1.7;
    font-size: 1.1rem;
    color: #222;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: white;
    margin-top: 40px;
}

/* Responsive: Ab Tablet/PC nebeneinander */
@media (min-width: 768px) {
    .pinguin-card {
        flex-direction: row; /* Bild links, Text rechts */
        align-items: flex-start;
    }

    .pinguin-bild {
        flex: 0 0 300px;
    }
}

/* Mobile Menu */

