* {
    margin: 0;
    padding: 0;
}

body {
    background: black;
}

canvas {
    display: block;
}

img {
    width: 80px;
    /* animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-name: slideInLeft; */
    /* animation: effect .8s infinite; */
}

img:hover {
    width: 80px;
    /* animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-name: slideInLeft; */
    animation: effect .8s infinite;
}

.dialogue {
    width: 200px;
    position: relative;
    margin-bottom: 50px;
    margin-left: -80px;
    display: none;
}



@keyframes effect {
    0% {
        transform: translateX(0px) rotate(0deg);
    }

    20% {
        transform: translateX(-4px) rotate(-4deg);
    }

    40% {
        transform: translateX(-2px) rotate(-2deg);
    }

    60% {
        transform: translateX(4px) rotate(4deg);
    }

    80% {
        transform: translateX(2px) rotate(2deg);
    }

    100% {
        transform: translateX(0px) rotate(0deg);
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-1000px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.8;
    }
}

/* The following css styles the regular enter the void link. */
span {
    background-color: black;
    color: red;
    position: fixed;
    height: fit-content;
    opacity: 0.8;
    /* width: fit-content; */
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    /* margin-left: 46%;
    margin-right: 46%; */
    padding: 20px 20px;
    top: 40%;
    bottom: 40%;
    font-size: 1.4vw;
    animation: fadeIn 10s, slideInLeft 2.3s;
    

}

.line-1 {
    position: relative;
    top: 50%;
    width: 24em;
    margin: 0 auto;
    border-right: 2px solid rgba(255, 255, 255, .75);
    font-size: 180%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(-50%);
}

/* Animation */
.line-1 {
    position: relative;
    top: 50%;
    width: 24em;
    margin: 0 auto;
    border-right: 2px solid rgba(255, 255, 255, .75);
    font-size: 180%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    transform: translateY(-50%);
}

.anim-typewriter {
    animation: typewriter 2s steps(20) 1s 1 normal both,
        blinkTextCursor 500ms steps(20) infinite normal;
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 15em;
    }
}

@keyframes blinkTextCursor {
    from {
        border-right-color: rgba(255, 255, 255, .75);
    }

    to {
        border-right-color: transparent;
    }
}

/* The following css styles the ENTER link inside the canvas. */

/* a {
    text-decoration: none;
    color: black;
    font-weight: 700;
    position: relative;
  }
  
  a::before {
    content: '';
    background-color: red;
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 100%;
    height: 8px;
    z-index: -1;
    transition: all .5s ease-in-out;
  }
  
  a:hover::before {
    bottom: 0;
    height: 100%;
  } */

/*  */