html {
    background-size: cover;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    overflow: hidden;
}
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {   
    min-height: 100%;
    margin: 0px;  
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-color: #0a192f;
}
.wrap-header {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
}





.wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
}
.aside1, .aside2 {
    display: block;
    width: 150px;
    height: 100%;
}
.left {
    display: flex;
    position: relative;
    height: 100%;
    top: 120px;
}
.left ul {
    position: fixed;
    left: 4.5%;
    list-style-type: none;
    padding: 0;
}
.left li {
    display: block;
    width: 18px;
    height: 18px;
    margin-bottom: 32px;
}
.left ul::after, .right::after {
    content: "";
    display: block;
    width: 1px;
    height: 190px;
    margin: 0 auto;
    background-color: #8892b0; 
}
.aside2 {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding-top: 123px;
} 
.right {
    position: fixed;
    width: auto;
    height: auto;
}
.right a {
    display: block;
    margin-bottom: 31px;
    writing-mode: vertical-rl;
    webkit-writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: "SF Mono","Fira Code","Fira Mono","Roboto Mono",monospace;
    font-size: 14px;
    letter-spacing: 0.1em;
}
a {
   color: #8892b0; 
   text-decoration: none;
}
a:hover {
    color: #64ffda;
}





.logo {
    display: flex;
    align-items: center;
    margin-left: 3.7%;
}
.logo img {
    display: block;
    position: fixed;
    width: 40px;
    height: 45px;
    margin: 0 auto;
}
.nav {
    display: flex;
    align-items: center;
    width: auto;
    margin-right: 62px;
    color: #ccd6f6;
    font-family: "SF Mono","Fira Code","Fira Mono","Roboto Mono",monospace;
}
.nav ol {
    display: inline-flex;
    margin-top: 0;
    margin-bottom: 0;
    list-style-type: none;
}
.nav ol li {
    margin-left: 60px;
    counter-increment: item 1;
}
.nav ol li a::before {
    content: "0" counter(item) ".";
    margin-right: 5px;
    color: #64ffda;
    text-align: right;
}
.nav ol li {
    cursor: pointer;
    color: #8892b0;
}
.nav ol li:hover {
    color: #ccd6f6;
}
header {
    display: flex;
    align-items: center;
    height: 100px;
    align-self: flex-start;
    width: 100%;
}






.main {
    display: flex;
    flex-flow: column;
    justify-content: start;
    width: 76.5%;
    height: 100%;
    color: #8892b0;
    font-family: "Calibre","Inter","San Francisco","SF Pro Text",-apple-system,
    system-ui,sans-serif;
    font-size: 17px;
    line-height: 1.5;
    counter-reset: my-sec-counter;
}
.main section {
    counter-increment: item 1; 
}
#work {
    position: relative;
}
.content {
    display: flex;
    flex-direction: column;
    width: 100%;
}
#hi p {
    font-family: "SF Mono","Fira Code","Fira Mono","Roboto Mono",monospace;
    font-size: 16px;
    font-weight: 400;
    margin-top: 22px;
    margin-bottom: 0;
    color: #64ffda;
}
h1, h2 {
    font-size:  80px;
    font-weight: 600;
    color: #ccd6f6;
    font-family: "Calibre","Inter","San Francisco","SF Pro Text",-apple-system,
    system-ui,sans-serif;
    font-weight: 600;
}
h1 {
    margin: 0;
}
h2.slogan {
    margin-top: 0;
    color: #8892b0;
    font-size: 64px;
}
.aboutMe {
    margin-bottom: 167px;
}
h2.heading {
    display: block;
    position: relative;
    width: auto;
    margin-bottom: 50px;
    align-items: center;
    font-size: 32px;
    font-weight: bold;
    color: #ccd6f6;
}
.main section h2::before {
    display: block;
    float: left;
    content: "0" counter(item) ".";
    margin-top: 7px;
    margin-right: 8px;
    font-size: 25px;
    font-weight: normal;
    color: #64ffda; 
}
h2.heading::after {
    content: "";
    display: inline-block;
    width: 390px;
    height: 1px;
    margin: 0 0 8px 25px;
    background-color: #8892b0;
}
.about {
    width: 70%;
}
h2.heading.de, h2.heading.eng {
    padding-right: 25px;
}
.inner {
    display: flex;
    flex-direction: row;
}
.presentation {
    width: 65%;
}
.presentation div {
    margin-bottom: 15px;
}
.img-presentation {
    position: relative;
    height: 225px;
}
.img-presentation div {
    display: block;
    position: relative; 
    width: 225px; 
    height: 225px;
    margin-left: 70px;
    border-radius: 4px; 
    background: linear-gradient(rgba(95,229,202,0.3),rgba(95,229,202,0.3)), 
    url(../images/val1.jpg);
    transition: all 0.5s;
}
.img-presentation div:hover {
    background: url(../images/val1.jpg);
    transform: scale(1.1);
}
.img-presentation div::after {
    content: "";
    display: block;
    position: relative;
    width: 221px;
    height: 221px;
    border: 2px solid #64ffda; /*green*/
    border-radius: 4px;
    top: 14px;
    left: 15px;
    z-index: -1;
}
.img-presentation div:hover::after  {
    border: none;
}
.presentation ul {
    list-style-position: inside;
    -moz-column-count: 2;       /* Firefox */
    -webkit-column-count: 2;    /* Safari and Chrome */
    column-count: 2;
    list-style-type: square;
}
.presentation ul li {
    color: #64ffda;
} 
.presentation ul li span {
    color: #8892b0;
}




.dinge ul {
    list-style-type: none;
    padding-left: 0;
}
.dinge ul li {
    display: grid;
    position: relative;
    margin-bottom: 120px;
    gap: 10px;
    grid-template-columns: repeat(12, 1fr);

}
.project-content {
    position: absolute;
    display: grid;
    top: 115px;
    padding: 0 20px;
    grid-column-start: 7;
    grid-column-end: -1;
    text-align: right;
    background-color: #112240;
    z-index: 2;
    box-shadow: rgba(0, 0, 0, 0.7) 5px 5px 5px;
}
.project-content p span {
    color: #64ffda;
}
.space-invisible {
    width: 140px;
}
.dinge ul li:nth-child(even) .project-content {
    grid-column-start: 1;
    grid-column-end: 7;
    text-align: left;
} 
.dinge ul li:nth-child(even) .project-img {
    grid-column-start: 5;
    grid-column-end: 12;
}
.project-img {
    grid-column-start: 1;
    grid-column-end: 8;
    background-color: white;
}
.project-img div {
    display: block;
    width: 100%;
    height: 60vh;
}




.dinge ul li:nth-child(1) .project-img div {
    background: no-repeat, linear-gradient(rgba(95,229,202,0.3),rgba(95,229,202,0.3)), 
    url(../images/wooa-screen.png);
    background-size: cover;
    transition: all 1s rgba(95,229,202,1); 
}
.dinge ul li:nth-child(1) .project-img div:hover {
    background: linear-gradient(rgba(95,229,202,0),rgba(95,229,202,0)), 
    url(../images/wooa-screen.png);
    background-size: cover; 
    
}




.dinge ul li:nth-child(2) .project-img div {
    background: linear-gradient(rgba(95,229,202,0.3),rgba(95,229,202,0.3)), 
    url(../images/car-screen.png);
    background-size: cover;
}
.dinge ul li:nth-child(2) .project-img div:hover {
    background: url(../images/car-screen.png);
    background-size: cover; 
}




.dinge ul li:nth-child(3) .project-img div {
    background: linear-gradient(rgba(95,229,202,0.3),rgba(95,229,202,0.3)), 
    url(../images/afisha-screen.png);
    background-size: cover;
}
.dinge ul li:nth-child(3) .project-img div:hover {
    background: url(../images/afisha-screen.png);
    background-size: cover; 
}




.dinge ul li:nth-child(4) .project-img div {
    background: linear-gradient(rgba(95,229,202,0.3),rgba(95,229,202,0.3)), 
    url(../images/cig-screen.png);
    background-size: cover;
}
.dinge ul li:nth-child(4) .project-img div:hover {
    background: url(../images/cig-screen.png);
    background-size: cover; 
}



.dinge ul li:nth-child(5) .project-img div {
    background: linear-gradient(rgba(95,229,202,0.3),rgba(95,229,202,0.3)), 
    url(../images/taxograf-screen.png);
    background-size: cover;
}
.dinge ul li:nth-child(5) .project-img div:hover {
    background: url(../images/taxograf-screen.png);
    background-size: cover; 
}




.dinge ul li:nth-child(6) .project-img div {
    background: linear-gradient(rgba(95,229,202,0.3),rgba(95,229,202,0.3)), 
    url(../images/cig-screen.png);
    background-size: cover;
}
.dinge ul li:nth-child(6) .project-img div:hover {
    background: url(../images/cig-screen.png);
    background-size: cover; 
}









#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 100px;
}
.overline {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    color: #64ffda;
    font-family: "SF Mono","Fira Code","Fira Mono","Roboto Mono",monospace;
    font-size: 17px;
    font-weight: 400;
    text-align: center;
}
.main section h2.overline::before {
    margin-top: 0;
    font-size: 17px;
}
#contact h2.heading {
    margin-top: 0;
    text-align: center;
    font-size: 40px;
}
#contact h2.heading::before, #contact h2.heading::after {
    display: none;
}
.heading.eng {
    display: none;
}






.email-link {
    position: relative;
    top: 50px;
    color: #64ffda;
    background-color: transparent;
    border: 1px solid #64ffda;
    border-radius: 4px;
    padding: 1.25rem 1.75rem;
    font-size: 16px;
    font-family: 'SF Mono','Fira Code','Fira Mono','Roboto Mono',monospace;
    text-align: center;
    align-self: center;
    line-height: 1;
    text-decoration: none;
    transition-duration: 0.7s;
}
.email-link:hover {
    border: 1px solid white;
    background-color: white;
    color: black;
} 
.email-link.hide {
    display: none;
}

.footer {
    align-self: flex-end;
    width: 100%;
    height: 100px;
    margin-top: 80px;
}
.footer p {
    position: relative;
    top: 60px;
    color: #8892b0;
    text-align: center;
    font-size: 12px;
    font-family: "Calibre","Inter","San Francisco","SF Pro Text",-apple-system,
    system-ui,sans-serif;
}

.eng {
    display: none;
}
.de{
    display: block;
    position: relative;
    float: left;
    width: auto;
}
#contact p {
    text-align: left;
}
.show {
    display: block;
}
.hide {
    display: none;
}

/*------------------------------------------------*/
/* Media Queries */
/*------------------------------------------------*/
@media (max-width: 1279px) {

    .project-content {
        top: 100px;
    }

}/* end of <1279 */




@media(max-width: 1200px) {

    h1 {
        font-size: 70px;
    }
    h2.slogan {
        font-size: 54px;
    }

    .project-img div {
        height: 48vh;
    }
    .main {
        font-size: 14px;
    }
    .project-content {
        top: 85px;
    }
    .aside1,.aside2 {
        width: 110px;
    }
    .logo {
        margin-left: 4%;
    }
    .left ul {
        left: 4.5%;
    }

}/* end of <1200 */



@media(max-width: 992px) {

    h1 {
        font-size: 60px;
    }
    h2.slogan {
        font-size: 44px;
    }
    h2.heading::after {
        width: 250px;
    }
    .aside1, .aside2 {
        width: 120px;
    }
    .about {
        width: 80%;
        font-size: 14px;
    }
    .img-presentation div {
        width: 220px; 
        height: 220px; 
    }
    .img-presentation div::after {
        width: 216px;
        height: 216px;
    }
    .img-presentation div {
        margin-left: 35px;
    }
    .project-img div {
        height: 40vh;
    }
    .main {
        font-size: 12px;
    }
    .project-content {
        top: 60px;
    }

}/* end of <992 */




@media(max-width: 768px) {

    .main section {
        display: flex;
        flex-direction: column;
    }
    h1 {
        text-align: center;
        font-size: 50px;
    }
    h2.slogan {
        text-align: center;
        font-size: 32px;
    }
    .main {
        align-items: center;
        font-size: 14px;
    }
    #about::before {
        margin-top: 3px;
    }
    .main section h2::before {
        margin-top: -39px;
    }
    .inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .presentation {
        width: 100%;
        margin-bottom: 40px;
    }
    .presentation ul {
        padding: 0;
    }
    .presentation ul li {
        text-align: left;
    }
    .img-presentation div {
        margin-left: 0;
    }
    .about {
        text-align: center;
    }
    h2.heading {
        font-size: 28px;
    }
    h2.heading {
        display: flex;
        flex-direction: row;
        text-align: center;
    }
    h2.heading::after {
        display: none;
    }
    .nav {
        margin-right: 60px;
    }
    .project-content {
        height: 83px;
        position: relative;
        grid-column-start: 1;
        grid-column-end: 13; 
        top: 333px;
        text-align: left;
    }
    .project-img {
        display: grid;
        grid-column-start: 1;
        grid-column-end: 13; 
       
    }
    .project-img div {
        width: 100%;
        height: 240px;
    }
    .dinge ul li {
        display: flex;
        flex-direction: column;
        margin-bottom: 210px;
    }
    .dinge ul li:nth-child(even) .project-content,
    .dinge ul li:nth-child(even) .project-img {
        grid-column-start: 1;
        grid-column-end: 13; 
    } 

}/* end of <768 */




@media(max-width: 566px) {

    .nav {
        margin-right: 140px;
    }
    .nav ol li {
        margin-left: 32px;
    }
    h1 {
        font-size: 38px;
    }
    h2.slogan {
        font-size: 22px;
    }
    .nav {
        margin-right: 60px;
    }
    h2.heading::after {
        width: 110px;
    }
    .project-img div {
        height: 200px;
    }
    .project-content {
        top: 293px;
        padding-left: 10px;
        font-size: 12px;
    }

}/* end of <566 */