:root{
    --big-font-size: 4em;
    --small-font-size: 1.3em;
    --even-bigger-font-size: 14em;
}

/* unvisited link  */
a:link {
    color:#000;
    text-decoration: none;
}  
/* visited link    */
a:visited {color:#000;}  
/* mouse over link */
a:hover {
    color:#000;
    text-decoration: underline;
} 
/* selected link   */ 
a:active {color:#000;}  

.wrapper{
    font-family: 'Kantumruy Pro', sans-serif;
}

@keyframes fadeInUp {
    0% { 
        opacity: 0;
        transform: translateY(20px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}


.titlelogo {
    width: 80%;
    padding-right: 19%;
    padding-left: 1%;
    height: 150pt;
    display: flex;
}
  
.titlelogo img{
    height: 3em;
    margin-top: 1em;
    position: fixed;
}

.titleref{
    display: inline-block;
    position: relative;
    z-index: 1;
    padding: 2em;
    margin: -2em;
}

.headwriting{
    font-size: var(--big-font-size);
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 105%;
    transform: translateY(20px);
    animation: fadeInUp 2s forwards;
}

.aveniranalysis{
    font-size: var(--small-font-size);
    letter-spacing: 0.01em;
    line-height: 1.3em;
    margin-left: 15%;
    margin-top: 60%;
}
.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 70%;
    padding-right: 15%;
    padding-left: 15%;

}
  
.column{
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
    padding-left: 0.2em;
    padding-right: 0.2em;
}

.apic{
    height: 100%;
}

.apic img{
    width: 100%;
}

.apic1{
    margin-bottom: 0.5em;
}
.apic1 img{
    height:60%;
    
}
.apic2{
    margin-top: 40%;
}
.apic3{
    margin-top: -50%;
}
.apic4{
}
.apic5{
    margin-top: -50%;
}
.apic6{
}
.apic7{
    margin-top: -50%;
}
.apic8{
}
.apic9{
    margin-top: -50%;
}
.apic10{
}
.apic11{
    margin-top: -50%;
}
.apic12{
}
.apic13{
    margin-top: -50%;
}



.sidenav{
    width: 70%;
    height: 40px;
    transform-origin: top left;
    position: fixed;
    left: 0;
    top: 100%;
    transform: rotate(-90deg);
    margin-left: 1%;
}


.sidenav a{
    padding-left: 3em;
}



.footend{
    width: 70%;
    padding-right: 15%;
    padding-left: 15%;
}

.footline{
    margin-top: 10%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 2px;
    background: black;
}

.madeby{
    font-size: 0.7em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 5em;
    letter-spacing: 0.05em;
}

.datenschutz{
    padding-top: 1%;
}

.bottomstuff{
    padding-top: 1%;
}

/* MEDIA QUERIES IPHONE 14 */
@media screen and (max-width: 800px) {

    .titlelogo {
        width: 60%;
        padding-right: 19%;
        padding-left: 2%;
        height: 95pt;
        display: flex;
    }
      
    .titlelogo img{
        height: 2.5em;
        margin-top: 1em;
        position: fixed;
    }
  

    .headwriting{
        font-size: 2.2em;
        font-weight: 600;
        letter-spacing: 0.1em;
        line-height: 118%;
        
        margin-right: auto;
        padding-right: 10%;
        text-align: left;
    }

    .analysis {
    }

    .avenirheader{

        text-align: left;
    }


    #avenir_head_row{
    
       
        justify-content: left;
        align-items: flex-start;
    
    }


    .aveniranalysis{
        font-size: 1.1em;
        letter-spacing: 0.01em;
        line-height: 1.3em;
        margin-left:auto;
        margin-top: auto;
        margin-right: auto;
        padding-right: 10%;
        width: auto;
        margin-bottom: 5em;
    }

    .row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 95%;
        padding-right: 2.5%;
        padding-left: 2.5%;
    
    }

    .apic{
        margin-top: auto;
        width: 100%;
    }

    .apic1{
        margin-bottom: 0em;
        padding-bottom: 0.2em;
    }

    .apic1 img{
        height: 100%;
    }

    .avenir_pics_wrapper{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .row{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-right: auto;
        margin-left: auto;
        width: auto;
    }

    .column{
        display: flex;
        flex-direction: column;
        flex-basis: 100%;
        flex: 1;
        padding-left: 0em;
        padding-right: 0em;
    }


    .emptypic{
        margin-bottom: 3em;
    }

    .sidenav{
        display: none;
    }
    
    
    .sidenav a{
        display: none;
    }


    .footend{
        width: 95%;
        padding-left: 2.5%;
        padding-right: 2.5%;
    }

    .footline{
        margin-top: 20%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        height: 2px;
        background: black;
    }

    .madeby{
        font-size: 1em;
        letter-spacing: 0.06em;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        padding-bottom: 3em;
        margin-top: 1em;
        line-height: 1.5em;
    }
    
    
}