/* Dein CSS für das Design */
*{
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 30px;
    
    color: black;
    background-position: center;
    background-size: cover;
    justify-content: center;
}
body { 
    font-family: Arial, sans-serif; 
    display: flex;

}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.outer-container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: 0 auto;
}
.overlay-top{
    position: absolute;
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    
    z-index: 1;
}
form{
    margin-bottom: 0;
}
.login-box { 
   
    width: 290px;
    margin: auto;
    padding: 1%; 
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 20px;


}
.login-box input { 
    width: 100%; 
    margin: 10px 0; 
    padding: 0 15px;
    opacity: 0.7;
    border: none;
    border-radius: 8px;
}
.login-box button { 
    width: 100%;
    height: 40px; 
    border: none;
    color: #333;
    background: transparent;
    cursor: pointer;
}
.error { color: red; }

.gallerie{
    display: flex;
    justify-content: space-between;
    gap: 5px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    
}
.cont_foto{
    height: 500%;
    width: 100%;
    overflow: hidden;
}
#cont_Foto1{
    animation: slide 60s linear infinite;
}
#cont_Foto2{
    animation: slide 60s reverse linear infinite;
}
.foto{
    height: 20%;
    padding: 1px;
    width: 100%;
    overflow: hidden;
    object-fit: cover;
}
.selectedOption{
    position: relative;
    padding: 5px 15px;
    padding-right: 25px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.3);
}

/*
.sprachContainer .sprache{
    width: 100%;
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;

}
*/
.overlay-bottom{
    position: absolute;   /* Überlagertes Bottom-DIV absolut positionieren */
    bottom: 0;            /* Am unteren Rand des Containers platzieren */
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 1; 
}
.sprachContainer{
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 110px;
    left: 0;
    z-index: 1;

}
.sprache{
    display: none;
    position: absolute;
    width: 100%;
    height: 50%;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    z-index: 10;   
    bottom: 100%; /* Öffnet das Dropdown über dem Trigger-Element */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Schlagschatten für das Dropdown */

}
.sprache.active{
    display: block;

}

.flagge{
    height: 20px;
    margin-right: 8px;  
}
.optionSprache{
    display: flex; 
    align-items: center;
    cursor: pointer;
}
.optionSprache:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
}
.selectedOptionTrigger{
    display: flex;
    cursor: pointer;
}
.arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid black;
    position: absolute;
    right: 10px;
    top: 10px;
  }

@media screen and (max-width: 664px) {
    /*** CSS für Bildschrimbreiten bis zu 664 Pixel --- Handy Hoch***/
    .login-box { width: 65%; max-width: 290px; }
    .gallerie{ justify-content: center; display: block;}
    #cont_Foto2{display: none;}
    *{
        font-size: 25px;
    }
    .login-box{
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media screen and (min-width: 665px) {
    /*** CSS für Bildschrimbreiten Handy Quer und Bildschirme & Tablets ***/
    .login-box { width: 65%; max-width: 290px; }

}
@keyframes slide {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-81%);
    }
}