* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #eeeae0;
    color: #131313;
    text-align: center;
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(5rem, 10vw, 10rem);
}

#name {
    color: transparent;
    text-stroke: 3px #373737;
    -webkit-text-stroke: 3px #373737;
}

p {
    font-family: 'Inter', sans-serif;
    margin: 1rem 0;
}

#subtitle {
    font-size: clamp(1.5rem, 2vw, 2rem);
}

#cv {
    font-size: clamp(1rem, 2vw, 1.5rem);
}

a {
    color: #2E747A;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

a::after,
a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #2E747A;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.4s ease-in-out;
}

a::after {
    transform-origin: right;
}

a::before {
    transform-origin: left;
}

a:hover::after,
a:hover::before {
    transform: scaleX(0.75);
}

@media (max-width: 768px) {

    a::after,
    a::before {
        transform: scaleX(1) !important;
        transition: none !important;
    }

    a:hover::after,
    a:hover::before {
        transform: scaleX(1) !important;
    }
}