* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    overflow: hidden;
    background-image: url('/bilder/bg2.jpg');
    background-size: cover !important; 
    background-repeat: no-repeat;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust the opacity as needed */
    z-index: -1;
}

header {
    color: #fff;
    padding: 1em;
    text-align: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to right, #59748c 25%, #000000 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

header .header-logo {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
}

header .header-content {
    z-index: 1;
}

header.visible {
    opacity: 1;
    transform: translateY(0);
}

h1 {
    text-align: center; 
    margin-top: 250px;
    font-size: 40px;
    color: #fff;
    text-shadow: 1px 1px #59748c;
}

footer {
    background: linear-gradient(to right, #59748c 25%, #000000 100%);
    color: #fff;
    display: ruby !important;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0;
    padding: 15px;

    height: 50px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

footer a, footer p {
    color: #fff;
    text-align: center;
    font-weight: bold;
    text-decoration: none;

}

footer::after {
    content: none;
}

nav {
    text-align: center;
    padding: 1em;
}

nav::after {
    content: none;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin-right: 1em;
}

nav ul li a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

section {
    padding: 2em;
    margin: 500px auto 50px auto;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 2px 4px #fff;
    background: linear-gradient(to bottom, #59748c 0%, #000000 100%);
    opacity: 0.9 !important;
}

button {
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 0.5em 1em;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

main {
    overflow-y: auto;
    height: calc(100vh - 130px); /* Adjust height based on header and footer */
    padding: 1em;
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.text-block {
    max-width: 50%;
    padding: 1em;
}

a {
    font-weight: bold;
    text-decoration: none;
    color:#becdd4;
}

li{
    margin-bottom: 5px;
    display: block;
}
ul{
    padding-inline-start: 5px;
}

h2{
    background: linear-gradient(to right, #59748c 25%, #000000 100%) !important;
    color: #fff;
    padding: 20px 10px;
    text-align: center;
    margin-bottom: 10px;
    font-size: 22px;
}
h3{
    text-align: center;
}
p{
    margin-bottom: 20px;
}


.three-columns, .two-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;  /* FĆ¼gt Umbruch hinzu, wenn der Platz nicht ausreicht */
    text-align: center;
}

.three-columns p, .two-columns p {
    flex: 1;
    margin: 15px 10px;
    min-width: 300px; 
}

@media (max-width: 768px) {
    .three-columns p, .two-columns p {
        flex: 1 1 100%;  /* Verhindert, dass Elemente zu klein werden */
        margin: 10px 0;   /* Etwas Abstand fĆ¼r mobile GerĆ¤te */
    }
}


.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    background-color: #0e0e0e;
    border-radius: 5px;
    border: none;
}

.button:hover {
    background-color: #becdd4;
}