/*
Theme Name:   Twenty Twenty-Five Child
Description:  Twenty Twenty-Five Theme
Author:          herriger.koeln
Template:         twentytwentyfive
Version:          1.0.0
License:          GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  twentytwentyfive
 
*/


:root {
    --color-green: rgb(77, 111, 57);
    --color-green-light: rgba(77, 111, 57,.1);
    --color-black: rgba(0,0,0,.8);
    --color-black-light: rgba(0,0,0,.5);
    --bg-color: rgb(255,255,255);

    --accent-font: 'Roboto Condensed', sans-serif;
    --main-font: 'Cormorant Garamond', serif;

    --main-font-size: calc(16px + (21 - 16) * ((100vw - 600px) / (2500 - 600)));
	
	--header-headline: calc(20px + (26 - 20) * ((100vw - 375px) / (2500 - 375)));
	--nav-headline: calc(14px + (16 - 14) * ((100vw - 375px) / (2500 - 375)));
   /* --nav-headline: calc(26px + (32 - 26) * ((100vw - 375px) / (2500 - 375)));
    --nav-subheadline: calc(18px + (20 - 18) * ((100vw - 600px) / (2500 - 600)));
    --content-headline: calc(24px + (30 - 24) * ((100vw - 375px) / (2500 - 375)));*/

    --line-height: 1.6rem;
    --line-height-small: 1.8rem;

    --header-height: 80px;

    --content-width: 1440px;
    --content-max-width: 94vw;

    --navigation-width: 228px;
    --hamburger-offset: calc(((100vw - var(--content-width)) / 2) + 7rem);
}

/* RESET */
body { margin: 0; padding: 0; position: relative; font-family: var(--main-font); color: var(--color-black); font-size: var(--main-font-size); line-height: var(--line-height); }
html, body { overflow-x: hidden; background-color: var(--bg-color); }

main { margin: 0 auto 0 auto !important; }

:root :where(.wp-block-list li) {
	margin-top: 0 !important;
}

h1.wp-block-post-title { display: none; }
:where(.wp-site-blocks *:focus) { outline: none; box-shadow: none; }
a:focus, .read-link:hover, .read-link:focus { outline: none !important; }
	
.none { display: none !important; }


/* CONTENT WIDTH */
.fullwidth: { width: 100vW; max-width: 100vW !important; }
.content-width { width: var(--content-width); max-width: var(--content-max-width) !important; margin: 0 auto; }

/* FONTS */
h1, h2, h3, h4, h5, h6 { font-family: var(--main-font); color: var(--color-green); }
.accent { font-family: var(--accent-font); color: var(--color-black); font-weight: 500; }
p#slogan { text-align: right; font-family: var(--accent-font); font-size: var(--header-headline); color: var(--color-black-light); text-transform: uppercase; font-weight: 500; margin: 1rem 0 0 0; }

/* HEADER | NAVIGATION */
#fixed-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: #fff; height: var(--header-height); display: flex; align-items: center; justify-content: center; }
#wrapper-header { justify-content: space-between;  }
#wrapper-header h1 { font-family: var(--accent-font); font-size: var(--header-headline); font-weight: 500; text-transform: uppercase; }
#wrapper-header-left h1 { color: var(--color-black-light);  }

#wrapper-header-right ul.nav { display: flex; position: relative; list-style: none; margin: .5rem 0 0 0; padding: 0; }
#wrapper-header-right ul.nav li { position: relative; flex: 0 0 auto; width: auto; font-family: var(--accent-font); font-size: var(--nav-headline); text-transform: uppercase; }
#wrapper-header-right ul.nav li:nth-child(1)::after,
#wrapper-header-right ul.nav li:nth-child(3)::after { content: " |"; margin-left: 0.25rem; }
#wrapper-header-right ul.nav li:nth-child(2) { margin-left: 0.5rem; }
#wrapper-header-right ul.nav li:nth-child(4) { margin-left: 0.5rem; }
#wrapper-header-right ul.nav li:nth-child(3) { margin-left: 2rem; }

#hamburger { width: 24px; height: 24px; background: none; border: none; cursor: pointer; padding: 0; color: transparent; margin-right: 1.5rem; /*position: absolute;  right: var(--hamburger-offset);)*/ }

#hamburger p, #hamburger p::before, #hamburger p::after { content: ""; display: block; height: 3px; width: 100%; background: var(--color-black-light); position: absolute; left: 0; transition: all 0.25s ease; }
#hamburger p { top: 50%; transform: translateY(-50%); }
#hamburger p::before { top: -8px; }
#hamburger p::after { top: 8px; }

/* MAIN */
h1#headline { font-size: 6rem; color: var(--color-black); }
h1#headline span { color: var(--color-green); }

main .is-layout-constrained p { width: 80%; margin-left: 0 !important; margin-right: 0 !important; }

/* FOOTER */
h1#footerheadline { font-size: 4rem; color: var(--color-black-light); }
h1#footerheadline span { color: var(--color-green); }

#footer-content { background-color: var(--color-green); color: var(--bg-color); font-family: var(--accent-font); font-weight: 500; text-transform: uppercase; }
