/*
Theme Name: Rahab
Author:  Leonard Hess
Description:  Theme für Rahab eV
Version:  1.3
*/

/* START Reset */
html, body, 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;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* END Reset */

@font-face {
	font-family: Roboto-Regular;
	src: url('assets/fonts/Roboto/Roboto-Regular.ttf') format('truetype');
 }

:root {
	--base: #e6e3d0;
	--primary: #57a73a;
	--secondary: #ffd588;
	--tertiary: #df9e55;
	--dark: #40493b;
	--bright: #fefefe;
  }

* {
	box-sizing: border-box;
	font-family: Roboto-Regular;
	line-height: 1.4;
	font-size: 1.2em;
	column-gap: 0px;
}

a {
	text-decoration: none;
	color: var(--primary);
}

a:hover {
	color: var(--secondary);
}

a:visited {
	color: var(--tertiary);
}

p {
}

body, html, head, header {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--base);
	background-position-x: left;
	background-position-y: bottom;
}

blockquote {
	padding: 10px;
}

footer {
	background-color: var(--primary);
	padding: 10px;
}

h1, h2, h3, h4, h5, h6, p, ul {
	color: var(--dark);
	padding-left: 0px;
	padding-right: 10px;
}

h1, h2, h3, h4, h5, h6 {
	padding-top: 20px;
	padding-bottom: 10px;
}

h1 {
	text-align: center;
	color: var(--primary);
	font-size: 3.3em;
	text-transform: uppercase;
}

h2 {
	font-size: 2.4em;
	color: var(--secondary);
	text-transform: uppercase;
}

h3 {
	font-size: 1.8em;
	color: var(--tertiary);
}

h4 {
	font-size: 1.5em;
	color: var(--primary)
}

h5 {
	color: var(--secondary);
	font-size: 1.2em;
	font-weight: bold;
}

h6 {
	color: var(--tertiary);
	font-size: 1.2em;
}

header {
	transition: 0.2s;
	overflow: hidden; /* Adds a transition effect when the padding is decreased */
	position: fixed; /* Sticky/fixed navbar */
	width: 100%;
	top: 0; /* At the top */
	z-index: 99; 

}

ol, ul, li {
	margin-left: 10px;
}

ul li {
	list-style-type: none;
}

ul li::before {
	content: "\25A0";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
	color: var(--primary); /* Change the color */
	font-weight: bold; /* If you want it to be bold */
	display: inline-block; /* Needed to add space between the bullet and the text */
	width: 1em; /* Also needed for space (tweak if needed) */
	margin-left: -1em; /* Also needed for space (tweak if needed) */
  }

textarea {
	max-width: 90%;
}

#navbar {
	transition: 0.2s;
	color: var(--bright);
	z-index: 999;
}

#navbox {
	transition: 0.2s;
	display: flex;
	align-items: center;
	align-content: space-between;
	color: var(--bright);
	padding: 30px 10px;
}

#navboxLogo {
	display: none;
}

#navboxMenu {
	margin-left: auto; 
	margin-right: 0;
	width: 45px;
}

#navboxTitle {
	color: var(--bright);
}

#overlay {
	position: fixed;
	top: 0px;
	left: 0px;
	z-index: 8;
	background-color: var(--primary);
	color: var(--bright);
	width: 100%;
	height: 100%;
	display: none;
	justify-content: center;
	align-items: center;
	opacity: 0.95;
}

#overlayMenu {
	color: var(--bright);
	text-decoration: none;
}

#sideLogo {
	position: absolute;
	bottom: 50px;
	z-index: 2;
}

#sideLogo img {
	width: 100%;
	height: auto;
}

#wrapper {
	background-color: var(--bright);
	margin: 100vh auto 0 auto;
	z-index: 2;
	padding-left: 10px;
	padding-right: 10px;
}

.bar {
  width: 35px;
  height: 5px;
  background-color: var(--primary);
  margin: 6px 0;
  transition: 0.4s;
}

.change #bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.change #bar2 {opacity: 0;}

.change #bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

.menu-item {
	font-size: 24px;
}

.menu-item a {
	color: var(--bright);
}

@media screen and (min-width: 1200px) {

	#navbox {
		width: 1200px;
		margin: 0 auto;
		font-size: 35px;
	}

	#navboxLogo {
		flex-basis: 115px
	}

	#wrapper {
		width: 1200px;
	}

	#wrapper>* {
		width: 1200px;
		margin: 0 auto;
	}

	.custom-logo {
		height: 70px;
		width: auto;
	}
}

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

	#navbox {
		width: 100%;
		font-size: 35px;
	}

	#navboxLogo {
		flex-basis: 115px
	}

	#wrapper {
		width: 100%;
	}

	.custom-logo {
		height: 70px;
		width: auto;
	}
}