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

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

/* Header & Navigation */
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;
    }
}


/* Spielbereich & Vorschau */
.spielbereich {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    flex-grow: 1;
    padding: 20px;
}

.game-link-wrapper {
    text-decoration: none;
    display: block;
    width: 100%;
    max-width: 900px;
}

.game-preview {
    position: relative;
    width: 100%;
    height: 450px;
    background-color: #000;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #00d4ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.preview-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

/* Play Button & Overlay */
.play-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: #00d4ff;
    border-radius: 50%;
    margin: 0 auto 15px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent white;
}

.play-overlay p {
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px black;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background-color: white;
    width: 100%;
}
