.page-template-template-blog, .page-template-template-services, .page-template-template-work {
    opacity: 0;
    animation-name: linkfade;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

.big-title {
    font-size: 8.626rem;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    font-weight: 500;
}

.body-text {
    font-size: 4.750rem;
    -webkit-font-smoothing: antialiased;
    line-height: 1.32;
    font-weight: 400;
}

.start-links-wrapper {
    display: flex;
    flex-direction: row;
}

.start-links-wrapper a {
        text-decoration: underline;
}

.evil {
    color: #9999FF;
}

@keyframes strike{
    0%   { width : 0; opacity: 0; }
    1%  {opacity: 1;}
    100% { width: 100%; opacity: 1;}
  }
  .strike {
    position: relative;
  }
  .strike::after {
    opacity: 0;
    animation-delay: 2s;
    content: ' ';
    position: absolute;
    top: 60%;
    left: 0;
    width: 100%;
    height: 0.3rem;
    background: #9999FF;
    animation-name: strike;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards; 
    animation-timing-function: ease-in;
  }


.start-links-left {
    font-size: 3.6rem;
    font-weight: 400;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a.good:hover {
    transform: scale(1.035);
    opacity: 1 !important;
}

.start-links-right {
    font-size: 3.6rem;
    font-weight: 400;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    padding-left: 10rem;
    -webkit-font-smoothing: antialiased;
}

#dvd {
    opacity: 0;
    width: 33.972rem;
    height: 16.864;
    position: absolute;
    mix-blend-mode: difference;
    top: 0;
    left: 0;
    z-index: 999999;
    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 1s; /* Firefox < 16 */
    -ms-animation: fadein 1s; /* Internet Explorer */
    -o-animation: fadein 1s; /* Opera < 12.1 */
    animation: fadein 1s;
    animation-delay: 2.5s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards; 
    animation-timing-function: ease-in;

    }

    
    @keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    
    /* Firefox < 16 */
    @-moz-keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    
    /* Safari, Chrome and Opera > 12.1 */
    @-webkit-keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    
    /* Internet Explorer */
    @-ms-keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
    }
    
    /* Opera < 12.1 */
    @-o-keyframes fadein {
        from { opacity: 0; }
        to   { opacity: 1; }
}

.start-links-left :nth-child(1) {
    opacity: 0;
    animation-delay: 1s;
    animation-name: linkfade;
    animation-duration: 0.1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

.start-links-left :nth-child(2) {
    opacity: 0;
    animation-delay: 1.05s;
    animation-name: linkfade;
    animation-duration: 0.1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

.start-links-left :nth-child(3) {
    opacity: 0;
    animation-delay: 1.1s;
    animation-name: linkfade;
    animation-duration: 0.1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

.start-links-left :nth-child(4) {
    opacity: 0;
    animation-delay: 1.15s;
    animation-name: linkfade;
    animation-duration: 0.1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

.start-links-left :nth-child(5) {
    opacity: 0;
    animation-delay: 1.2s;
    animation-name: linkfade;
    animation-duration: 0.1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

.start-links-right :nth-child(1) {
    opacity: 0;
    animation-delay: 1.25s;
    animation-name: linkfade;
    animation-duration: 0.1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

.start-links-right :nth-child(2) {
    opacity: 0;
    animation-delay: 1.3s;
    animation-name: linkfade;
    animation-duration: 0.1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

.start-links-right :nth-child(3) {
    opacity: 0;
    animation-delay: 1.35s;
    animation-name: linkfade;
    animation-duration: 0.1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

.start-links-right :nth-child(4) {
    opacity: 0;
    animation-delay: 1.4s;
    animation-name: linkfade;
    animation-duration: 0.1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

.start-links-right :nth-child(5) {
    opacity: 0;
    animation-delay: 1.45s;
    animation-name: linkfade;
    animation-duration: 0.1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}


  @keyframes linkfade {
    from { opacity: 0;}
    to { opacity: 1; }
}

.evil {
    color: #808080;
}

.strike {
    position: relative;
}
.strike::after {
    opacity: 0;
    animation-delay: 2s;
    content: ' ';
    position: absolute;
    top: 60%;
    left: 0;
    width: 100%;
    height: 0.3rem;
    background: #808080;
    animation-name: strike;
    /*-webkit-animation: strike 0.5s; /* Safari, Chrome and Opera > 12.1 */
    /*-moz-animation: strike 0.5s; /* Firefox < 16 */
    /*-ms-animation: strike 0.5s; /* Internet Explorer */
    /*-o-animation: strike 0.5s; /* Opera < 12.1 */
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-iteration-count: 1;
    animation-fill-mode: forwards; 
    animation-timing-function: ease-in;
}

  @keyframes strike{
    0%   { width : 0; opacity: 0; }
    1%  {opacity: 1;}
    100% { width: 100%; opacity: 1;}
  }
      /* Firefox < 16 */
      @-moz-keyframes strike {
        0%   { width : 0; opacity: 0; }
        1%  {opacity: 1;}
        100% { width: 100%; opacity: 1;}
    }
    
    /* Safari, Chrome and Opera > 12.1 */
    @-webkit-keyframes strike {
        0%   { width : 0; opacity: 0; }
        1%  {opacity: 1;}
        100% { width: 100%; opacity: 1;}
    }
    
    /* Internet Explorer */
    @-ms-keyframes strike {
        0%   { width : 0; opacity: 0; }
        1%  {opacity: 1;}
        100% { width: 100%; opacity: 1;}
    }
    
    /* Opera < 12.1 */
    @-o-keyframes strike {
        0%   { width : 0; opacity: 0; }
        1%  {opacity: 1;}
        100% { width: 100%; opacity: 1;}
}
.page-template-template-services .menu-padder, .page-template-template-startpage .menu-padder {
    /* padding-top: 4rem; */
}

.page-template-page-startpage #title-bar {
    /* display: none; */
    text-align: right;
    display: none;
}

.page-template-page-startpage #page {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    /* min-height: 100vh; */
    top: 0;
    /* bottom: 0; */
    z-index: 2;
    align-items: center;
    /* margin-top: 15rem; */
    justify-content: left;
}

.page-template-page-startpage #menu {
    position: absolute;
    /* display: none; */
}

.page-template-page-startpage canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: none;
    /* display: none; */
    z-index: 1;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.page-template-page-startpage #frontpage-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 7rem;
    z-index: 100;
}

.page-template-page-startpage h1.startpage-title {
    opacity: 0;
    font-size: 8.626rem;
    padding: 0;
    margin: 11.876rem 0 10rem 0;
    font-family: 'Apfel Grotezk', sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.02rem;
    padding-top: 0;
    line-height: 1.16;
    width: 100%;
    text-align: left;
    /* color: yellow; */
    animation-name: linkfade;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-fill-mode: forwards;
}

.page-template-page-startpage #menu {
    opacity: 0;
    transition: none;
}
.page-template-page-startpage .menu-logo {
    display: none;
    /* text-align: right; */
}
.page-template-page-startpage #frontpage-footer {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.page-template-page-startpage.webgl-loaded #menu {
    opacity: 1;
    /* mix-blend-mode: difference; */
}
.page-template-page-startpage.webgl-loaded #frontpage-footer {
    opacity: 1;
}

.main-title button {
    font-size: 2.5rem;
}

.page-template-page-startpage #menu.visited {
    opacity: 1 !important;
}





@media (max-width:  1440px) {
    body,html {
        font-size: 8px;
    }
}
@media (min-width: 1700px){
    body,html {
        font-size: 11px;
    }
}
@media (min-width: 2000px){
    body,html {
        font-size: 12px;
    }
}
@media (min-width: 2300px){
    body,html {
        font-size: 13px;
    }
}

@media (max-width:  1080px) {
    body,html {
        font-size: 7px;
    }
    .browser-image::before {
        width: 100%;
    }
    .browser-image img {
        max-width: 100%;
    }
    .about-br {
        display: none;
    }

    
}

/* ipad and below */
@media (max-width:  768px) {

    section {
        margin-top: 15%;
    }

    .about-br {
        display: none;
    }

    .about .space {
        display: none;
    }

    .flex-cont {
        padding: 0 0 0 0;
    }

    #dvd {
        opacity: 0;
        width: 20rem;
        height: 12.5rem;
    }

    .post-tags {
        margin-top: 1rem;
        font-size: 3rem;
        font-weight: 300;
        font-family: 'ApfelGrotezk-Regular', sans-serif;
        margin-bottom: 1em;
        -webkit-font-smoothing: auto;
        opacity: 0.6;
        width: 100%;
    }

    .work-text-left {
        width: 100%;
    }

    article {
        margin-bottom: 7rem;
    }

    article:nth-child(1) .work-text-left {
        padding-bottom: 0;
    }

    article:nth-child(2n+1) .work-text-left, article .work-text-left {
        padding-left: 0;
    }

    .page-template-template-work article a {
        font-size: 5rem;
    }

    .page-template-template-services #page {
        top: 13rem !important;
    }

    .page-template-template-blog #page, .page-template-template-work #page {
        /*top: 13rem;*/
        margin-top: 13rem;
        /* position: relative; */
        /* padding-top: 13rem; */
    }
    body,html {
        font-size: 9px;
    }
    .menu-padder {
        padding: 0 2rem;
        /* margin-top: -4rem; */
    }
    #menu {
        padding: 4rem 1.876rem 4rem;
        position: fixed !important;
    }
/*
    .page-template-template-services #menu {
        background-image: linear-gradient(rgba(0,0,255,1), rgba(0,0,255,1), rgba(0,0,255,0));
    }*/

    #menu {
        background-image: linear-gradient(rgba(0,0,0,1), rgba(0,0,0,1), rgba(0,0,0,0));
    }

    .page-template-page-startpage #menu {
        background-image: none;
    }
    
    .page-template-page-startpage #frontpage-footer {
        padding: 4.5rem;
    }
    .start-links-wrapper {
        display: flex;
        flex-direction: column;
    }
    .start-links-right, .start-links-left {
        padding-left: 0;
        font-size: 3rem;
    }
    #menu-select a {
        font-size: 3rem;
    }
    .about {
        max-width: 100%;
    }
    section.about p, section.services p, section.clients p, section.experience p, .experience-place {
        font-size: 3.5rem;
        /* vertical-align: top; */
    }
    .section-title {
        font-size: 3rem;
    }
    .challenge {
        font-size: 5.5rem;
    }
    .morale {
        font-size: 4.5rem;
    }
    .pixel-perfect {
        font-size: 5rem;
    }
    .menu-logo {
        margin: -0.5rem 0 0 0;
        width: 5rem;
    }

    .page-template-template-work .menu-logo {
        margin: -0.5rem 0 0 0;
        width: 5rem;
    }
    .experience-title, .experience-year {
        /*font-family: 'Helvetica', sans-serif;*/
        font-size: 2.5rem;
    }
    .experience-year {
        line-height: 2.1;
        width: 27%;

    }

    .experience-place {
        width: 72%
    }

    /*startpage animation*/

    .strike::after {
        height: 0.2rem;
    }

    /*Footer*/

    .collab-mailto {
        font-size: 5rem;
    }
    .collab .thirds {
        font-size: 3rem;
    }
}

@media (max-width:  600px) {
    body,html {
        font-size: 8px;
    }
}

@media (max-width:  460px) {
    body,html {
        font-size: 7px;
    }
}

@media (max-width:  375px) {
    body,html {
        font-size: 6px;
    }
}