@font-face {
    font-family: Standard-Book;
    src: url("fonts/standard-book.otf");
}
@font-face {
    font-family: Standard-Book-Italic;
    src: url("fonts/standard-bold.otf");
}

/* Animation */ 

@-webkit-keyframes contentFadeIn{
    from { opacity: 0;}
    to { opacity: 100%;}
}

@-webkit-keyframes opacityChange { 
    from{ opacity: 1; }
    to { opacity: 0.1;}
}

@-webkit-keyframes backgroundColorChange{
    from{ background-color: #15207E;}
    to {  background-color: #f6f4ef ;}
}

@keyframes contentFadeIn{
    from { opacity: 0;}
    to { opacity: 100%;}
}

@keyframes opacityChange { 
    from{ opacity: 1; }
    to { opacity: 0.1;}
}

@keyframes backgroundColorChange{
    from{ background-color: #15207E;}
    to {  background-color: #f6f4ef ;}
}

body {
    font-family: Standard-Book, Arial, Helvetica, sans-serif;
    background-color: #f6f4ef;
    text-rendering: optimizeLegibility;
    animation-timing-function: ease-in-out;
    -webkit-font-smoothing: antialiased;
    font-kerning: normal;
    box-sizing: border-box;
    animation-duration: 2s;
    animation-timing-function: ease-in;
}

nav{
    position: fixed;
    z-index: 100;
    top: 160px;
    left: 30%;
    transform: translateX(-30%);
}

.nav{
    font-size: 1.25rem;
    line-height: 1.5rem;
}
/* Page Elements */

#template {
    float: none;
    width: 100%;
    animation: contentFadeIn;
    animation-timing-function: ease-in;
    animation-duration: 2s;
    animation-delay: 2s;
    animation-fill-mode: backwards;
    margin-top: 240px;
}

#clientList{
    display: none;
}

#mobileHeader{
    width: 100%;
}

.projectTemplate{
    width: 90%;
    padding: 0 5%;
    margin-bottom: 100px;
}

.projectImage{
    width: 100%;
    margin-bottom: 40px;
}

.projectText{
    margin-bottom: 24px;
}

.client {
    font-size: 1.5rem;
    line-height: 2rem;
    width: 40%;
    padding: 8px 0;
    margin: 0 2.5%;
    float: left;
    text-align: left;
}

.about { 
    font-size: 2rem;
    line-height: 2.5rem;
    margin-bottom: 40px;
    color: #000;
}
/*Typopgraphy*/

h1 {
    font-family: Standard-Bold, Arial, Helvetica, sans-serif;
    font-size: 2rem;
    line-height: 1.5;
    padding: 16px;
    margin: 8px;
}

h2 {
    font-family: Standard-Bold, Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

h3, p {
    font-family: Standard-Book, Arial, Helvetica, sans-serif;
    color: #000;
    font-size: 1rem;
    line-height: 1.5;
    margin-block-start: 0;
    margin-block-end: 0;
}

a {
    text-decoration: underline;
    color: #000;
}

li{
    list-style: none;
    text-align: center;
    float: left;
    margin: 0 8px;
}

/*IMG*/ 

#header{
    position: fixed;
    width: 90%;
    left: 20px;
    top: 20px;
    z-index: -1;
  }

.svg{
  position: fixed;
  opacity: 0.1;
  width: 80%;
  left: 20px;
  top: 20px;
  z-index: 1;
}

.st0{
   fill: #000;
   opacity: 10%;
}

.amp {
z-index: -2;
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
/*Tablet*/ 

/*Desktop*/ 
@media only screen and (min-width: 1080px) {

    #container{
        margin-top: 120px;
    }

    #backgroundElements{
        z-index: -1;
    }

    #template{
        float: right;
        width: 60%;
    }
    a {
        text-decoration: none;
        font-size: 2rem;
    }

    #header{
        width:80%;
        transform: translateX(20%);
    }
    .svg{ 
        width:90%;
        transform: translateX(20%);
    }
    nav{
        top: 40px;
        left: auto;
        width: 20%;
        transform: translateX(-20%);
        text-align: left;
    }
    .amp {
        width: 500px;
    }

    .nav{
        font-size: 2rem;
        line-height: 2.5rem;
    }

    li {
        float: none;
    }

    .client{
        font-size: 2rem;
        line-height: 2.5rem;
    }
  }