main{
    height: 75%;
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

main #inner{
    position: absolute;
    right: 0;
    bottom: 0;
    
    width: 50%;
    height: auto;
    padding: 1%;
    background-color: rgba(51, 145, 189, 0.7);
    font-size: calc(6pt + 0.4vw);
    
    white-space: pre-wrap;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
main #outer{
    position: relative;
    width: 100%;
    height: 37vw;
    max-height: 770px;
    overflow: hidden;
    
    color: white;
    background-image: url("res/ueberuns.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: right;
}
main #inner b{
    background-color: transparent;
}
main #infoheadline{
    background-color: transparent;
    font-size: calc(12pt + 1vw);
}

main #pic{
    min-height: 400;
    height: 98%;
    margin-bottom: 5%;
    display: flex;
    align-items: center;
    
    background-color: #b0b0b0;
    background-image: url("res/uwe-herm.png");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right bottom;
}
main #pic p{
    padding: 1%;
    margin-left: 18%;
    float: left;
    
    background-color: transparent;
    font-size: calc(20pt + 2vw);
    font-weight: bold;
    color: white;
}
main #teamheadline{
    color: black;
    font-size: calc(18pt + 2vw);
    font-weight: bold;
    text-align: center;
    margin: 4% 0;
}
main #businesscards{
    color: white;
    display: grid;
    grid-template-columns: 32% 32% 32%;
    grid-column-gap: 2%;
    grid-row-gap: 5%;
    box-sizing: border-box;
    
    width: 70%;
    height: 60%;
    margin: 5% 15%;
}
main #businesscards .card{
    width: 100%;
    height: auto;
    min-height: 120px;
    min-width: 220px;
    padding: 7% 5%;
    box-sizing: border-box;
    
    font-size: calc(8pt + .4vw);
    line-height: 1.3em;
    border-radius: 1px;
}
main #businesscards .top{
    background-color: #77a6c7;
}
main #businesscards .center{
    background-color: #437ba3;
}
main #businesscards .bottom{
    background-color: #345f7f;
}

#impressum{
    height: 77%;
    display: flex;
    align-items: center;
    
    background-image: url("res/impressum.png");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right;
}
main #textimpressum{
    width: 45%;
    height: auto;
    padding: 4%;
    margin-left: 7%;
    
    background-color: rgba(255, 255, 255, 0.8);
    font-size: calc(7pt + 0.4vw);
    
    white-space: pre-wrap;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
main #textimpressum b{
    font-size: calc(9pt + 0.4vw);
}

main #datenschutz{
    width: 70%;
    height: auto;
    padding: 2%;
    margin: 0 auto;
    margin-top: 5%;
    box-sizing: border-box;
    
    font-size: calc(6pt + 0.5vw);
    line-height: 1.3;
    
    white-space: pre-wrap;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
main #datenschutz a{
    color: cornflowerblue;
}
main #datenschutz a:visited{
    color: cornflowerblue;
}
main .list{
    list-style-position: outside;
    margin-left: 3%;
}

/* Slideshow Portfolio */
main #slideshow{
    max-height: 1300px;
    max-width: 1920px;
    margin: 0 auto;
    margin-bottom: 2%;
    text-align: center;
}
main #slideshow .divSlides {
	display: none;
    max-height: 730px;
    overflow: hidden;
    position: relative;
}
main #slideshow .divSlides img{
    width: 100%;
    height: auto;
    max-width: 1920px;
    max-height: 800px;
    z-index: -1;
}
main #slideshow .slideshow-container {
	width: 100%;
	position: relative;
	margin-bottom: 0.1%;
}
main #slideshow .caption{
    display: block;
    width: auto;
    height: auto;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 0.4% 2%;
    z-index: 0;
    
    color: white;
    background-color: rgba(112,112,112,0.9);
    font-size: calc(8pt + 0.4vw);
    text-align: center;
}
main #slideshow .dots {
	display: inline-block;
    width: 1.5%;
    height: 1.1%;
    margin: 0.4% 3px;
    
    line-height: 20px;
    border: 1pt solid #3392bd;
    border-radius: 20%;
    cursor: pointer;
    background-color: #3392bd;
	
	transition: background-color 0.5s ease;
}
main #slideshow .active, .dots:hover {
	background-color: white;
}

/*Slider Home*/
main #homeslideshow{
    width: 100%;
    max-width: 1920px;
    max-height: 800px;
    margin: 0 auto;
    text-align: center;
}
main #homeslideshow .divSlides {
	display: none;
    max-height: 750px;
    overflow: hidden;
}
main #homeslideshow .divSlides img{
    width: 100%;
    height: auto;
    max-width: 1920px;
    max-height: 800px;
}
main #homeslideshow .caption {
    display: block;
    width: 30%;
    height: auto;
    position: relative;
    float: left;
    top: -20vw;
    padding: .6em;
    
    color: white;
    font-size: calc(1em + 2vw);
    font-weight: bold;
    text-align: center;
    background: rgba(51, 146, 189,0.7);
}

header{
    background-color: white;
    min-height: 160px;
    max-height: 300px;
    height: 18%;
    padding: 0.5%;
    display: block;
}
header img{
    width: 25%;
    height: auto;
    min-width: 30px;
    min-height: 20px;
    margin: 1.1% 37.5%;
}
header nav{
    background-color: inherit;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    vertical-align: bottom;
    margin-bottom: 1%;
}
header nav ul{
    background-color: inherit;
    padding: 0;
    margin: 0 auto;
    align-items: center;
}
nav ul li{
    background-color: inherit;
    position: relative;
    float: left;
    list-style: none;
}
nav ul li a{
    background-color: inherit;
    display: block;
    padding: 5px 20px;
    box-sizing: border-box;
    color: black;
    text-decoration: none;
    font-family: arial;
}

footer{
    background-color: #3392bd;
    width: 100%;
    height: 3%;
    min-height: 15px;
    max-height: 35px;
    padding: 0.3%;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer p{
    background-color: inherit;
    margin: 0 auto;
    color: white;
    font-size: calc(5pt + 0.4vw);
    text-align: center;
    
    white-space: pre-wrap;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

body{
    height: 100%;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}
* {
    background-color: white;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    font-family: arial;
    text-transform: lowercase;
}

@media screen and (min-width: 1921px){
    main #datenschutz{
        font-size: 1.2em;
    }
    main #businesscards .card{
        font-size: 1.2em;
    }
    main #slideshow .caption{
        font-size: 1.1em;
    }
    main #homeslideshow .caption{
        font-size: 3.5em;
        top: -350px;
    }
}
@media screen and (max-width: 1500px){
    main #pic p{
        margin-left: 13%;
    }
}
@media screen and (max-width: 1200px){
    main #pic{
        height: 90%;
    }
    main #pic p{
        margin-left: 5%;
        max-width: 35%;
    }
    main #businesscards{
        width: 80%;
        margin: 5% 10%;
    }
    header img{
        width: 35%;
        margin: 2% 33%;
    }
}
@media screen and (max-width: 900px){
    main #inner{
        font-size: calc(5pt + 0.5vw);
    }
    main #outer{
        height: 50vw;
        background-size: 125% auto;
    }
    main #infoheadline{
        font-size: calc(10pt + 0.9vw);
    }
    main #pic{
        background-size: auto 85%;
        min-height: 200;
    }
    main #pic p{
        margin-left: 5%;
        max-width: 30%;
        font-size: calc(10pt + 2vw);
}
    main #businesscards{
        width: 70%;
        height: auto;
        min-height: 85%;
        margin: 5% 15%;
        margin-bottom: 15%;
        
        grid-template-columns: 45% 45%;
        grid-column-gap: 10%;
        grid-row-gap: 5%;
    }
    main #businesscards .card{
        height: auto;
        min-width: 200px;
        min-height: 110px;
        padding: 7% 5%;
        font-size: calc(8pt + .4vw);
    }
    main #textimpressum{
        width: 80%;
        font-size: calc(8pt + 0.4vw);
    }
    main #slideshow .caption{
        font-size: calc(7pt + 0.3vw);
    }
    main #homeslideshow .caption {
        font-size: calc(0.6em + 2vw);
    }
    header img{
        width: 40%;
        margin: 2.5% 30%;
    }
    nav ul li a{
        font-size: calc(8pt + 0.5vw);
    }
}
@media screen and (max-width: 600px){
    main #inner{
        font-size: calc(5pt + 0.2vw);
    }
    main #infoheadline{
        font-size: calc(8pt + 0.8vw);
    }
    main #pic{
        background-size: 70% auto;
        max-height: 330px;
        margin-bottom: 20%;
    }
    main #pic p{
        max-width: 20%;
    }
    main #businesscards{
        width: 60%;
        height: auto;
        min-height: 85%;
        margin: 5% 20%;
        margin-bottom: 15%;
        display: block;
    }
    main #businesscards .card{
        height: auto;
        min-width: 200px;
        min-height: 110px;
        margin: 5% 0;
        padding: 7% 5%;
        font-size: calc(8pt + .4vw);
    }
    main #datenschutz{
        width: 80%;
    }
    main #slideshow .dots{
        width: 1.4%;
        height: 1%;
        margin: 0.4% 2px;
        line-height: 18px;
    }
    header{
        min-height: 110px;
        height: 15%;
    }
    header img{
        width: 60%;
        margin: 2.5% 20%;
    }
    nav ul li a{
        padding: 3px 6px;
        font-size: 0.6em;
    }
}
@media screen and (max-width: 800px) and (orientation: landscape){
    main #pic{
        background-size: auto 100%;
        height: 90%;
        max-height: 550px;
    }
    #impressum{
        height: 120%;
        min-height: 400px;
    }
}