/*
Theme Name: Christenverfolgung
Author: Henrique Gogs
Author URI: https://gogs.com.br
Description: Theme made for Christenverfolgung.
Requires at least: 6.1
Tested up to: 6.1
Requires PHP: 5.6
Version: 1.2
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400&display=swap');

html {
  font-family: 'Roboto Condensed', sans-serif;
  color: #444;
}

body {
  margin: 0;
  overflow-x: hidden;
}

a {
  color: #000;
  text-decoration: none;
  transition: color 0.1s linear;
}

hr {
  border: 1px solid #DDD;
}

.wp-block-latest-posts__featured-image {
  margin-bottom: 20px;
}

.wide {
  padding: 30px 0;
  border-left-style: solid;
  border-left-width: 12345px;
  margin-left: -12345px;
  padding-right: 12345px;
  margin-right: -12345px;
}

.background-gray {
  background-color: #EEEEEF;
  border-color: #EEEEEF;
}

.float-left { float: left; margin-right: 30px; }
.float-right { float: right; margin-left: 30px; }

.container {
  margin: 0 auto;
  max-width: 1140px;
}

a.redbutton {
  background: #ed1629;
  border-radius: 20px;
  border: 2px solid #ed1629;
  box-sizing: border-box;
  color: #fff !important;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  line-height: 36px !important;
  padding: 0 24px !important;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color, color 0.1s linear;
  white-space: nowrap;
}
a.redbutton:hover {
  color: #ed1629 !important;
  text-decoration: none;
  background-color: transparent;
}

#topbar {
  background: #272727;
  height: 81px;
  line-height: 81px;
  text-align: right;
}
#topbar a.logo {
  float: left;
}
#topbar a.logo:first-of-type svg {
  padding-right: 13px;
  border-right: 1px solid #FFF;
}
#topbar a.logo svg {
  height: 40px;
  vertical-align: middle;
}
#topbar a.logo img {
  height: 78px;
  vertical-align: middle;
}
#topbar nav {
  color: #272727;
  display: inline-block;
  font-size: 15px;
  font-weight: normal;
  position: relative;
  text-transform: uppercase;
}
#topbar .menu-primary-container {
  display: none;
}
#topbar nav a {
  color: #ffffff;
  display: inline-block;
  padding: 0 20px;
  text-decoration: none;
  transition: color 0.1s linear;
  line-height: initial;
}
#topbar nav a:hover {
  color: #ed1629;
}
#topbar nav > div {
  display: inline-block;
}
#topbar nav ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}
#topbar nav li {
  display: inline-block;
}
#topbar a.spenden {
  margin-left: 30px;
}
#topbar a.mobile-only {
  display: none;
}

#navbar {
  background: #000;
  height: 81px;
  line-height: 81px;
  text-align: center;
  text-transform: uppercase;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  overflow-x: auto;
}
#navbar a {
  padding: 10px 35px;
  font-size: 1.2em;
  color: #FFF;
  border-left: 1px solid #777;
}
#navbar a:first-of-type {
  border-left: none;
}
#navbar a:hover {
  color: #ed1629;
}
#navbar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#navbar li {
  display: inline-block;
}

main {
  display: inline-block;
  max-width: 650px;
  vertical-align: top;
  padding-top: 30px;
}
main img {
  max-width: 100%;
  height: auto;
}
main p {
  font-size: 1.1em;
  line-height: 1.5em;
}

aside {
  float: right;
  width: 350px;
  margin-left: 50px;
  padding: 30px 10px 35px 50px;
  border-left: 2px solid #EEE;
}
aside .widget {
  list-style: none;
}

main a:hover,
aside a:hover {
  text-decoration: underline;
}

footer:first-of-type {
  margin-top: 30px;
  padding: 0;
  background: #272727;
}
footer:first-of-type .footer-tabs {
  background: #FFF;
}
footer:first-of-type .footer-tabs a {
  display: inline-block;
  margin-right: 8px;
  padding: 15px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #272727;
  background: #b8b8b8;
}
footer:first-of-type .footer-tabs a:hover {
  text-decoration: none;
}
footer:first-of-type .footer-tabs a.active {
  color: #FFF;
  background: #272727;
}
footer:first-of-type .footer-tab svg {
  float: left;
  margin-right: 70px; 
}
footer:first-of-type .footer-tab div {
  font-size: 1.3rem;
}
footer:first-of-type .redbutton {
  margin-top: 1em;
}
footer:first-of-type > .footer-tab > .container {
  padding: 50px 0;
}
footer:first-of-type > .footer-tab { display: none; }
footer:first-of-type > .footer-tab:last-of-type { display: block; }
footer:first-of-type > .footer-tab:target { display: block; }
footer:first-of-type > .footer-tab:target ~ .footer-tab { display: none; }
footer {
  clear: both;
  padding: 50px 0 24px;
  line-height: 24px;
  color: #FFF;
  background: #111;
}
footer a {
  color: #FFF;
}
footer a:hover {
  text-decoration: underline;
}
footer hr {
  margin: 24px 0;
  border: none;
  border-bottom: 1px solid #FFF;
}
footer address {
  font-style: normal;
}
footer address a {
  display: inline-block;
  margin: 12px 0;
  color: #ed1629;
  text-decoration: underline;
  font-weight: bold;
}
footer address a:hover {
  color: #FFF;
}
footer a.weltweit {
  display: inline-block;
  margin: 20px 0;
  padding: 0 24px;
  color: #FFF;
  line-height: 36px;
  font-weight: bold;
  border: 2px solid #FFF;
  border-radius: 36px;
} 
footer a.weltweit svg {
  margin-top: -3px;
  margin-left: 5px;
  vertical-align: middle;
}
footer a.weltweit:hover {
  color: #111;
  background: #FFF;
  text-decoration: none;
}
footer a.weltweit:hover svg * {
  fill: #272727;
}
footer .social-icons {
  float: right;
}
footer .social-icons a {
  display: inline-block;
  margin: 5px;
  width: 48px;
  height: 48px;
  line-height: 57px;
  text-align: center;
  border-radius: 50%;
  border: 2px solid #111;
}
footer .social-icons a:hover {
  background: transparent;
}
footer .social-icons-facebook { background: #3c5995; }
footer .social-icons-facebook:hover { border: 2px solid #3c5995; }
footer .social-icons-facebook:hover * { fill: #3c5995; }
footer .social-icons-twitter { background: #3b97fb; }
footer .social-icons-twitter:hover { border: 2px solid #3b97fb; }
footer .social-icons-twitter:hover * { fill: #3b97fb; }
footer .social-icons-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
footer .social-icons-instagram:hover { border: 2px solid #FFF; }
footer .social-icons-instagram:hover * { fill: #FFF; }
footer .social-icons-youtube { background: #e60024; }
footer .social-icons-youtube:hover { border: 2px solid #e60024; }
footer .social-icons-youtube:hover * { fill: #e60024; }

#home-feature {
  position: relative;
  height: 650px;
  list-style: none;
  overflow: hidden;
}
#home-feature li,
#home-feature figure {
  display: inline;
}
#home-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#home-feature .home-feature-shadow {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(0deg, #000 0%, #FFF0 100%);
}

#home-latest {
  position: relative;
  width: 100%;
  margin-top: -360px;
  padding-bottom: 30px;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
}
#home-latest button {
  position: absolute;
  display: block;
  padding: 0 15px;
  cursor: pointer;
  margin-top: 120px;
  line-height: 150px;
  font-size: 30px;
  color: #FFF;
  background: #0008;
  z-index: 1;
  border: none;
}
#home-latest button:last-of-type {
  right: 0;
}
#home-latest > .container h1 {
  display: inline-block;
  margin-left: -12345px;
  padding: 20px 30px 20px 12345px;
  text-shadow: 0 0 3px #000;
  background: #0008;
}
#home-latest-items {
  padding-left: 20px;
  transition: transform 0.5s ease-in-out;
}
#home-latest-items a {
  display: inline-block;
}
#home-latest-items figure {
  position: relative;
  display: inline-block;
  margin-right: 30px;
  white-space: normal;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 10px 10px 30px #777;
}
#home-latest-items figure img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  border-radius: 30px;
  transition: transform 0.5s ease-in-out;
}
#home-latest-items figure:hover img {
  transform: scale(1.10);
}
#home-latest-items figure figcaption {
  position: absolute;
  width: calc(100% - 40px);
  bottom: 0;
  padding: 50% 20px 20px;
  color: #FFF;
  font-size: 1.6em;
  font-weight: bold;
  background: linear-gradient(0deg, #000 0%, #FFF0 100%);
  border-radius: 0 0 30px 30px;
}
#home-latest-items figure figcaption h1 {
  margin: 0;
  font-size: inherit;
}
#home-latest-items figure figcaption h2 {
  margin: 5px 0 0;
  font-size: 0.6em;
}
#home-latest-items figure figcaption time {
  font-size: 0.6em;
  font-weight: normal;
}
#home-latest-items .more-latest-items figcaption {
  width: auto;
  padding: 50px 50px 132px;
  font-size: 2.2em;
}

.front-images figure {
  position: relative;
  display: inline-block;
  margin: 10px;
  width: 548px;
  height: 548px;
  vertical-align: top;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 10px 10px 30px #777;
}
.front-images figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  transition: transform 0.5s ease-in-out;
}
.front-images figure:hover img {
  transform: scale(1.10);
}
.front-images figure.size-full-width {
  width: calc(100% - 22px);
}
.front-images figure figcaption {
  position: absolute;
  top: 10px;
  left: -1140px;
  padding: 20px 30px;
  color: #FFF;
  font-size: 2.5em;
  font-weight: bold;
  text-shadow: 0 0 3px #000;
  transition: left 0.5s ease-in-out;
  background: #0008;
}
.front-images figure:hover figcaption {
  left: 0;
}

@media (max-width: 1140px) {
  main {
    padding: 30px 10px;
  }

  aside {
    float: none;
    margin: 0;
    width: calc(100% - 20px);
    max-width: 650px;
    padding: 10px;
    border: none;
  }

  .container {
    margin: 0 10px;
  }

  .wide {
    margin: 0 -20px;
    padding: 20px;
    border: none;
  }

  #topbar {
    padding: 0 10px;
  }
  #topbar a.logo svg {
    height: 30px;
  }
  #topbar a.logo img {
    height: 50px;
  }
  #topbar nav,
  #topbar nav:before {
    transition: all 0.3s;
  }
  #topbar nav {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -300px;
    padding: 25px;
    box-sizing: border-box; 
    width: 300px;
    font-size: 1.5rem;
    z-index: 3;
    background: #FFF;
  }
  #topbar .menu-secondary-container {
    display: none;
  }
  #topbar .menu-primary-container {
    display: block;
  }
  #topbar nav li {
    display: block;
    margin-top: 30px;
  }
  #topbar nav a {
    display: block;
    padding: 0;
    color: #333;
  }
  #topbar nav:after {
    content: '';
    position: absolute;
    top: 25px;
    left: -50px;
    width: 52px;
    text-align: center;
    color: red;
    cursor: pointer;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MTIgNjEyIj48cGF0aCBkPSJNNTgxLjQgNTIwLjE5OUgzMC42Yy0xNi44OTEgMC0zMC42IDEzLjcwOS0zMC42IDMwLjZDMCA1NjcuNjkxIDEzLjcwOSA1ODEuNCAzMC42IDU4MS40aDU1MC44YzE2Ljg5MSAwIDMwLjYtMTMuNzA5IDMwLjYtMzAuNjAyIDAtMTYuODktMTMuNzA5LTMwLjU5OS0zMC42LTMwLjU5OXpNMzAuNiA5MS43OTloNTUwLjhjMTYuODkxIDAgMzAuNi0xMy43MDggMzAuNi0zMC42IDAtMTYuODkyLTEzLjcwOS0zMC42LTMwLjYtMzAuNkgzMC42QzEzLjcwOSAzMC42IDAgNDQuMzA4IDAgNjEuMmMwIDE2Ljg5MSAxMy43MDkgMzAuNTk5IDMwLjYgMzAuNTk5em01NTAuOCAxODMuNkgzMC42QzEzLjcwOSAyNzUuMzk5IDAgMjg5LjEwOCAwIDMwNnMxMy43MDkgMzAuNiAzMC42IDMwLjZoNTUwLjhjMTYuODkxIDAgMzAuNi0xMy43MDkgMzAuNi0zMC42cy0xMy43MDktMzAuNjAxLTMwLjYtMzAuNjAxeiIgZmlsbD0iI2ZmZiIgZGF0YS1vcmlnaW5hbD0iIzAwMDAwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48L3BhdGg+PC9zdmc+) no-repeat;
    height: 30px;
  }
  #topbar nav:hover {
    right: 0;
    box-shadow: 0 0 100px 80px #000;
  }
  #topbar nav a.mobile-only {
    display: block;
  }

  #navbar {
    display: none;
  }

  #home-feature {
    height: 550px;
  }

  #home-latest {
    margin-top: -300px;
  }
  #home-latest button {
    margin-top: 60px;
  }

  #home-latest-items figure img {
    width: 200px;
    height: 266px;
    object-fit: cover;
    border-radius: 30px;
  }
  #home-latest-items figure figcaption {
    font-size: 1.3em;
  }
  #home-latest-items .more-latest-items figcaption {
    padding: 30px 30px 80px;
    font-size: 1.7em;
  }

  .front-images figure {
    width: calc(100vw - 56px);
    height: calc(100vw - 56px);
  }
  .front-images figure figcaption {
    left: 0;
    font-size: 2em;
  }
}

@media (max-width: 340px) {
  #topbar a.logo svg {
    display: none;
  }
}
