* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0d0c0c;
    --pink: #ff00a8;
    --white: #ffffff;
}

html,
body {
    min-height: 100%;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: "Inter", Arial, sans-serif;
}


.container {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 20px;
}


.hero {
    display: flex;
    align-items: center;
    padding-block: 38px;

    background-color: #0d0c0c;

    background-size: 68px 100%;
}



.profile-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 222px;
    gap: 24px;

    min-height: 295px;
}


.profile-info {
    position: relative;

    min-height: 295px;

    padding: 17px 30px 30px;

    border: 2px solid var(--pink);
    border-radius: 20px;

    overflow: hidden;


    background-size: 67px 100%;

    box-shadow:
        0 0 8px rgba(255, 0, 168, 0.12),
        inset 0 0 30px rgba(255, 0, 168, 0.015);
}


.tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.tag {
    display: inline-flex;
    align-items: center;

    height: 28px;
    padding: 0 12px;

    border: 1px solid var(--pink);
    border-radius: 20px;

    color: #f7f7f7;

    font-size: 14px;
    font-weight: 500;
    line-height: 1;

    white-space: nowrap;
}




h1 {
    position: relative;
    z-index: 1;

    font-size: clamp(60px, 7vw, 76px);
    line-height: 0.91;
    letter-spacing: -4px;
    font-weight: 900;

    color: #fff;
}



.socials {
    display: flex;
    gap: 14px;

    margin-top: 24px;
}

.social {
    width: 52px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--pink);
    color: #fff;

    border-radius: 11px;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.social:hover {
    transform: translateY(-2px);

    box-shadow:
        0 5px 20px rgba(255, 0, 168, 0.35);
}

.telegram svg {
    width: 27px;
    height: 27px;

    fill: white;
}

.behance {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -2px;
}


.profile-photo {
    position: relative;

    min-height: 295px;

    border: 2px solid var(--pink);
    border-radius: 20px;

    overflow: hidden;

    background: #211321;

    box-shadow:
        0 0 15px rgba(255, 0, 168, 0.12);
}

.profile-photo::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(255, 0, 180, 0.16),
            transparent 35%,
            rgba(255, 0, 170, 0.12)
        );

    mix-blend-mode: screen;
}

.profile-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    filter:
        saturate(1.15)
        contrast(1.05);
}

.projects {
    padding-block: 38px;
}

.projects-title {
    margin-bottom: 32px;

    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;

    color: var(--white);
}

.projects-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

    width: 100%;
}

.projects-card {
    flex: 1 1 300px;

    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 28px;
    border: 2px solid var(--pink);
    border-radius: 20px;

    overflow: hidden;

    background: #211321;

    box-shadow:
        0 0 15px rgba(255, 0, 168, 0.12);
}

.project-card-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.3px;

    color: var(--white);
}

.project-card-description {
    max-width: 60ch;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.65);
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: auto;
    padding-top: 4px;

    font-size: 14px;
    font-weight: 600;

    color: var(--pink);
    text-decoration: none;

    transition: opacity 0.2s ease;
}

.project-card-link::after {
    content: "→";
}

.project-card-link:hover {
    opacity: 0.75;
}

@media (max-width: 750px) {

    .container {
        padding-inline: 16px;
    }

    .hero {
        padding-block: 20px;
    }

    .profile-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .profile-info {
        min-height: 330px;
    }

    .profile-photo {
        height: 360px;
        min-height: 0;
    }

    h1 {
        font-size: clamp(55px, 16vw, 76px);
    }

    .projects-card {
        padding: 20px;
    }

    .project-card-title {
        font-size: 19px;
    }

    .project-card-description {
        font-size: 14px;
    }
}


@media (max-width: 430px) {

    .profile-info {
        padding: 15px 20px 25px;
        border-radius: 17px;
    }

    .tags {
        gap: 7px;
    }

    .tag {
        font-size: 12px;
        height: 25px;
        padding: 0 9px;
    }

    h1 {
        letter-spacing: -3px;
    }

    .social {
        width: 50px;
        height: 48px;
    }

    .profile-photo {
        height: 300px;
        border-radius: 17px;
    }
}

