/* Reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, a, img, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
}

:focus {
    outline: 0;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: 400;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: "";
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: inline-block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

.clear {
    clear: both;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
}

.no, .ausblenden {
    display: none;
}

header, section, footer, aside, nav, article, figure {
    display: block;
}

:root {
    --background: #dfdfdf;
    --grey: #f5f5f5;
    --light: #fbfbfb;
    --typo-hell: #050505;

    --boxoverlay: #ff6631;
    --dunkel: #0c0c23;
    --copy: #33333e;
}

@font-face {
    font-family: Vaud;
    src: url(../fonts/Vaud-Bold.woff);
    font-weight: 900;
}

@font-face {
    font-family: Vaud;
    src: url(../fonts/Vaud-Book.woff);
    font-weight: normal;
}

@font-face {
    font-family: Vaud;
    src: url(../fonts/Vaud-BookItalic.woff);
    font-weight: normal;
    font-style: italic;
}

.clear {
    clear: both;
}

body {
    overflow-x: hidden;
    font-family: "Vaud";

    transition: all 0.6s ease-in-out;
    animation: 0.8s ease-out 0s 1 appear;
}

.grey-back{
    background-color: #d6d6d6;
}


@keyframes appear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.come-in {
    transform: translateY(150px);
    animation: come-in 0.9s ease forwards;
}
.come-in:nth-child(odd) {
    animation-duration: 0.6s;
}
.already-visible {
    transform: translateY(0);
    animation: none;
}

@keyframes come-in {
    to { transform: translateY(0); }
}

a, a:hover, a:link, a:visited {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: #ff6631;

}

span:hover {
    color: #ff6631;

}



.start {
    height: 90vh;
    margin: 0 auto;
    padding: 50px;
    padding-top: 30px;
    transition: all 0.2s ease;
}

.landing {
    background-color: #fefefe;
}


.sticky {
    position: relative;
    color: var(--light);
    /*background-color: #ff0504;*/

    font-size: 40px;
    line-height: 1.2em;
    font-weight: 700;
    letter-spacing: 0.02rem;
    transition: all 0.3s ease;
    z-index: 600;

    animation: 0.4s ease-out 0s 1 appear;
}



#landingtext {
    font-weight: 400;
    transition: all 0.2s ease;
    z-index: 3;
}

#landingtext.landing {
    opacity: 0;
    background: none;
}




img {
    display: block;
    height: auto;
    max-width: 100%;
    z-index: 3;

}

video {
    display: block;
    height: auto;
    max-width: 100%;
    z-index: 3;
    object-fit: contain;
}

footer {
    position: relative;

    margin: 0 auto;
    width: 90vw;
    height: 100px;
    /*background-color: #f55e2e;*/

    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.05rem;
    line-height: 1.2em;
    z-index: 70;

    transition: all .4s ease-in-out;
}

.footer-element {
    position: relative;
    float: left;
    padding-top: 44px;
    opacity: 1;

}

#iconrow {
    width: 120px;
    margin: 0 auto;
    align-self: center;
    z-index: 3;

}

.icons {
    height: 18px;
    width: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    float: left;
    margin: 0 10px;
    overflow: hidden;
    opacity: 0.3;
    transition: all .2s ease-in-out;

}


#medium {
    background-image: url(../img/icons/mediumlogoblack.svg);
}

#twitter {
    background-image: url(../img/icons/twitterlogoblack.svg);
}

#linkedin {
    background-image: url(../img/icons/linkedinlogoblack.svg);

}

#medium:hover {
    background-image: url(../img/icons/mediumlogo.svg);
    opacity: 1;
}

#twitter:hover {
    background-image: url(../img/icons/twitterlogo.svg);
    opacity: 1;
}

#linkedin:hover {
    background-image: url(../img/icons/linkedinlogo.svg);
    opacity: 1;

}

.impressum{
    opacity: 0.4;
}

.impressum:hover {
    opacity: 1;
}



/*------------------------------------------------- RESPONSIVE ----------------------------------------------------*/

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@media only screen and (max-width: 1441px) {

    div.sticky, #landingtext {
        font-size: 30px;
    }
}

@media only screen and (max-width: 1280px) {

    div.sticky, #landingtext {
        font-size: 30px;
    }

    .block_med {
        width: 700px;
    }
}


    


    h1, .projectbox:hover > h1 {
        font-size: 16px;
        top: 20%;
        left: 10%;
    }

    h2, .projectbox:hover > h2 {
        font-size: 8px;
        bottom: 20%;
        left: 10%;
    }


    h5 {
        opacity: 1;
        top: 20%;

    }


}
