@import url(nav.css);
@import url(about-me-home.css);
@import url(projekte.css);
@import url(maximilian.css);
@import url(impressum.css);
@import url(footer.css);
@import url(form.css);


html {
    font-family: Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow: scroll;
}

p {
    font-family: Helvetica, sans-serif;
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
}

h1 {
    padding: 0;
    margin: 0;
}

h2 {
    font-family: Helvetica, sans-serif;

    color: white;
   

    font-size: 4rem;
    text-align: center;
    margin-bottom: 200px;
    width: 100%;
}


body {
    margin: 0;
    padding: 0;
}

p {
    line-height: 2.5rem;
    font-size: 20px;
}

.main-header {
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -50;
    animation-name: einblenden;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}


.logo-text {
    position: relative;
    display: none;
    width: 350px;
    color: #00BBC0;
    padding: 0;
    margin: 10vh auto 0;
    opacity: 0;
    
    animation-duration: 1s;
    animation-delay: 4s;
    animation-name: logo-text;
    animation-fill-mode: forwards;
}

.logo-text img {
    width: 100%;
}

@keyframes logo-text {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.maximilian {
    font-size: 3.7rem;
    transform: scale(1.5);
}


.logo-animation {
    width: 271px;
    height: 271px;
    position: relative;
    z-index: 1001;
    margin: 35vh auto 0;
    transform: scale(1.5);

   
}

.logo-animation img {
    width: 100%;
    height: auto;
    opacity: 0;
    animation-name: logo;
    animation-delay: 1s;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}


@keyframes logo {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.header-video {
    opacity: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    
    animation-name: load2;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

.header-bild {
    opacity: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    
    display: none;
    
    
}

.social-media {
    margin-top: 100px;
}

.header-bild2 {
    opacity: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -5;
    object-position: top left;
    animation-name: load2;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

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

.main-headline {
    position: absolute;
    color:  white;
    z-index: 500;
    left: 50px;
    bottom: 7vh;
    font-size: 3rem;
    max-width: 400px;
    opacity: 0.8;
}

main {
    margin-top: 100vh;
    background-color: white;
    
}

.main2 {
    margin-top: 100vh;
    background-color: white;
    
}

.up-button {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    background-image: linear-gradient(to right,#745BE2 0%, #E66AE2 100%);
    text-align: center;
    border-radius: 50px;
    opacity: 0;
    visibility: hidden;
    z-index: 1009;
}

.maus {
    width: 100%;
    position: absolute;
    top: -150px;
    display: block;

    animation-name: jump;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes jump {
    from {
        top: -120px;
    }

    50% {
        top: -70px;
    }

    to {
        top: -120px;
    }
}

.down-button {
    width: 30px;
    height: auto;
    position: absolute;
   bottom: 5vh;
    right: 50px;
    
    text-align: center;
    border-radius: 50px;
    opacity: 1;
    z-index: 1000;

    animation-name: load2;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    
}

.down-button2 {
    width: 75px;
    height: auto;
    position: absolute;
   top: 30vh;
    right: 50px;
    
    text-align: center;
    border-radius: 50px;
    opacity: 1;
    z-index: 1000;

    animation-name: load2;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    
}

.maus-pfeil {
    width: 100%;
    margin: 20% auto 0;
   
    
}



.up-button img {
    width: 60%;
    margin-left: 20%;
    margin-top: 20%;
    display: block;
}

#top {
    position: absolute;
    top: 0;
    left: 0;
}



.kompetenzen {
    padding-top: 100px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.kompetenzen2 {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 200px;
}

.design-beispiel {
    width: 100%;
    height: 70%;
    
    object-fit: cover;
}

.script {
    position: sticky;
    top: 20vh;
    right: 10%;
    background-color: darkslategray;
    width: 80%;
    height: 500px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 25px;
    border: 1px solid white;
    overflow: hidden;
    grid-column: 2/3;
}

.script-head {
    
    background-color: #171a1c;
    width: 100%;
    height: 50px;
    border-bottom: 1px solid hsla(0,0%,100%,.08);
    position: relative;
}

.dot-mac {
    width: 10px;
    height: 10px;
    
    border-radius: 10px;
    position: absolute;
    top: 40%;
}

.dot-mac:nth-child(1) {
    left: 25px;
    background-color: red;
}

.dot-mac:nth-child(2) {
    left: 45px;
    background-color: yellow;
}

.dot-mac:nth-child(3) {
    left: 65px;
    background-color: green;
}

.script-sidebar {
    height: 450px;
    background-color: #202325;
    width: 10%;
}

.script-sidebar p {
    text-align: right;
    color: hsla(0,0%,100%,.48);
    margin-right: 30%;
    font-size: 1rem;
    line-height: 2rem;
}

.script-button {
    position: absolute;
    top: 50px;
    left: 50px;
    padding: 25px;
    background-color: white;
    margin: 25px;
    border-radius: 10px;
    cursor: pointer;
    display: block;
}

.script-button p {
    color: #202325;
    opacity: 1;
    visibility: visible;
    margin: 0;
}

.script-main {
    width: 90%;
    height: 450px;
    background-color: #171a1c;
}



.script-main p {
    font-size: 1rem;
    line-height: 2rem;
    color: white;
    margin: 16px 25px;
    font-family: 'Fira Code', monospace;
    display: none;
}

.write {
    display: block;
    width: 0%;
   
    overflow: hidden;
    margin: 0;
    word-wrap: break-word;
 white-space: nowrap;
    animation-name: write;
    animation-fill-mode: forwards;
    animation-duration: 0.5s;
    animation-timing-function: steps(15);
}

.wd2 {
    animation-delay: 0.5s;
}

.wd3 {
    animation-delay: 1s;
}

.wd3 {
    animation-delay: 1s;
}

.wd4 {
    animation-delay: 1.5s;
}

.wd5 {
    animation-duration: 1.5s;
    animation-delay: 2s;
    animation-name: write2;
    animation-timing-function: steps(53);
}

.wd6 {
    animation-delay: 4s;
}

.wd7 {
    animation-delay: 4.5s;
}

.wd8 {
    animation-duration: 1.5s;
    animation-delay: 5s;
    animation-name: write2;
    animation-timing-function: steps(53);
}

.wd9 {
    animation-duration: 1.5s;
    animation-delay: 5.5s;
    animation-name: write2;
    animation-timing-function: steps(53);
}

.wd10 {
    animation-duration: 1.5s;
    animation-delay: 7s;
    animation-name: write2;
    animation-timing-function: steps(53);
}

.wd11 {
    animation-delay: 8s;
}

.wd12 {
    animation-delay: 8.5s;
}

.script2 {
    position: sticky;
    top: 20vh;
    right: 10%;
    background-color: darkslategray;
    width: 80%;
    height: 600px;
    display: none;
    flex-wrap: wrap;
    border-radius: 25px;
    border: 1px solid white;
    overflow: hidden;
    grid-column: 2/3;
}

.s2 {
    height: 600px;
}

.wd13 {
    animation-name: write3;
    animation-delay: 3s;
    animation-timing-function: steps(28);
}

.wd14 {
    animation-name: write3;
    animation-delay: 6.5s;
    animation-timing-function: steps(28);
}

@keyframes write {
    from {
        width: 0;
    }
    to {
        width: 16ch;
    }
}

@keyframes write2 {
    from {
        width: 0;
    }
    to {
        width: 53ch;
    }
}

@keyframes write3 {
    from {
        width: 0;
    }
    to {
        width: 35ch;
    }
}





.kompetenz {
    padding: 0 20%;
    width: 60%;
    margin-bottom: 250px;
    grid-column: 1/2;
}



.kompetenz h2 {
    text-align: left;
    margin: 0px 0 100px;
}



.website-title2 {
    box-sizing: border-box;
    padding: 20px;
    color: white;
    position: relative;
    margin: 25vh auto 0;
    font-size: 2rem;
    background-image: linear-gradient(to right,#2B4746 0%, #132322 100%);;
    height: 500px;
    width: 406px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.8);
opacity: 0;
    animation-name: logo;
    animation-delay: 2s;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.website-title-work {
    color: #745BE2;
    position: absolute;
    bottom: 20vh;
    left: 20%;
    font-size: 4rem;
    
}

.mein-element {
    opacity: 0;
    transition: opacity .5s ease-in-out;
  }
  
  
  .visible {
    opacity: 1;
  }

  @media screen and (max-width: 1600px) {
    .script {
        display: none;
    }

    .script2 {
        display: flex;
    }
}

/*@media screen and (max-width: 1250px) {

    .header-video {
        display: none;
    }
    
    .header-bild {
        display: block;
    
        animation-name: load2;
        animation-duration: 2s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
        animation-timing-function: ease-in-out;
        
        
    }

}*/

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

    .script2 {
        position: static;
        
        background-color: darkslategray;
        width: 80%;
        margin-left: 10%;
        margin-bottom: 100px;
        height: 600px;
        display: flex;
        flex-wrap: wrap;
        border-radius: 25px;
        border: 1px solid white;
        overflow: hidden;
        grid-column: 2/3;
        z-index: 5000;
    }

    .script {
        display: none;
    }

    .kompetenzen {
        display: block;
        position: relative;
    }

    .kompetenzen2 {
        display: block;
      
    }

.kompetenz {
    margin-bottom: 100px;
}

.design-beispiel {
    width: 100%;
    display: block;
}

.main-headline {
    font-size: 2.5rem;
    max-width: 300px;
}

    
}



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

    .up-button {

        width: 30px;
        height: 30px;

    }

    .main-headline {
        font-size: 2rem;
        bottom: 150px;
        right: 50px;
        left: 50px;
        text-align: center;
    }

    .website-title-work {
        font-size: 2rem;
        bottom: 30vh;
    }

    .website-title-max {
        font-size: 2rem;
    }

    .logo-animation {
        transform: scale(1);
        margin-top: 25vh;
        width: 70%;
    }


    .script-main p {
        font-size: 0.5rem;
        line-height: 1rem;
    }

    .script-sidebar p {
        margin-top: 17px;
        font-size: 0.5rem;
        line-height: 1rem;

    }

    .script2 {
        height: 390px;
    }

    .s2 {
        height: 390px;
    }

    .album {
        width: 300px;
    }

    

    .projekte {
        padding-bottom: 200px;
    }


    .header-bild2 {
        position: absolute;
        
    }

    .down-button {
        display: none;
        
    }

    .up-button {
        right: 25px;
        bottom: 25px;
    }

    .maus {
        width: 100%;
        margin: 0;
        position: absolute;
    top: -50px;
    }

    .maus-pfeil {
        width: 100%;
    }

    @keyframes jump {
        from {
            top: -60px;
        }
    
        50% {
            top: -40px;
        }
    
        to {
            top: -60px;
        }
    }
    


    
}

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

    .up-button {

        width: 25px;
        height: 25px;

    }

    .facts-inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
        width: 90% !important;
        margin: 0 5% !important;
    }

    .website-title-work {
        font-size: 1.5rem;
        bottom: 40vh;
    }

    .album {
        width: 250px;
    }

    .album img {
        width: 250px;
        height: 250px;
        
    }

    .beispiel-more {
        
        height: 90px !important;
        
    }

}

