@keyframes flicker {
    from {
        text-shadow: 0 0 5px #f3f7ff;
    }
    to {
        text-shadow: 0 0 10px #f3f7ff;
    }
}

@keyframes fudge {
    from {
        transform: translate(0px, 0px);
    }
    to {
        transform: translate(0px, 2%);
    }
}

* {
    font-family: "Handjet", sans-serif;
    font-size: 18pt;
    background-color: #000917;
    color: #e0ecff;
    animation: flicker 100ms ease-in-out infinite;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr 3fr;
    max-width: 900px;
    gap: 20px;

    margin-top: 100px;
}

.name {
    text-align: end;
    grid-column: 2;
    width: 172px;
}

.content {
    grid-column: 3;
    vertical-align: middle;
}

.content main {
    display: flow;
}

.name h1 {
    font-weight: normal;
    word-break: break-word;
    text-transform: uppercase;
    font-size: 6em;
    line-height: 0.75em;
    text-shadow: 2px 2px 4px #f3f7ff;
    margin-top: 0;
    margin-bottom: 0;
}

.content main p {
    margin-top: 0;
    margin-bottom: 0.75em;
    width: 100%;
}

.scanlines {
    overflow: hidden;
    mix-blend-mode: difference;
}

.scanlines::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    background: repeating-linear-gradient(
            to bottom,
            transparent 0%,
            rgba(255, 255, 255, 0.05) .5%,
            transparent 1%
    );

    animation: fudge 7s ease-in-out alternate infinite;
}
