@charset "UTF-8";
/*
Theme Name: Praxis Fabel
Theme URI:
Author: Xin Long Büro für visuelle Kommunikation Hamburg
Author URI:
Description: 
Version: 1.0
License: All Rights Reserved
License URI: http://xinlong.de
Tags:
Text Domain: fabel
*/

@font-face {
    font-family: "roboto";
    src: url("../fonts/roboto-regular-webfont.woff2") format("woff2"), url("../fonts/roboto-regular-webfont.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "robotoslab";
    src: url("../fonts/RobotoSlab-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
}


a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
button,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-weight: inherit;
    font-style: inherit;
    outline: none;
    letter-spacing: .02rem
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

body {
    line-height: 1
}

ol,
ul {
    list-style: none
}

svg {
    height: 100%;
    width: 100%
}


html {
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

body {
    background-color: #FAFAFA;
    color: #000;
    font-family: 'roboto', sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 2.6rem;
    height: 100%;
    min-width: 320px;
    letter-spacing: 0.02em;
    -ms-hyphens: manual;
    /* Edge, Internetexplorer */
    -webkit-hyphens: manual;
    /* Safari */
    hyphens: manual;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
}


button {
    font-family: 'roboto', sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 2.6rem;
    letter-spacing: 0.02em;
}

p {
    margin-bottom: 2rem;
}

h1,
h2,
h3,
h4 {
    font-family: robotoslab, Arial, sans-serif;
}


h2 {
    font-size: 2.5rem;
    margin-bottom: 8rem;
    white-space: nowrap;
}

h2::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 100 100'><path class='space-edge' fill='rgb(142, 42, 64)' d='m90,-0.04729l0,90l-90,0l0,10l100,0l0,-100' /></svg>");
    content: " ";
    display: inline-block;
}


h2::after {
    height: 7rem;
    width: 7rem;
    top: 3.3rem;
    right: 4rem;
    position: relative;
}

h1 {
    font-size: 4rem;
    line-height: 4.4rem;
}

strong {
    font-weight: 600;
}

.site-branding {
    position: relative;
}

.site-branding-text::before,
.foot_widgets::before {
    background-color: #8E2A40;
    height: 0.9rem;
    width: 7rem;
    content: "";
    position: absolute;
    top: 3rem;
}

#footcontainer {
    position: relative;
    margin-top: 24rem;
}

.footer-widgets {
    display: flex;
	gap:18px;
}

.footer-widget-column {
    flex:1;
}

.foot_widgets::before {
    top: -6rem
}



ul,
p {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

a {
    color:#000;
    text-decoration: none;
}



article a, #footcontainer a {
    color:#8E2A40;
}

a:hover {
    color: #b11b3c;
}

a:hover h1 {
    color: #000 !important;
}

body {
    background: #fff;
}

.site {
    max-width: 1290px;
    margin: 0 auto;
    background: none;
    padding: 3rem 2.4rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.site-branding {
    margin: 3rem 0;
    padding-top: 6rem;
}

.navigation-top {
    position: fixed;
    z-index: 999;
    right: 0;
    top: 0;
    max-width: 90%;
}

.navigation-top .wrap {
    display: inline-block;
    background-color: #fff;
}

.navigation-top li {
    display: inline-block;
    padding: 2rem;
}



.entry-content {
    background-color: #fff;
    padding-left: 3rem;
    box-sizing: border-box;
}

.wp-block-columns:first-child {
    padding-top: 2rem;
}


.post-thumbnail {
    height: clamp(100px, 44vh, 600px);
    width: 70vw;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: 0 0;
    z-index: -1;
    opacity: 0.7;
}


article li {
    list-style-type: square;
}


.wp-block-columns {
    margin: 25rem 0;
}

.wp-block-column {
    margin-bottom: 2rem 0;
}

.intro {
    font-family: robotoslab;
    font-size: 1.8rem;
    line-height: 3rem;
}

.color-invert {
    background-color: #8E2A40;
    color: #fff;
}

.color-invert h2::after {
    filter: brightness(100);
}

.full-width {
    width: 95vw;
    margin-left: -2.4rem;
    padding: 3rem 2.4rem;
}

.no-gap-below {
    margin-bottom: 5rem;
}

.no-gap-above {
    margin-top: 5rem;
}





@media only screen and (max-width:1112px) {

    #navi-menu {
        display: none;
        position: absolute;
        font-size: 2.2rem;
        right: 0px;
        width: 100vw;
        background-color: rgba(250, 250, 250, 0.95);
        padding-top: 3rem;
        padding-bottom: 3rem;
        text-align: center;
    }

    .navigation-top li {
        display: block;
    }

    .burger {
        width: 30px;
        height: 6px;
        background-color: #969696;
        transition: all .4s ease-in-out;
        visibility: hidden;
    }


    .burger::before,
    .burger::after {
        width: 30px;
        height: 6px;
        background-color: #969696;
        content: '';
        position: absolute;
        transition: all .4s ease-in-out;
        visibility: visible;

    }

    .burger::before {
        transform: translateY(-6px);
        -webkit-transform: translateY(-6px);
    }

    .burger::after {
        transform: translateY(6px);
        -webkit-transform: translateY(6px);
    }


    .open .burger::before {
        transform: rotate(45deg);
    }

    .open .burger::after {
        transform: rotate(-45deg);
    }

    .mobile-button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 35px;
        height: 35px;
        position: relative;
        margin: 2rem;
    }


}

@media only screen and (min-width:782px) {
    .wp-block-column {
        min-width: 307px !important;
    }
}

@media only screen and (max-width:599px) {
    html {
        font-size: 50.5%;
    }

    h1 {
        font-size: 3.2rem;
        line-height: 3.5rem;
    }

    .footer-widgets {
        display: block;
    }

    .entry-content {
        padding-left: 1rem;
    }

    .wp-block-columns {
        margin: 5rem 0;
    }

    .full-width {
        width: 100%;
    }

    #footcontainer {
        position: relative;
        margin-top: 24rem;
        padding-left: 1rem;
    }

}

@media only screen and (max-width:380px) {

    h1 {
        font-size: 2.8rem;
        line-height: 3rem;
    }

}


@media only screen and (max-width:330px) {

    h1 {
        font-size: 2.5rem;
        line-height: 2.7rem;
    }

}


@media (orientation: portrait) {
    .post-thumbnail {
        width: 80vw;
    }
}


/* ---- Ersatz für die von WordPress eingebundenen Block-Styles ---- */
html {
    scroll-behavior: smooth;
}
.wp-block-columns {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: normal;
    gap: 2em;
}
.wp-block-columns > * {
    margin: 0;
}
.wp-block-column {
    flex-grow: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}
@media (max-width: 781px) {
    .wp-block-column {
        flex-basis: 100% !important;
    }
}
@media (min-width: 782px) {
    .wp-block-columns {
        flex-wrap: nowrap;
    }
    .wp-block-column {
        flex-basis: 0;
    }
    .wp-block-column[style*=flex-basis] {
        flex-grow: 0;
    }
}
.wp-block-image img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}
.mobile-button {
    cursor: pointer;
}
