@import url('https://fonts.googleapis.com/css?family=Questrial');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Questrial', sans-serif;
    font-weight: 400;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

a:link {
    text-decoration: none;
    color: black;
}

a:hover {
    color: black;
}

a:visited {
    text-decoration: none;
    color: black;
}

.menu {
    position: fixed;
    transition: .3s ease all;
    margin-top: -8px;
}

.menu:hover {
    transform: scale(1.2);
    transition: .3s ease all;
}

.name {
    position: fixed;
    font-size: 1.6rem;
    font-weight: 400;
    height: 23px;
    letter-spacing: 1.5px;
    
}

.grey{
    color: #dbdbdb;
}
.navi-about{
    background-color: white;
}

#wrapper .text {
    color: white;
    background: linear-gradient(to right,  #000000 0%,#000000 88%,#ffffff 50%,#ffffff 100%);

        visibility: hidden;
    position: fixed;
    width: 229px;
    height: 28px;
    font-size: 1.4em;
    padding: 3px 19px 0px 5px;
    text-align: left;
    letter-spacing: 1.5px;
    transition: .2s ease all;
}

#wrapper:hover .text {
    visibility: visible;
}

.container {
    position: relative;
    width: 80%;
    margin: 0 auto;
    max-width: 733px;
}

.bio {
    margin-top: 70px;
    color: #000000;
}

.cv {
    float: left;
    padding-top: 5px;
    margin-right: 20px;
    margin-left: 10px;
    margin-top: 50px;
    transition: .3s ease all;
}

.cv:hover {
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    transition: .3s ease all;
}

p {
    padding-bottom: 10px;
    text-indent: 30px;
    line-height: 1.5;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.col-6-12 {
    float: left;
    width: 50%;
    padding: 15px;
    
}

.col-12-12 {
    float: left;
    width: 100%;
    margin-top: 30px;
    padding: 15px;
    white-space: nowrap;
    position: relative;
    
}

.index-col {
    text-align: right;
    padding-right: 46px;
}

.bilder img {
    height: 600px;
    margin-right: 400px;
}

.bold {
    font-weight: 800;
}

.email {
    font-size: 1.3rem;
    float: right;
    margin-top: 2px;
    font-weight: 800;
    background-color: black;
    color: white !important;
    padding: 3px 5px;
}

.email:hover {
    background-color: white;
    color: black !important;
    border: 1px solid black;
}

.abstand-top {
    margin-top: 20px;
}

.data-inline {
    display: inline-block;
    position: absolute;
    top: 50%;
    -o-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    padding-right: 200px;
}

.data-inline li {
    list-style: none;
    font-size: 1.4rem;
    color: gray;
    line-height: 1.5;
}

.extras a{
    padding: 5px 5px;
/*    background-color: #070707;*/
    color: black;
    border: 1px solid black;
    margin-right: 15px;
   line-height: 2;
  
    
}
.extras a:hover{
      background-color: black;
      color: white;
}

/*-------index-------*/

.container_index {
    margin: 0 auto;
    margin-top: 25px;
    max-width: 750px;
}

.col-4-12 {
    margin: 0 auto;
    float: left;
    height: 150px;
    width: 250px;
    padding: 20px 25px;
}

.filter img {
    width: 100%;
    height: 100%;
    display: block;
}

.filter {
    filter: grayscale(1);
    cursor: pointer;
    transition: ease all 0.3s;
}

.filter:hover {
    filter: grayscale(0);
    cursor: pointer;
}

/*-----------------media queries-----------*/


@media only screen and (max-device-height: 768px) {
    .bilder img {
        height: 550px;
    }
    .abstand-top{
        margin-top: 6px;
    }
}
    
   /*iPhone*/ 
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : portrait){
    .container{
        width: 100%;
        
    }
    .bilder img {
        height: 650px;
    }
    .name {
    font-size: 4rem;
    margin-top: 80px;
    }
    .grey{
    margin-left: -90px;
}
    
    .menu{
    transform: scale(2);
    margin-top: 90px;
        
    }
    .col-12-12 {
    margin-top: 210px;
}
    .bio {
    margin-top: 160px;
    font-size: 2rem;
}
    .cv {
    margin-top: 16px;
    margin-right: 80px;
    transform: scale(2);
 
}
    .email {
    font-size: 2rem !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
  }
    .email_index {
    font-size: 52px !important;
    transform: translate(0px,50px);

}
    .container_index {
    margin-top: 210px;
    margin-left: 35px;
    margin-right: 35px;
    max-width: 1100px;
}
    .col-4-12{
    height: 200px;
    width: 300px;
    padding: 15px 15px;

    }
    .name_index a:link {
    color: #cbcaca;
}
    .data-inline li {
    font-size: 2.3rem;
    color: gray;
    line-height: 1.5;
}
}
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : landscape){
    .bilder img {
        height: 300px;
        margin-top: 0px;
    }
    .name {
    font-size: 2rem;
    margin-top: -30px;
}
    .menu{
        transform: scale(1.5);
        margin-top: -40px;
        
    }
    .col-12-12 {
    margin-top: 3px;
    padding: 15px;
    white-space: nowrap;
    position: relative;
}
    .bio {
    margin-top: -30px;
    transform: translate(0px,-19px);
}
    .cv {
    margin-top: 0px;
    transform: translate(0px,-17px);
}
    .fa {
    margin-top: -1px;
    transform: translate(0px,-17px);
}
    .email {
    font-size: 24px !important;
    text-decoration: underline !important;
}
    .email_index {
    transform: translate(0px,-160px);
    font-size: 44px !important;
}
    .container_index {
    margin: 0 auto;
    transform: translate(0px,-120px);
    max-width: 750px;
}
   
}

/*iPad 3&4 Retina*/

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 2) {
     .bilder img {
        height: 500px;
        margin-top: 15px;
    }
    .container_index {
    margin-left: 35px;
    margin-right: 35px;
    max-width: 1100px;
}

}
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 2) {
     .bilder img {
        height: 650px;
        margin-top: 50px;
    }
    .container{
        width: 100%;
        margin-top: 100px;
        
    }
    .bio{
        font-size: 1.6rem;
        line-height: 1.6;
        
    }
    .container_index {
    margin-top: 100px;
    margin-left: 115px;
    margin-right: 35px;
    max-width: 1100px;
}
     .email {
    font-size: 1.6rem !important;
  }

}
