/*
Theme Name: Carsten Ludwig
Theme URI: https://btsa.de/wp_themes/carsten_ludwig
Author: BTSA
Author URI: http://btsa.de/
Description: theme for Carsten Ludwig by btsa
Version: 1.0.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Tags: translation-ready
Text Domain: carsten_ludwig
*/

@import url('fonts/poppins/stylesheet.css');

html, body {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    line-height: 1.6;
}

html {
    font-size: 16px;
}

h1 { font-size: 2em; }
h2 { font-size: 1.8em; }
h3 { font-size: 1.6em; }
h4 { font-size: 1.4em; }
h5 { font-size: 1.2em; }

embed, iframe, object {
    max-width: 100%;
    width: 100%;
    display: block;
}
img {
    max-width: 100%;
    height: auto;
}

strong, b {
    font-weight: 500;
}

blockquote {
    border-left: 8px solid #eee;
    padding: 1em 0 1em 2em;
}

.screen-reader-text {
    position: absolute !important;
    left: -999em;
}
.bg-fs
{
    min-height: 100vh;
}
.bg-img
{
    background-color: #ddd !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-blend-mode: multiply;
}
.icon-big {
    font-size: 2em;
}

body,
#page-header,
#page-footer,
.works-grid
{
    background-color: #2f384d;
    color: #eee;
}
#page-main {
    color: #2f384d;
    background-color: #fff;
}

#page-header,
#page-footer {
    text-align: center;
}

#page-header .banner {
    padding-top: 2em;
    padding-bottom: 2em;
    letter-spacing: .2em;
}

#page-header .banner .custom-logo{
    width: 400px;
    max-width: 80%;
}

#page-header .banner .page-name{
    font-size: 2em;
    font-weight: 200;
}
#page-header .banner .lead{
    font-size: 1.1em;
}


#page-header.bg-fs {
    position: relative;
}
#page-header.bg-fs .banner {
    position: absolute;
    bottom: 1em;
    left: 1em;
    right: 1em;
    
    text-shadow: 0 0 12px rgba(0, 0, 0, .7);
}

#page-header .banner a {
    color: inherit;
}
#page-header .banner a:hover {
    text-decoration: none;
}
#page-header .navbar-toggler {
    margin-left: auto !important;
}

#main-menu > .navbar-nav > .menu-item > a {
    text-transform: uppercase;
    font-weight: 300;
}
/*
#main-menu .dropdown-item {
    white-space: initial;
}
*/
#page-footer .menu a {
    color: inherit;
}
#page-footer ul.menu {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}
#page-footer .menu li {
    display: inline-block;
    padding: 0 1em;
    margin: .2em 0;
}

#primary-sidebar,
#page-footer 
{
    padding: 2em 0;
}


.widget-area .widgets {
    list-style: none;  
    padding: 0;
}
.widget-container ul {
    list-style: none;
    padding: 0;
}

.widget-container li > a {
    color: inherit;
}

#primary-sidebar {
    text-align: center;
    background-color: #eee;
}
#primary-sidebar .form-inline {
    justify-content: center;
}
#primary-sidebar .widgets .widget-container {
    padding: 0 1em;
}
#primary-sidebar .widgets .widget-container {
    margin-top: 1em;
    margin-bottom: 1em;
}
#menu-social-links {
    display: block;
}
#menu-social-links li{
    display: inline;
}

.archive-header {
    text-align: center;
    padding: 2em 0;
}
.archive-header .archive-title
{
    font-size: inherit;
    letter-spacing: .1em;
    font-weight: inherit;
    text-transform: uppercase;
}

.post-navigation {
    padding: 2em 0;
}
.nav-links {
    display: flex;
}
.nav-links a {
    display: inline-block;
    width: 90%;
}
.nav-links a:hover {
    text-decoration: none;
}
.navigation .nav-previous,
.navigation .nav-next
{
    flex-basis: 50%;
    flex-grow: 2;
}
.navigation .nav-next
{
    text-align: right;
}


article { 
    padding: 2em 0;
}

article > header {
    margin-top: 2em;
    margin-bottom: 3em;
}

/*
article,
.comments > .container,
.page.home article header,
.page.home article .entry-content > *,
.page.home article .entry-content > .wp-block-group > *
{ 
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.page.home article,
.page.home article > header,
.page.home article .entry-content > .wp-block-columns,
.page.home article .entry-content > .wp-block-gallery,
.page.home article .entry-content > .wp-block-gallery,
.page.home article .entry-content > .wp-block-group,
.page.home article .entry-content > .wp-block-latest-posts,
.page.home article .entry-content > .works
{
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}


.page.home article > header,
.page.home article .entry-content > .wp-block-group,
.page.home article .entry-content > .wp-block-latest-posts,
.page.home article .entry-content .text-column
{
    padding-left: 1em;
    padding-right: 1em;
}

.page.home article {
    padding: 0;
}

.page.home article > header {
    padding-top: 2em;
}

.page.home article .entry-content ul{
    list-style: none;
    padding-left: 0;
}
.page.home article .entry-content > .wp-block-columns .text-column {
    padding-top: 1em;
    padding-bottom: 1em;
}
*/

.page.home article .entry-content figure.alignright {
    margin-left: 1em;
    margin-bottom: 1em;
    max-width: 33%;
}

/* CONTENT STYLES */
article .entry-content > .wp-post-image
{
    margin-bottom: 1em;
}

article .entry-content h2:not(:first-child),
article .entry-content h3:not(:first-child),
article .entry-content h4:not(:first-child)
{
    margin-top: 2em;
}

article .entry-content hr
{
    margin-top: 2em;
    margin-bottom: 2em;
}
.entry-content h3 + blockquote {
    margin-top: 2em;
}
.entry-content blockquote + blockquote 
{
    margin-top: 3em;
}

/* BLOCK STYLES */

.wp-block-image figcaption {
    font-size: .8em;
}

.wp-block-gallery.logo-gallery {
    background: #fff;
}
.wp-block-gallery.logo-gallery .blocks-gallery-grid {
    align-items: center;
}
.wp-block-gallery.logo-gallery .blocks-gallery-item {
    padding: 3em;
}
.wp-block-gallery.logo-gallery .blocks-gallery-item img {
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.blocks-gallery-grid .blocks-gallery-item {
    margin: 0 !important;
}

.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
    padding-top: 56.25%;
    display: block;
    position: relative;
}
.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

ul.wp-block-latest-posts {
    padding: 2em 0;
    margin-bottom: 0;
}
ul.wp-block-latest-posts:empty {
    padding: 0;
}
ul.wp-block-latest-posts li {
    margin: .5em auto;
    max-width: 800px;
}
ul.wp-block-latest-posts a {
    color: inherit;
}
.wp-block-latest-posts__post-date {
    color: inherit;
    font-size: .8em;
}

.works-grid .cl_work
{
    display: block;
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding-top: 66%;
    /* margin: .1em; */
}
.works-grid .cl_work .info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    color: #fff;
    text-shadow: 0 0 40px #000;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: end;
    font-weight: 500;
    font-size: 1.3em;
    background-image: linear-gradient( 0deg, #00000096, #0000);
}

.cl_work-template-default article > header .year { color: #aaa; }

.wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper {
      position: relative;
      display: block;
      width: 100%;
      padding: 0;
      overflow: hidden;
}
.wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper::before {
      display: block;
      content: "";
}
.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
    padding-top: 56.25%;
}
.wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper::before {
    padding-top: 75%;
}
.wp-block-embed.wp-has-aspect-ratio iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media only screen and (min-width: 600px){
    html {
        font-size: 18px;
    }
    .works-grid {
        display: flex;
        flex-flow: row wrap;
    }
    .works-grid .grid-item {
        flex-basis: 50%;
    }
}
@media only screen and (min-width: 900px){
    html {
        font-size: 20px;
    }
    .works-grid .grid-item {
        flex-basis: 33.33%;
    }
}

@media only screen and (min-width: 1200px){
    html {
        font-size: 22px;
    }
}