@font-face {
    font-family: 'Bahnschrift Light SemiCondensed';
    src: local('Bahnschrift Light SemiCondensed'), url('../fonts/bahnschrift_light_semi_condensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Baskerville Old Face';
    src: local('Baskerville Old Face'), url('../fonts/baskerville_old_face.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Century Gothic';
    src: local('Century Gothic'), url('../fonts/century_gothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Segoe UI Black';
    src: local('Segoe UI Black'), url('../fonts/segoe_ui_black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    --image-modal-height: 600px;

    --color-blue: #17375E;
    --color-white: #fafafa;
    --color-gray: #eaeaea;
    --color-red: #943634;

    --color-shadow: #333;
    --shadow-thin: 
		-1px -1px 0 var(--color-shadow),
		1px -1px 0 var(--color-shadow),
		-1px 1px 0 var(--color-shadow),
		1px 1px 0 var(--color-shadow);
    --shadow-thick:
		-2px -2px 0 var(--color-shadow),
		2px -2px 0 var(--color-shadow),
		-2px 2px 0 var(--color-shadow),
		2px 2px 0 var(--color-shadow);
}

body {
    --banner-height: 400px;
    --header-height: calc(var(--navbar-height) + var(--banner-height));

    min-height: 100vh;
    background-color: var(--color-gray);

    font-family: 'Bahnschrift Light SemiCondensed', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-blue);
}
.body_big_header {
    --banner-height: 600px;
    --header-height: calc(var(--navbar-height) + var(--banner-height));
}
.body_no_header {
    --banner-height: 0px;
    --header-height: calc(var(--navbar-height) + var(--banner-height));
}

a {
    text-decoration: none;
    color: var(--color-red);
}
a:hover {
    text-decoration: underline;
}
em {
    color: var(--color-red);
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

/** =============================================================
    ACCESSIBILITY
    ============================================================= */
#accessibility {
    flex-grow: 1;
    text-align: right;
    font-size: 20px;

    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}
#reader {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;

    visibility: hidden; /* Wird durch JS eingeblendet wenn lesbarer Text erkannt wird */
}
#reader img {
    cursor: pointer;
}
#simple_lang {
    visibility: hidden;
}
.simple_lang {
    display: none;
}

/** =============================================================
    HEADER
    ============================================================= */
header {
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}
.body_no_header header {
    background-color: var(--color-blue);
}
.content_index header {
    background-image: url(../img/bg_index.webp);
}
.content_ueber_uns header {
    background-image: url(../img/bg_ueber_uns.webp);
}
.content_aktionen header {
    background-image: url(../img/bg_aktionen.webp);
}
.content_aktionen_lager header {
    background-image: url(../img/bg_lager.webp);
}
.content_aktionen_muellsammelaktion header {
    background-image: url(../img/bg_muellsammelaktion.webp);
}
.content_aktionen_sonstiges header {
    background-image: url(../img/bg_sonstiges.webp);
}
.content_aktionen_weihnachtsbaumverkauf header {
    background-image: url(../img/bg_weihnachtsbaumverkauf.webp);
}
.content_kalender header {
    background-image: url(../img/bg_kalender.webp);
}

/** =============================================================
    NAVIGATION
    ============================================================= */

#navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,.25);
}

nav {
    width: 100%;
    height: 100%;
    font-family: 'Century Gothic';
}
nav ul {
    width: 100%;
    height: 100%;
    display: flex;
}
nav li {
    height: 100%;
    list-style: none;
}
nav a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

    text-decoration: none;
    font-family: 'Century Gothic';
    color: var(--color-gray);
    line-height: 30px;
    text-shadow: var(--shadow-thin);
}
nav a:hover {
    text-decoration: none;
}

/** =============================================================
    BANNER
    ============================================================= */
#banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: var(--banner-height);
    color: var(--color-gray);
    padding-top: var(--navbar-height);
}

#banner h1 {
    font-size: 90px;
    text-transform: uppercase;
    font-family: 'Segoe UI Black';
    font-weight: bold;
    text-align: center;
    text-shadow: var(--shadow-thin);
}

#banner_sub {
    font-family: 'Baskerville Old Face';
    font-size: 30px;
    text-shadow: var(--shadow-thin);
}

.text_banner {
    width: 70%;
    padding-left: 15%;
    padding-right: 15%;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    align-content: center;
}
.text_banner h1 {
    font-size: 40px;
    flex-grow: 1;
}
.colored_banner {
    height: 120px;
    font-weight: bold;
    margin-bottom: 40px;
    background-color: var(--color-blue);
    color: var(--color-white);
}
.uncolored_banner {
    margin-bottom: 10px;
    margin-top: 20px;
}
.uncolored_banner h1 {
    letter-spacing: 8px;
    text-transform: uppercase;
    font-family: 'Century Gothic';
}

/** =============================================================
    BIG CIRCLES
    ============================================================= */
.content_headline {
    width: 100%;
    text-align: center;
    color: var(--color-blue);
    letter-spacing: 8px;
    text-transform: uppercase;
    font-family: 'Century Gothic';
    margin-bottom: 10px;
    margin-top: 20px;
}

.big_circles {
    width: calc(100% - 40px);
    padding: 20px;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}
.big_circles a {
    font-weight: bold;
}
.big_circle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.big_circle_image {
    background-color: var(--color-white);
    border-radius: 50%;
}

/** =============================================================
    ARTICLE
    ============================================================= */

article {
    color: var(--color-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}
section {
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    font-size: 18px;
}
section p,
section div {
    flex-grow: 1;
}
.section_image_container {
    text-align: center;
    width: 200px;
    flex-grow: 0;
    padding: 10px;
    box-shadow: 1px 1px 2px gray;
    background-color: var(--color-white);
}
.section_image_container img {
    cursor: zoom-in;
}

/** =============================================================
    GALLERY
    ============================================================= */
.gallery {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.gallery img {
    cursor: zoom-in;
}

/** =============================================================
    NEWS / LAGER / SONSTIGES
    ============================================================= */
.news_bg_wrapper {
    width: 100%;
    background-image: linear-gradient(to right, var(--color-blue) 0 75%, transparent 75% 100%);
    background-size: 100% 150px;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}
.news_bg_wrapper_headline {
    margin-top: 20px;
}
.news_headline {
    height: 40px;
    width: 60%;
    color: var(--color-white);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-right: 10%;
}
.news_headline h1 {
    text-align: left;
    letter-spacing: 8px;
    font-family: 'Century Gothic';
    text-transform: uppercase;
    flex-grow: 1;
}
.news_headline #reader {
    margin-right: 10px;
}

.list_item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    width: 70%;

    background-color: var(--color-white);
    
    box-shadow: 1px 1px 2px gray;
}
.list_item_content {
    padding-right: 20px;
    flex-grow: 1;
}
.list_item_icon {
    padding-left: 20px;
    padding-right: 20px;
    flex-grow: 0;
}
.list_item_icon img {
    border-radius: 50%;
}
.list_item p {
    margin-top: 20px;
    margin-bottom: 20px;
}
.list_item_footer {
    display: block;
    text-align: right;
    color: #7f7f7f;
}

/** =============================================================
    KALENDER
    ============================================================= */
iframe {
    width: 100%;
    height: 500px;
    margin-right: -20px;
}

/** =============================================================
    FOOTER
    ============================================================= */
footer {
    background-color: var(--color-blue);
    color: var(--color-gray);
    width: calc(100% - 40px);
    padding: 20px;
    font-size: 18px;
}
footer > div {
    text-align: center;
    width: 100%;
}
#links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
#links > div {
    width: 300px;
    text-align: center;
}

footer a {
    color: var(--color-gray);
}
footer img {
    height: 18px;
}

/** =============================================================
    IMAGE MODAL
    ============================================================= */
#backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;

    background-color: rgba(0,0,0,.7);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    cursor: zoom-out;
}

#image_modal {
    background-color: #fff;
    text-align: center;
    padding: 20px;
    flex-grow: 0;
}

#image_modal_image {
    height: var(--image-modal-height);
    margin-bottom: 20px;
}

#image_modal_text {
    color: #000;
}

@keyframes fade_in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fade_out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
.fade_in {
    animation-name: fade_in;
    animation-duration: 1s;
}
.fade_out {
    animation-name: fade_out;
    animation-duration: 1s;
}