/*
Theme Name: Robotics4Humans
Author: Simon Schmidt, WOLFRAM Designer und Ingenieure
Author URI: http://wolframdesign.de
Version: 0.1
*/

html, body, button, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* CSS reset end */

/* Typo */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(./fonts/font_outfit_latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(./fonts/font_outfit_latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Gochi Hand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/font_gochi-hand.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

h1{
	font-size:64px;
	font-weight:900;
	margin-bottom:60px;
	line-height: 1.16em;
}

h2{
	font-size:40px;
	font-weight:900;
	margin-bottom:40px;
}

h3{
	font-size:24px;
	font-weight:700;
	margin-bottom:16px;
}

p{
	font-size: 18px;
	font-weight:400;
	line-height:1.6em;
	margin-bottom:16px;
}

@media (max-width:980px){
	h1{
		font-size:40px;
		margin-bottom:40px;
	}

	h2{
		font-size:32px;
		margin-bottom:32px;
	}
}

@media (max-width:600px){
	h1{
		font-size:32px;
		margin-bottom:32px;
	}

	h2{
		font-size:24px;
		margin-bottom:24px;
	}

	h3{
		font-size:20px;
	}

	p{
		font-size:16px;
	}
}

/* General */

* {
	box-sizing:border-box;
	font-family: "Outfit", sans-serif;
	font-optical-sizing: auto;
  	font-style: normal;
	color:#00292E;
}

html{
	-webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
	font-size:1em;
	background-color: #F0EEEF;
}

a.button {
    background-color: #E0EC0C;
    height: 48px;
    display: inline-block;
    line-height: 48px;
    padding: 0 12px 0 24px;
    border-radius: 28px;
    text-decoration: none;
}

a.button::after{
	content:'〉〉〉';
	padding-left:24px;
	font-weight:700;
}

a.download {
    display: inline-block;
    text-decoration: none;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid white;
    padding-right: 12px;
}

a.download::before {
    content: '↓';
    padding-right: 24px;
    font-weight: 700;
    display: inline-block;
}

/*Header*/
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 72px;
	background: #fff;
	z-index: 1000;
}

.header-inner {
	height: 72px;
	max-width:1600px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin:0 auto;
	width:calc(100% - 80px);
	padding:0 40px;
}

.header-logo img {
	height: 40px;
	width: auto;
}

.main-nav {
  position: relative;
}

.nav-line {
	position: absolute;
	bottom: 0; 
	left: 0;
	width: 100%; 
	height: 8px;
	display: flex;
	pointer-events: none;
	transition: left 0.35s ease, width 0.35s ease;
	z-index: 1001; /* über Inhalt, unter Header evtl. anpassen */
}

.nav-line .line, .footer-line .line{
  	flex: 1;
}
.nav-line .magenta, .footer-line .magenta{ background-color: #E165E9; }
.nav-line .cyan, .footer-line .cyan{ background-color: #8ED1D9; }
.nav-line .yellow, .footer-line .yellow{ background-color: #E0EC0C; }

.menu{
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.menu > li {
	position: relative;
	padding: 0 24px;
}

.menu a {
	display: block;
	padding: 8px 0;
	text-decoration: none;
	color: #000;
}

main{
	margin-top:64px;
}

#navtoggle{
	display:none;
	height:24px;
	width:24px;
	overflow:hidden;
	z-index:9999;
	margin-left:24px;
	cursor:pointer;
	position:relative;
}

#main_navigation #navtoggle::before{
	content:url(./img/menu.svg);
}

#main_navigation.opennav #navtoggle::before{
	content:url(./img/close.svg);
}

@media (max-width:980px){
	#main_navigation>ul{
		display:none;
		position: fixed;        
		top: 0;
        left: 0;
        background: white;
        height: 100vh;
        width: 100%;
		flex-direction:column;
		justify-content: flex-start;
        text-align: right;
		padding-top:72px;
	}
	#main_navigation.opennav>ul{
		display:flex;
	}
	#main_navigation>ul a{
		padding:24px 16px;
		border-bottom:1px solid #f4f4f4;
		display:block;
	}
	#main_navigation>ul li:last-child a{
		border-bottom:none;
	}
	#navtoggle{
		display:block;
	}
	.nav-line{
		display:none;
	}
}

@media (max-width:600px){
    .header-inner{
        padding-left:0;
        padding-right:0;
    }
}

/* Footer */

footer{
	width:100%;
	background-color:#00292E;
	padding-top:120px;
	padding-bottom:24px;
}

footer *{
	color:white;
}

.footerrow, .imprintline{
	display:flex;
	max-width:1600px;
	margin:0 auto;
	width:calc(100% - 80px);
	padding:0 40px;
	gap:60px;
}

.footercolumn{
	width:calc((100% - 120px) / 3);
}

.footer-line {
	left: 0;
	width: 100%; 
	height: 8px;
	display: flex;
}

.footer_logo img, .footer_zim img{
	width:100%;
	max-width:460px;
	margin: 0 auto;
}

.footer_logo img{
	max-width:240px;
}

.footer_socialmedia img{
	max-width:120px;
}

.imprintline{
	border-top: 1px solid white;
    margin-top: 40px;
    padding-top: 24px;
}

footer nav {
    margin-right: 0;
    margin-left: auto;
}

.footer_navigation {
    display: flex;
    gap: 24px;
}

.footer_navigation li a{
	text-decoration:none;
}

@media (max-width:980px){
	.footerrow, .imprintline, .footer_navigation{
		flex-direction:column;
	}
	.footercolumn{
		width:100%;
	}
	footer nav {
		margin-left:0;
	}
}

@media (max-width:600px){
    .footerrow, .imprintline{
        padding-left:0;
        padding-right:0;
    }
}

/* Single Post */

.post_hero{
    width:100%;
    background-size: cover;
    background-position:center;
    padding-bottom:120px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 120px), 50% 100%, 0% calc(100% - 120px));
	height:480px;
	padding-bottom:40px;
}

.post_hero.single-mitglied{
	background-color:#00292E;
	background-position:center;
	background-size:400px auto;
	background-repeat:no-repeat;
}

.post_headline, .post_footer{
	margin:40px auto;
	width:calc(100% - 80px);
	padding-left:40px;
	padding-right:40px;
	max-width:1600px;
	text-align:center;
}

.post_headline pre{
	margin-bottom:24px;
}

.post_footer{
	display:flex;
	justify-content: space-between;
}

@media (max-width:980px){
	.post_headline, .post_footer{
		padding-left:0;
		padding-right:0;
	}
}

@media (max-width:600px){
	.post_hero.single-mitglied{
		background-size:66% auto;
	}
}