@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
    from { top: 20vh;}
    to { top: 50px; }
  }

@keyframes fadeInProjects {
    from { opacity: 0; }
    to { opacity: 1; }
    from { left: -5vw;}
    to { left: 0vw; }
}

@keyframes fadeInContactInfo {
    from { opacity: 0; }
    to { opacity: 1; }
    from { left: -5vw;}
    to { left: 0vw; }
}

html {

    height: 100%;
    width: 100%;
    background: rgb(0,0,0);
    margin: 0;
    font-family: 'Lilita One', sans-serif;
    color: white;
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,63,101,1) 28%, rgba(0,0,0,1) 100%);
    scroll-behavior: smooth;  
    background-color: black;
}

body {

    margin: 0;
    height: 100%;
    width: 100%;
}

ul {

    display: inline;
    padding: 0;
    
}

ul li {

    display: inline;
    
    
}

ul li:hover {

    color: #e0492b;
    transition: .2s;
}

a {

    margin-right: 2vw;
    color: white;
    text-decoration: none;
}

a:visited {

    text-decoration: none;
}

#underHeadings {

    position: absolute;
    margin-top: 1vh;
    color: white;
    font-size: 1.3rem;
}

#projects {

    -webkit-text-fill-color: #e0492b;
    text-decoration: underline;
    text-decoration-color: #e0492b;
}

#nav {

    position: absolute;
    top: 5vh;
    left: 3vw;
    font-size: 1.3rem;
}

#backArrow {

    font-size: 2rem;
}

#backArrow:hover {

    -webkit-text-stroke: #e0492b 2px;
}

#intro {

    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeIn 0.5s;
    justify-items: center;

}

#introInfo {

    
    width: 700px;
    font-size: 1.3rem;
    
}

#video {

    height: 30rem;
    width: 50rem;
    margin-bottom: 5rem;
}


@media screen and (max-width: 680px) {

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
        from { top: 25vh;}
        to { top: 15vh; }
      }

    html {
    
        height: 100%;
        width: 100%;
        background: rgb(0,0,0);
        margin: 0;
        font-family: 'Lilita One', sans-serif;
        color: white;
        background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,63,101,1) 28%, rgba(0,0,0,1) 100%);
        scroll-behavior: smooth;  
        background-color: black;
    }
    
    body {
    
        margin: 0;
        height: 100%;
        width: 100%;
    }
    
    ul {
    
        display: inline;
        padding: 0;
        
    }
    
    ul li {
    
        display: inline;
        
        
    }
    
    ul li:hover {
    
        color: #e0492b;
        transition: .2s;
    }
    
    a {
    
        margin-right: 2vw;
        color: white;
        text-decoration: none;
    }
    
    a:visited {
    
        text-decoration: none;
    }
    
    #nav {

        width: 100vw;
        position: absolute;
        left: 0;
    }

    #backArrow {

        margin-left: 7vw;
    }

    #intro {

        width: 80vw;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 15vh;
    }

    #introInfo {

        width: 80vw;
        font-size: 1.3rem; 
    }

    #experiments {

        position: absolute;
        left: 75px;
        top: 40px;
    }

    #video {

        width: 90%;
        margin-bottom: 5rem;
    }
}