* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1.75px;
    line-height: 2;
}


h1 {
    font-size: 38px;
    text-align: center;
}


h2 {
    font-size: 28px;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: #efc900;
}

h3 {
    font-size: 20px;
    font-weight: 600;
}
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #00284c;
    position: relative;
    overflow-x: hidden;
}

header {
    background-color: #00284c;
    color: #fff;
    padding: 3px 0;
    position: sticky;
    top: -1px;
    z-index: 1000;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Abstand zwischen den Buttons */
    justify-content: center;
    margin-top: 20px;
}

.button {
    background-color: #002b50;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Arial', sans-serif; /* Beispiel-Schriftart */
    font-size: 16px;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
}

.button:active {
    transform: translateY(1px);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links li a {
    color: #efc900;
    font-size: 20px;
    text-decoration: underline;
    text-decoration-color: #fff;
    text-decoration-style: dashed;
    font-weight: bold;
    text-underline-offset: 5px;
}

.nav-links li a:hover {
    text-decoration: underline;
    transition: width 2s;
    text-decoration-color: #fff;
    text-underline-offset: 5px;
    
}

.logo img {
    width: 400px;
}

.logores {
    display: block;
    margin: 0 auto;
}

.logores img {
    margin: 0 auto;
    width: 150px;
    padding: 10px;
    text-align: center;
}

.content-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.candidate {
    display: flex;
    flex-wrap: wrap;
}

.custom-hr {
    width: 80%; /* Breite der Linie */
    border-bottom: 1px solid #002b50; /* Dicke, Stil und Farbe der Linie */
    margin: -12px auto; /* Abstand nach oben und unten */
    opacity: 0.6;
}


.content-section h2 {
    color: #00284c;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.content-section img {
    margin: 10px auto;
    text-align: center;
    display: flex;
    justify-content: center;
}

.content-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.content-tile {
    background-color: #fffbcc;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex: 1 1 calc(45% - 20px);
    margin: 10px;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.5s cubic-bezier(0.25, 0.1, 0.25, 1); /* Langsamerer Übergang mit Easing */

    
}

.content-tile:hover {
    transform: translateY(-10px); /* Leichtes Abheben nach oben */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Verstärkter Schatten beim Hover */
}

.content-tile h3 {
    margin-top: 0;
    color: #002b50;
    font-family: 'Open Sans', sans-serif;
}

.content-tile p, .content-tile ul {
    margin: 10px 0 0;
    color: #00284c;
    font-family: 'Open Sans', sans-serif;
}

.content-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0.3;
    z-index: -1;
    border-radius: 8px;
}

footer {
    background-color: #00284c;
    color: #efc900;
    text-align: center;
    padding: 10px;
}

footer p {
    margin: 50px;
}

#background {
    background-image: url('./background1.jpg');

    background-size:cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #c6c6c6;

    width: 100%;
    height: 100%;
    z-index: -1;
}

.schatten {
    text-shadow: #fff 1px 1px 3px;
}

#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #00284c;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.35);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 15px;
    display: none; /* Standardmäßig versteckt */
    cursor: pointer;
    z-index: 1000;
  }

@media only screen and (max-width: 768px) {

    .logo {
        display: none;
    }

    .logores {
        text-align: center;
        margin: 10 auto;
    }

    nav li {
        display: none;
    }

    nav {
        padding: 20px;
    }

    header {
        background-color: #00284c;
        color: #fff;
        padding: 3px 0;
        position: sticky;
        top: -1px;
        z-index: 1000;
    }

    #background {
        background-image: url('./backgroundres.jpg');
    
        background-size: contain;
        background-attachment: fixed;

    
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .content-section img {
        width: 100% !important;
        margin: 10px auto;
        text-align: center;
        display: flex;
        justify-content: center;
    }

}



@media only screen and (min-width: 768px) {

    .logores {
        display: none;

    }

}


