
/* Smartphone */

body{
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: black;
}
.grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    margin: auto;
}
#navi{
    padding: 0;
}

nav ul{
    flex-wrap: wrap;
    display:flex;
    padding-left:0;
    list-style-type: none;
    margin-bottom: 20px;
    margin-left: 0px;
    align-items: baseline;
    padding-left: 40px;
    padding-right: 40px;
}
nav ul li:nth-of-type(1){
    width: 100%;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top:100px;
}
   
nav ul li:nth-of-type(2){
    width: 82px;
    padding-right: 10px;
    
}
nav ul li:nth-of-type(3){
    width: 145px;
    padding-right: 7px;
}
nav ul li:nth-of-type(4){
    width: 64px;
    padding-right: 20px;
}
nav ul li:nth-of-type(5){
    width: 55px;

}

nav ul li.current a:hover {
    color:black;
    
}
nav ul li.current a:hover {
    color:black;
    
}
nav ul li.current span:hover {
    color:black;
    
}
nav ul li.current a{
    font-weight: 400;
    color: black;
    
}
nav ul li.current span {
    font-weight: 400;
    color: black;
    
}
nav ul li a span:hover {
    color: rgb(82, 188, 255); 
    
   
}
nav ul li a:hover {
    color: rgb(82, 188, 255);
    

}

nav ul li a{
    font-family: 'Roboto', sans-serif;
    color: black;
    text-decoration: none;
    font-weight: 100;
    font-size: 1em;
    margin:0;
    
}
nav span{
    font-weight:100;
    font-size: 2em;
}

div{
    grid-column: 1/-1;
    padding-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    color: black;
    text-decoration: none;
    font-weight: 100;
    font-size: 1em;
    margin:0;
    line-height: 140%;
    letter-spacing: 0.05rem;
    padding-left: 40px;
    padding-right: 40px;
}
.bio{
    padding-left: 0px;
} 
h1,h2{
    grid-column: 1/-1;
    
}

figure img{
    max-width: 100%;
    display: block;
    border: 01px solid rgba(0, 0, 0, 0.10);
    box-sizing:border-box;
    
}
#potraitmarkus{
    padding-left: 50px;
    padding-right: 50px;
	padding-bottom: 50px;
}

section{
    
    justify-content: flex-start;
    padding-bottom: 40px; 
    padding-left: 40px;
    padding-right: 40px;
}

h2{
    font-family: 'Roboto', sans-serif;
    font-size: 1.5em;
    padding-right: 100px;
    
}
p{
    font-family: 'Roboto', sans-serif; 
    font-size: 1.0em;
    grid-column: span 5;
}

figure{
    grid-column: span 2;
    margin: 0;
    
}

figure img{
    
    width: 100%;
}

figure{
    margin: 0;
    position: relative;
    grid-column: span 2;
    overflow: hidden;
    
}
figcaption h3{
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
    font-size: 0.9rem;
    
    
}
figcaption p{
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1.4rem;
    
    
}
figcaption{
    position: absolute;
    background-color: rgba(255, 255, 255, 0.98);
    
    top: 7.5%;
    left: 7.5%;
    height: 80%;
    width: 80%;
    
    opacity: 0;
    
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
    
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
    padding-left: 10px;
    
}
figure:hover figcaption{
    opacity: 1; 
    transition: all 0.5s;
    
}
figcaption a{
    position: absolute;
    right: 0;
    top: 0;
    padding-right: 20px;
    padding-top: 20px;
    padding-left: 190px;
    padding-bottom:190px;
    border: none;
    
    
}
div img{
    padding-top: 30px;
}
figcaption img{
    border:none;
}
#potraitmarkus{
    padding-left: 50px;
    padding-right: 50px;
	padding-bottom: 50px;
}
#potraitmarkus{
    grid-column: span 4;
    border: none;}

footer{
    grid-column: 1/-1;
    display: flex;
    justify-content: center;
    font-size: 1rem;
    font-weight: 100;
    text-align: center;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 100px;
}


/* Tablet+ Desktop */

@media (min-width:768px){
    /* CSS Funktion: Eigenschaften in diesem Block werden nur angezeigt, wenn Browserfenster mindestens 768px breit */
    
    .grid{
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 20px;
    }
section#navi{
    display:block;
    padding:0;
        
    }     
div.smart{
    display: none;
    padding:0;
    
    }  
    
nav ul{
    flex-wrap: nowrap;
    display:flex;
    padding-left:0;
    list-style-type: none;
    margin-bottom: 20px;
    margin-left: 0px;
    align-items: baseline;
    padding-left: 40px;
    padding-right: 40px;
}
nav ul li:nth-of-type(1){
    width: 100px;
    padding-right:20px;
    padding-bottom: 20px;
    padding-top:100px;
}
   
nav ul li:nth-of-type(2){
    width: 98px;
    padding-right: 10px;
    
}
nav ul li:nth-of-type(3){
    width: 145px;
    padding-right: 7px;
}
nav ul li:nth-of-type(4){
    width: 64px;
    padding-right: 20px;
}
nav ul li:nth-of-type(5){
    width: 55px;

}

nav ul li.current a:hover {
    color:black;
    
}
nav ul li.current a:hover {
    color:black;
    
}
nav ul li.current span:hover {
    color:black;
    
}
nav ul li.current a{
    font-weight: 400;
    color: black;
    
}
nav ul li.current span {
    font-weight: 400;
    color: black;
    
}
nav ul li a span:hover {
    color: rgb(82, 188, 255); 
    
   
}
nav ul li a:hover {
    color: rgb(82, 188, 255);
    

}

nav ul li a{
    font-family: 'Roboto', sans-serif;
    color: black;
    text-decoration: none;
    font-weight: 100;
    font-size: 1em;
    margin:0;
    
}
nav span{
    font-weight:100;
    font-size: 2em;
}
    
p{
    grid-column: span 8; 
}
    
div{
    grid-column: span 8;
    padding-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    color: black;
    text-decoration: none;
    font-weight: 300;
    font-size: 1em;
    margin:0;
    line-height: 140%;
    padding-right: 40px;
}
    
figure{
    margin: 0;
    position: relative;
    grid-column: span 2;
    overflow: hidden;
    
}
figcaption h3{
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
    font-size: 0.9rem;
    
    
}
figcaption p{
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1.4rem;
    
    
}
figcaption{
    position: absolute;
    background-color: rgba(255, 255, 255, 0.98);
    
    top: 7.5%;
    left: 7.5%;
    height: 80%;
    width: 80%;
    
    
    opacity: 0;
    
    
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
    
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
    padding-left: 10px;
    
}
figure:hover figcaption{
    opacity: 1; 
    transition: all 0.5s;
    
}

/* Desktop */

@media (min-width:1024px){
    /* CSS Funktion: Eigenschaften in diesem Block werden nur angezeigt, wenn Browserfenster mindestens 1024px breit */
 
    .grid{    
    display:grid;    
    grid-template-columns: repeat(12, 1fr);        
    max-width: 1180px;
    grid-gap: 20px;
}
    header.grid{
    display: flex;
    align-items: baseline;
    padding-right: 40px;
    padding-left: 40px;
}

nav ul{
    display:flex;
    list-style-type: none;
    margin-bottom: 40px;
    align-items: baseline;
    margin-left: 0;
    padding-left: 0;
    padding-right: 40px;
    
   
}
nav ul li:nth-of-type(1){
    width: 100px;
    padding-right: 20px;
}
nav ul li:nth-of-type(2){
    width: 98px;
    padding-right: 10px;
}
nav ul li:nth-of-type(3){
    width: 145px;
    padding-right: 7px;
}
nav ul li:nth-of-type(4){
    width: 64px;
    padding-right: 20px;
}
nav ul li:nth-of-type(5){
    width: 55px;

}

nav ul li.current a:hover {
    color:black;
    
}
nav ul li.current span:hover {
    color:black;
    
}
nav ul li.current a{
    font-weight: 400;
    color: black;
    
}
nav ul li.current span {
    font-weight: 400;
    color: black;
    
}
nav ul li a span:hover {
    color: rgb(82, 188, 255); 
    
   
}
nav ul li a:hover {
    color: rgb(82, 188, 255);
    

}


nav ul li a{
    font-family: 'Roboto', sans-serif;
    color: black;
    text-decoration: none;
    font-weight: 100;
    font-size: 1em;
    margin:0;
    
}
nav span{
    font-weight:100;
    font-size: 2em;
}

p{
    grid-column: span 12; 
    padding-left: 0px;
    padding-right: 40px;

}   
    
body{margin: 0}


header{
    padding-bottom: 10px;
    padding-left: 40px;
    padding-right: 40px;
}
    
section.grid{
    padding-left: 40px;
    padding-right: 40px;
    }    
figure{
    margin: 0;
    position: relative;
    grid-column: span 3;
    overflow: hidden;
    
}
figcaption h3{
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
    font-size: 1rem;
    
    
}
figcaption p{
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 1.4rem;
    
    
}
figcaption{
    position: absolute;
    background-color: rgba(255, 255, 255, 0.98);
    
    top: 7.5%;
    left: 7.5%;
    height: 80%;
    width: 80%;
    
    
    opacity: 0;
    
    
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    flex-direction: column;
    
    border: 0.5px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
    padding-left: 10px;
    
}
figure:hover figcaption{
    opacity: 1; 
    transition: all 0.5s;
    
}

 
    
    
}

/* UHD Desktop */

@media (min-width:2048px){
    /* CSS Funktion: Eigenschaften in diesem Block werden nur angezeigt, wenn Browserfenster mindestens 1024px breit */
    
    .grid{
        grid-template-columns: repeat(16, 1fr);
        max-width: 1440px;
        margin: auto;
    }
    
    
}

