/* ALLGEMEIN */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: SourceSerifPro-R;
  hyphens: auto;
  background: #f1f1f1;
  max-width: 80em;
  padding: 10px;
  margin: 0 auto;
  position: relative;
}

@media screen and (max-width: 400px) {
  body {
    padding: 5px;
  }
}

/* Blog Title */

.title {
  padding: 20px;
  text-align: center;
  background: white;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
}

.title h1 {
  font-size: 50px;
  margin: 0;
}

.title h1::first-letter,
.title h2::first-letter,
.title h3::first-letter {
  color: Gold;
  font-family: SourceSansPro-L;
  font-weight: bold;
}

.title p {
  font-family: SourceSerifPro-EL;
  margin: 0;
}

h1, h2, h3 {
  font-family: SourceSansPro-L;
  margin-bottom: 0.25rem;
}

h4, h5, h6 {
  font-family: SourceSansPro-L;
}

p {
  margin-bottom: 0.25rem;
}


/* NAVBAR */

nav {
  position: sticky;
  top: 0;
  z-index: 9999;
}

.topnav {
  overflow: hidden;
  background-color: DimGray;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.topnav a {
  float: left;
  display: block;
  font-family: SourceSansPro-R;
  color: #f2f2f2;
  text-align: center;
  text-decoration: none;
}

.topnav a::first-letter {
  color: Gold;
  font-family: SourceSansPro-L;
  font-weight: bold;
}

.nav-de {
 color: Gray;
}

.topnav a:hover {
  background-color: LightGray;
  color: DimGray;
}

.topnav a:hover::first-letter {
  color: DarkGoldenRod;
  font-family: SourceSansPro-L;
  font-weight: bold;
}

/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */

@media screen and (min-width: 400px) {
  .topnav a {
    padding: 14px 16px;
  }
  
  .float-right {
    float: right !important;
  }
}

@media screen and (max-width: 400px) {
  .topnav a {
    padding: 5px 5px;
    width: 25%;
  }
}

/* Left column */
.maincolumn {   
  float: left;
  width: 75%;
}

/* Right column */
.sidecolumn {
  float: left;
  width: 25%;
  padding-left: 20px;
}

.sidecolumn > image {
 class="hover-shadow";
}

/* Clear floats after the columns */
.mainrow:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .maincolumn,
  .sidecolumn {   
    width: 100%;
    padding: 0;
  }
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
  background: #ddd;
  margin-top: 20px;
}

/* Image */
.image {
  width: 100%;
  padding: 20px;
}


/* CONTENT AREAS */

/* Create three equal columns that float next to each other */
.column.col-3 {
  float: left;
  width: 33.33%;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
}
.column.col-2 {
  float: left;
  width: 50%;
  display: flex; 
  align-items: stretch;
  justify-content: space-around;
}

.row {
  display: flex; 
  align-items: stretch;
  justify-content: space-around;
  flex-wrap: wrap;
}

/* Responsive layout - makes the three columns stack on two columns on smaller screens (1000px wide or less) */
@media screen and (max-width: 1200px) {
  .row.article {
    width: 85vw;
    margin: 0 auto;
  }
  .column.col-3 {
    width: 50%;
  }
  .column.col-2 {
    width: 50%;
  }
  .highlight .column.col-2 {
    width: 100%;
  }
}

.blog-card.stage .meta,
.blog-card.article .meta,
.blog-card.highlight .meta {
  grid-area: meta;
  background: blue;
}
.blog-card.stage .description.headline,
.blog-card.article .description.headline,
.blog-card.highlight .description.headline {
  grid-area: headline;
  background: white;
}  
.blog-card.stage .description.teaser,
.blog-card.article .description.teaser,
.blog-card.highlight .description.teaser {
  grid-area: teaser;
  background: white;
}

.blog-card.stage {
  display: grid;
  grid-template-areas:
    "meta headline"
    "meta teaser"
    "meta teaser";
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto; 
  grid-gap: 0px;
  min-height: 150px;
}
.blog-card.article {
  display: grid;
  grid-template-areas:
    "meta headline"
    "meta headline"
    "teaser teaser";
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto; 
  grid-gap: 0px;
  min-height: 150px;
}
.blog-card.highlight {
  display: grid;
  grid-template-areas:
    "meta headline"
    "meta teaser"
    "meta teaser";
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto; 
  grid-gap: 0px;
  min-height: 150px;
}
.blog-card.highlight.alt {
  display: grid;
  grid-template-areas:
    "headline meta"
    "teaser meta"
    "teaser meta";
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto; 
  grid-gap: 0px;
  min-height: 150px;
}

@media (max-width: 640px) {
  .blog-card.stage {
    grid-template-areas:
      "meta meta"
      "headline headline"
      "teaser teaser";
  }
  .blog-card.highlight,
  .blog-card.highlight.alt {
    grid-template-areas:
      "meta meta"
      "headline headline"
      "teaser teaser";
  }
}

@media (max-width: 500px) {
  .blog-card.article {
    grid-template-areas:
      "meta meta"
      "meta meta"
      "headline headline";
  }
}


/* CARDS */

.card {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
  border-radius: 5px;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
}

.stage.card-head h5 {
 margin-top: 0;
}

.blog-card {
  margin: 1rem auto;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5%;
  background: #fff;
  line-height: 1.4;
  font-family: SourceSerifPro-R, sans-serif;
  border-radius: 5px;
  overflow: hidden;
  z-index: 0;
}
.blog-card a {
  color: #fff;
}
.blog-card a:hover {
  color: Gold;
}
.blog-card .tags a:hover,
.read-more ~ .meta a:hover {
  color: Gold;
  font-family: SourceSerifPro-B, sans-serif;
  font-size:1rem;
  text-decoration:none!important;
}
.read-more ~ .meta li {
  line-height: 1.5em;
}
.card a {
  color: GoldenRod;
}
.card a:hover {
  color: Gold;
}
.blog-card:hover .image.teaser {
  transform: scale(1.2) rotate(2.5deg);
}
.blog-card .meta {
  position: relative;
  z-index: 0;
  min-height: 200px;
}
.blog-card .details,
.card .details {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.blog-card .image.teaser {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s;
}
.blog-card .details,
.blog-card .details ul,
.card .details,
.card .details ul {
  margin: auto;
  padding: 0;
  list-style: none;
}
.blog-card .details {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  margin: auto;
  background: rgb(255,255,255,0.8);
  background: linear-gradient(195deg, rgba(255,255,255,0) 0%, rgba(255,215,0,0.8) 65%, rgba(184, 134, 11,1) 100%); 
  padding: 10px;
  width: 100%;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}
.blog-card .details,
.card .details {
  color: #fff;
  font-family: SourceSansPro-R, sans-serif;
  font-size: 0.9rem;
}
.card .details {
  color: GoldenRod;
}
.blog-card .details a,
.card .details a {
  text-decoration: underline;
}
.blog-card .details ul li,
.card .details ul li {
  display: inline-block;
}
.blog-card .details .author:before,
span.author:before {
  font-family: FontAwesome;
  margin-right: 10px;
  content: "";
}
.blog-card .details .date:before,
span.date:before {
  font-family: FontAwesome;
  margin-right: 10px;
  content: "";
}
.blog-card .details .tags li {
  margin-right: 5px;
  line-height: 1.2em;
}
.blog-card .details .tags li:first-child {
  margin-left: -4px;
}
.blog-card .description {
  padding: 1rem;
  background: #fff;
  position: relative;
  z-index: 1;
}
.blog-card .description h1,
.blog-card .description h2 {
  font-family: SourceSansPro-R, sans-serif;
}
.blog-card .description h1 {
  line-height: 1;
  margin: 0;
  font-size: 1.7rem;
}
.blog-card .description h2 {
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  color: Sienna;
  margin-top: 5px;
}
.flexible {
  flex-grow: 1;
  max-height: 10%;
}
.blog-card .description .read-more,
.card .read-more {
  font-family: SourceSansPro-B, sans-serif;
  text-align: right;
}
.blog-card .description .read-more a,
.card .read-more a {
  color: GoldenRod;
  display: inline-block;
  position: relative;
}
.blog-card .description .read-more a:after,
.card .read-more a:after {
  content: "";
  font-family: FontAwesome;
  margin-left: -10px;
  opacity: 0;
  vertical-align: middle;
  transition: margin 0.4s, opacity 0.4s;
}
.blog-card .description .read-more a:hover:after,
.card .read-more a:hover:after {
  margin-left: 5px;
  opacity: 1;
}
.blog-card p {
  position: relative;
  margin: 1rem 0 0;
}
.blog-card p:first-of-type {
  margin-top: 1.25rem;
}
.blog-card p:first-of-type:before {
  content: "";
  position: absolute;
  height: 5px;
  background: GoldenRod;
  width: 80px;
  top: -1rem;
  border-radius: 3px;
}
.blog-card:hover .details {
  left: 0%;
  moz-transition: all .4s ease-in-out;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}
@media (min-width: 640px) {
  .blog-card {
    max-width: 700px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-around;
  }
  .blog-card .meta {
    flex-basis: 40%;
    height: auto;
  }
  .blog-card .description {
    flex-basis: 60%;
    display: flex;
    flex-direction: column;
  }
  .blog-card .description.headline {
    flex-basis: 60%;
    display: flex;
    flex-direction: column;
  }
  .blog-card .description.teaser {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
  }
  .stage .blog-card {
    max-width: 1200px;
  }
  .stage .blog-card .meta {
    flex-basis: 70%;
    height: auto;
  }
  .stage .blog-card .description {
    flex-basis: 30%;
  }
  .blog-card.article .description.headline:before {
    transform: skewX(-4deg);
    content: "";
    background: #fff;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
  }
  .blog-card.stage .description.headline:before,
  .blog-card.highlight .description.headline:before {
    transform: skewX(-5deg);
    content: "";
    background: #fff;
    width: 80px;
    height: 400px;
    position: absolute;
    left: 5px;
    bottom: 0;
    z-index: -1;
  }
  .blog-card.stage .description.teaser:before,
  .blog-card.highlight .description.teaser:before {
    transform: skewX(-5deg);
    content: "";
    background: #fff;
    width: 80px;
    height: 400px;
    position: absolute;
    left: -30px;
    top: 0;
    z-index: -1;
    right: -30px;
  }
  .blog-card.alt .description:before {
    left: inherit !important;
    right: 5px;
    transform: skew(5deg) !important;
  }
  .blog-card.alt .details {
    padding-left: 50px;
  }
}

@media screen and (min-width: 500px) {
  .row.article .col-3 .blog-card {
    margin: 10px;
  }
}


@media screen and (max-width: 500px) {
  .row.article .column.col-3 {
    width: 50%;
    display: none;
  }
  .row.article .column.col-3 .blog-card .description.teaser {
    display: none;
  }
  .row.article .col-3 .blog-card {
    margin: 5px;
  }
  .row.article .column.col-3:nth-child(1n+3){
    display: flex
  }
}

.row.highlight .blog-card.alt {
  flex-direction: row-reverse;
}
.row.highlight .col-2 .blog-card:not(.blog-card.alt) {
  margin-right:10px;
}
.row.highlight .col-2 .blog-card.alt {
  margin-left:10px;
}


/* FONT */
/* SOURCE */

@font-face {
    font-family: SourceSansPro-EL;
    src: url(../fonts/Source_Sans_Pro/SourceSansPro-ExtraLight.ttf);
    font-weight: 100;
}

@font-face {
    font-family: SourceSansPro-L;
    src: url(../fonts/Source_Sans_Pro/SourceSansPro-Light.ttf);
    font-weight: 300;
}

@font-face {
    font-family: SourceSansPro-R;
    src: url(../fonts/Source_Sans_Pro/SourceSansPro-Regular.ttf);
    font-weight: 500;
}

@font-face {
    font-family: SourceSansPro-B;
    src: url(../fonts/Source_Sans_Pro/SourceSansPro-Bold.ttf);
    font-weight: 900;
}

@font-face {
    font-family: SourceSerifPro-EL;
    src: url(../fonts/Source_Serif_Pro/SourceSerifPro-ExtraLight.ttf);
    font-weight: 100;
}

@font-face {
    font-family: SourceSerifPro-R;
    src: url(../fonts/Source_Serif_Pro/SourceSerifPro-Regular.ttf);
    font-weight: 500;
}

@font-face {
    font-family: SourceSerifPro-B;
    src: url(../fonts/Source_Serif_Pro/SourceSerifPro-Bold.ttf);
    font-weight: 900;
}

/* FONT */
/* AWESOME */

@font-face {
 font-family:"Font Awesome 6 Brands";
 font-style:normal;
 font-weight:400;
 font-display:block;
 src:url(../fonts/font-awesome/fa-brands-400.woff2) format("woff2"),
 url(../fonts/font-awesome/fa-brands-400.ttf) format("truetype")
}
@font-face {
 font-family:"Font Awesome 6 Free";
 font-style:normal;
 font-weight:400;
 font-display:block;
 src:url(../fonts/font-awesome/fa-regular-400.woff2) format("woff2"),
 url(../fonts/font-awesome/fa-regular-400.ttf) format("truetype")
}
@font-face {
 font-family:"Font Awesome 6 Free";
 font-style:normal;
 font-weight:900;
 font-display:block;
 src:url(../fonts/font-awesome/fa-solid-900.woff2) format("woff2"),
 url(../fonts/font-awesome/fa-solid-900.ttf) format("truetype")
}
@font-face {
 font-family:"Font Awesome 5 Brands";
 font-display:block;
 font-weight:400;
 src:url(../fonts/font-awesome/fa-brands-400.woff2) format("woff2"),
 url(../fonts/font-awesome/fa-brands-400.ttf) format("truetype")
}
@font-face {
 font-family:"Font Awesome 5 Free";
 font-display:block;
 font-weight:900;
 src:url(../fonts/font-awesome/fa-solid-900.woff2) format("woff2"),
 url(../fonts/font-awesome/fa-solid-900.ttf) format("truetype")
}
@font-face {
 font-family:"Font Awesome 5 Free";
 font-display:block;
 font-weight:400;
 src:url(../fonts/font-awesome/fa-regular-400.woff2) format("woff2"),
 url(../fonts/font-awesome/fa-regular-400.ttf) format("truetype")
}
@font-face {
 font-family:"FontAwesome";
 font-display:block;
 src:url(../fonts/font-awesome/fa-solid-900.woff2) format("woff2"),
 url(../fonts/font-awesome/fa-solid-900.ttf) format("truetype")
}
@font-face {
 font-family:"FontAwesome";
 font-display:block;
 src:url(../fonts/font-awesome/fa-brands-400.woff2) format("woff2"),
 url(../fonts/font-awesome/fa-brands-400.ttf) format("truetype")
}
@font-face {
 font-family:"FontAwesome";
 font-display:block;
 src:url(../fonts/font-awesome/fa-regular-400.woff2) format("woff2"),
 url(../fonts/font-awesome/fa-regular-400.ttf) format("truetype");
}
@font-face {
 font-family:"FontAwesome";
 font-display:block;
 src:url(../fonts/font-awesome/fa-v4compatibility.woff2) format("woff2"),
 url(../fonts/font-awesome/fa-v4compatibility.ttf) format("truetype");
}

/* TAGS */
/* CATEGORY */

.category-kaempfen:before {
  font-family: FontAwesome;
  content: "";
  margin-right: 5px;
}

.category-gesellschaft:before {
  font-family: FontAwesome;
  content: "";
  margin-right: 5px;
}

.category-musik:before {
  font-family: FontAwesome;
  content: "";
  margin-right: 5px;
}

/* TAGS */
/* MOOD */

.mood-surprise:before {
  font-family: FontAwesome;
  content: "";
  margin-right: 5px;
}

.mood-angry:before {
  font-family: FontAwesome;
  content: "";
  margin-right: 5px;
}

.mood-breitgrinsen:before {
  font-family: FontAwesome;
  content: "";
  margin-right: 5px;
}

/* TAGS */
/* STYLE */

.style-personal:before {
  font-family: FontAwesome;
  content: "";
  margin-right: 5px;
}

.style-artikel:before {
  font-family: FontAwesome;
  content: "";
  margin-right: 5px;
}

.style-chronik:before {
  font-family: FontAwesome;
  content: "";
  margin-right: 5px;
}

/* TAGS */
/* NAME */

.name-tag:before {
  font-family: FontAwesome;
  content: "";
  margin-right: 5px;
}


/* LIGHTBOX */

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-bottom: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: Gold;
}

/* Modal Content */
.modal-content {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: Gold;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  height: 100%;
  justify-content: center;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

img.lightbox {
  transition: 0.3s;
}

.lightbox:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.modal-content .slider {
  display: flex; 
  flex-direction: column;
  align-items: stretch;
  justify-content: space-around;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.modal-content .container {
  display: flex; 
  flex-direction: row;
  align-items: stretch;
  justify-content: space-around;
}

.slides {
  display: none;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  bottom: 45%;
  margin-top: -50px;
  color: rgba(255, 250, 240, 0.5);
  font-weight: bold;
  font-size: 4vmin;
  padding: 2vmin;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(256, 256, 256, 0.3);
  border: gold 2vmin;
  moz-transition: all .6s ease-in-out;
  -o-transition: all .6s ease-in-out;
  -webkit-transition: all .6s ease-in-out;
  transition: all .6s ease-in-out;
  opacity: 0;
}

.prev {
  left: 0;
  border-radius: 0 2.5vmin 2.5vmin 0;
}

.next {
  right: 0;
  border-radius: 2.5vmin 0 0 2.5vmin;
}
.prev:hover {
  border-right-style: solid;
}
.next:hover {
  border-left-style: solid;
}
.prev:hover,
.next:hover {
  font-size: 8vmin;
  padding: 2vmin;
  color: gold;
  background-color: rgba(256, 256, 256, 0.9);
  -webkit-filter: drop-shadow(0 0 1vmin gold) saturate(1);
  -moz-filter: drop-shadow(0 0 1vmin gold) saturate(1);
  -ms-filter: drop-shadow(0 0 1vmin gold) saturate(1);
  filter: drop-shadow(0 0 1vmin gold) saturate(1);
}
.slider:hover ~ .prev,
.slider:hover ~ .next {
  font-size: 8vmin;
  padding: 2vmin;
  color: gold;
  background-color: rgba(0, 0, 0, 0.9);
}
.slider:hover ~ .prev,
.prev:hover,
.slider:hover ~ .next,
.next:hover
{
  opacity: 1;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.thumb-column {
  float: left;
  width: 20%;
}

img.thumb-image {
  opacity: 0.6;
  transition: 0.6s ease;
  width: 100%;
}

.active,
.thumb-image:hover {
  opacity: 1;
}

img.image.lightbox {
 width: 90%;
 padding: 10px;
 margin:auto;
}