@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/poppins-400-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/poppins-400-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
        U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("assets/fonts/poppins-600-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("assets/fonts/poppins-600-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
        U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("assets/fonts/poppins-700-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("assets/fonts/poppins-700-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
        U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --background: #191919;
    --foreground: #ffffff;
    --social-hover: #cad5e2;
    --avatar-background: #404040;
    --card-border: #37464f;
    --card-description: #e5e5e5;
    --footer-text: #525252;
    --page-max-width: 64rem;
    --content-max-width: 36rem;
    --avatar-size: 6rem;
    --radius-card: 1rem;
    --radius-avatar: 2rem;
    --transition-speed: 150ms;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--foreground);
    font-family: "Poppins", Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.page {
    width: min(100%, var(--page-max-width));
    margin: 0 auto;
    padding: 2rem 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.profile__image {
    width: var(--avatar-size);
    height: var(--avatar-size);
    border-radius: var(--radius-avatar);
    background: var(--avatar-background);
    object-fit: cover;
}

.profile__name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.333;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    font-size: 1.875rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-speed) ease, color var(--transition-speed) ease;
}

.social-link:hover,
.social-link:focus-visible {
    color: var(--social-hover);
    transform: scale(1.1);
}

.social-link:focus-visible,
.card:focus-visible,
.footer-note a:focus-visible {
    outline: 2px solid var(--foreground);
    outline-offset: 4px;
}

.icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.featured-links {
    width: 100%;
    max-width: var(--content-max-width);
    margin-top: 3rem;
    display: grid;
    gap: 0.75rem;
}

.card {
    width: 100%;
    padding: 1rem;
    border: 3px solid var(--card-border);
    border-bottom-width: 6px;
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: transform var(--transition-speed) ease;
}

.card:hover,
.card:focus-visible {
    transform: scale(1.02);
}

.card__main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
}

.card__image {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    object-fit: cover;
    flex-shrink: 0;
}

.card__content {
    min-width: 0;
}

.card__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.555;
}

.card__description {
    margin: 0;
    max-width: 24rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.428;
    color: var(--card-description);
}

.card__arrow {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
}

.footer-note {
    margin: 1.5rem 0 0;
    color: var(--footer-text);
    text-align: center;
    line-height: 1.5;
}

.footer-note a {
    text-decoration: underline;
}

.noscript {
    margin: 0;
    padding: 1rem 1.5rem 2rem;
    color: var(--foreground);
    text-align: center;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
}

@media (max-width: 640px) {
    .page {
        padding: 2rem 1rem 2.5rem;
    }

    .social-links {
        gap: 1rem;
        font-size: 1.75rem;
    }

    .card {
        gap: 0.75rem;
    }

    .card__main {
        gap: 1rem;
    }

    .card__title {
        font-size: 1rem;
    }
}
