/* lan4lano default CSS styles */

/* lan4lano default CSS styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
/*    margin: 20px; */
    height: 90vh;
    background-image: url('./img/background.png');
    background-size: cover; /* Bild wird so skaliert, dass es das gesamte div abdeckt */
    background-position: center; /* Bild wird in der Mitte zentriert */
    background-repeat: no-repeat; /* Verhindert, dass das Bild wiederholt wird */
    background-attachment: fixed; /* Hintergrund bleibt beim Scrollen fixiert */

}

/* Content */
content {
    max-width: 800px;
    margin: 2em auto;
    text-align: center;
    display: block;
}

#pageName {
    font-family: "Sofadi One", system-ui;
    font-weight: 400;
    font-size: 1.8em;
    font-style: normal;
}

/* Header */
uiHeader {
    display: flex;
    flex-direction: row;
    color: aliceblue;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    margin: 1em auto;
    text-shadow: 3px 3px 9px #fdfdfd;
    background-color: #f5f5f517;
    padding: 0.5em;
    box-shadow: 15px 5px 1em rgba(0, 0, 0, 0.1);
}

uiHeader a {
    display: block;
    margin-top: 0px;
    margin-left: 0.5em;
    margin-right: 0.5em;
    text-decoration: none;
    color: #007bff;
    cursor: pointer;
}

/* Menu */
/* uiMenu {
    display: flex;
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
    z-index: 1;
    right: 1em;
    top: 4em;
    width: 10em;
    height: 10em;
    flex-direction: column;
    flex-wrap: nowrap;
} */

/* Grundstil fÃ¼r das MenÃ¼ */
uimenu {
    display: flex;
    flex-direction: column; /* Ã„ndere zu row, wenn die Links horizontal sein sollen */
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: fixed;
    top: 5em;
    right: 0em;
    z-index: 1000; /* Sicherstellen, dass das MenÃ¼ Ã¼ber anderen Elementen angezeigt wird */
    width: 200px;
    transform: translateX(100%);
    transition: transform 1s ease-in-out;

}

uimenu.visible {
    display: flex; /* Sichtbar, wenn das MenÃ¼ angezeigt wird */
    transform: translateX(0);
}

uimenu.hidden {
    transform: translateX(100%);
}

/* Stil fÃ¼r die Links im MenÃ¼ */
uimenu div {
    display: block;
    padding: 10px;
    margin: 5px 0;
    text-decoration: none;
    color: #000;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Hover-Effekt fÃ¼r die Links */
uimenu div:hover {
    background-color: #f0f0f0;
}

/* Horizonale Linie fÃ¼r MenÃ¼ Liste*/
uimenu hr {
    color: black;
    background: #ccc;
    height: 0.1em;
    width: 100%;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
    uimenu {
        width: 70%;
        right: 0;
    }
    uimenu div {
        font-size: 1.5em; /* 1.5 mal die Standard-SchriftgrÃ¶ÃŸe des Elements */
    }

    uiNav {
        width: 70%;
        right: 0;
    }
    uiNav div {
        font-size: 1.5em; /* 1.5 mal die Standard-SchriftgrÃ¶ÃŸe des Elements */
    }
}



/* Footer */
uiFooter {
    background-color: rgb(44 44 44);
    color: #fff;
    font-size: 14px;
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 999;
}

uiFooter p {
    margin: 10px 0;
}

uiFooter a {
    color: #6893df;
    text-decoration: none;
}

uiNav {
    display: none;
    flex-direction: column; /* Ã„ndere zu row, wenn die Links horizontal sein sollen */
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: fixed;
    top: 5em;
    left: -14em;
    z-index: 1000; /* Sicherstellen, dass das MenÃ¼ Ã¼ber anderen Elementen angezeigt wird */
    width: 200px;
    transform: translateX(0);
    transition: transform 1s ease-in-out;
    overflow: auto; /* Scrollbars anzeigen, wenn nÃ¶tig */
    max-height: 75vh;
}

uiNav.visible {
    display: flex; /* Sichtbar, wenn das MenÃ¼ angezeigt wird */
    transform: translateX(100%);
}

uiNav.hidden {
    transform: translateX(0);
}

/* Stil fÃ¼r die Links im MenÃ¼ */
uiNav div {
    display: block;
/*    padding: 10px; */
    margin: 5px 0;
    text-decoration: none;
    color: #000;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Hover-Effekt fÃ¼r die Links */
uiNav div:hover {
    background-color: #f0f0f0;
}

/* Horizonale Linie fÃ¼r MenÃ¼ Liste*/
uiNav hr {
    color: black;
    background: #ccc;
    height: 0.1em;
    width: 100%;
}


/* Responsive Anpassungen */
@media (max-width: 600px) {
    uiNav {
        width: 70%;
        left: -39em;
    top: 10em;
        font-size: 0.5em; /* Pixel */
    }
}


#cookie-overlay {
    position: fixed;
    top: 3em;
    bottom: 3em;
    left: 2em;
    right: 2em;
    background: rgb(77 72 72);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 1000;
    border-radius: 1em;
}

#cookie-overlay p {
    margin: 0 0 10px;
}

#cookie-overlay ul {
    text-align: left;
    margin: 10px auto;
    max-width: 600px;
}

#cookie-overlay input {
    margin: 5px;
}

#cookie-overlay button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
}

#cookie-overlay button:hover {
    background: #0056b3;
}


/* Ladecircle Container */
.loader {
    display: none; /* StandardmÃ¤ÃŸig versteckt */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ãœber dem Inhalt */
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease-in-out forwards;
}

/* Klasse fÃ¼r das Ausblenden */
.loader.fade-out {
  animation: fadeOut 0.2s ease-in-out forwards;
}

/* Ladecircle Design */
.spinner {
    border: 8px solid rgba(0, 0, 0, 0.1); /* Hintergrund der Spinner */
    border-radius: 50%;
    border-top: 8px solid #3498db; /* Spinner Farbe */
    width: 150px;
    height: 150px;
    animation: spin 1s linear infinite;
}

/* Spinner Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Definiere die Animationen fÃ¼r das Ein- und Ausblenden */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

