﻿html,body, main{
    margin:0;
    padding:0;
    height:100%; /* needed for container min-height */
}

body {
	display:grid;
  grid-template-areas:
    'header header header header'
	'line line line line'
    'main main main main'
    'footer footer footer footer';
	background-color: white;
	font-family: sans-serif;
    margin: 0 auto;
	
    max-width: 60em;
    min-width: 60em;
}

header {
	grid-area: header;
	width: 3rem;
	padding:.2em 0;
	min-height: 6em;
	max-height: 6em;
}

.logopic1 {
	padding:.2em 0;
	width:3rem;
}

.line {
	grid-area: line;
	text-align: center;
	position: sticky;
	border-bottom-left-radius: 0.3rem; /*Border angepasst, nur noch unten abgerundet*/
	border-bottom-right-radius: 0.3rem;
	background-color: #cbd6d0;
	color: #292929;
	padding: .5em 0;
	top: 0;
	height: 1.5em;
}

.headline {
	grid-area: headline;
	text-align: center;
	align-items: center;
}

.table {
	grid-area: main;
    background-color:white;
    color: black;
}

.table{
	table-layout: auto;
	width: 50em;
	border-collapse: seperate;
	border-spacing: 0rem 1rem;
	
    margin: auto;
	padding: 10px;
	
}

.table thead th{
	text-align: center;
	font-size: 18px;
	border-bottom: 1px solid black;
	padding-bottom: 1.5rem;
	
}

.table tbody td{
	text-align: center;
	border-bottom: 1px solid black;
	padding-bottom: 1rem;
}


.table tfoot td{
	text-align: right;
	font-weight: bold;
	font-size: 20px;
	padding-top: 1rem;
	
}

footer {
	grid-area: footer;
	position: sticky;
	bottom: 0;
    width: 100%;
	border-color: #ffffff;
	padding:0rem;
	margin:0rem;		
	background-color: #cbd6d0;
	height:3rem;
	align-items: center; 
    border-top-left-radius:0.3rem; /*Border angepasst, nur noch oben abgerundet*/
    border-top-right-radius:0.3rem;
	min-height: 2em;
	max-height: 2em;
}
 .folink  {
	border-radius: 0.25rem;
    color: black;
    text-decoration: none;
    text-align: center;
    font-size: 1.3rem;
	height: 10%;
    vertical-align: middle;
}
.folink:hover{
	color: #ff6e32;
}


.gridcontainer {
	display: grid;
	grid-template-columns: 20% 60% 20%;
}

.griditem1 {
	text-align: center;

	grid-column-start: 1;
	grid-column-end: 1;
}

.griditem2 {
	text-align: center;

	grid-column-start: 2;
	grid-column-end: 2;
}

.griditem3 {
	text-align: center;
	grid-column-start: 3;
	grid-column-end: 3;
}


/*Button & Eingabefelder -> Einheitliche Eigenschaften auf der ganzen Website*/
button {
    border-radius: 0.3rem;
    border: 0.3rem solid #292929;
    cursor: pointer;
    border:none;
    padding: 0.2rem 0.8rem;	
	font-size: .8rem;
	margin-left:0.2rem;
	
    background-color:#cbd6d0;
}

button:hover {
    background-color:#ff6e32;
    transform: translate3d(0.5px,0.5px,0.5px);
}

button:active{
    background-color:#ff6e32;
    transform:translateY(1px);
}
