@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('./_bundle/Oswald-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  src: url('./_bundle/Oswald-Medium.ttf') format('truetype');
}


@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("./_bundle/OpenSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  src: url("./_bundle/OpenSans-Bold.ttf") format("truetype");
}

:root {
  --secondary: #017DA1;
  --background: rgb(255, 255, 254);
  --sec2: #048eb8;
  --dark: #5A5A5A;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  max-width: 1366px;
  font-family: "Open Sans", sans-serif;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--background);
}

.logo-wrapper {
  width: 100%;
  text-align: right;
  padding-top: 5px;
}

.logo {
  display: inline-block;
  text-align: right;
}

.post-header {
  height: 100px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 0%;
}

.container-fluid {
  margin: 0 3em;
}

.flex-row {
  display: flex;
}

.flex-row>div {
  margin-top: 24px;
}

div.article {
  height: 100%;
  background-color: #fff;
  outline: 5px solid var(--secondary);
  position: relative;
}

.prep {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 1.3em;
  margin-bottom: 0px;
  padding-bottom: 10px;
}

.prep2 {
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 1.3em;
  margin-bottom: 0px;
  padding-bottom: 10px;
  padding-top: 10px;
}

.navbar-default {
  border: none;
  border-radius: 0px;
  margin-top: 1em;
  padding: 1em;
}

.navbar-static-bottom {
  background-color: #E3E3E3;
}

.navbar-static-top {
  background-color: #111;
  color: #000;
}

.figure {
  width: 100%;
  margin-bottom: 0;
}

h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5em;
  color: #017DA1;
  text-align: center;
  margin-top: 1.1em;
  margin-bottom: 0.0em;
  hyphens: auto;
  overflow-wrap: break-word;
}

.no-break {
  white-space: nowrap;
}

h2 {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.8em;
  font-weight: 400;
  color: var(--dark);
  padding: 0.5em;
  margin-top: 15px;
}

/* FIX-CONTAINER */
.wrapper {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

/* HAUPTFIX GEGEN WEISSEN STREIFEN */
.wrapper img.figure {
  display: block;
  width: 100%;

  transform: scale(1.01);
  /* verhindert Rand */
  transition: transform 1s ease;

  will-change: transform;
  backface-visibility: hidden;
}

/*HOVER STABIL */
.article:hover img.figure {
  transform: scale(1.05) translateZ(0);
}

.lichtblick-h2 {
  background-color: var(--background-opacity);
  position: absolute;
  bottom: 6px;
  width: 100%;
  padding-right: 60px;
}

a .lichtblick-h2:hover {
  background-color: var(--background-opacity2);
}

img.play {
  position: absolute;
  right: 5px;
  width: 50px;
  bottom: 30px;
  z-index: 1000;
}



ul.list-group {
  position: relative;
  padding-top: 20px;
  min-height: 110px;
  display: flex;
  align-items: flex-start;
}

ul.list-group h3 {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  font-size: 14px;
  margin: 0;
  z-index: 2;
}



.row {
  display: flex;
  flex-flow: row wrap;
}

.row::before {
  display: flex;
  flex-flow: row wrap;
}

.row>div {
  margin-bottom: 24px;
}


a.article {
  display: block;
  position: relative;
  height: 100%;
  background-color: #fff;
  outline: 5px solid var(--secondary);

  color: inherit;
  /* wichtig */
  text-decoration: none;
}

a.article:hover {
  text-decoration: none;
}

article {
  height: 100%;
  min-height: auto;
}

.regie {
  font-size: 0.7em;
  font-family: 'Open Sans', sans-serif;
}

#nav-top {
  background: #000;
  border-radius: 15px;
  margin-top: 1em;
  height: 150px;
  padding: 1em;
}

.sec {
  margin-top: 3em;
  margin-bottom: 2em;
}

p {
  padding-bottom: 0.8em;
}

.list-group li a {
  font-size: 1.3em;
  font-family: 'Oswald', sans-serif;
}

ul.list-group {
  padding-left: 0;
  margin: 0;
  background-color: var(--secondary);
  outline: 5px solid var(--secondary);
  font-size: 1.3em;
}

ul.list-group li {
  color: white;
}

.list-group li h4 {
  font-size: 1.4em;
  font-family: 'Oswald', sans-serif;
  color: #fff;
  margin: 0;
  padding: 15px 10px;
  text-align: left;
  font-weight: normal;
}

borderce article {
  background-color: #e3e3e3;
  height: auto;
  min-height: 490px;
  margin-bottom: 2em;
  border-radius: 0;
}

article .post-excerpt {
  padding: 0;
}

article .post-excerpt ul {
  padding: 1em 0;
}

a,
a:hover a:visited {
  color: white;
  text-decoration: none !important;
}

.nav>li a:visited,
.nav>li a:hover,
.nav>li a:active,
.nav>li a:focus {
  color: #fff;
  background-color: var(--sec2);
  border-radius: 0px;
  text-decoration: none !important;
}

ul a.lichtblick-link:hover img {
  transform: scale(1.3);
}

/* FOOTER IM ARTICLE */
.article-footer {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  color: #555555;
  background-color: #fff;
  padding: 12px 16px;
  border-top: 1px solid #ddd;
}

.article-footer p {
  margin: 0;
  color: var(--dark);
  font-size: 0.95em;
}




.material {
  background-color: #fff;
  outline: 4px solid var(--secondary);
  padding: 16px;
  height: 100%;
}

.material h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4em;
  color: var(--secondary);
  margin-top: 0;
  margin-bottom: 15px;
}

.material p {
  font-size: 1.14em;
  color: var(--dark);
  margin-top: 5px;
  margin: 0;
}


.material a {
  color: var(--sec2);
  text-decoration: underline !important;


}

.material a:hover {
  color: var(--secondary);
  text-decoration: none !important;
}


@media (min-width: 680px) {
  .row {
    padding-top: 4em;
  }

  .test {
    display: block;
    margin: auto;
    max-width: 400px;
  }
}

@media (min-width: 930px) {
  .test {
    max-width: 800px;
  }

  .row {
    padding-top: 1em;
  }
}

@media (max-width: 768px) {
  article {
    height: auto;
  }

  .logo-wrapper {
    text-align: center;
  }

  h1.text-center {
    margin-top: 48px;
    font-size: 10vw;
    font-family: 'Oswald', sans-serif;
  }
}

@media (min-width: 768px) {
  article {
    min-height: 490px;
  }
}

@media (min-width: 1024px) {
  article {
    min-height: 490px;
  }
}

/* FOOTER */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  margin-top: 40px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.footer .right {
  margin-left: auto;
  text-align: right;
  font-size: 15px;
}

.footer .right a {
  color: #555555;
  text-decoration: none;
  margin-left: 10px;
}

.footer .right a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-logo {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer .right {
    margin-left: 0;
    text-align: center;
  }
}
