/* CSS Document */

/* ================= SCHRIFTARTEN HOLEN =============== */
@import "https://fonts.googleapis.com/css?family=Open+Sans|Slabo+27px";
@import url('https://fonts.googleapis.com/css2?family=Schoolbell&display=swap');
/* ================= STANDARD DEFINITIONEN =============== */
/* Clearfix */
* {
	padding:0px;
	margin:0px;
	box-sizing:border-box;	
}
html,body {
    height:100%;
    min-height:100%;
	padding:0.5rem 1rem;
}
body {
    background:#31525B;
    font-family:"Open Sans", Calibri, Tahoma, sans-serif;
    font-size:1rem;
    color:white;
}
a {
    color:white;
    font-weight:bold;
	text-decoration: none;
	
}
a:hover{
	background-color: #FAE6B1;
	border-radius: 1rem;
	padding: 0.2rem 0.3rem;
	
}

h2, h3 {
    font-family:"Slabo 27px", Calbri, Tahoma, sans-serif;
    background:#31525B;
    padding:0.7rem;
    margin:0rem 0rem 0.5rem 0rem;
}

h1{
    font-family: "Schoolbell", cursive;
	background:#31525B;
	color: white;
	font-size:2rem;
    border-radius:0.5rem;
	padding: 0.7rem;
	 
}
h2{
    color: white;
	font-size:1.5rem;
    background:#31525B;
  	margin-top: 0.5 rem;
	box-sizing:border-box;
	box-shadow:1px 1px 4px 3px rgba(33,33,33,0.3);
    border-radius:0.5rem;
	font-family: "Schoolbell", cursive;
    
}
h3{
    background:rgba(3,69,73,0.23);
    font-size:1.1rem;
    margin-bottom:1rem;
}
h4{
    font-size:1rem;
	margin-top: 1rem;
	margin-bottom: -1rem;
}
h5{
    font-family: "Schoolbell", cursive;
	color: #31525B;
	font-size:1.5rem;
	margin-top: 1rem;
	margin-bottom: -1rem;
}
p {
    padding:1rem 0rem;
}
img {
	max-width:100%;
	width:100%;
	box-sizing:border-box;
	box-shadow:1px 1px 4px 3px rgba(33,33,33,0.3);
    border-radius:0.5rem;
}
hr {
	border-top:none;
	/*border-bottom:1px dotted white;*/
	margin:0.4rem 0rem;
}

input, textarea, select {
        background:rgba(222,222,222,0.8);
        border-radius:5px;
        padding:0.5rem;
        font-family:"Open Sans", Calibri, Tahoma, sans-serif;
        font-size:1rem;
        color:black;
        width:80%;
}

ul {
    padding-left:3rem;
}
section{
	
	color:#31525B;
	border: solid 3px #31525B;
	margin-bottom: 1rem;
	padding: 1rem;
	box-sizing:border-box;
	box-shadow:1px 1px 4px 3px rgba(33,33,33,0.3);
    border-radius:0.5rem;
}
section:nth-child(odd){
	color:#31525B;
	background: #FAE6B1;
	border: solid 3px #31525B;
	margin-bottom: 1rem;
	padding: 1rem;
}
/* ================= ELEMENTE STRUKTUR =============== */

main{
	position: relative;
	box-sizing:border-box;
	box-shadow:1px 1px 4px 3px rgba(33,33,33,0.3);
    border-radius:0.5rem;
	border: solid 1px grey;
	max-width: 960px;
	margin: 8rem auto;
	padding: 1rem;
	background-color: #B3DEE5;
}
.text{
	color:#31525B;
}

header, #container, footer {
	    box-sizing:border-box;
		margin:1rem auto;	
		max-width:960px;
        border-radius:0.5rem;
        border:1px solid grey;
        box-shadow:1px 1px 4px 3px rgba(33,33,33,0.3);
        padding:0.5rem;
}
header  {
	position: relative;
    font-size:1.4rem;
	font-weight:bold;
}

.logo {
 	
	box-shadow:0.1px rgba(33,33,33,0) !important;
	position: absolute;
	top: -0.5;
	left: 0;
	width: 6rem;
	height: 6rem;
  	margin-top:1rem;
	padding: 0.5rem;

	
}
.logo img{
	box-shadow:0.1px rgba(33,33,33,0) !important;
	object-fit: contain;
	width: 200%;
	height: auto;
	
}




header,footer  {
        color:#31525B;
        background:#FAE6B1;
		font-family: "Schoolbell", cursive;
}


footer a:link {
	color: #31525B;
	text-decoration: none;
}
footer a:hover {
	color: #31525B;
	text-decoration: underline;
}

#container {
        min-height:70%;
        background:rgba(88,88,88,0.8);
}

/* ================= EIGENE KLASSENDEFINITIONEN =============== */
.klein {
    font-size:0.6rem;
}

.rot {
	color:orangered;
}
/* Bilder designen */
/* lieber mit flexbox oder grid arbeiten */
.bildergalerie {
	display:flex;
	height: 16rem;
}
.bildergalerie_bild{
	width: 33%;
	/*border: 1px solid white;*/
}
.bildergalerie img{
	width: 100%;
	height: 100%;
	object-fit: cover;


}
/* Hack wegen Float */
.clearfix{
	clear:both;
}

/*===========================NAVIGATION==============================*/



.navbar {

	position: fixed;	
	width:940px;;
  	height: 20px;
	padding-left: 3px;
	
}





nav ul {
  	
	box-sizing:border-box;
		margin:1rem auto;	
		max-width:960px;
        border-radius:0.5rem;
        border:1px solid grey;
        box-shadow:1px 1px 4px 3px rgba(33,33,33,0.3);
        padding:0;
		display: block;
	list-style-type: none;
  	
  
	overflow:hidden;
	background-color:#FAE6B1;
	
}

nav {
  float: right;
  margin: 0;
}

li {
  display: inline;
	float: right;
  padding: 10px;
}

nav a {
  text-decoration: none;
  color: #31525B;
  display: inline-block;
  padding: 8px;
	
}

nav a:hover {
  color: grey;
	/*background: #B3DEE5;*/
	padding: 2px;
	border-radius: 2.5px;
}

nav a:active {
  font-weight: bold;
}

@media screen and (max-width: 700px) {
  nav {
    width: 100%;
    margin-top: -5px;
  }

  nav li {
    display: flex;
    background-color: #e5e5e5;
    text-align: center;
  }
 }





/* Fehlermeldung ausgeben */
.fehlermeldung {
	display:block;
	background:red;
	color:yellow;
	margin:1rem 0rem;
	padding:0.5rem;
}



