/*
Theme Name: HaKaHa Theme
Theme URI: https://btsa.de/wp_themes/hakaha
Author: BTSA
Author URI: http://btsa.de/
Description: custom single page theme for HaKaHa
Version: 1.0.0
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Tags: translation-ready
Text Domain: hakaha
*/


html, body
{
    font-family: "Titillium Web", sans-serif;
    font-weight: 400;
    font-size: 16px;
    font-style: normal;
}
body {
    background-color: #2E2420;
}

body.home
{
    background-color: #999;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    background-blend-mode: multiply;
}

.site-title, h1, h2, h3, h4, h5 {
  font-family: "Alfa Slab One", serif;
  font-weight: 400;
  font-style: normal;
}

h1 { font-size: 2.2em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1em; }

.site-title a { text-decoration: none; }
.site-title h1 {
    font-size: 6em;
    letter-spacing: .05em;
    line-height: 1;
    margin: 0;
}

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

.screen-reader-text {
    position: absolute !important;
    left: -999em;
}
.bg-fs
{
    min-height: 100vh;
}
.bg-img
{
    background-color: #999 !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 {
    color: #eee;
}
#page-main {
    color: #212529;
    background-color: #fff;
}

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

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

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

#page-header.bg-fs .banner {
    padding-top: 50vh;
    margin-top: -115px;
    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 .menu-item > a {
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0 0 1em rgba(0,0,0,0.3);
}
/*
#main-menu .dropdown-item {
    white-space: initial;
}
*/
#page-footer { background-color: #2E2420; }
#page-footer .menu a {
    color: inherit;
}
#page-footer .menu {
    display: block;
    list-style: none;
    padding: 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;
}

.page.home article h2,
.page.home article h3,
.page.home article h4
{
    text-align: center;
}


.page.home article header,
.page.home article .entry-content > *:not(.wp-block-hakaha-project-block),
.page.home article .entry-content > .wp-block-hakaha-project-block > *:not(.wp-block-gallery)
{ 
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page.home article header,
.page.home article .entry-content > *:not(.wp-block-hakaha-project-block),
.wp-block-hakaha-project-block > *
{
    padding-left: 1em;
    padding-right: 1em;
}

.wp-block-hakaha-project-block
{
    max-width: 100%;
    background-color: #f9f7f0;
    padding: 2em 0 1em 0;
    color: #4F4A2D;
}
.wp-block-hakaha-project-block:nth-child(odd) { 
    background-color: #E9EAE4; 
}

.page.home article { padding-bottom: 0; }

.page.home article .entry-content .wp-block-gallery,
.page.home article .entry-content > .wp-block-latest-posts
{
    max-width: 1140px;
    text-align: center; 
    margin: 0 auto;
}

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

/* CONTENT STYLES */

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

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

article h1, 
article h2 
{ 
    hyphens: auto;
}
.entry-content p:not(.has-text-align-center) { 
    hyphens: auto;
    text-align: justify; 
}
.wp-element-button {
    font-weight: 600;
}

/* BLOCK STYLES */
.wp-block-image figcaption {
    font-size: .8em;
}

.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;
}

@media only screen and (min-width: 600px){
    
    html, body
    {
        font-size: 18px;
    }

}

@media only screen and (min-width: 1200px){
    .wp-block-hakaha-project-block {
        padding: 3em 0;
    }
}