.fancy-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #f9fafe, #e4ecfa);
    color: #3286d4;
    padding: 20px;
    border-radius: 16px;
    width: 300px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    font-family: 'Segoe UI', sans-serif;
    z-index: 11000;
    animation: fadeInPop 0.4s ease;
}

.fancy-popup.show {
    display: block;
}

.fancy-popup .popup-title {
    font-size: 18px;
    font-weight: 700;
    color: #175997;
    margin-bottom: 12px;
}

.fancy-popup .popup-sub {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 20px;
}

.fancy-popup .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #444;
    cursor: pointer;
    z-index: 1;
}

.fancy-popup .close-btn:hover {
    color: #ff4d4d;
}

@keyframes fadeInPop {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}


@media(min-width: 769px) {


  



    .popup {
        display: none;
        position: absolute; /* Nicht fixed, damit es das Layout nicht beeinflusst */
        top: 50%; /* Stellt sicher, dass es NICHT nach oben verschiebt */
        left: -150%;
        transform: translate(-50%);
        background: linear-gradient(135deg, #f9fafe, #e4ecfa);
        color: #3286d4;
        padding: 20px;
        border-radius: 16px;
        width: 300px;
        text-align: center;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
        font-family: 'Segoe UI', sans-serif;
        z-index: 11000;
        animation: fadeInPop 0.4s ease;

    }

  


    .popup-title {
    font-size: 18px;
    font-weight: 700;
    color: #175997;
    margin-bottom: 12px;
}

.popup-sub {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 20px;
}


    .popup.show { 
        display: block; /* Popup wird sichtbar */
    }

    
    
    
 .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #444;
    cursor: pointer;
    z-index: 1;
}
    
  
.close-btn:hover {
    color: #ff4d4d;
}

    /* Login-Button */
    .hover-btn {
    background-color: #3286d4;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
    
    .hover-btn:hover {
        
    background-color: #2672b5;
        transform: scale(1.05);
}


@keyframes fadeInPop {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}



    .banner {
    display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        background-color: #3286d4;
        width: 100%;
        height: 8vh;
        left: 0;                        /* bis zum linken rand ausfüllen*/
        right: 0;
        top: 0;                         /* start am oberen rand*/
        z-index: 1000;
}


    .banner-right-buttons img,
    .banner-center-buttons img {
        width: 5vw;             /* 5% der Viewport-Breite */
        max-width: 40px;        /* Obergrenze für große Bildschirme */
        height: auto;           /* Verhältnis bleibt erhalten */
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .banner-right-buttons img:hover,
.banner-center-buttons img:hover {
    transform: scale(1.1);
}



      .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.logo a img {
    height: 6vh;
    width: auto;
    transition: transform 0.3s ease;
}

.logo a img:hover {
    transform: scale(1.02);
}

    .banner-center-buttons{
        /*flex: 1;
        display: flex;
        justify-content: center;
        height: auto;
        width: 34%;*/
        display: none;
    }

    .banner-right-buttons{
        display: flex;
        justify-content: end;
        height: auto;
        width: 33%;
        z-index: 99999;
    }


    .banner-right-buttons, .banner-center-buttons {
        position: relative; /* Fixiert ihre Position */
        z-index: 99999; /* Bleibt unter dem Popup */
    }
    

    .banner-right-buttons img, .banner-center-buttons img {
        position: relative !important; /* Kein Verrutschen mehr */
        display: block;
        visibility: visible;
        top: 0 !important; /* Zurück auf ursprüngliche Position */
    }
    

    body, html{
        overflow: visible !important;
    }

    .banner-right-buttons img[src="Platzhalter.jpg"]{  /*feste größe für platzhalterbild NUR ÜBERGANGSWEISE */
        height: 40px;
        width: auto;
    }

    .songrequest-container {
        position: relative; /* Damit die Nachricht relativ zum Bild positioniert wird */
        display: flex;
        flex-direction: column;
        align-items: center; /* Zentriert Bild und Nachricht */
        z-index: 11000;
    }


    
    
    
    

    

    .banner-right-buttons img{
        padding-right: 2vw;
    } 

    .banner-right-buttons img:hover{
        transform: scale(1.1);
    }

    .banner-center-buttons img:hover{
        transform: scale(1.1);
    }

    .songrequest{
        height: auto;
        width: 20%;
    }

    

    
   .search-container {
    position: fixed;
    top: 8vh;
    left: 0;
    width: 100%;
    height: 10vh;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 900;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

    .search-container input {
    width: 80%;
    max-width: 600px;
    height: 50px;
    padding: 0 20px;
    background-color: #3286d4;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    

}

.search-container input::placeholder {
    color: #ffffff;
    opacity: 0.7;
    font-size: 18px;
    text-align: center;
}

.search-container input:focus {
    outline: none;
    
    background-color: #2672b5;
}

    .search-container::after{
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background-color: #ccc;
        
    }

    

    

    body{
        display: flex;
        justify-content: center;
        height: 100vh;
        margin: 0;
    }

    .main-content{
        display: flex;
        justify-content: center;
        padding-top: 18vh;
        
        width: 100%;
    }

    .tabs-list ul{
        list-style-type: decimal;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.1rem;
        
    }

    ul li{
        color: #000000;
    }

    ul li a{
        color: #000000;
        text-decoration: none;
    }

    .song-eintrag{
        position: relative;
        margin-left: 0;
        padding-bottom: 10px;
        padding-top: 10px;
        width: 80%;
        max-width: 700px;
        font-family: Arial, Helvetica, sans-serif;
        
    }  

    .song-eintrag::after{                   /*linie unter jedem songeintrag*/
        content: "";
        position: absolute;
        left: 50%;                        /*muss bei prozentwerten für symmetrie 1/4 des width-werts sein*/
        right: 0;
        bottom: -5px;                       /*abstand linie und interpret*/
        height: 1px;
        width: 500%;
        max-width: 700px;
        background-color: #ccc;
        transform: translateX(-50%)
    }

    .song-titel{
        font-weight: bold;
        font-size: 1.1rem;
        margin-bottom: 2%;
    }

    .song-interpret{
        margin-top: 0;
        margin-bottom: 2%;
        color: #555;
        
    }

    .footer-button{
        display: none;
    }

    .footer-container{
        display: none;
    }


    .dropdown-container {
    position: relative;
    display: inline-block;
}

/* Dropdown-Styling im Stil deiner Songrequest-Seite */
.dropdown-container {
    position: relative;
    display: inline-block;
    z-index: 100000;
}

#dropdownToggle {
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#dropdownToggle:hover {
    transform: scale(1.1);
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 5px;
    margin-top: 10px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 160px;
    overflow: hidden;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    color: #2672b5;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f0f4f8;
}

.toggle-switch{

    position: relative; /* Damit die Nachricht relativ zum Bild positioniert wird */
        display: flex;
        flex-direction: column;
        align-items: center; /* Zentriert Bild und Nachricht */
        z-index: 11000;
        justify-content: center;
        
}
    
/* 👇 Flaggen-Toggle: Darstellung reparieren */
.language-toggle-switch {
  width: 60px;
  height: 32px;
  background-color: white;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  right: 40px;
}

.toggle-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 1s ease, transform 1s ease;
}

.language-toggle-switch.active .toggle-circle {
  left: calc(100% - 30px);
  transform: rotate(180deg); /* Rollanimation */
}



#flagEn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 2px;
  left: 14px;
  transition: none;
  padding: 0;
}

#flagEn:hover {
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  
}

#flagGr {
  transform: rotate(180deg);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 2px;
  right: 14px;
  transition: none;
  padding: 0;
}

#flagGr:hover {
  
  filter: none !important;
  opacity: 1 !important;
}

.flag-en {
  opacity: 1;
  z-index: 2;
}

.language-toggle-switch.active .flag-en {
  opacity: 0;
}

.language-toggle-switch.active .flag-gr {
  opacity: 1;
  z-index: 2;
}



.mobile-side-menu .close-btn {
    display: none;
}

.mobile-side-menu {
    display: none;
}

.burger-menu-icon{
    display: none;
}

}

/* Anpassungen für kleine Bildschirme */
@media (max-width: 768px) {


    
 .popup {
        display: none;
        position: absolute; /* Nicht fixed, damit es das Layout nicht beeinflusst */
        top: 50%; /* Stellt sicher, dass es NICHT nach oben verschiebt */
        left: -150%;
        transform: translate(-50%);
        background: linear-gradient(135deg, #f9fafe, #e4ecfa);
        color: #3286d4;
        padding: 20px;
        border-radius: 16px;
        width: 300px;
        text-align: center;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
        font-family: 'Segoe UI', sans-serif;
        z-index: 11000;
        animation: fadeInPop 0.4s ease;

    }

  


    .popup-title {
    font-size: 18px;
    font-weight: 700;
    color: #175997;
    margin-bottom: 12px;
}

.popup-sub {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 20px;
}


    .popup.show { 
        display: block; /* Popup wird sichtbar */
    }

    
   



.burger-menu-icon {
    display: block;
    font-size: 28px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 11001;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

.burger-menu-icon:hover {
    transform: translateY(-50%) scale(1.1);
}

.burger-menu-icon.hidden {
    display: none !important;
}

.mobile-side-menu {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    width: 72%;
    max-width: 300px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);     /* leicht durchscheinend */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  z-index: 11000;
    display: flex;
    flex-direction: column;
    padding: 0px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    font-family: "Segoe UI", sans-serif;
}

#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: transparent;
    z-index: 10999; /* Muss UNTER dem Menü (z-index 11000) liegen */
}






.mobile-side-menu .close-btn {
    font-size: 32px;
    align-self: flex-end;
    margin: 10px 20px;
    cursor: pointer;
    color: #3286d4;
}

.mobile-nav {
    padding: 60px 0 20px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 2px;
}




.mobile-link {
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #1c1c1e;
    text-decoration: none;
    display: flex;
    align-items: center;
    border-radius: 16px;
    margin: 10px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}


.mobile-link:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: #175997;
    transform: translateX(4px);
}



.mobile-nav {
  padding-top: 60px !important;
}












.mobile-link:last-child {
    border-bottom: none;
}



.mobile-link img {
    width: 20px;
    height: 20px;
    filter: grayscale(1) brightness(0.3);
}

.mobile-side-menu.open {
    transform: translateX(0);
}


.mobile-side-menu.open .mobile-link {
    opacity: 0;
    transform: translateX(20px);
    animation: fadeSlideIn 0.5s ease forwards;
}



@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



.mobile-side-menu .close-btn {
    font-size: 26px;
    margin: 0 20px 10px auto;
    color: #007aff;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: color 0.2s ease;
}

.mobile-side-menu .close-btn:hover {
    color: #005fcb;
}

.mobile-side-menu .mobile-language-toggle {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 11001;
  margin: 0; /* Entfernt das alte margin-top */
  justify-content: flex-start; /* Linksbündig */
}



#langToggleMobile {
  width: 60px;
  height: 32px;
  background-color: white;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
}

#langToggleMobile .toggle-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 1s ease, transform 1s ease;
}

#langToggleMobile.active .toggle-circle {
  left: calc(100% - 30px);
  transform: rotate(180deg);
}



#flagGrMobile {
  transform: rotate(180deg);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: absolute;
  
  transition: none;
  padding: 0;
}

#flagEnMobile {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: absolute;
  
  transition: none;
  padding: 0;
}

#flagEnMobile:hover {
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  
}

#flagGrMobile:hover {
  
  filter: none !important;
  opacity: 1 !important;
  
}


.flag-en {
  opacity: 1;
  z-index: 2;
}

#langToggleMobile.active .flag-en {
  opacity: 0;
}

#langToggleMobile.active .flag-gr {
  opacity: 1;
  z-index: 2;
}



/* === PROFILE BOX (Burger-Menü oben) === */



.profile-link {
    width: 260px;             /* ✅ feste Breite */
    height: 80px;             /* ✅ feste Höhe */
    box-sizing: border-box;   /* stellt sicher, dass padding mit einberechnet wird */
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: 16px;
    margin: 10px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden; /* verhindert Ausdehnen durch Textüberlauf */
}



.profile-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}



.profile-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    flex: 1;
}

.profile-name {
    font-size: 14px;     /* z. B. 14px, fest! */
    font-weight: 600;
    margin: 0;
    padding: 0;
    color: #1c1c1e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-email {
    font-size: 12px;     /* z. B. 12px */
    font-weight: 400;
    margin: 0;
    padding: 0;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}











@media screen and (max-width: 720px) {
    .burger-menu-icon {
        display: block;
    }
    .banner-right-buttons,
    .banner-center-buttons,
    .search-container {
        display: none;
    }
}


    .banner-center-buttons{
        display: none;
    }

    .banner-right-buttons{
        display: none;
    }
    
    .banner {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        background-color: #3286d4;
        width: 100%;
        height: 8vh;
        left: 0;                        /* bis zum linken rand ausfüllen*/
        right: 0;
        top: 0;                         /* start am oberen rand*/
        z-index: 1000;
    }
    .search-container {
    position: fixed;
    top: 8vh;
    left: 0;
    width: 100%;
    height: 10vh;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 900;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

    .search-container input {
    width: 80%; 
    font-size: 1.2rem;
    border-radius: 25px !important; /* <- hier geändert */
    border: 1px solid #ffffff;
    background-color: #3286d4;
    color: #ffffff;
    height: 5vh;
    text-align: center;
    outline: none;
    min-height: 30px;

}

.search-container input::placeholder {
    color: #ffffff;
    opacity: 0.7;
    font-size: 18px;
    text-align: center;
}

.search-container input:focus {
    outline: none;
    
    background-color: #2672b5;
}

    .search-container::after{
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background-color: #ccc;
        
    }

    body {
        margin: 0;
        font-family: Arial, sans-serif;
        background-color: #ffffff;
        color: #000000;
        display: flex;
        flex-direction: column;
        padding-top: 12vh; /* Dies sorgt dafür, dass der Body-Inhalt immer unter dem Header bleibt */
    }

      .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.logo a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.logo a img {
    height: 6vh;
    width: auto;
    cursor: pointer;
}

    .search-container input {
        width: 90%; 
        font-size: 1.2rem;
        border-radius: 5px;
        border: 1px solid #ffffff;
        background-color: #3286d4;
        color: #ffffff;
        height: 5vh;
        text-align: center;
        outline: none;
        min-height: 30px;
    }

    .search-container input::placeholder {
        color: #FFFFFF;
        justify-content: center;
        text-align: center;
        font-size: 20px;
    }

   

    .main-content {
        padding: 4vh 20% 50px 20%;     /*abstand oben, rechst, unten, links*/
        background-color: #ffffff;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }


    nav ul {
        list-style-type: decimal;
        padding: 0;
        margin: 0;
        display: flex;
    }
    
    ul li {
        color: #000000;
    }
    
    ul li a {
        color: #000000;
        text-decoration: none;
        list-style-type: none;
    }
    
    nav ul li a:hover {
        color: #3286d4;
    }

    .tabs-list {
        padding-top: 5%;
        width: 100%;
        max-width: 900px
    }
    
    .tabs-list ul {
        list-style-type: decimal;
        padding: 0;
        font-size: 1.2rem; /* Anpassung der Schriftgröße */
    }
    
    .tabs-list ul li {
        margin: 10px 0;
    }
    
    .tabs-list ul li a {
        color: #000000;
        text-decoration: none;
        font-size: 1rem;
    }
    
    .song-eintrag{
        margin-bottom: 15px;
        padding-bottom: 0px;
        border-bottom: 1px solid #ccc;
        width: 100%;
        margin-left: 0px; /* Verbreitert die Linie nach links /
        padding-left: 20px; / R�ckt den Text wieder ein */
    }

 

    .song-titel {
        font-weight: bold;
        font-size: 1.2rem;
        margin-bottom: -12px;
    }

    .song-interpret {
        font-size: 1rem;
        color: #555; /* Hellerer Grauton f�r den Interpreten */
    }

    footer {
        display: block;
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: #3286d4;
    }

    .footer-container {
        display: flex;
        justify-content: center;
        gap: 25vw;
        align-items: center;
        padding: 10px;
       
    }

    .footer-container img {
        width: 24px;
        height: 24px;
        transition: transform 0.3 ease;
    }

    .footer-container img:hover{
        transform: scale(1.1);
    }

    

    .stern-button{
        display: none;
    }

    

    
    
    .login-form {
        background-color: #ffffff;
        padding: 40px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        width: 300px;
    }
    
    .login-form h2 {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .input-group {
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
    }
    
    .input-group label {
        margin-bottom: 5px;
    }
    
    .input-group input {
        padding: 10px;
        border-radius: 4px;
        border: 1px solid #ccc;
    }
    
    button {
        background-color: #3286d4;
        color: #ffffff;
        border: none;
        padding: 10px;
        border-radius: 4px;
        cursor: pointer;
        width: 100%;
    }
    
    button:hover {
        background-color: #2672b5;
    }

    
}


