@charset "UTF-8";
/* styles.css */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url("../images/hg.jpg") no-repeat center center/cover; /* Hintergrundgrafik, responsive */
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
}

.center-box, .center-box2 {
    width: 80%; /* Box ist 80% der Bildschirmbreite */
    height: 80%; /* Box ist 80% der Bildschirmhöhe */
    max-width: 900px; /* Maximalgröße für kleinere Bildschirme */
    max-height: 900px; /* Maximalhöhe für kleinere Bildschirme */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertikale Zentrierung */
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.6); /* Halbtransparenter, milchiger Hintergrund */
    backdrop-filter: blur(10px); /* Unschärfe */
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
}
.center-box2 {
     position: relative; /* Für das Home-Icon erforderlich */
    justify-content:flex-start; /* Vertikale Zentrierung */
    padding:20px;
   
    text-align: left;
    overflow-y: auto; /* Vertikaler Scrollbalken bei Überlauf */
    overflow-x: hidden; /* Kein horizontaler Scrollbalken */
    scrollbar-width: thin; /* Dünner Scrollbalken für Firefox */
    scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.1); /* Farben für Firefox */
     clip-path: inset(0 round 30px);
}

.center-box2::-webkit-scrollbar {
    width: 6px; /* Breite des Scrollbalkens */
}

.center-box2::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); /* Farbe des Scrollgriffs */
    border-radius: 10px; /* Runde Ecken für den Scrollgriff */
     margin: 10px;
}

.center-box2::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05); /* Hintergrund des Scrollbalkens */
    border-radius: 10px; /* Runde Ecken für den Track */
}

.home-icon {
    position: fixed; /* Fixiert das Icon unabhängig vom Scrollen */
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: url("../images/home-icon.png") no-repeat center center; /* Home-Icon-Bild */
    background-size: contain;
    cursor: pointer;
    z-index: 1000; /* Stellt sicher, dass das Icon über anderen Elementen liegt */
}

.home-icon:hover {
    opacity: 0.8; /* Leichter Hover-Effekt */
}


.center-box img {
    width: 100%;
    height: auto;
    max-width: 350px; /* Maximale Breite des Bildes */
    max-height: 350px; /* Maximale Höhe des Bildes */
  
}




.below-image {
    display: flex;
    justify-content: center;
    align-items: center; /* Vertikale Zentrierung */
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.below-image img {
    width: 10px;
    height: 30px;
    margin-right: 5px; /* Abstand zur Grafik */
}

.below-image span {
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center; /* Vertikale Zentrierung des Textes zur Grafik */
}

.links {
    margin-top: 10px;
    text-align: center;
}

.links a {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
}

.links a:hover {
    text-decoration: underline;
}
#email-link2, p a {
    color:#6c689b;
    text-decoration: none;
}
#email-link2:hover, p a:hover{
    color:#000;
    text-decoration: none;
}

.kontakt {
    display: block;
    background: #6c689b;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1rem;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
    color: #ffffff;
    margin-top: 30px;
    font-weight: 800;
    text-align: center;
}

.kontakt a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 800;
}

.kontakt:hover {
    background: white;
    color: #6c689b;
}

.kontakt:hover a {
    color: #6c689b;
}


@media (min-width: 768px) {

.below-image span {
    font-size: 1.5rem;
  
}
 .kontakt {
    margin-top: 60px;
}
}

@media (max-width: 767px) {
    .center-box {
        height: 65%; /* Höhe auf 65% der Bildschirmhöhe begrenzen */
        min-height: 380px;
    }
    .center-box img {

    max-width: 200px; /* Maximale Breite des Bildes */
    max-height: 200px; /* Maximale Höhe des Bildes */
  
}

    .below-image {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .below-image img {
        margin-right: 5px;
    }

    .below-image span {
        display: flex;
        align-items: center;
    }
}
