body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #ddd;
    padding: 1em;
    text-align: center;
}


main {
    padding: 20px; /* Reduced padding for mobile */
	max-width: 500px; /* Erhöht die maximale Breite auf 1000px */
    margin: 0 auto;
}

/* Animation Container */
.animation-container {
    width: 100%;
    max-width: 200px; /* Adjust size */
    margin: 10px auto; /* Center the animation */
}

.animation-container video {
    width: 80%;
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.song-info {
  display: flex; /* Enable flex container */
  align-items: center; /* Vertically align items */
  margin-bottom: 10px;
}

.song-info span {
  display: inline-block;
  width: 350px; /* Adjust this value */
  text-align: left; /* Ensure the text starts from the left */
  margin-right: 10px; /* Add spacing between text and audio player */
}

.red-link {
    color: #dc3545; /* Rote Textfarbe */
    text-decoration: none; /* Entfernt Unterstreichung */
}

.red-link:hover {
    text-decoration: underline; /* Fügt Unterstreichung beim Überfahren hinzu */
}

/* Main Content Area */
.main-content {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center horizontally */
}

/* Image Container */
.image-container {
    width: 90%; /* Take up most of the screen width */
    margin-bottom: 20px;
    text-align: center;
    position: relative; /* For absolute positioning of label */
}

.oval-frame {
    padding: 20px; /* Adjust the amount of padding around the text */
    border: 2px solid rgba(255, 255, 255, 0.5); /* White border with transparency */
    border-radius: 50%; /* Make it circular */
    width: 300px; /* Set the width of the frame */
    height: 140px; /* Set the height of the frame */
    text-align: center;
    margin: 0 auto; /* Center the frame horizontally */
    color: #fff; /* Text color */
    font-family: Arial, sans-serif; /* Choose your preferred font */
    background-color: rgba(0, 0, 0, 0.2); /* Transparent background color */
}

.image-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Audio Label */
.audio-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
}

/* Audio Player */
.image-container audio {
    width: 100%;
    max-width: 400px; /* Match the image size */
}

/* Navigation Icons */
.navigation {
    display: flex;
    justify-content: space-around; /* Distribute icons evenly */
    width: 90%;
    max-width: 400px; /* Limit navigation width */
    margin: 0 auto;
}

.navigation img {
    width: 50px; /* Adjust icon size as needed */
    height: 50px;
}

/* Popup Styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
}

.popup:target {
    display: flex; /* Show the popup when targeted */
}

.popup-content {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    max-width: 80%;
    max-height: 80%;
    overflow: auto; /* Allow scrolling if content is too large */
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: #333;
    text-decoration: none;
}


/*Video link inside the container*/
.video-link-container {
    text-align: center;
}

.video-link {
    color: #007bff; /* Link color */
    text-decoration: none;
}

.video-link:hover {
    text-decoration: underline;
}
.video-links {
    display: flex;
    flex-direction: column; /* Stapelt die Links untereinander */
    align-items: center;    /* Zentriert die Links horizontal */
}

/* Passt die Stile für die einzelnen Video-Link-Container an (falls nötig) */
.video-link-container {
    margin-bottom: 5px;   /* Fügt etwas Abstand zwischen den Links hinzu */
}



/* Popup-Stile (unverändert, aber vollständig dargestellt) */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
}

.popup:target {
    display: flex; /* Show the popup when targeted */
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 80%;
    max-height: 80%;
    overflow: auto; /* Allow scrolling if content is too large */
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: #333;
    text-decoration: none;
}


/*Video link inside the container*/
.video-link-container {
    text-align: center;
}

.video-link {
    color: #007bff; /* Link color */
    text-decoration: none;
}

.video-link:hover {
    text-decoration: underline;
}

/* Popup-Stile (unverändert, aber vollständig dargestellt) */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
}

.popup:target {
    display: flex; /* Show the popup when targeted */
}

.popup-content {
    background-color: #fff;
    position: relative;
    width: 95vw;      /* Occupy 95% of the viewport width */
    height: 95vh;     /* Occupy 95% of the viewport height */
    max-width: none;   /* Remove max-width restriction */
    max-height: none;  /* Remove max-height restriction */
    padding: 0;         /* Remove padding */
    border-radius: 0;   /* Remove border-radius */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.popup-content video {
    display: block;
    width: 100%;      /* Make the video fill the content area */
    height: 100%;     /* Make the video fill the content area */
    object-fit: contain; /* Keep aspect ratio and fit within bounds */
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: #333;
    text-decoration: none;
}

.feedback-button {
    display: inline-block;
    background-color: #dc3545; /* Rote Hintergrundfarbe */
    color: #fff;              /* Weiße Textfarbe */
    padding: 10px 20px;       /* Innenabstand */
    text-decoration: none;      /* Entfernt Unterstreichung */
    border-radius: 5px;        /* Abgerundete Ecken */
    margin-left: 10px; /* Abstand vom Copyright-Text */
}

.feedback-button:hover {
    background-color: #c82333; /* Etwas dunkleres Rot beim Überfahren */
}
footer {
    background-color: #ddd;
    text-align: center;
    padding: 1em;
    font-size: 0.8em;
    color: #666;
}

  /* Basis-Stile für den blinkenden Link und das Motto-Display */
        .motto-link {
            font-size: 1.2em;
            text-decoration: none;
            color: #007bff; /* Blaue Linkfarbe als Beispiel */
            animation: blink-animation 1.5s infinite;
            cursor: pointer;
            display: inline-block; /* Wichtig für Animation und Layout */
            padding: 5px 10px;
            border: 1px solid transparent; /* Für den Hover-Effekt */
        }

        @keyframes blink-animation {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        .motto-link:hover {
            animation: none; /* Stoppt Blinken beim Hover */
            opacity: 1;
            border-color: #007bff; /* Zeigt einen Rahmen beim Hover */
        }

        #motto-display {
            margin-top: 15px;
            padding: 15px;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 5px;
            display: none; /* Standardmäßig ausgeblendet */
            white-space: pre-wrap; /* Behält Zeilenumbrüche aus dem Spruch bei */
        }
         #motto-loading {
            display: none; /* Standardmäßig ausgeblendet */
            font-style: italic;
        }
