:root {
    --background: #080808;
    --text: #9b9dad;
    --heading: #ffffff;
    --accent: #7afad0;
    --muted: #626470;
}

* {
    box-sizing: border-box;
}

html {
    font-family: Calibri, Arial, sans-serif;
    background: var(--background);
    color: var(--text);
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.hero__content {
    width: min(1100px, 100%);
    display: flex;
    align-items: center;
    gap: 70px;
}

.hero__image {
    flex: 0 0 350px;
}

.profile {
    display: block;
    width: 350px;
    height: 350px;
    object-fit: cover;

    border-radius: 50%;

    opacity: 0.55;

    filter: grayscale(100%);

    transition:
        opacity 300ms ease,
        filter 300ms ease,
        transform 300ms ease;
}

.profile:hover {
    opacity: 0.8;
    filter: grayscale(20%);
    transform: scale(1.02);
}

.hero__text {
    max-width: 650px;
}

.hi {
    margin: 0 0 10px;

    color: var(--accent);

    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

h1 {
    margin: 0;

    color: var(--heading);

    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.subtitle {
    margin: 25px 0 0;

    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.3;
}

.subtitle span {
    color: var(--heading);
}

.description {
    max-width: 520px;

    margin: 25px 0 0;

    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted);
}

.description strong {
    color: var(--text);
    font-weight: 500;
}

.links {
    display: flex;
    gap: 25px;

    margin-top: 35px;
}

.links a {
    color: var(--text);

    text-decoration: none;

    font-size: 0.95rem;

    transition:
        color 150ms ease,
        transform 150ms ease;
}

.links a::after {
    content: " ↗";

    color: var(--accent);
}

.links a:hover {
    color: var(--heading);
    transform: translateY(-2px);
}


/* Mobile */

@media (max-width: 750px) {

    .hero {
        padding: 50px 25px;
    }

    .hero__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .hero__image {
        flex: none;
    }

    .profile {
        width: 180px;
        height: 180px;
    }

    h1 {
        font-size: clamp(3.5rem, 18vw, 5rem);
    }

    .subtitle {
        font-size: 1.35rem;
    }
}
