/* fonts */

@font-face {
    font-family: main_font;
    src: url(Fonts/Montserrat.otf);
}
@font-face {
    font-family: handwriting_font;
    src: url(Fonts/Brushaff.otf);
}

/*transitions*/

div {
    transition: color 2s, left 0.5s;
}

h1 {
    transition: color 1s;
}

a {
    transition: color 0.6s;    
}

img {
    transition: opacity 2s;
}

/* Background */

#diffusor
{
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    z-index: -2;
    pointer-events: none;
}

@media only screen and (max-width: 1100px)
{
    #diffusor
    {
        opacity: 0.9;
    }   
}

/* Icons */

#icons
{
    position: absolute;
    left: 0%;
    bottom: 0%;
    margin-left: 20px;
    margin-bottom: 5px;
}

#icon_german
{
    opacity: 0.5;
    width: 2.5%;
    min-width: 20px;
    height: auto;
    padding: 5px;
}
#icon_english
{
    opacity: 0.5;
    width: 2.85%;
    min-width: 20px;
    height: auto;
    padding: 5px;
}

/* Impressum Link */

#impressum_link_div
{
    opacity: 0.7;
    position: absolute;
    left: 120px;
    bottom: 0%;
    margin-left: 20px;
    margin-bottom: 10px;   
}

.impressum_link
{
    font-family: main_font;
    font-size: 90%;
    text-decoration: none;
    color: rgb(40, 17, 109);
}

@media only screen and (max-width:500px), only screen and (max-height:400px)
{
    .impressum_link
    {
        font-size: 65%;
    }
}

@media only screen and (max-width:1100px)
{
    .impressum_link
    {
        color: yellow;
        opacity: 0.6;
    }
}
@media only screen and (max-width:500px)
{
    #impressum_link_div
    {
        left: 100px; 
    }
}

.impressum_link:hover
{
    color: gray;    
}

/* Top Link */

.top_box
{
    position: absolute;
    right: 0%;
    bottom: 0%;
    width: 10%;
    min-width: 70px;
    opacity: 0.25;
    margin-right: 1.5%;
    margin-bottom: 5px;
}

@media only screen and (max-width: 1100px)
{
    .top_box
    {
        opacity: 0.5;
    }
}

.top_box:hover
{
    opacity: 0.8;
}

.top_box a
{
    float: right;
}

.top_box a img 
{
    float: right;
    width: 80%;
    height: auto;
    padding-bottom: 20px;
}
@media only screen and (max-width: 500px)
{
.top_box a img 
    {
        width: 90%;
    }    
}
.top_box img:hover
{
    box-shadow: 0px 0px 5px rgb(40,40,40);
}

#top_de
{
    visibility: hidden;
}
#top_en
{
    visibility: hidden;
}

/* navigation */

#navigation_de
{
    visibility: hidden;
}
#navigation_en
{
    visibility: hidden;
}

div.navigation
{
    box-sizing: border-box;
    font-family: main_font;
    border-radius: 3px;
    position: absolute;
    top: 39%;
    left: 72%;
    opacity: 0.7;
    z-index: 1;
}

div.navigation ul {
    list-style-type: none;
    margin: 0;
}
div.navigation a {
    margin-left: 0px;
    display: block;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: rgb(40, 17, 109);
    padding-left: 1em;
    padding-right: 1em;
    font-size: 20px;
    line-height: 2.3;
}

@media only screen and (max-width: 1100px)
{
    div.navigation a 
    {
        color: yellow;
        opacity: 0.8;
    }    
}

div.navigation a:hover {
    background-color: #555;
    color: white;
    box-shadow: 5px 5px 5px rgb(40,40,40);
}

div.navigation a.unselectable {
    pointer-events: none;
    opacity: 1;
    color: rgb(0, 24, 63);
}

@media only screen and (max-width: 1100px)
{
    div.navigation a.unselectable {
        pointer-events: none;
        opacity: 1;
        color: orange;
    }   
}

@media only screen and (max-width: 1000px)
{
    div.navigation
    {
        left: 68%;
    } 
}
@media only screen and (max-width: 850px)
{
    div.navigation
    {
        left: 67%;
        top: 41%;
    } 
    div.navigation a
    {
        font-size: 17px;
    }
}

@media only screen and (max-width: 750px), only screen and (max-height: 500px)
{
    div.navigation
    {
        top: 42%;
    } 

    div.navigation a
    {
        font-size: 15px;
    }   
}
@media only screen and (max-width: 650px), only screen and (max-height: 300px)
{
    div.navigation
    {
        top: 43%;
    } 

    div.navigation a
    {
        font-size: 13px;
    }   
}
@media only screen and (max-width: 570px)
{
    div.navigation
    {
        top: 44%;
        left: 64%;
    } 
    div.navigation a
    {
        font-size: 11px;
    }   
}
@media only screen and (max-width: 500px)
{
    div.navigation
    {
        top: 45%;
        left: 60%;
    } 
    div.navigation a
    {
        font-size: 10px;
    }   
}
@media only screen and (max-width: 400px)
{
    div.navigation
    {
        left: 59.2%;
    }  
}

/* navigation response for page 1 */

@media only screen and (max-width: 1100px)
{
    div.navigation_start
    {
        left: 66%;
    } 
}
@media only screen and (max-width: 1000px)
{
    div.navigation_start
    {
        left: 64.5%;
    }   
}

@media only screen and (max-width: 900px), only screen and (max-height: 500px)
{
    div.navigation_start
    {
        left: 63%;
    } 
}
@media only screen and (max-width: 860px), only screen and (max-height: 500px)
{
    div.navigation_start
    {
        left: 62.5%;
    } 
}
@media only screen and (max-width: 600px), only screen and (max-height: 500px)
{
    div.navigation_start
    {
        left: 50%;
    } 
}

/* navigation response to height */

@media only screen and (max-height: 600px)
{
    div.navigation a
    {
        line-height: 1.8;
    }   
}
@media only screen and (max-height: 500px)
{
    div.navigation a
    {
        line-height: 1.5;
    }   
}
@media only screen and (max-height: 400px)
{
    div.navigation a
    {
        line-height: 1.3;
    }   
}
@media only screen and (max-height: 300px)
{
    div.navigation a
    {
        line-height: 1.1;
    }   
}

/* First page */
  
/* Skyline Image */
   
#skyline
{
    box-sizing: border-box;
    border-style: solid;
    border-width: 6px;
    position: absolute;
    top: 35%;
    height: 37%;
    left: 10%;
    width: 61%;
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
}

@media only screen and (max-width: 1100px)
{
    #skyline
    {
        left: 10%;
        width: 83%;
    }    
}

@media only screen and (max-width: 1100px)
{
    #skyline
    {
        opacity: 0.5;
    }   
}

@media only screen and (max-width: 500px)
{
    #skyline
    {
        left: 3%;
        width: 96%;
    }    
}

/* Main headline */

#main_headline
{
    font-family: main_font;
    position: absolute;
    width: 100%;
    height: 35%;
    left: 0px;
    top: 0px;
}
#main_headline_box
{
    position: absolute;
    bottom: 0;
    padding-left: 9.5%;
}

#main_headline_box h1
{
    font-size: 77px;
    margin: 0px;
    margin-bottom: 0.5em;
    text-align:left;
    color: rgb(40, 17, 109);
    opacity: 0.7;
}

@media only screen and (max-height: 550px), only screen and (max-width: 1100px) {
    #main_headline_box h1 {
        font-size: 64px;
    }
}
@media only screen and (max-height: 450px), only screen and (max-width: 900px) {
    #main_headline_box h1 {
        font-size: 55px;
    }
}
@media only screen and (max-height: 400px), only screen and (max-width: 700px) {
    #main_headline_box h1 {
        font-size: 47px;
    }
}
@media only screen and (max-height: 300px), only screen and (max-width: 550px) {
    #main_headline_box h1 {
        font-size: 35px;
    }
}
@media only screen and (max-height: 250px), only screen and (max-width: 500px) {
    #main_headline_box h1 {
        font-size: 30px;
    }
}

/* Sub headline */

#sub_headline
{
    box-sizing: border-box;
    font-family: main_font;
    position: absolute;
    width: 100%;
    top: 72%;
    height: 28%;
}

#sub_headline h1
{
    font-size: 37px;
    text-align: right;
    margin-top: 1.1em;
    margin-right: 29.5%;    
    color: rgb(40, 17, 109);
    opacity: 0.7;
}

@media only screen and (max-width: 500px)
{
    #sub_headline h1
    {
        margin-right: 9%;
    }
}

@media only screen and (max-width: 1200px), only screen and (max-height: 500px) {
    #sub_headline h1
    {
        font-size: 30px;
    }
}
@media only screen and (max-width: 950px), only screen and (max-height: 430px) {
    #sub_headline h1
    {
        font-size: 25px;
    }
}
@media only screen and (max-width: 650px), only screen and (max-height: 320px) {
    #sub_headline h1
    {
        font-size: 20px;
    }
}
@media only screen and (max-width: 450px), only screen and (max-height: 250px) {
    #sub_headline h1
    {
        font-size: 15px;
    }
}

@media only screen and (max-width: 1100px)
{
    #main_headline_box h1, #sub_headline h1 
    {
        color: yellow;
        opacity: 0.5;
    }    
}

/*second page */

#studio_img {
    width: 48%;
    height: auto;
    float: right;
    margin: 20px;
    pointer-events: none;
}
@media only screen and (max-width: 800px)
{
    #studio_img {
        border-radius: 10px;
        width: 90%;
        clear: left;
        margin-top: 10px;
        margin-bottom: 20px;
    }        
}

#studio_img_color {
    display: none;
    width: 98%;
    clear: left;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 0px;
    box-shadow: 3px 3px 3px rgb(50,50,50);
}        

@media only screen and (max-width: 500px)
{
    #studio_img {
        display: none;
    }        
    #studio_img_color {
        display: inline-block;
    } 
}

/* Content styles */

.font_bigger
{
    font-size: 150%;
}

/* Content */

#content_de
{
    visibility: hidden;
}
#content_en
{
    visibility: hidden;
}

.content_parent{
    position: absolute;
    height: 82%;
    top: 10%;
    left: 10%;
    width: 60%;
    overflow: hidden;
    background-color: rgba(255,255,255,0.8);
    border-radius: 5px;
    box-shadow: 5px 5px 5px rgb(50,50,50);
}

.content_child{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -30px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-left: 10px;
    padding-right: 40px;
    font-family: main_font;
    color: rgb(0, 24, 63);
}
.content_child ul
{
    font-size: 80%;
}
.content_child li
{
    padding-bottom: 10px;
}

@media only screen and (max-width: 500px)
{
    .content_child ul
    {
        font-size: 70%;
        padding-left: 20px;
    }
    .content_child li
    {
        padding-bottom: 7px;
    }    
}

.content_child a {
    color: rgb(0, 24, 63);
}

.content_child p {
    font-size: 80%;
    text-align: justify;
}

@media only screen and (max-width: 1100px)
{
    .content_child p {
        text-align: left;
    }
}

.content_child h1
{
    padding-top: 20px; 
    padding-left: 20px;
    font-size: 125%;
}
@media only screen and (max-width: 500px)
{
    .content_child h1
    {
        font-size: 85%;
        padding-left: 10px;
    }
}

.content_child h2
{
    font-size: 110%;
}

/* services */

.service_tab
{
    font-family: main_font;
    font-size: 90%;
    font-weight: bold;
    white-space: nowrap;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
    color: rgb(100, 0, 0);
}

.service_tab th
{
    text-align: left;
    padding-bottom: 12px;
    padding-left: 30px;
    padding-right: 30px;
}

.service_tab td
{
    text-align: left;
    padding-bottom: 7px;
    padding-left: 35px;
    padding-right: 30px;
}

@media only screen and (max-width: 1260px)
{
    .service_tab
    {
        font-size: 85%;
    }
}
@media only screen and (max-width: 1150px)
{
    .service_tab
    {
        font-size: 80%;
    }    
    .service_tab th
    {
        padding-left: 15px;
        padding-right:10px;
    }
    .service_tab td
    {
        padding-left: 15px;
        padding-right:10px;
    }
}
@media only screen and (max-width: 1050px)
{
    .service_tab
    {
        font-size: 75%;
    }
}

@media only screen and (max-width: 1000px)
{          
    .service_tab th
    {
        padding-left: 10px;
        padding-right: 5px;
    }
    .service_tab td
    {
        padding-left: 10px;
        padding-right: 5px;
    }   
}

@media only screen and (max-width: 950px)
{      
    .service_tab
    {
        white-space: normal;
    }       
}

@media only screen and (max-width: 500px)
{
    .service_tab
    {
        font-size: 60%;
    }
}

/* Impressum */

#impressum_div {
    float: left;
    width: 255px;
}
#impressum_img {
    width: 200px;
    height: auto;
    margin-left: 20px;
    margin-right: 0px;
    margin-top: 30px;
}

#Haftungsausschluss
{
    padding-top: 20px;
    padding-left: 250px;
    padding-right: 0px;
    text-align: left;
}
#Haftungsausschluss p
{
    text-align: justify;
    padding-right: 20px;
}

@media only screen and (max-width: 850px)
{
    #Haftungsausschluss p
    {
        text-align: left;
    }   
}

@media only screen and (max-width: 700px)
{
    #Haftungsausschluss
    {
        float: left;
        width: 100%;
        padding-left: 20px;
    }   
}

@media only screen and (max-width: 550px)
{
    #impressum_div {
        width: 200px;
    }
    #impressum_img {
        width: 150px;
    }
    #Haftungsausschluss {
        padding-top: 10px;    
    }
}

/* Kontakt */

div.contact_div {
    float: left;
    width: 280px;
}
img.contact_img {
    width: 200px;
    height: auto;
    margin-left: 20px;
    margin-right: 0px;
    margin-top: 40px;
    border-radius: 5px;
}
img.contact_img:hover
{
    box-shadow: 5px 5px 5px black;
}

@media only screen and (max-width: 500px)
{
    img.contact_img {
        margin-left: 10px;
        margin-bottom: 20px;
    }
    img.gray_shadow {
        box-shadow: 3px 3px 3px gray; /*show link*/
    } 
    img.black_shadow {
        box-shadow: 3px 3px 3px gray; /*show link*/
    }     
}

div.contact_text_div
{
    margin-top: 40px;
    margin-left: 280px;
    margin-right: 15px;
}
div.contact_text_div p
{
    font-size: 100%;
    text-align: left;
}

@media only screen and (max-width: 920px)
{
    div.contact_text_div
    {
        margin-left: 20px;
        font-size: 90%;
    }
    div.contact_text_div p
    {
        clear: left;
    }      
}

@media only screen and (max-width: 750px)
{
    div.contact_text_div
    {
        margin-top: 0px;
        float: left;
    } 
    div.contact_text_div p
    {
        font-size: 90%;
    }  
}

@media only screen and (max-width: 500px)
{
    div.contact_div {
        float: left;
        width: 70%;
        margin-left: 10px;
    }
    img.contact_img {
        width: 85%
    } 
    div.contact_text_div p
    {
        font-size: 75%;
    }    
}

#content_en.brown_div
{
    opacity: 1; 
    background-color: brown;
}

@media only screen and (max-width: 500px)
{
    #content_en.brown_div
    {
        opacity: 0.8;
        background-color: white;        
    }
}
#content_de.brown_div
{
    opacity: 1; 
    background-color: brown;
}

@media only screen and (max-width: 500px)
{
    #content_de.brown_div
    {
        opacity: 0.8;
        background-color: white;        
    }
}

#contact_back_img_div
{
    position: absolute;
    left: -1%;
    bottom: -1%;
    width: 102%;
    height: 102%;
}
#contact_back_img
{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    transform: translateY(-50%);
    opacity: 0.25;
    transition: opacity 2s;
}
@media only screen and (max-width: 500px)
{
    #contact_back_img
    {
        opacity: 0;
    }   
}

#AGB_link
{
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    padding: 5px;
    color: black;
}

#AGB_link.gray_box
{
    box-shadow: 2px 2px 2px gray;
}
#AGB_link.black_box
{
    box-shadow: 2px 2px 2px rgb(0, 24, 63);
}
@media only screen and (max-width: 500px)
{
    #AGB_link.black_box
    {
        box-shadow: 2px 2px 2px gray;
    }
}

#AGB_link:hover
{
    box-shadow: 5px 5px 5px rgb(40,40,40);
}

p.p_white
{
    color: white;
    transition: opacity 2s, color 2s;
}
@media only screen and (max-width: 500px)
{
    p.p_white
    {
        color: black;
    }
}

#AGB_link.a_white
{
    color: white;
    transition: opacity 2s, color 2s;
}
@media only screen and (max-width: 500px)
{
    #AGB_link.a_white
    {
        color: black;
    }
}

/* Referenzen */

.ref_text
{
    width: 30%; 
    opacity: 0.8; 
    background-color: white;
}
@media only screen and (max-width: 500px)
{
    .ref_text
    {
        left: 6%;
        width: 32%; 
    }
}

p.p_ref_head
{
    font-family: handwriting_font;
    font-size: 20px;
    text-align: left;
}

p.p_ref
{
    font-family: handwriting_font;
    font-size: 16px;
    text-align: right;
}

.ref_box
{
    position: absolute;
    height: 82%;
    top: 10%;
    left: 45%;
    width: 25%;
    min-width: 130px;
    overflow: hidden;
    background-color: rgba(255,150,150,0.4);
    border-radius: 5px;
    box-shadow: 0px 0px 10px black;
}

.ref_record
{
    box-sizing: border-box;    
    border-radius: 5px;
    width: 60%;
    margin-left: 20%;
    margin-top: 15px;
    margin-bottom: 15px;
    box-shadow: 5px 5px 5px rgb(40,40,40); 
    opacity: 0.85;
    pointer-events: none;
}

@media only screen and (max-width: 580px)
{
    .ref_box   
    {
        width: 15%;
    }    
    .ref_record
    {
        width: 85%;
        margin-left: 7.5%;
    }
}
@media only screen and (max-width: 500px)
{
    .ref_box {
        left: 40%;
    }
    .ref_record {
    box-shadow: none;
    }
}
