/*
    MAIN.CSS

    Version 07.10.2024
    Form    tables
    Site    forster-online.com

    also constantly needed linked css
        buttons.css, classes.css

    temporary needed css
        cookie.css (only @ index.html), 
        termine.css (only @ termine.html)

*/


body {
    margin: 1em auto;
    max-width: max-content;
    font-family: Arial, Helvetica, sans-serif;
    display: table;
    grid-template-columns: repeat(5, 1fr);
    background-color: darkolivegreen;
    background-image: linear-gradient(to right, darkolivegreen, #306450);
    color: black;
    background-size: cover;
    /*
            display: grid;
    grid-template-rows: 1fr 8em;
    background-image: url("hintergrund.jpg");
    color: #333333;
    background-repeat: no-repeat;

        */
    color: black;
    font-size: 11pt;
}

a {
    text-decoration: none;
    font-weight: bold;
}

header {
    background: #ffeeaa;
    background-image: linear-gradient(to right, sandybrown, lightred);
    border-color: #d5d5d5;
    grid-column: 1 / 6;
    grid-row: 1 / 2;
}

nav {
    background: lightgreen;
    background-image: linear-gradient(to right, white, lightgreen);
    border-color: #e7c157;
    grid-column: 1 / span 6;
    grid-row: 2 / span 2;
}

article {
    background: lightgrey;
    background-image: linear-gradient(to right, white, lightgrey);
    border-color: #df6c20;
    grid-column: 2 / 6;
    grid-row: 2 / 4;
}

aside {
    background: #ebf5d7;
    border-color: #8db243;
    grid-column: 5 / 6;
}

footer {
    background: #e4ebf2;
    background-image: linear-gradient(to right, yellow, orange);
    border-color: #8a9da8;
    grid-column: 1 / 6;
    grid-row: 4 / 6;
}

article {
    border-radius: 0px 0.5em 0.5em;
    border: 1px solid;
    padding: .5em;
    margin: .5em;
    text-align: justify;
}

header,
nav,
main,
aside,
footer {
    border-radius: 0px 0.5em 0.5em;
    border: 1px solid;
    padding: .5em;
    margin: .5em;
}

section {
    border-radius: 0.5em 0.5em 0em 0em;
    border: 1px solid;
    padding: .5em;
    margin: .5em;
    background: white;
    background-image: linear-gradient(to right, white, violet);
    color: black;
}

summary {
    color: darkgreen;
    font-size: 1em;
    text-align: left;
    font-weight: normal;
}

    summary:hover {
        text-decoration: none;
        font-size: 1.5em;
        font-weight: bold;
        outline: 1px solid salmon;
        background: white;
        cursor: pointer;
        transition: all 1s ease-out, opacity 100ms;
    }

details[open] summary ~ * {
    animation: sweep .7s ease-in-out;
}

@keyframes sweep {
    0% {
        opacity: 0;
        margin-left: -20px
    }

    100% {
        opacity: 1;
        margin-left: 0px
    }
}

xmp {
    background: #eee;
    font-size: 1em;
}

code {
    color: indianred; 
    font-weight: bold;
}

.table, tr, td {
    font-size: 1.0em;
    text-align: justify;
}

.td-special {
    padding: 4px;
    text-align: right;
}

h1 {
    font-family: 'Arial', 'sans-serif';
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
}

h2 {
    font-family: 'Arial', 'sans-serif';
    text-align: center;
    font-weight: bold;
    font-size: 1.4em;
    color: black;
}

h3 {
    font-family: 'Arial', 'sans-serif';
    font-weight: bold;
    /*
            text-decoration: underline;
    */

    font-size: 1.2em;
    color: black;
}

h4 {
    font-family: 'Arial', 'sans-serif';
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    color: black;
}

#box_home_Hintergrund {
    position: absolute;
    top: 0px;
    left: 0px;
    /*
        background-repeat: no-repeat;
        background: url(images/hintergrund_cut.jpg)
    */
    z-index: -1;
}

.fullscreen {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1259px) {
    .fullscreen {
        background-image: url("design/hintergrund.jpg");
    }
}

@media (min-width:1260px) {
    .fullscreen {
        background-image: url("design/hintergrund.jpg");
    }
}


.videoBox {
    margin: 1em 2em 1em 0em;
    padding: 1em 2em 1em 0em;
}

.linked-box {
	max-width: 30em;
	padding: 1em;
	position: relative;
}

.linked-box a {
	color: hsl(20 80% 40%);
}

.linked-box a:focus,
.linked-box a:hover {
	color: inherit;
	background: hsl(20 80% 90%);
}

.linked-box a::before,
.linked-box a::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.linked-box a::before {
	border: thin solid;
	background: inherit;
	z-index: -1;
}

.linked-box :last-child {
	margin-bottom: 0;
}


.flex-container {
    display: flex;
    background-color: none;
    justify-content: space-around;
}
    .flex-container > div {
        background-color: none;
        margin: 10px;
        padding: 20px;
        font-size: 1em;
    }

hr {
    color: black;
}

    hr.re {
        color: silver;
        width: 366px;
        margin-right: 0;
        height: 0px
    }

    hr.le {
        color: silver;
        width: 366px;
        margin-left: 0;
        height: 0px
    }

.platz-vert {
    margin-bottom: 0px;
}

.platz-vert2 {
    margin-bottom: 2px;
}

.platz-vert4 {
    margin-bottom: 4px;
}

spalte-special {
    margin-bottom: 10px;
    margin-top: 10px;
    text-align: right;
}

