
@font-face {
  font-family: 'Poiret One';
  src: url('fonts/Poiret_One/PoiretOne-Regular.ttf') format('truetype');
} 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

.snap {
    scroll-snap-type: y proximity;
}

body {
    background-color: #191919;
    color: #FFF;
    font-family: 'Poiret One', cursive;
    overflow-x: hidden;
}

main {
    max-width: 2560px;
    margin: 0 auto;
}

h3{
    font-weight: 400;
}

header {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    margin: 0 auto;
}

.ball {
    width: 80vw;
    max-width: 80vw;
    height: 80vw;
    max-height: 80vw;
    box-shadow: 30px 30px 1px #111;

    display: flex;
    margin: 0 auto;
    background: #222;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    margin-top: 5rem;
}

.hero {
    color: #FFF;
    font-size: 150px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    position: relative;
    text-align: center;
    margin: 0rem auto 0;

    font-family: 'Poiret One', cursive;
}

#waving-hand {
    width: 40px;
    transform-origin: 25px 30px;
    margin: 1.2rem 0 0 0;
}

.waving-hand-animation {
    animation: waveHand 1.6s infinite;
}

@keyframes waveHand {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(20deg); }
    40% { transform: rotate(-20deg); }
    60% { transform: rotate(25deg); }
    100% { transform: rotate(0deg); }
}

#profile-picture {
    width: 20vw;
    height: 20vw;
    position: absolute;
    display: block;
    top: 8%;
    left: 14%;
}

#cv{
    width: 10vw;
    height: 10vw;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: 22%;
    bottom: 15%;
}

#cv-button{
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    margin: 2rem 0 0 0;
    background: #28D199;
    color: #FFF;
    border: none;
    font-size: 1.8rem;
    box-shadow: 15px 15px 1px #074A34;
    transition: all 0.5s ease;
    display: block;
    font-family: 'Poiret One', cursive;
    font-weight: 600;
}

#cv-button:hover {
    background: #074A34;
    box-shadow: 7px 7px 1px #28D199;
    transform: scale(1.2);
}

#profile-picture img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    box-shadow: 20px 20px 1px #111;
}

#ball-wrapper-picture{
    position: absolute;
    width: 20vw;
    height: 20vh;
    left: 12%;
    z-index: 1;
}

#ball-wrapper-cv{
    position: absolute;
    width: 10vw;
    height: 10vh;
    z-index: 2;
    right: 22%
}

.nav-links {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

a {
    text-decoration: none;
    color: #FFF;
}

.nav-links,
h1 {
    flex: 1;
}

.nav-links li {
    padding: 2rem;
    font-size: 1.2rem;
}

.cursor {
    width: 3rem;
    height: 3rem;
    border: 2px solid white;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;

    transition: all 0.3s ease;
    transition-property: background, transform;
    transform-origin: 100% 100%;
    z-index: 3;
    overflow: visible;
}

.link-grow {
    transform: scale(2);
    background-color: #FFF;
    mix-blend-mode: difference;
}

.fly {
    transition: transform 2s ease;
}

.fly:hover {
    transform: translate(0px, -10px);
}

span {
    display: inline-block;
    pointer-events: none;
    transition: transform 0.5s linear;
}

.card-content {
    width: 300px;
    height: 300px;
    object-fit: cover;
    margin: 1rem;
}

.card-wrapper {
    display: flex;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    flex-wrap: wrap;

    grid-column: 2 / span 1;
    grid-row: 4 / span 1;
}

.link-grow-card {
    transform: scale(2);
    background-color: rgba(255, 255, 255, 1);
    mix-blend-mode: difference;
    border: 2px solid white;
}

.description {
    display: flex;
    margin: 1rem;
    padding: 0 10 0 10;
    position: absolute;
    color: rgba(255, 255, 255, 0.0);
    top: 0;
    left: 0;
    font-size: 2.5rem;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 300px;
    text-shadow: 3px 3px 3px rgba(25, 25, 25, 0.0);
    z-index: 3;
    transition: all 0.5s ease;
}

.show-description {
    color: rgba(255, 255, 255, 1);
    text-shadow: 3px 3px 3px rgba(25, 25, 25, 1);
}

.grid-wrapper {
    display: grid;
    grid-template-columns: 20% 60% 20%;
    grid-template-rows: 100vh 70px;
}

.work-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 50%;
    margin: auto;
}

.work {
    height: auto;
    width: auto;
    transition: all 0.4s ease;
    font-size: 2rem;
    color: #FFF;
    background: #222;
    border: none;
    margin: 0.3rem;
    opacity: 1;
    border: 2px solid #28D199;
    box-shadow: 10px 10px 1px #074A34;
    padding: .3rem 1.4rem;
}

.work:hover {
    opacity: 1;
    background: #28D199;
}

.work-active {
    color: #FFF;
    background: #28D199;
    opacity: 100%;
}

.active {
    opacity: 100%;
    transition: all 0.4s ease;
}

.ball p {
    font-size: 1.5rem;
    width: 80%;
    text-shadow: 1px 1px 10px #111;
}

.gude {
    color: #FFF;
    font-size: calc(3rem + 10vw);
    display: block;
    position: relative;
    text-align: center;
    margin: 3rem auto 0;

    font-weight: 300;

    font-family: 'Poiret One', cursive;

    text-shadow: 10px 10px 1px #111;
}

#github-icon {
    height: 40px;
    filter: grayscale();
}

.grid-wrapper-pictures {
    transition: all 0.5s;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.grid-wrapper-pictures img {
    width: 100%;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding-left: 4px;
    padding-right: 4px;
    width: 100%;
}

.column {
    flex: 49%;
    max-width: 100%;
    padding: 0 4px;
    margin-left: auto;
    margin-right: auto;
}

.column img:first-child {
    margin-top: 0;
}

.dark-wrapper:hover img:not(:hover) {
    opacity: 0.3;
}

.dark-wrapper img {
    transition: opacity 1s;
    opacity: 1;
}

.background-wrapper {
    background-color: #1C1C1C;
}

.headline {
    margin: 30px 30px 30px 20%;
    font-size: 3rem;
    ;
}

video {
    width: 50%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.vimeo-video {
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    height: 100%;
    width: 80%;
    padding: 10px;
}

.container {
    scroll-snap-type: y mandatory;
}

.snap-child {
    scroll-snap-align: center;
}

#about-me::before{
    background: none;
}

.project {
    height: 100vh;
    width: 100vw;
    max-width: 100%;
    position: relative;
}

.project video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.project-left::before {
    content: "";
    display: block;
    position: absolute;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.0));
    z-index: 0;
}

.project-right::before {
    content: "";
    display: block;
    position: absolute;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    background: linear-gradient(to bottom left, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.0));
    z-index: 0;
}

.mobile-spacer {
    display: none;
}

.project-description {
    width: 70%;
    position: absolute;
    top: 100px;
    z-index: 1;
    text-shadow: 2px 2px 1px #000;
}

.project-description p {
    margin: 1.6rem 0 0 0;
    text-shadow: 0px 0px 80px rgba(255, 255, 255, 0.5), 2px 2px 1px #000;
}

.project-description-fullpage {
    width: 80%;
    font-size: 1.6rem;
    position: relative;
    top: 100px;
    z-index: 1;
    text-shadow: 2px 2px 1px #000;
    padding-top: 10%; 
}

.project-description-fullpage h3 {
    font-size: 5rem;
}

.project-description-fullpage p {
    margin: 1.6rem 0 0 0;
    text-shadow: 0px 0px 80px rgba(255, 255, 255, 0.5), 2px 2px 1px #000;
}

#imprint {
    font-size: 1rem;
}

.cyber-button {
    border: none;
    background: none;
    font-size: 1.5rem;
    color: #FFF;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card {
    width: 12rem;
    height: 5rem;
    margin: 2rem 0 0 0;
    position: relative;
}

.card-layer {
    content: "";
    border: 2px solid #1DD4F4;
    border-radius: 1rem;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    transform-style: preserve-3d;
    transition: all 300ms ease;
    background: rgba(255, 255, 255, 0.1);
    transform-origin: 0% 0%;
}

#layer-background {
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateX(-50%) translateY(-50%) translateZ(0px);
    background: rgba(22, 157, 181, 0.8);
}

#layer-middle {
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateX(-50%) translateY(-50%) translateZ(0px);
    background: rgba(22, 157, 181, 0.5);
}

#layer-foreground {
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateX(-50%) translateY(-50%) translateZ(0px);
    background: rgba(22, 157, 181, 0.1);
}

.project-button {
    padding: 1.2rem 1.8rem;
    margin: 2rem 0 0 0;
    background: #28D199;
    color: #FFF;
    border: none;
    font-size: calc(1.4rem + 2vw);
    box-shadow: 15px 15px 1px #074A34;
    transition: all 0.5s ease;
    /* Define button font-family */
}

.project-button:hover {
    background: #074A34;
    box-shadow: 7px 7px 1px #28D199;
    transform: scale(1.2);
}


.align-right {
    text-align: right;
    right: 10%;
}

.align-left {
    text-align: left;
    left: 10%;
}

.project-category {

    font-style: italic;
    color: gray;
}

#smile {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#smile-background {
    width: 40vw;
    height: 40vw;
    max-height: 80vh;
    max-width: 80vh;
    border-radius: 50%;
    background: #FFF;
    display: flex;
    justify-content: space-around;
}

#smile-left-eye {
    width: 5vw;
    height: 5vw;
    max-width: 10vh;
    max-height: 10vh;
    border-radius: 50%;
    background: #000;
    margin-top: 30%;
    margin-left: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#smile-right-eye {
    width: 5vw;
    height: 5vw;
    max-width: 10vh;
    max-height: 10vh;
    border-radius: 50%;
    background: #000;
    margin-top: 30%;
    margin-right: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

#smile-right-eye-pupil {
    width: 2vw;
    height: 2vw;
    max-width: 5vh;
    max-height: 5vh;
    border-radius: 50%;
    background: #FFF;
}

#smile-left-eye-pupil {
    width: 2vw;
    height: 2vw;
    max-width: 5vh;
    max-height: 5vh;
    border-radius: 50%;
    background: #FFF;
}

.box {
    position: relative;
    width: 35px;
    height: 5px;
    background-color: #FFF;

    margin-top: 8px;
}

#burger-nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#mobile-nav {
    position: fixed;
    width: 100vw;
    height: 100vh;
    margin: 0;
    left: 0;
    top: 0;
}

.hidden {
    display: none;
}


#mobile-nav ul {
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

#mobile-nav li {
    text-decoration: none;
    list-style-type: none;
    border: #FFF 1px solid;
    width: 100%;
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(55, 55, 55, 1);

    font-size: 2rem;
}


.project-disclaimer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 0;
    margin: 3rem 0 2rem 0;
}

.project-disclaimer a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

/*
.project-disclaimer h2 {
    font-size: 1.7rem;
}
    */

.arrow {
    margin: .5rem 0;
    width: 30px;
    height: 30px;
    border: solid #FFF;
    border-width: 0 5px 5px 0;
    stroke-linecap: round;
    animation: bounce 3s infinite;
}

#project-arrow-text {
    font-size: 1.2rem;
    animation: bounceStraight 3s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    40% {
        transform: translateY(-7px) rotate(45deg);
    }

    60% {
        transform: translateY(-7px) rotate(45deg);
    }
}

@keyframes bounceStraight {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    43% {
        transform: translateY(-7px);
    }

    63% {
        transform: translateY(-7px);
    }
}

.header-wrapper {
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
}

header #lottie {
    width: 80%;
    height: 100%;
    display: block;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    text-align: center;
    opacity: 1;
    top: 0px;
}

.nav-links a{
    display: none;
}

.nav-links a {
    font-size: 1.5rem;
}

.mobile-nav {
    display: block;
}

.mobile-spacer {
    display: block;
}

footer {
    bottom: 80px;
    text-align: center;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 50vw;
    margin: 0 auto;
}

.project-headline {
    margin-top: 30%;
    font-size: calc(4rem + 5vw);
}

.project-description-text {
    font-size: calc(1.5rem + 2vw);
}

@media screen and (min-device-width: 1350px)  {
    .gude{
        font-size: calc(3rem + (0.1 * 1350px));
    }
}


@media screen and (min-device-width: 700px)  {
    .ball {
        width: 45vw;
        max-width: 600px;
        height: 45vw;
        max-height: 600px;
        box-shadow: 50px 50px 1px #111;
    }

    .header-wrapper {
        flex-wrap: nowrap;
    }

    .project-description {
        width: 50%;
    }

    .project-description-fullpage {
        padding-top: 0;
    }

    header #lottie {
        width: 200px;
    }

    nav {
        display: block;
    }
    
    .nav-links a{
        display: block;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .mobile-spacer {
        display: none;
    }

    footer {
        bottom: 40px;
    }

    .project-headline {
        margin-top: 0;
        font-size: calc(1.5rem + 5vw);
    }

    .project-description-text {
        font-size: 1.6rem;
    }
    
    .project-button{
        font-size: 1.2rem;
        padding: 0.8rem 1.4rem;
        box-shadow: 5px 5px 1px #074A34;
    }
}

@media screen and (max-width: 450px) {
    #call-to-action-button {
        margin-top: 0.7rem;
        margin-bottom: 2rem;
        font-size: 1rem;
    }
}
