html, body{
    width: 100%;
    height: 100vh; 
    margin: 0 auto;
    text-align: center;
    background-color: #f8e5e5;
    font-family: 'Fira Code', monospace;
    color: #4b0b1c;    
    overflow-x: hidden;
    
} 

nav{
    position:fixed;
    top:0;
    background-color: #c39ea0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    
}

::selection{
    background-color: #fa255e;
}

#center-menu{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 240px;
    margin-right: 10px;
}

#menu{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 70%;
    width: 50px;
    justify-content: space-around;
}

#logo{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 240px;
    margin-left: 10px;
    user-select: none;
    cursor: pointer;
}

#logo:hover{
    background-color: #fa255e;
    transition: 0.2s;
}

#menu:hover{
    background-color: #fa255e;
    transition: 0.2s;
    cursor: pointer;
}

.hamburger-wrap{
    font-family: 'Roboto', sans-serif;
    position: fixed;
    top: 80px;
    left: calc(100vw - 250px);
    background-color: #fdbdce;
    font-size: 1.5rem;
    margin: 0;
    width: 240px;
    text-align: left;
    z-index: 1;
}

.hamburger-elem{
    padding: 10px;
    padding-left: 15px;
}

.hamburger-elem:hover{
    background-color: #fa255e;
    transition: 0.2s;
    cursor: pointer;
}

.invisible{
    left: -100%;
}

.menu-elem{
    background-color: #4b0b1c;
    width: 80%;
    height: 4px;
}

.wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    font-size: 5rem;
    height: 100%;
    overflow: hidden;   
}

.wrapper > h2{
    font-size: 2rem;
}
.main-menu{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#menu1{
    position: relative;
}

#menu2{
    position: relative;
}

#menu3{
    position: relative;
}

#menu4{
    position: relative;
}

#menu1::before,
#menu1::after{
    content: '';
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
}

#menu2::before,
#menu2::after{
    content: '';
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
}
#menu3::before,
#menu3::after{
    content: '';
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
}
#menu4::before,
#menu4::after{
    content: '';
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
}
#menu1::before{
    background-color: #f8e5e5;
    animation: typewriter 
        2s steps(13) forwards;
}

#menu2::before{
    background-color: #f8e5e5;
    animation: typewriter 
        2s steps(11) forwards;
        animation-delay: 2s;
}

#menu3::before{
    background-color: #f8e5e5;
    animation: typewriter 
        2s steps(9) forwards;
        animation-delay: 4s;
}
#menu4::before{
    background-color: #f8e5e5;
    animation: typewriter 
        2s steps(15) forwards;
        animation-delay: 6s;
}
.menu-wrap:hover{
    transition: 0.2s;
    background-color: #fa255e;
    cursor: pointer;
}

.blinking-cursor::after{
    width: 0.125em;
    background-color: #4b0b1c;
    animation:
        typewriter 2s steps(13) forwards,
        blink 750ms steps(2,start) infinite;
        
}

.blinking-cursor2::after{
    width: 0.125em;
    background-color: #4b0b1c;
    animation:
        typewriter 2s steps(15) forwards,
        blink 750ms steps(2,start) infinite;
        
}

.blinking-cursor3::after{
    width: 0.125em;
    background-color: #4b0b1c;
    animation:
        typewriter 2s steps(9) forwards,
        blink 750ms steps(2,start) infinite;
        
}
.blinking-cursor4::after{
    width: 0.125em;
    background-color: #4b0b1c;
    animation:
        typewriter 2s steps(15) forwards,
        blink 750ms steps(2,start) infinite;
        
}
@keyframes typewriter{
    to{
        left: 100%;
    }
}

@keyframes blink{
    to{
        visibility: hidden;
    }

}

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

    .hamburger-wrap{
        left: 10px;
        width: calc(100vw - 20px);
    }

    .wrapper{
        font-size: 2.5rem;
    }
    .invisible{
        left: -100%;
    }

}



@media screen and (max-height: 600px){
    .main-menu{
        position: absolute;
        top: 120px;
    }
}
