@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

* {
    box-sizing: border-box;
}

body {
    background: black;
    color: white;
    font-family: 'VT323', monospace;
}

ul {
    list-style: none;
}

article {
    margin: auto;
    text-align: center;
    overflow: hidden;
}

.name {
    font-size: 3rem;
    margin: auto;
    margin-bottom: 3rem;
    width: max-content;
}

.typewrite {
    position: relative;
}

.typewrite::after {
    content: "";
    background-color: #fff;
    height: 3rem;
    width: 0.04em;
    position: absolute;
    right: -0.125em;
    bottom: 1.5rem;
}

.typewrite.blink::after {
    animation: blink 1s 3;
    width: 0;
}

@keyframes blink {
    0% {width: 0.04em}
    50% {width: 0.04em}
    51% {width: 0}
    100% {width: 0}
}

.socials {
    width: max-content;
    margin: auto;
}

.socials > li {
   height: 2rem;
   margin-bottom: 1rem;
}

.socials img {
    max-height: 2rem;
    width: 2rem;
    margin-right: 2rem;      
}

.socials a {
    display: flex;
    align-items: left;
    color: white;
    text-decoration: none;
    justify-self: left;
}

.socials a > p {
    margin: auto 0;
}

#linkedin {
    filter: grayscale(100%) brightness(1000%);
}

#mail {
    filter: invert(1);
}

@media (max-width: 500px) {
    .name {
        font-size: 2rem;
    }

    .typewrite::after {
        content: "";
        background-color: #fff;
        height: 2rem;
        width: 0.04em;
        position: absolute;
        right: -0.125em;
        bottom: 1rem;
    }
}