*,
::after,
::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body,
html {
    height: 100%;
    width: 100%;
}
.navBar {
    background:aquamarine;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    width: 100%;
    animation:foldLogo 1.5s ease 8s forwards;
    padding:0.5rem 1rem;
}
h1 {
    color: #1f1f1f;
    font-size:clamp(2rem,4vw,5rem);
    font-family: 'Red Hat Mono', monospace;
    position:relative;
    
}
h1::before {
    content: " ";
    position:absolute;
    top:0;
    left:0;
    right: 0;
    bottom: 0;
    background-color: aquamarine;
    animation: typewriter  4s steps(5) forwards;
}
p {
    font-family: 'Red Hat Mono', monospace;
    margin-top:20px;
    opacity: 0;
    transform: translateX(-50px);
    animation: flyIn 1s forwards 5s,
    fadeOut 1500ms  ease forwards 8s;
}
@keyframes typewriter {
    to{
        left:100%;
    }
}
@keyframes flyIn {
    to{
        transform:translateX(0);
        opacity: 1;
    }
}
@keyframes foldLogo {
    to{
        min-height:100px;
        flex-direction:row;
        justify-content: flex-start;
    }
}
@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

