@font-face {
    font-family: custom;
    src: url("/font/allura/Allura-Regular.ttf");
}

@keyframes blendIn{
    0%{
        opacity: 0;
        transform: rotateX(90deg);
    }

    100%{
        opacity: 1;
        transform : rotateX(0deg);
    }
}

* {
    margin: 0;
    padding: 0;
	font-family: Verdana, Geneva, sans-serif;
}
#colorpicker {
    color:rgb(238, 220, 255);
    /*gelb 255,255,217
    gruen 228, 250, 208
    lila 
    */
}

body{
    --theme-background-color: 238, 220, 255;
    background-color: rgba(var(--theme-background-color),0.7);
}

#backgroundimage1 {
	height: 40em;
	background-image: url("/images/fluegel.jpg");
}

#backgroundimage2 {
    height: 40em;
    background-image: url("/images/Lampe.jpg");
}

.backgroundimage {
    background-color: rgb(8,8,8);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;

    background-blend-mode: screen;
}

.backgroundimage p {
    /*Texte Erscheinen lassen*/
    /*overflow: hidden; *//* Ensures the content is not revealed until the animation */
    /*border-right: .15em solid orange; /* The typwriter cursor */
    /*white-space: nowrap;*/ /* Keeps the content on a single line */
    /*margin: 0 auto; /* Gives that scrolling effect as the typing happens */
    /*letter-spacing: .15em; /* Adjust as needed */
    /*animation: 
      typing 3.5s steps(40, end),
      blink-caret .75s step-end infinite;
    */
    
    font-size: 100%;
    font-weight: bold;
    color: rgb(8,8,8);
    text-align: center;
    
    margin: 1em;
    padding: 1em;
    background-color: rgba(var(--theme-background-color),0.7);
    border-radius: 1em;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}
  
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: orange; }
}

/*
.backgroundimage:hover  p{
    animation-name: blendIn;
    animation-duration: 4s;
}
*/

h2 {
    font-size: 1em;
}

h3 {
    font-size: 1em;
}

nav {
    color: rgb(var(--theme-background-color));
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    align-items: center;
    justify-content: right;
    background-color: rgba(8,8,8);
    background-image: url("/images/eHammerbilder.jpg");
 
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;

    padding: 1em;
}

nav a {
    display: block;
    width: 100%;
    height: 100%;
    color: rgb(var(--theme-background-color));
    text-decoration: none;
}

nav .logo {
    max-width: 10em;
    height: auto;
    padding:0.3em;
    background-color: rgba(8,8,8,0.7);
}

nav .menu {
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    background-color: rgba(8,8,8,0.5);
}

nav .menu li {
    text-align: center;
    text-decoration: none;
    flex: 1 1 0;
}

nav .menu li:hover a {
    color: rgb(8,8,8);
}

nav .menu li:hover {
    background-color: rgba(var(--theme-background-color),0.5);
}

main {
    background-color: rgb(var(--theme-background-color));
    color: rgb(8,8,8);
}

section{
    margin-left: 15%;
    margin-right: 15%;
    margin-top: 1em;
    margin-bottom: 1em;
}

main img {
    width: 30%;
    max-width: 30em;
    height: auto;
    float: right;
    margin: 1em;
}

main .endSection {
    clear: right;
}
.grid-container {
    display: grid;
    grid-template-areas: auto auto auto;
}

.grid-item {
    width: 20em;
    text-align: center;
    justify-content: center;
}

footer {
    background-color: rgb(8,8,8);
    width: 100%;
    height: 5em;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: right;
}

footer ul {
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
}

footer ul li {
    text-align: center;
    width: 100%;
    list-style-type: none;
}

footer ul li a {
    color: rgb(var(--theme-background-color));
    text-decoration: none;
}

footer .logo{
    margin: 1em;
    max-width: 5em;
    height: auto;
}

p {
    text-align: justify;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}
#technik {
    margin-left: 1.5em;
}
#technik ul {
    margin-left: 2.5em;
}

.backgroundimage p{
    font-family: "custom";
    font-size: 200%;
    padding:10px;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

/*convert logo color https://codepen.io/sosuke/pen/Pjoqqp*/
.logo {
    image-rendering: pixelated;
    filter: invert(100%) invert(97%) sepia(53%) saturate(1388%) hue-rotate(184deg) brightness(97%) contrast(109%);
    /*gelb filter: invert(100%) invert(100%) sepia(12%) saturate(2665%) hue-rotate(358deg) brightness(102%) contrast(109%);*/
}

/*
.bamberg-header {
    width: 100%;
    max-width: none;
    height: auto;
    float: none;
    margin: -1em;
}
*/

@media only screen and (min-width: 1024px) {
    /*
    body *{
        opacity: 0;
    }
  
    body *{
        animation-name: blendIn;
        animation-delay:0.25s;
        animation-duration: 2s;
        animation-fill-mode: forwards ;
        animation-timing-function:cubic-bezier(0.1, 0.3, 0.5, 1);
    }
    */
}

@media only screen and (max-width: 1024px) {
    nav .logo {
        margin-bottom: 1em;
    }
	
    nav {
        flex-direction: column;
    }
	
    main img {
        width: 50%;
        float: right;
    }

    section{
        margin-left: 1em;
        margin-right: 1em;
    }
}



@media only screen and (max-width: 481px) {
    /*margin-bottom: 1em;*/
    nav {
        flex-direction: column;
    }
	
    nav .menu {

        flex-direction: column;
    }
	
    main img {
        margin: 0px;
         padding: 1em;
         width: 90%;
         float: unset;
     }
	 
     section{
        margin-left: 1em;
        margin-right: 1em;
    }
}




