/* Grundlegende Körperstile */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #422866;
    background-image: url('../png/sports_background.png');
    background-attachment: fixed;
    background-size: cover;
    color: #ffffff;
}
/* Header-Stil */
header {
    background-color: #422866;
    text-align: center;
    padding: 20px;
    background-image: url('../png/sports_background.png');
    background-attachment: fixed;
    background-size: cover;
}

section {
    margin-bottom: 20px;
}

/* Hauptbereich Stil */
main {
    flex: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 20px;
    border-radius: 8px;
    text-align: center;
    padding:20px;
    background-image: url('../png/sports_background.png'); /* Pfad zu deinem Muster */
    background-attachment: fixed; /* Sorgt dafür, dass das Hintergrundbild beim Scrollen fest steht */
    background-size: cover;
}

/* Navigationsmenü Stile */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a,
nav ul li a:visited,
nav ul li a:hover,
nav ul li a:focus,
nav ul li a:active {
    text-decoration: none;
    color: #000000;
    background-color: #ffffff;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover,
nav ul li a:focus {
    background-color: #ddd;
    color: #422866;
}

/* Abschnitts- und Bildstile */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image {
    width: 40%;
    height: auto;
    display: block;
    margin-top:20px;
}

.side-image {
    width: 20%;
    height: auto;
    display: none;
    padding: 10%;
}

.download-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #4E387E;
    color: #ffffff;
    border-radius: 8px;
    margin-top: 20px;
    background-image: url('../png/sports_background.png');
    background-attachment: fixed;
    background-size: cover;
}

.store-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.store-badge {
    height: 60px;
    transition: transform 0.3s;
}

.store-badge:hover, .store-badge:focus {
    transform: scale(1.05);
}

/* Media Queries für Anpassungen an größere Bildschirme */
@media (min-width: 1024px) {
    .side-image {
        display: block;
        width: 15%;
    }
    .main-image {
        width: 20%;
    }
}

@media (max-width: 600px) {
    nav ul li {
        display: block;
        margin-bottom: 10px;
    }

    nav ul li a {
        display: inline-block;
        margin: 5px 0;
    }

    .main-image {
        width: 100%;
    }
    .store-links {
        flex-direction: column;
    }

    .store-badge {
        height: 40px;
    }
}
