@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;

    .my-projects {
        margin-top: 10rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        .langleite-gartneri {
            padding: 2rem;
            border-radius: 15px;
            border: 4px solid white;
            width: fit-content;
            position: relative;
            cursor: pointer;
            text-decoration: none;
            color: white;

            h3 {
                color: lightgreen;
            }

            .link-arrow {
                display: none;
                position: absolute;
                top: 1rem;
                right: 1rem;

                path {
                    fill: white;
                }
            }

            &:hover {
                background-color: rgb(25, 255, 255, 0.1);


                h3 {
                    text-decoration: underline;
                }

                .link-arrow {
                    display: block;
                }
            }
        }
    }

}

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

.typewrite {
    margin-top: 1rem;
    position: relative;
    line-height: 1;
    height: 1em;
}

.typewrite::after {
    content: "";
    position: absolute;
    right: -0.125em;

    top: 0;
    height: 1em;

    width: 0.04em;
    background-color: #fff;
}

.typewrite.blink::after {
    animation: blink 1s 5;
    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: start;
    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: 600px) {
    .name {
        font-size: 25px;
    }
}
