
/*

Lilli Gaigal
Developed by Leon Klaßen—www.leonklassen.com
Berlin, 2017

*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

ol, ul {
    list-style: none;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}





@font-face {
    font-family: "Karmilla";
    src: url('fonts/karmilla-regular-016-webfont.ttf');
    font-weight: normal;
}

@font-face {
    font-family: "Karmilla";
    src: url('fonts/karmilla-bold-016-webfont.ttf');
    font-weight: bold;
}

/* allgemein —————————————————————————————————————————————————————————————————————————————————————— */

body {
    margin: 0px;
    padding: 0px;
    font-size: 13px;
    font-family: "Karmilla", Helvetica Neue, Helvetica, sans-serif;
    color: black;
    cursor: default;
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
    line-height: 1.5;
    font-weight: 400;
    min-height:100%;
    background-color: rgb(245,245,245);
    background-color: rgb(244,242,240);
    
    letter-spacing: 0.5px;
    
    
    position: absolute;
    left:0px;
    top:0px;
    width:100%;
    height: 100%;
}

a {
    text-decoration: none;
    color:inherit;
}



/*  —————————————————————————————————————————————————————————————————————————————————————— */

#grid {
    position: absolute;
    left:0px;
    top:0px;
    width:100%;
    height: 100%;
    overflow: hidden;
}

/*
.grid_image_container {
    position: absolute;
    transition: transform 0.3s;
}*/

/*
.grid_image_container {
    transition: transform 0.3s;
}*/

.grid_image {
    position: absolute;
    pointer-events: none;
    transition: transform 0.3s;
    transform:scale(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    pointer-events: none;
}

#overlay {
    position: absolute;
    left:0px;
    top:0px;
    width:100%;
    height: 100%;
    overflow: hidden;   
    z-index: 2000;
}

.overlay_element {
    position: absolute;
  /*  opacity: .2;
    background-color: red;*/
}




#header { /* 51px hoch */
    position: absolute;
    left:0px;
    top:0px;
    width:100%;
    height: auto;
    overflow: hidden;
    
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    
    z-index: 999999999999;
        
}

#logo {
    position: relative;
    float: left;
}

#navigation {
    position: relative;
    float: right;
}

#navigation li {
    position: relative;
    float: left;

}

#logo, #navigation li {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 25px;
    padding-bottom: 25px;
    transition: opacity 0.3s;
    -webkit-tap-highlight-color: transparent;
}

#logo:hover, #navigation li:hover {
    opacity: 0.5;
}

.navigation_highlight div {
    box-shadow: 0px 1px 0px black;
}

#about {
    width:100%;
    height: 100%;
    position: absolute;
    display: table;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 10;
}

#about div {
    display: table-cell;
    vertical-align: middle;
}

.about_title {
    font-weight: bold;
}

.about_mail {
    box-shadow: 0px 1px 0px black;
    transition: box-shadow 0.2s, color 0.2s;
    cursor: pointer;
}

.about_mail:hover {
    box-shadow: 0px 1px 0px rgb(127,127,127);
    color: rgb(127,127,127);
}

.about_by {
    transition: color 0.2s;
    cursor: pointer;
}

.about_by:hover {
    color: rgb(127,127,127);
}

.about_by {
    font-size: 10px;    
}

@media only screen and (max-width: 450px) {
    
    #header {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }
    
    #logo, #navigation li {
        padding-left: 7.5px;
        padding-right: 7.5px;
        padding-top: 25px;
        padding-bottom: 24px;
        transition: opacity 0.3s;
    }
    
    #grid {
        height: 1000px;
    }
    
    #overlay {
        height: 1000px;
    }

}