/* Styles für die Startseite und die Artikel-Seiten mit 3 Fotos im Querformat (4:3) */

@charset "utf-8";

@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/josefin-sans-v24-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/josefin-sans-v24-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/josefin-sans-v24-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/josefin-sans-v24-latin-300.woff') format('woff'), /* Modern Browsers */
         url('../fonts/josefin-sans-v24-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/josefin-sans-v24-latin-300.svg#JosefinSans') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/josefin-sans-v24-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/josefin-sans-v24-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/josefin-sans-v24-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/josefin-sans-v24-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/josefin-sans-v24-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/josefin-sans-v24-latin-regular.svg#JosefinSans') format('svg'); /* Legacy iOS */
  }
  
@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/josefin-sans-v24-latin-500.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/josefin-sans-v24-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/josefin-sans-v24-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/josefin-sans-v24-latin-500.woff') format('woff'), /* Modern Browsers */
         url('../fonts/josefin-sans-v24-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/josefin-sans-v24-latin-500.svg#JosefinSans') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/josefin-sans-v24-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/josefin-sans-v24-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/josefin-sans-v24-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('../fonts/josefin-sans-v24-latin-700.woff') format('woff'), /* Modern Browsers */
         url('../fonts/josefin-sans-v24-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('../fonts/josefin-sans-v24-latin-700.svg#JosefinSans') format('svg'); /* Legacy iOS */
}


* {
    box-sizing: border-box;
}

/* Schrift- und Hintergrundfarbe im Dokument */

body {
    color: #555;
    background-color: #f8f9fa;
    font-family: "Josefin Sans", sans-serif;
}

/* Navigationsleiste */

.navbar {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    color: tomato;
}

.navbar a {
    color: tomato;
}

/*
.navbar a:hover {
    transition: 3s;
    color: #555;
}
*/

.navbar p {
    font-size: .5em;
    font-weight: 300;
}

.brand-title {
    font-size: 2rem;
    margin: .6rem;
}

.navbar-links {
    height: 100%;
}

.navbar-links ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-links li {
    list-style: none;
}

.navbar-links li a {
    display: block;
    text-decoration: none;
    color: tomato;
    padding: 1rem;
}

.navbar-links a:hover {
    transition: 1.5s;
    color: #333;
}

.toggle-button {
    position: absolute;
    top: .75rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: tomato;
    border-radius: 10px;
}

@media (max-width: 576px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none;
        width: 100%;
    }

    .navbar-links ul {
        width: 100%;
        flex-direction: column;
    }

    .navbar-links ul li {
        text-align: center;
    }

    .navbar-links ul li a {
        padding: .5rem 1rem;
    }

    .navbar-links.active {
        display: flex;
    }

    .brand-title {
        font-size: 1.8rem;
        margin: .7rem;
    }
}


.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 16px auto;
    padding: 5px;
    background-color: #f8f9fa;
}

/* Trennlinie */

.linie_oben {
    border-top: tomato solid 1px;
    padding-bottom: 3em;
}


.columns {
    display: flex;
    flex-flow: row wrap;
    margin: 5px 0;
}

.column {
    flex: 1;
    margin: 10px;
}

.column .image {
    width: 100%;
    height: 280px;
    background-position: center;
    background-size: cover;
    border-radius: 3px;
}

/* Schriften unterhalb der Startseitenbilder */

.column h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
    padding-left: 16px;
    margin-bottom: -8px;
}

.column p {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    padding-left: 16px;
}

/* Hover bei Bildern (Übersichtsseiten)

#index img:hover {
    transition: ease 1s; 
    opacity: 0.8;
}*/

/* Hover on image (3 Bilder im Artikel)*/

.column .artikelbild {
    overflow: hidden;
    }

.column .artikelbild img {
    transition: 2s;
    }

.column .artikelbild img:hover {
    transform: scale(1.5);
}

/* Breakpoints */

@media screen and (max-width: 992px) {
    .column {
        flex-basis: 40%;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 576px) {
    .column {
        flex-basis: 100%;
        margin-bottom: 10px;
    }

    .info {
        display: none;
        flex: 1;
    }
    
    .info p {
        display: none;
        padding: 0 0 .4em 0;
        line-height: 1.4;
    }
    
    .text {
        flex: 1;
        line-height: 1.4;
    }

    .paginierung {
        display: none;
    }
}

hr {
    margin-top: 10px;
    margin-bottom: 40px;
}

/* Auswahl Übersichtsseiten */ 

.seitenauswahl {
    display: flex;
    margin-top: 5em;
    gap: 5em;
}

.vorher {
    flex: 1;
    text-align: start;
}

.nachher {
    flex: 1;
    text-align: end;
}

.vorher a, .nachher a {
    color: #555;
}

.vorher a, .nachher a {
    text-decoration: none;
}

/* Trennlinie */

.linie_unten {
    border-top: tomato solid 1px;
    margin-top: 2.4em;
    padding-top: .7em;
}

/* Footer */

.footer {
    display: flex;
    flex-flow: row wrap;
    margin: 5px 0;
}

.footer a {
    text-decoration: none;
}

.footer a:link {
    color: tomato;
}

.footer p {
    color: tomato;
}

.footer a:visited {
    color: tomato;
    text-decoration: none;
}

.footer a:hover {
    transition: 1.5s;
    color: #555;  
}

/* Ab hier Artikelseite */

.artikelbild {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.artikelbild img {
    width: 100%;
    max-width: 900px;
    border-radius: 3px;
}

.artikelbild h2 {
    padding-top: 4px;
}

.artikeltext {
    display: flex;
    gap: 32px;
    margin-top: 30px;
    margin-bottom: 36px;
}

.info {
    flex: 1;
}

.info p {
    padding: 0 0 .4em 0;
    line-height: 1.4;
    font-size: 18px;
    font-weight: 400;
}

.text {
    flex: 2;
    line-height: 1.4;
    font-size: 18px;
    font-weight: 400;
}

/* Video */

.video_section {
    padding-top: 36px;
}

.video{
    position: relative;
    max-width: 800px; /* Maximale Breite des Videos */
    margin: auto;
  }

  .video:before{
    content: "";
    display: block;
    padding-top: 56%; /* 16:9 Format */
  }

  .video iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;;
    left: 0;
    right: 0;
    bottom: 0;
  }

/* Kartenauschnitt */

.map_section {
    padding-top: 48px;
}

.map {
    display: flex;
    justify-content: center;  
    padding-bottom: 24px;
}

/* Seitenauswahl (alt/neu) */

.beitragsauswahl {
    display: flex;
    margin-top: 5em;
    gap: 5em;
}

.vorher {
    flex: 1;
    text-align: start;
}

.paginierung {
    flex: 1;
    text-align: center;
}

.paginierung a {
    padding: 6px;
}

.nachher {
    flex: 1;
    text-align: end;
}

.vorher a, .nachher a {
    color: #555;
}

.vorher a:hover, .nachher a:hover {
    transition: 1.5s;
    color: tomato;  
}

/* Ab hier KÜNSTLER- und KARTE-Seite */

.artikeltext2 {
    display: flex;
    gap: 32px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.map2 {
    display: flex;
    justify-content: left;  
    padding-bottom: 24px;
}

.map_section2 {
    padding-top: 1px;
}

/* Verhalten und Darstellung der Links auf der KÜNSTLER-Seite */

a:hover {
    transition: 1.5s;
    color: tomato;  
}

a {
    text-decoration: none;
    color: #555;
}