/*
Theme Name: Schirla Design
Author: Sophie
*/


/**********************
 ******* Layout *******
 *********************/
html, body {
	height: 100%;
	font-family: 'amiko', sans-serif;
}

h1{
	font-size: 35pt;
	font-family: 'tangerine', sans-serif;
	text-align: center;
}

h2, h3,
h4, h5, h6 {
	font-size: 30pt;
	font-family: 'tangerine', sans-serif;
	text-align: center
}

body.admin-bar {
	height: calc(100% - 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		height: calc(100% - 48px);
	}
}

body {
	display: flex;
	flex-direction: column;
	
}


header {
	display: flex;
	flex-direction: column;
}

header .header-image {
	width: 100%;
	height: auto;
	object-fit: cover;
}

header .header-image.large {
	max-height: 540px;
}

header .header-image.small {
	max-height: 250px;
}

main {
	/* Erlaubt dem <main> Element, den <body> zu füllen */
	flex: 1;
	max-width: 775px;
	
	margin-left:  auto;
	margin-right: auto;
	
	padding-left:   1em;
	padding-right:  1em;
	padding-bottom: 1em;
}

main.wide {
	max-width: 1000px;
}


/*****************
 ***** Menüs *****
 ****************/

header ul.menu,
header ul.sub-menu {
        margin: 0;
        padding: 0;
	text-align: center;
	list-style-type: none;
	background: #C3CDC8;
        justify-content: center;

}

header ul.menu a {
	display: block;
	text-decoration: none;
        padding: 0.5em;
	background: #C3CDC8;
	color: #231F20;
	text-transform: uppercase;
  
    height: 20px; 
    width: 80%; 
   margin: 15px; 
	
	transition: background 0.4s;
}

header ul.menu a:hover {
	background: #4E6A82;
	color: white;
}
 
@media screen and (max-width: 775px) {
	
	header ul.menu li:not(.current-menu-item) ul.sub-menu {
		display: none;
	}
	
	header ul.menu a {
		display: flex;
               align-items: center;
               flex-direction: column;
       
          
	}
		
	header ul.menu li.current-menu-item a {
                font-weight: bold;
		
	}
 
}



/* Desktop Ansicht */
@media screen and (min-width: 776px) {
	
	header ul.menu {
		display: flex;
		flex-flow: row nowrap;
		

	}
	
	header ul.menu li {
		position: relative;

	}
	
	header ul.menu li.current-menu-item > a {
                font-weight: bold;

	}
	
	header ul.menu ul.sub-menu {
		position: absolute;
                text-align: left;
                justify-content: center;
		
		display: flex;
		flex-flow: column nowrap;
		min-width: 170px;
	
	}
	
	header ul.menu li:not(:hover) ul.sub-menu {
		display: none;
	
	}
	
	
	footer {
		display: flex;
		justify-content: space-between;
	}
	
	footer :first-child {
		order: 2;
	}
	
}






/**********************
 * Contact Form 7 ****
 *********************/

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="password"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="month"],
.wpcf7-form input[type="week"],
.wpcf7-form input[type="time"],
.wpcf7-form input[type="datetime"],
.wpcf7-form input[type="datetime-local"],
.wpcf7-form input[type="color"],
.wpcf7-form select,
.wpcf7-form textarea {
	 width: 100% !important;
	 border-radius: 10px;
	 border: 2px solid;
	 border-color: #C3CDC8;
	 padding: 5px;

}






/************
 ** Footer **
 ***********/
footer {
	padding: 2em;
	
	background: #C3CDC8;
	color: #231F20;
	text-align: left;
        justify-content: space-around;	

}
	p { 
	line-height: 1.5;
	margin-top: 10pt; 
	margin-bottom: 0; 
}

footer ul.menu li:first-child a {
	padding-top: 0;
	margin-top: 0;
}

footer :last-child {
	padding-bottom: 0;
	margin-bottom: 0;
}

footer ul.menu {
	margin: 0;
	padding: 0;
	
	list-style-type: none;
}

footer a {
	display: inline-block;
	padding: 0.5em;
	
	text-decoration: none;
	color: #231F20;
	
}

@media screen and (max-width: 775px) {
	
	footer {
       padding: 2em;
       background: #C3CDC8;
       color: #231F20;
       text-align: left;
       display: flex;
       flex-direction: column-reverse;
       justify-content: left;
	}



