@font-face {
    font-family: 'Signika';
    src: url('../fonts/Signika-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Signika';
    src: url('../fonts/Signika-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Signika';
    src: url('../fonts/Signika-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Signika';
    src: url('../fonts/Signika-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Signika';
    src: url('../fonts/Signika-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
.vielTextschatten {
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.7);
}
body {
    font-family: 'Signika', sans-serif;
    background: url('../imgs/burg_tileable_shadow.avif') repeat-x center top fixed,
                url('../imgs/braun_back.avif') round center fixed,
               #93a7c0;
    color: black;
    margin: 0;
    padding: 0;
    font-weight: 300;
    width: 100%;
    height: 100%;
}
strong {
    font-weight: 700;
}
header {
    color: white;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    font-size: 1.8rem;
    max-width: 960px;
    margin-left: 5%;
    margin-right: 5%;
}
#footer-container {
    position: relative;
    width: 100%;
    background: rgb(108, 175, 204);
}
footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 15px 0;
    background: transparent;
    color: black;
    text-align: center;
    max-width: 960px;
    margin-left: 5%;
    margin-right: 5%;
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center; /* centers vertically */
    height: 10vh; /* Makes the footer full height */
}
p.header {
    color: white;
    font-weight: 600;
    letter-spacing: 0.03rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
p a {
    color: rgb(50, 50, 255);
}
p a:visited {
    color: rgb(155, 50, 150);
}
nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin-left: 5%;
    margin-right: 20px;
    margin-top: 70px;
    margin-bottom: 50px;
    list-style: none;
    padding: 0;
    font-size: 1.2rem;
}
nav a {
    display: block;
    width: auto;
    background: rgb(108, 175, 204);
    margin: 0;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 300;
    transition: transform 0.3s, background 0.3s;
}
nav a:visited {
    color: white;
}
nav a:hover {
    transform: scale(1.05);
    color: #ff6f00;
}
section {
    display: block;
    max-width: 900px;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 30px;
    background: rgba(240, 240, 255, 0.7);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
#wcb {
        display: flex;
        max-width: 960px;
        justify-content: center;
}
p {
    margin: 0px;
    font-weight: 300;
    margin-bottom: 4px;
}
h1 {
    font-weight: 500;
    margin-top: 0px;
    line-height: 0.8em;
}
h2 {
    font-weight: 500;
    margin-top: 0px;
}
h3 {
    font-weight: 500;
    margin-top: 5px;
    margin-bottom: 5px;
}
h4 {
    font-weight: 400;
    margin-top: 5px;
    margin-bottom: 5px;
}
ul {
    list-style: none;
    padding: 0;
}
ul.main li.main {
    background: rgb(108, 175, 204);
    margin: 10px 0;
    padding: 15px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
ul.main li.main .title {
    font-size: 1.2rem;
    font-weight: normal;
    margin: 0;
}
ul.main li.main .teaser {
    margin-top: 8px;
    font-size: 0.95rem;
    opacity: 0.9;
}
ul.main li.main .details {
    margin-top: 15px;
    font-size: 16px;
}
.image-container {
    float: left;
    margin-left: 0px;
    margin-right: 15px;
    margin-top: 0px;
    margin-bottom: 5px;
    max-width: 50%;
}
.image-container img {
    max-width: 100%; 
    border-radius: 10px;
    display: block;
}
.image-container figcaption {
    font-size: 0.7em;
    color: black;
    display: block;
}
.image-container.centered {
    float: left;
    max-width: 60%;
    margin: 15px 15px 15px 0;
}
.clear {
    clear: both;
}
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border-radius: 15px;
}
.popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
    background-color: rgb(108, 175, 204);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
.white-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: -1;
    opacity: 0;
    transition: opacity 3.0s ease-out;
}
