/*
Theme Name: Team22 Theme
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 */

/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/open-sans-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;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/open-sans-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: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/open-sans-latin-ext-italic.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: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(./fonts/open-sans-latin-italic.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: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2em;
    text-transform: uppercase;
}

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

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

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

p:not(:last-child){
	margin-bottom:16px;
}

::selection {
  background: #283264;
  color: white;
  text-shadow: none;
}

::-moz-selection {
  background: #283264;
  color: white;
  text-shadow: none;
}

/*
@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: "Open Sans", sans-serif;
	font-optical-sizing: auto;
  	font-style: normal;
	font-variation-settings: "wdth" 100;
	color:#283264;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section:not(.hero):not(.faqs){
	margin-top:120px;
}

section:not(.hero):first-child{
	margin-top:60px;
}

/*Header*/

.header-inner {
	border-bottom: 2px solid #283264;
}

.header-logo img {
	height: 80px;
	width: auto;
	margin-top:40px;
	margin-bottom:40px;
}

.main-nav {
  position: relative;
	display: flex;
	justify-content: space-between;
}

.breadcrumb{
    font-weight: 600;
}

.main-nav .breadcrumb, .main-nav ul li a, .main-nav a.homelink{
	height:48px;
	border-bottom:8px solid white;
	padding: 0 4px;
}

ul.menu{
	display: flex;
	list-style: none;
	gap:40px;
	margin-left: 40px;
	margin-right: auto;
	padding: 0;
}

.menu a{
	display: block;
	text-decoration: none;
	text-transform:uppercase;
	font-weight:600;
}

a.homelink::before{
	content:url(./img/home-fill0.svg);
	width:28px;
	display:block;
	text-align:center;
}

a.homelink.current-home::before{
	content:url(./img/home-fill1.svg);
}

.main-nav ul li.current-menu-item a, .main-nav a.current-home{
	border-bottom:6px solid #283264;
}

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

/* Footer */

footer{
	width:100%;
	background-color:#283264;
	padding-top:80px;
	padding-bottom:80px;
	margin-top:120px;
}

footer *{
	color:white;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-logo img{
	height:120px;
	width:auto;
}

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

.footer-menu ul li:not(:last-child) {
    border-right: 1px solid white;
    padding-right: 24px;
}

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

@media (max-width:980px){
	.footer_navigation{
		flex-direction:column;
	}
}