/*
 * File   : main.css
 * Purpose: Projekt stylesheet 
 * Author : www.gienau.com
 * Date   : 17.03.2020
 */

/* ========================================================================
   DOCUMENTATION
   ===================================================================== */

/*
 * Color (intensive): #...;
 * Color fonts: 	  #...;
 * Color nav hover:   #...;
 * Color nav active:  #...;
 * Color body footer: #...;
 */



/* ========================================================================
   COMMON
   ===================================================================== */

* {
	margin:0;
	padding:0;
	list-style:none;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

html,
body {
	height:100%;
}

body {
	margin:70px 0 0 0;
	padding:0;
	font-family: Muli, sans-serif;
	color:#fff;
	background-color: #091020;
}

h1 {
	font-size: 2rem;
	text-transform: uppercase;
	line-height: 2rem;
}

h2 {

	line-height: 2rem;
}

a {
	color:#fff;
	text-decoration: none;
	border-bottom: 1px dotted;
	cursor: pointer;
}

p, h1, h2, h3 {
	padding:1rem 0;
}

a:hover {
	color:#fff;
	text-decoration: none;
	border-bottom: 1px solid;
}

/* ========================================================================
   HEADER, LOGO, NAVIGATION
   ===================================================================== */
header {
	width:100%;
	line-height: 70px;
	position: fixed;
	top:0;
	right:0;
	height:70px;
	font-size: 1rem;
	z-index:999;
	margin:0;
	padding:0;
	list-style:none;
	background-color:#222;
}

header a,
header a:link,
header a:hover {
		text-decoration:none;
		color: #fff;
		border:none;
}

header div > a {
	display: inline-block;
	font-size: 1.5rem;
	border:0;
	float:left;
	font-family: 'Passion One', sans-serif;
	line-height: 70px;
	height: 70px;
	padding: 0 1rem;
}

header .wrapper {
	padding:0;
}

nav {
	width:100%;
	background-color:#222;
	height:0;
	overflow:hidden;
	transition:height .2s ease-in-out;
	margin: 0;
}

nav ul {
	list-style:none;
}
nav li {
	float:left;
	width:100%;
	background-color:#222;
}

nav a {
	display:block;
	height:100%;
	width:100%;
	padding:0 1rem;
	color:white;
	line-height: 40px;
}

nav a i {
	display: none !important;
}

nav a span.sr-only {
	border: 0;
	clip: rect(0, 0, 0, 0);
	height: auto;
	margin: auto;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: auto;
}

nav a:hover {
	background:rgba(255,255,255,0.2);
}

nav a.active {
	color:silver;
}

.nav-toggle {
	display:block;
	position:absolute;
	right:0;
	top:0;
	padding: 0 5px;
	color:white;
	cursor:pointer;
	text-decoration:none;
	font-size: 30px;
	line-height: 70px;
	width: 70px;
	text-align: center;
}

.nav-toggle:hover {
	background:rgba(0,0,0,0.4);
}

.nav-closed {
	transform: rotate(90deg);
}
#nav-open:target .nav-closed {
	display:block;
}

.nav-closed,
#nav-closed:target .nav-closed,
#nav-open:target .nav-open {
	display:none;
}


/* ========================================================================
   MAIN
   ===================================================================== */

main {
	line-height: 1.6rem;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}

main ul {
	margin:0;		
	padding-left: 20px;
	list-style-position: outside;
}

main ul li {
	list-style-type: none;
	text-indent: -20px;	 
	
}

main ul li:before { 
	content: "\25BA\00A0"; 
	width:20px;
	display: inline-block;
	text-align: right;
}

/* ========================================================================
   FOOTER
   ===================================================================== */

footer {
	text-align: center;
	padding:4rem 0;
	background-color: #222;
}

footer a {
	margin:0 .5rem;
	font-size: .8rem;
}

/* ========================================================================
   USEFUL TAGS
   ===================================================================== */

img {
	width:100%;
	display: block;
	margin-top:2rem;
}

small {
	color:silver;
}


/* ========================================================================
   USEFUL CLASSES
   ===================================================================== */

/* ------------------------------------------------------------------------
   Anchor
   --------------------------------------------------------------------- */   
a.anchor {
    display: block;
    position: relative;
    top: -86px;
    visibility: hidden;
}

/* ------------------------------------------------------------------------
   Clearfix
   --------------------------------------------------------------------- */   
   
.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
} 

.clearfix::after {
  clear: both;
}

.clearfix {
  *zoom: 1; /* Für den IE6 und IE7 */
}


/* ------------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */   
 
.btn {
	color:#000;
	background-color: #fff;
	border-radius: 4px;
	display: inline-block;
	padding:.9rem 2rem;
	font-size: 1.35rem;
	margin:2rem 0;
	border:none;
}

.btn i {
	margin-right: .5rem;
}

.btn.btn-primary {
	color:#fff;
	background-color: #e32;
}

.btn:hover {
	color:#fff;
	background-color: gray;
	border:none;
}

/* ------------------------------------------------------------------------
   Book image from download site
   --------------------------------------------------------------------- */ 
.download-book {
	float:right;
	max-width: 70px;
	margin-left: 20px;
	-moz-transform: rotate(7deg);
	-ms-transform: rotate(7deg);
	-o-transform: rotate(7deg);
	-webkit-transform: rotate(7deg);
	transform: rotate(7deg);
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* ------------------------------------------------------------------------
   Text modifications
   --------------------------------------------------------------------- */   

.text-center {
	text-align: center;
}

/* ------------------------------------------------------------------------
   Wrapper
   --------------------------------------------------------------------- */   

.wrapper {
	max-width: 1024px;
	margin:0 auto;
	padding:0 1rem;
}

/* ------------------------------------------------------------------------
   Other
   --------------------------------------------------------------------- */   

.hide {
	display: none;
}

.desktop {
	display:none;
}

.mobile {
	display:inline;
}

/* ------------------------------------------------------------------------
   Forms
   --------------------------------------------------------------------- */   
form {
	display: block;
	background-color: #fff;
	color:#333;
	padding:1rem;
	border-radius: 4px;
	margin: 2rem 0;
}

form .form-group {
	margin: 2rem 0;
}
form .form-group label {
	display:block;
	font-size: .8rem;
}

form .form-group input, form .form-group textarea {
	width:100%;
	border:0;
	border-bottom: 1px silver solid;
	padding: .5rem .2rem;
}

form .btn {
	background-color:#2b334f;
	color:#fff;
	cursor: pointer;
}

form a {
	color:#333;
	border-bottom: 1px #333 dotted;
}

form input[type="checkbox"] {
	-moz-appearance: none;
	-webkit-appearance:none;
	appearance: none;
    width: 1rem;
    height: 1rem;
    display: inline-block;
    background: #FFFFFF;
	border: 1px solid #333;
	margin-right: .5rem;
}
form input[type=checkbox]:after {
	content: "";
	display: inline-block;
	position: relative;
	top: -5px;
	left: 4px;
	width: 3px;
	height: 5px;
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
input[type=checkbox]:checked   {
    background: #333;
    outline: none;
    border: 1px solid #333;
}

form a:hover {
	color:#333;
	border-bottom: 1px #333 solid;
}

form code {
	font-size: 1.1rem;
	padding: 0 .1rem;
}

img.loader {
	width: 1.1rem;
	height: 1.1rem;
	border:none !important;
	padding: 0 !important;
	margin: 0 0 0 1rem !important;
	display: inline-block !important;
}


/* ------------------------------------------------------------------------
   Notifications
   --------------------------------------------------------------------- */   

.notification {
	padding:1rem;
	border-radius: 4px;
	margin:2rem 0;
	color:#fff;
}

.notification p:first-of-type {
	margin-top:0;
	padding-top:0;
}

.notification p:last-of-type {
	margin-bottom:0;
	padding-bottom:0;
}

.notification.notification-success {
	background-color: green;
}

.notification.notification-danger {
	background-color: #e32;
}

.notification-javascript {
	color:#fff;
	background-color: #e32;
	text-align: center;
	padding:2rem .5rem;
	width: 100%;
	font-size: .9rem;
	position: fixed;
	bottom:0;
	z-index: 9999;
	font-weight: bold;
}


/* ========================================================================
   SECTIONS
   ===================================================================== */

section {
	padding:4rem 0;
	overflow: hidden;
	border-bottom: #FFFFFF 1px solid;
	background-color: #091020;
}

section:first-of-type  {
	min-height:calc( 100vh - 70px );
	background-color: #091020;
}
section:nth-of-type(2) {
	background-color: #091020;
}

section:nth-of-type(2) .btn,
section:nth-of-type(3) .btn,
section:nth-of-type(4) .btn,
section:nth-of-type(5) .btn,
section:nth-of-type(6) .btn, 
section:nth-of-type(7) .btn, 
section:nth-of-type(8) .btn,
section:nth-of-type(9) .btn,
section:nth-of-type(10) .btn {
	margin-right: 2rem;
	font-size: 1rem;
	padding: .5rem;
}

section:nth-of-type(2) .btn:last-of-type,
section:nth-of-type(3) .btn:last-of-type,
section:nth-of-type(4) .btn:last-of-type,
section:nth-of-type(5) .btn:last-of-type,
section:nth-of-type(6) .btn:last-of-type,
section:nth-of-type(7) .btn:last-of-type,
section:nth-of-type(8) .btn:last-of-type,
section:nth-of-type(9) .btn:last-of-type,
section:nth-of-type(10) .btn:last-of-type {
	margin-right: 0;
}


/* ========================================================================
   HERO
   ===================================================================== */

#hero {
	padding-top:10%;
	font-size: 1.2rem;
	line-height: 1.6rem;
}

#hero .hero-wrapper {
	width:100%;
}

#hero img {
	display:none;
}

#hero > a {
	font-size: 3rem;
	border:0;
	display: block;
	width: 100px;
	margin: 0 auto;
	position: fixed;
	bottom:3rem;
	left: calc(50% - 16px);
}

#hero > a:hover {
	color:#e32;
	border:0;
}

/* ========================================================================
   YOUTUBE 
   ===================================================================== */
  
#video {
    background-color: #0B0B3B;
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
}	
.videoextern {
    background-color: #0B0B3B;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
} 

/* ========================================================================
   MEDIA QUERIES 
   ===================================================================== */
@media screen and (max-width: 719px) {

	/* ------------------------------------------------------------------------
	   MQ: Navigation
	   --------------------------------------------------------------------- */
	#nav-open:target nav {
		height:auto;
	}
}

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

	/* ------------------------------------------------------------------------
	   MQ: Header, Logo, Navigation
	   --------------------------------------------------------------------- */
	header .nav-toggle {
		display:none !important;
	}
	
	header div > a {
		font-size: 2rem;
	}

	nav {
		float:right;
		width:auto;
		display:block !important;
		height:auto;
	}
	
	nav li {
		width:auto;
		padding:0;	
	}

	nav a {
		line-height: 70px;
		padding: 0 1rem;
	}

	nav a i {
		display: inline !important;
	}

	nav a span.sr-only {
		border: 0;
		clip: rect(0, 0, 0, 0);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}


	/* ------------------------------------------------------------------------
	   MQ SECTION: download-book
	   --------------------------------------------------------------------- */
	.download-book {
		max-width: 150px;
	}

	/* ------------------------------------------------------------------------
	   MQ SECTION: form
	   --------------------------------------------------------------------- */
	form {
		padding:3rem;
	}

	/* ------------------------------------------------------------------------
	   MQ SECTION: hero
	   --------------------------------------------------------------------- */
	#hero .hero-wrapper {
		width:60%;
		float: left;
	}

	#hero img {
		display:block;
		width:25%;
		float: right;
		-moz-transform: rotate(7deg);
		-ms-transform: rotate(7deg);
		-o-transform: rotate(7deg);
		-webkit-transform: rotate(7deg);
		transform: rotate(7deg);
		box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	}

	/* ------------------------------------------------------------------------
	   MQ SECTION: nav
	   --------------------------------------------------------------------- */
	.nav .logo {			
		font-size: 2rem;
	}
	.nav .navigation a {
		margin-left:2rem;
	}	

	/* ------------------------------------------------------------------------
   	   MQ SECTION: Other
  	   --------------------------------------------------------------------- */   
	.desktop {
		display:inline;
	}

	.mobile {
		display:none;
	}
}


@media only screen and (max-height: 550px) {

	/* ------------------------------------------------------------------------
	   MQ SECTION: hero
	   --------------------------------------------------------------------- */

	/* Remove scroll down arrow */
	#hero > a {
		display: none;
	}
	
}
