﻿@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,300italic);

body {
    font-family: 'Source Sans Pro';
    text-align: center;
    color: white;
}

    body h1 {
        font-size: 2em;
        margin: 0 0 0 0;
        padding: 0 0 0 0;
    }

    body h2 {
        font-size: 1.5em;
        margin: 0 0 0 0;
        padding: 0 0 0 0;
    }

    body h3 {
        font-size: 1.2em;
        margin: 0 0 0 0;
        padding: 0 0 0 0;
    }

    body p {
        font-size: 1em;
        margin: 0 0 0 0;
        padding: 0 0 0 0;
    }

.button{	
	display: inline-block;
	text-decoration: none;
	transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out;
    color: white;
	background-image: url(bilder/button_weiss.svg);
    width: 150px;
    height: 150px;
}


    .button:hover{
	    background-image: url(bilder/button_schwarz.svg);
	    color: black;
    }

.columns {
    float: left;
}

.left {
    text-align: left;
}

.page-background {
    position: fixed;
    height: 100%;
    z-index: -1;
    background-image: url(bilder/wallpaper.jpg);
    background-size: cover;
    top: 0;
    right: 0;
    left: 0;
}

.right {
    text-align: right;
}

.row {   
    width: auto;
}

.row:before,
.row:after {
    content: " ";
    display: table;
}

.row::after {
    clear: both;
}

.spacedown {
    margin: 0 0 5% 0;
}

.spaceleft {
    margin: 0 0 0 35%;
}

.spaceright {
    margin: 0 35% 0 0;
}

.spaceup {
    margin: 5% 0 0 0 0;
}

table {
 border-top: solid 1px white;
 margin:0 25% 0 25%;
 white-space: pre;
 width: 50%;
}

tbody td {
    text-align:left;
	vertical-align:top;
    padding: 0 0 1% 0;
}

tbody th {
    vertical-align: top;
    text-align: right;
}

@media screen and (max-width: 600px) {
    .small-1 {width: 100%; font-size: 0.5em;}    
}

@media screen and (min-width: 600px) and (max-width: 1000px) {
    .medium-1 {width: 50%; font-size: 0.75em;}
    .medium-2 {width: 100%; font-size: 0.75em;}
}

@media screen and (min-width: 1000px) and (max-width: 1900px){
    .large-1 {width: 33.333333%; font-size: 1em;}
    .large-2 {width: 66.666666%; font-size: 1em;}
    .large-3 {width: 100%; font-size: 1em;}    
}

@media screen and (min-width: 1900px) and (max-width: 2500px) {
    .large-1 {width: 33.333333%; font-size: 1.25em;}
    .large-2 {width: 66.666666%; font-size: 1.25em;}
    .large-3 {width: 100%; font-size: 1.25em;}    
}

@media screen and (min-width: 2500px) {
    .large-1 {width: 33.333333%;font-size: 1.5em;}
    .large-2 {width: 66.666666%;font-size: 1.5em;}
    .large-3 {width: 100%;font-size: 1.5em;}
}

#aktuelles, #info {
    margin: 0 0 10% 0;
}

#logo {
    white-space: pre;
}

    #logo img {
        width: 50%;
        margin: 0 0 1% 0;
    }

        #logo h1:before {
            content: '';
            display: block;
			border-top: solid 1px white;
			margin: 0 35% 1% 35%;
        }

        #logo h1:after {
            content: '';
            display: block;
			border-top: solid 1px white;
			margin: 1% 35% 0 35%;
        }

#main {
    margin: 5% 0 0 0;
}


footer {
    margin-top: 1rem;
    padding-bottom: 1rem;
}

footer button {
    border: none;
    outline: none;
    background-color: transparent;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: underline;
    transition: color linear .25s;

    &:hover {
        color: black;
    }

    &:focus-visible {
        outline: 2px solid currentColor;
        border-radius: 2px;
    }
}

footer dialog {
    text-align: start;
    border-radius: 3px;

    &::backdrop {
        background-color: hsla(0, 0%, 0%, 0.7);
    }

    & .dialog-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    & .dialog-content {
        display: flex;
        flex-direction: column;
        gap: 1rem
    }

    & .dialog-close {
        font-size: 1.25rem;
        color: black;
        margin-right: -12px;
        padding-inline: 12px;
        padding-block: 6px;
        text-decoration: none;
        &:hover {
            text-decoration: underline;
        }
    }

}

.inhaltsstoffe{
    display: grid;
    place-content: center;
    padding-block: 1rem;
    >span{
        text-wrap: balance;
        max-width: 400px;
    }
}