body {
    font-family: 'Fira Code', monospace;
    color: #2e2e2e;
    margin: 0;
    overflow-x: hidden;
}

a {
    color: currentColor;
    text-decoration: none;
    display: flex;
    width: fit-content;
    flex-direction: column;
}

/* header */

header {
    margin-bottom: 2rem;
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

header #header1 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 8rem;
    line-height: 100vh;
    text-align: center;
    will-change: transform;
}

#message {
    padding: 2rem;
    width: auto;
}

/* grid container */

#grid {
    display: grid;
    gap: 2rem;
    margin: 2rem;
    grid-template-columns: 1fr 2fr;
    justify-content: center;
    padding-bottom: 2rem;
}

a#fanlink {
    /* padding: 2rem; */
    align-items: center;
    justify-content: center;
    position: relative;
    display: flex;
    justify-self: center;
    width: clamp(0rem, 34rem, 84vw);
    height: clamp(0rem, 34rem, 84vw);
}

#artworkContainer {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
}
#artworkContainer img {
    position: absolute;
    width: 100%;
    height: 100%;
}
#artworkContainer img.hidden {
    opacity: 0;
}

/* typewriter */

.typewriter {
    /* width: 56vw; */
    line-height: 1.5rem;
}

.typewriter span::after {
    content: "▋";
    margin-left: 0.25rem;
    vertical-align: baseline;
    animation: blink 1s steps(5,start) infinite;
}
.typewriter span.noCursor::after {
    display: none;
}

#mail {
    text-decoration: underline;
}

footer {
    text-align: center;
    font-size: 0.85rem;
    padding: 0.2rem;
}

/* animations */

@keyframes blink {
    to {
      visibility: hidden;
    }
  }
@-webkit-keyframes blink {
    to {
        visibility: hidden;
    }
}

/* media queries */

@media screen and (max-width: 75rem) {
    #grid {
        grid-template-columns: 1fr;
    }
    a#fanlink {
        width: clamp(0rem, 84rem, 84vw);
        height: clamp(0rem, 84rem, 84vw);
    }
}

@keyframes dist {
    2% { filter: url("#dist-0"); }
    5% { filter: url("#dist-1"); }
    15% { filter: url("#dist-2"); }
    18% { filter: url("#dist-3"); }
    20% { filter: url("#dist-4"); }
}