/*https://www.heise-homepages.de/google-fonts-lokal-einbinden/*/

@font-face {
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/noto-sans-v7-latin-regular.eot');
    src: local('Noto Sans'), local('NotoSans'), url('../fonts/noto-sans-v7-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/noto-sans-v7-latin-regular.woff2') format('woff2'), url('../fonts/noto-sans-v7-latin-regular.woff') format('woff'), url('../fonts/noto-sans-v7-latin-regular.ttf') format('truetype'), url('../fonts/noto-sans-v7-latin-regular.svg#NotoSans') format('svg');
    font-display: swap;
}

@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/orbitron-v9-latin-regular.eot');
    src: local('Orbitron Regular'), local('Orbitron-Regular'), url('../fonts/orbitron-v9-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/orbitron-v9-latin-regular.woff2') format('woff2'), url('../fonts/orbitron-v9-latin-regular.woff') format('woff'), url('../fonts/orbitron-v9-latin-regular.ttf') format('truetype'), url('../fonts/orbitron-v9-latin-regular.svg#Orbitron') format('svg');
    font-display: swap;
}

@font-face {
    font-display: swap;
    font-family: 'Gloria Hallelujah';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/gloria-hallelujah-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html 
{
    scroll-behavior: smooth;
}

body, input, select, p, button, legend, textarea, label, table
{
    font-size:1.1rem;
    line-height:2rem;
}

body {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    height: 100vh;
    width: 100%;
    font-family: 'Noto Sans', sans-serif;
    font-style: normal;
    text-align: center;    
    background-color: #EFF;
}

header {
    grid-row-start: 1;
    grid-row-end: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    align-content: center;
    background-color: #02A8A9;
}

    header button {
        margin-left: 5px;
    }

#logo_tkexe {
    width: 180px;
    height: 52px;
}

aside {
    grid-row-start: 2;
    grid-row-end: 3;
    margin-top: 10px;    
}

    aside div {
        animation-name: moveTicker;
        animation-duration: 20s;
        animation-iteration-count: 1;
        animation-timing-function: linear;
    }

@keyframes moveTicker
{
    0% {
        transform: translate3d(100%, 0%, 0px);
        opacity: 0;
    }
    30% {
        transform: translate3d(50%, 0%, 0px);
        opacity: 1;
    }
    70% {
        transform: translate3d(30%, 0%, 0px);
        opacity: 1;
    }
    100% {
        transform: translate3d(-10%, 0%, 0px);
        opacity: 0;
    }    
}

/*@keyframes hideTicker {
    0% {
        height:auto;
    }

    100% {
        height: 0;
    }
}*/

main {
    grid-row-start: 3;
    grid-row-end: 4;
    display: flex;
    flex-direction: column;    
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 100%;
}

footer {
    grid-row-start: 4;
    grid-row-end: 5;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: #02A8A9;
}

    footer button {
        background: transparent;
        border-right: 1px solid #A6F7F7;
        padding-left: 5px;
        padding-right: 5px;
        color: #EEE;
        font-size: 1rem;
        line-height: 1rem;
    }

        footer button:nth-child(1) /*Strich links*/ {
            border-left: 1px solid #A6F7F7;
        }

    footer div {        
        font-size: 0.9rem;
        margin-left:10px;
    }

button 
{
    border: 0;
    cursor: pointer;
    outline: none;
    background: transparent;
}

a
{    
    color:#08d;
    text-decoration:none;
}

h1 
{
    color: #4F4846;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: lighter;
    font-stretch: expanded;
}

/*Überschrift "Ihr modernes Fotolabor"*/
h2 {
    display: inline-block;    
    color: #A6F7F7;
    font-family: 'Gloria Hallelujah', sans-serif;
    font-size: 1.5rem;
}

h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 8px;
    justify-self: flex-start;
    text-align: left;
}

h4
{
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 15px;
    max-width: 100%;
    margin-bottom: 12px;
}

h5 {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

h6 {
    color: #4F4846;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: lighter;
    font-stretch: expanded;
    margin-top: 30px;
}

/*Animation der Überschrift*/
#slideshow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 10px;
    padding-top: 5px;
    border-width: 0;
    border-bottom-width: 4px;
    border-style: solid;
    border-image: linear-gradient(to right, red, orange, yellow, green, blue) 4;
}

    #slideshow img {        
        margin-top: 5px;
        margin-right: 20px;
    }    

/*Bilder*/
img.zoom {
    margin: 10px;
    box-shadow: 5px 5px 7px #aaa;
    transition: all 1s linear;
}

    img.zoom:hover 
    {
        transform: scale(1.1);
    }

div 
{
    color: #333;
    font-weight: normal;
    text-align:left;    
}

.div_mwst 
{
    padding:5px;
    margin-top:5px;
    font-size:1rem;
    line-height:1.2rem;
}

/*Kacheln der Produktübersicht*/
#home {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;    
}

    #home figure {
        background-color: #fff;
        border-radius: 10px;
        transition: all 0.4s linear;
        margin: 10px;
    }

    #home figure:hover {
        box-shadow: 5px 5px 7px #aaa;
        transform: translateY(-5px);
        cursor:pointer;
    }

    #home figure img {
        width: 280px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

        #home figure figcaption {
            font-family: 'Orbitron', sans-serif;
            align-self: center;
            font-stretch: expanded;
            color: #4F4846;
            font-size: 1.2rem;
            margin-bottom: 10px;
        }    

.figure_backprint {
    /*width: 360px;*/
    padding: 5px;
    margin: 5px;
    border: solid;
    border-width: 1px;
    border-color: #DDAF94;
    border-radius: 10px;
    font-size: 1rem;
}

.figure_backprint img
{    
    border-radius:10px;
}

.flex_h_center
{
    display:flex; 
    flex-direction:row;
    justify-content:center;    
    align-items:center;    
    flex-wrap:wrap;
    max-width:100%;
}

.flex_h_top {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items:flex-start;
    flex-wrap: wrap; 
}

.flex_h_kontakt {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    border: solid;
    border-width: 3px;
    border-color: #aaa;
    border-radius: 10px;
    margin: 10px;
    padding: 6px;
    width: 440px;
}

    .flex_h_kontakt span {
        font-size: 6rem;
        margin-left: 2px;
        margin-right: 2px;
        color: #DDAF94;
    }

.flex_h_kontakt p
{
    text-align:left;    
    color:#333;    
}

    .flex_h_kontakt p.klein {
        font-size: 0.9rem;
        line-height: 1.2rem;
    }

.flex_h_kontakt a
{
    text-decoration:none;
}

#flex_sets {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin: 10px;
    margin-top: 0;
    border: solid;
    border-width: 3px;
    border-color: #aaa;
    flex-wrap: nowrap;
    background-color: #E8CEBF;
    overflow-x:hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    width: calc(100vw - 50px);
}    

    .flex_set {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        border: solid;
        border-width: 0px;
        border-right-width: 3px;
        border-color: #E8CEBF;
        background-color: #666666;
        flex-wrap: nowrap;
        height: 600px;
    }

    .flex_set h3
    {
        color:white;
        font-size:1.2rem;
        margin-top:10px;
    }

    .flex_set p {
        color: white;
        font-size: 1.0rem;
        line-height: 1.2rem;
        margin-left: 10px;
        margin-right: 10px;
    }

    .flex_set img.small {
        height: 300px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .flex_set img.big {
        height: 440px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .flex_v_article {
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
        margin-top: 20px;
    }    

    .flex_v 
    {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
        transition: transform 1s linear;
        transform-origin:top;
    }

    .flex_v p 
    {
        width: 100%;
    }

    .flex_v span
    {
        font-size:2rem;
        margin-left:2px;
        margin-right:2px;
    }

.flex_v_center
{
    display:flex;    
    flex-direction:column;    
    justify-content:center;    
    align-items:center;    
    align-content:center;    
    flex-wrap:wrap;
    /*width:100%;    */
}

.flex_v_left
{    
    display:flex;    
    flex-direction:column;    
    justify-content:flex-start;      
}

/*Tabs der Unterseiten*/        
div.menu02
{
    display:flex; 
    flex-direction:row;    
    flex-wrap:wrap;    
    justify-content:center;
    margin-top:10px;
    margin-bottom:10px;
}

    div.menu02 a {
        color: #333;
        text-decoration: underline;
        font-weight: normal;
        padding: 5px 10px;
        margin: 3px;
        font-size: 1.1rem;
        transition: transform 0.5s linear;
    }

        div.menu02 a:hover {
            transform: translateY(-3px);
        }

/*Aufzählungslisten, zB. der Papiere*/
ul 
{
    display: flex; 
    flex-direction: column;    
    justify-content: flex-start;    
    align-items: flex-start;    
    align-content: center;
    flex-wrap: wrap;
    color: #333;    
}

    ul li
    {
        list-style-type: square;
        list-style-position:outside;
        margin-left:20px;
        text-align: left;
    }

.details_paper ul 
{
    margin-top: 4px;
    margin-bottom:4px;
    align-content: flex-start;
}

.details_paper li
{
    font-size: 0.9rem;
    line-height: 1.2rem;
    text-align: left;
}

.details_paper summary 
{
    cursor:pointer;
}

table {
    background-color: white;
    font-size: 1rem;
    margin: auto;        
    border-spacing:0;    
}

    thead {
        background-color: #02A8A9;
        color:white;
    }

    /*zellen*/
    table th {
        padding: 3px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 6px;
        text-align: right;
        line-height: 1.2rem;
        font-weight: normal;
    }

    /*zellen*/
    table td {    
        padding-left: 10px;
        padding-right: 10px;
        text-align: right;
        line-height: 1.5rem;
    }

    /*Linien zwischen den Zeilen*/
    table tr {
        border-width: 0;
        transition: background 0.7s linear;
    }

    table td.trenner {
        border-top-color: #EFF;
        border-top-width: 2px;
        border-top-style: solid;
        font-style: italic;
    }

    /*Abstandshalter*/
    table tr.trenner {
        height:15px;
    }

    tbody tr:hover {
        background: #EFF;
    }

    /*Tabellenkopf (Überschrift)*/
    table th 
    {
        padding-top:8px;
    }

    table tr.span 
    {
        background-color: #eee;
    }

    table tr.span td {
        padding-top: 8px;
        padding-bottom: 4px;
    }

#link_fotoportal 
{    
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4em;
    font-weight: bold;
    letter-spacing: 3px;    
    text-shadow: 0 -1px #000, 1px 0 #000, 0 1px #000, -1px 0 #000, 2px 2px 3px #000;
    border-width: 0;
}

#link_fotoportal:hover
{        
    text-shadow: 0 0 1px #ff6a00, 0 0 1px #ff6a00, 0 0 1px #ff6a00;
}

.animation_scan {
    position: relative;
    width: 510px;
    height: 390px;
    margin-left: 40px;
    margin-bottom: 40px;    
}

    .animation_scan figure {
        position: absolute;
        overflow: hidden; /* Versteckt das Bild außerhalb des Containers */
        animation-timing-function: ease-in-out;
        animation-iteration-count: infinite;
        animation-duration: 12s;
        background-color: white;        
    }    

    .animation_scan figcaption {
        font-family: 'Orbitron', sans-serif;
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 5px;
    }

    .animation_scan figure:nth-of-type(1) {
        animation-name: animation_scan01;
    }

    .animation_scan figure:nth-of-type(2) {
        animation-name: animation_scan02;
    }

    .animation_scan figure:nth-of-type(3) {
        animation-name: animation_scan03;
    }

@keyframes animation_scan01 {
    0% {
        opacity: 1;
    }

    20% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    90% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes animation_scan02 {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    60% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes animation_scan03 {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    60% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.fig_animation {
    position: relative;
    width: 510px;
    height: 390px;
    margin-top:20px;
    margin-bottom:10px;
}

    .fig_animation figure {
        position: absolute;        
        animation-timing-function: ease-in-out;
        animation-iteration-count: infinite;
        animation-duration: 40s;
        background-color: white;
    }

    .fig_animation figcaption {
        font-family: 'Orbitron', sans-serif;
        font-size: 1.0rem;
        text-align: center;
        margin-bottom: 5px;
    }

    .fig_animation figure:nth-of-type(1) {
        animation-name: fadingAnimation01;
    }

    .fig_animation figure:nth-of-type(2) {
        animation-name: fadingAnimation02;
    }

    .fig_animation figure:nth-of-type(3) {
        animation-name: fadingAnimation03;
    }

    .fig_animation figure:nth-of-type(4) {
        animation-name: fadingAnimation04;
    }

    .fig_animation figure:nth-of-type(5) {
        animation-name: fadingAnimation05;
    }

    .fig_animation figure:nth-of-type(6) {
        animation-name: fadingAnimation06;
    }

    .fig_animation figure:nth-of-type(7) {
        animation-name: fadingAnimation07;
    }

.figure_300 {
    width: 300px;
    height: 449px;
}

    .figure_300 img {
        width: 300px;
    }

.figure_350 {
    width: 350px;
    height: 236px;
}

    .figure_350 img {
        width: 350px;
    }

@keyframes fadingAnimation01 {
    0% {
        opacity: 1;
    }

    8% {
        opacity: 1;
    }

    16% {
        opacity: 0;
    }

    24% {
        opacity: 0;
    }

    33% {
        opacity: 0;
    }

    42% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    59% {
        opacity: 0;
    }

    67% {
        opacity: 0;
    }

    76% {
        opacity: 0;
    }

    84% {
        opacity: 0;
    }

    92% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadingAnimation02 {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 0;
    }

    16% {
        opacity: 1;
    }

    24% {
        opacity: 1;
    }

    33% {
        opacity: 0;
    }

    42% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    59% {
        opacity: 0;
    }

    67% {
        opacity: 0;
    }

    76% {
        opacity: 0;
    }

    84% {
        opacity: 0;
    }

    92% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadingAnimation03 {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 0;
    }

    16% {
        opacity: 0;
    }

    24% {
        opacity: 0;
    }

    33% {
        opacity: 1;
    }

    42% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    59% {
        opacity: 0;
    }

    67% {
        opacity: 0;
    }

    76% {
        opacity: 0;
    }

    84% {
        opacity: 0;
    }

    92% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadingAnimation04 {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 0;
    }

    16% {
        opacity: 0;
    }

    24% {
        opacity: 0;
    }

    33% {
        opacity: 0;
    }

    42% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    59% {
        opacity: 1;
    }

    67% {
        opacity: 0;
    }

    76% {
        opacity: 0;
    }

    84% {
        opacity: 0;
    }

    92% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadingAnimation05 {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 0;
    }

    16% {
        opacity: 0;
    }

    24% {
        opacity: 0;
    }

    33% {
        opacity: 0;
    }

    42% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    59% {
        opacity: 0;
    }

    67% {
        opacity: 1;
    }

    76% {
        opacity: 1;
    }

    84% {
        opacity: 0;
    }

    92% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadingAnimation06 {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 0;
    }

    16% {
        opacity: 0;
    }

    24% {
        opacity: 0;
    }

    33% {
        opacity: 0;
    }

    42% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    59% {
        opacity: 0;
    }

    67% {
        opacity: 0;
    }

    76% {
        opacity: 0;
    }

    84% {
        opacity: 1;
    }

    92% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}
@keyframes fadingAnimation07 {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 0;
    }

    16% {
        opacity: 0;
    }

    24% {
        opacity: 0;
    }

    33% {
        opacity: 0;
    }

    42% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    59% {
        opacity: 0;
    }

    67% {
        opacity: 0;
    }

    76% {
        opacity: 0;
    }

    84% {
        opacity: 0;
    }

    92% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

fieldset {
    width: 500px;
    padding: 10px;
    margin: 10px;
    border-width: 2px;
    border-color: #DDAF94;
    background-color: white;
}

legend {
    background-color: white;
    color: black;
    padding-left: 4px;
    padding-right: 4px;
}

/*DropDown Menü*/
.dropbtn01 {
    background-color: transparent;
    color: #EEE;
    font-size: 1.2rem;
    border: none;
    border-left: 2px solid #A6F7F7;
    padding-left: 8px;
}

.dropbtn02 {
    background-color: transparent;
    color: #EEE;
    font-size: 1.2rem;
    border: none;
    border-left: 2px solid #A6F7F7;
    border-right: 2px solid #A6F7F7;
    padding-left: 8px;
    padding-right: 8px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {    
    display: block;
    position: absolute;
    background-color: rgba(255,255,255,0.8);
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    transform: scale(0);
    transform-origin:top left;
    transition: transform 0.5s linear;
    z-index: 10;
}

    .dropdown-content button {
        color: #555;
        text-decoration: none;
        display: block;
        font-size: 1.2rem;        
        transition: transform 1s linear;        
    }

        .dropdown-content button:hover {
            transform: translateX(20px);
        }

.dropdown:hover .dropdown-content {    
    transform: scale(1);
}

dialog {
    background-color: aliceblue;
    margin: auto;
    backdrop-filter: blur(20px);
    border-width: 0;
}

    dialog::backdrop {
        backdrop-filter: blur(4px);
    }

    dialog form {
        padding: 5px;
        background-color: aliceblue;
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        flex-wrap: wrap;
    }

        dialog form button {
            color: white;
            background-color: cornflowerblue;
            padding: 4px;
            padding-left: 12px;
            padding-right: 12px;
            margin-top: 5px;
        }
