:root{
	--blau: blue;
	--rot: red;
	--gelb: yellow;
	--schwarz: black;
}

@font-face {
    font-family: 'comic_sans';
    src: url('comic-webfont.woff2') format('woff2'),
         url('comic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'comic_sans';
    src: url('6692-fontps-webfont.woff2') format('woff2'),
         url('6692-fontps-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;

}

body{
	width: calc(100vw - 16px);
	height: calc(100vh - 16px);
	background-color: var(--schwarz);
	color: var(--gelb);
	font-family: comic_sans, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
 //  	text-align: center;
	overflow: scroll;
}


#home{
	width: calc(100vw - 16px);
	height: calc(100vh - 16px - 2em);
	background-image: url("img/flyer.png");
  	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
   	text-align: center;
	font-style: italic;
}

#index{
	text-align: center;
	height: calc(100vh - 16px);
	width: calc(100vw - 16px);
	display: grid;
	grid-template-columns: 100%;
	//grid-template-rows: 5em 3em calc(100vh - 18px - 7em);
	grid-template-rows: min(15vw, 90px) 3em min-content 65vh;
}

#top{
	//font-size: 24px;
	font-size: min(5vw, 28px);
    font-weight: bold;
	grid-row: 1/1;
}

#menu{
	grid-row: 2/2;
	background-color: var(--rot);
	font-size: 12px;
	width: 100%;
	height: 3em;
	display: flex;
	justify-content: space-between;
}

.eintrag{
	margin: .5em 1em .5em 1em;
	font-size: 1.2em;
	color: var(--gelb);
	text-decoration: none;
	
}

#einladung{
	font-size: 16px;
	grid-row: 3/3;
}

#einladung a{
    color: var(--gelb);
}

#main{
	grid-row: 4/4;
}

#main img{
	max-height: 100%;
}


#anmeldung label{
	display: inline-block;
	min-width: 9em;
}

#anmeldung input{
	width: 20em;
}

#anmeldung input[type="submit"]{
	width: min(27rem, 90vw);
}

#anmeldung input[type="radio"]{
	width: 2em;
}


#teilnahme{
	border-collapse: collapse;
}

#teilnahme td{
	border: 1px solid var(--gelb);
	text-align: left;
	padding: .1em .5em .1em .5em;
}

#teilnahme tr:nth-child(1){
	background-color: var(--rot);
	font-weight: bold;
}

#teilnahme td:nth-child(3){
	text-align: center;
}

#teilnahme a{
	color: var(--gelb);
	text-decoration: none;
}

#foto_neu{
	position: fixed;
	width: calc(100vw + 16px);
	height: calc(100vh + 16px);
	left: -8px;
	top: -8px;
	background-color: rgba(128,128,128,.8);
	display: none;
	justify-content: center;
	align-items: center;
	
}

#foto_neu_innen{
	background-color: black;
	max-width: 80%;
	padding: .5em;
    position: absolute;
}


#thumb img{
	max-height: 80px;	
}

.galerie{
    max-height: 8em;
}

#orga_div{
	max-width: 100%;
	overflow: auto;
	
}

#orga-tabelle{
    font-family: sans-serif;
    border-collapse: collapse;

}

#orga-tabelle td{
	border: 1px solid var(--gelb);
	text-align: left;
	padding: .1em .5em .1em .5em;
}

#orga-tabelle td:first-child{
	display: none;
	border: 1px solid var(--gelb);
	text-align: left;
	padding: .1em .5em .1em .5em;
}

#orga-tabelle td:nth-child(3){
	text-align: center;
}





@media screen and (min-width:1000px){

	body{
		font-size: 20px;
	}
	
	#index{
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 6em 3.7em min-content;
	}
	
	#top{
		font-size: 40px;
		grid-column: 1/-1;
	}
	#menu{
		height: 3.7em;
		grid-column: 1/-1;
		justify-content: flex-start;
	}
	
	.eintrag{
		font-size: 1.5em;
	}
	
	#einladung{
		grid-column: 1/2;
		grid-row: 3/3;
		font-size: 20px;
	}
	
	#main{
		grid-column: 2/3;
		grid-row: 3/3;
	}
	
    #thumb img{
	   max-height: 120px;;	
    }
    
    .galerie{
        max-height: 10em;
    }
	
	
	
}