:root {
    --color-neutral-950: rgb(10, 12, 13);
    --color-pink-500: rgb(243, 22, 176);
    --color-pink-600: rgb(205, 38, 154);
    --color-white: rgb(255, 255, 255);
    --color-text-primary: rgb(222, 228, 234);
    --color-text-secondary: rgb(182, 194, 207);
    --color-text-tertiary: rgb(89, 103, 115);
    --color-dark-600: rgb(34, 39, 43);
       --color-dark-700: rgb(23, 26, 29);
}

body {
    margin: 0;
    padding: 0;
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    background-color: var(--color-neutral-950);
}

.about-page {
    display: flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 7rem 4rem;
}

.container {
    margin-left: 2rem;
    width: 100%;
    max-width: 1578px;
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.hero-section {
    width: 56%;
}

.hero-content {
    flex-grow: 1;
}

.text-content {
    margin-right: 1.5rem;
}

.title {
    font-size: 8rem;
    font-weight: 200;
    font-variant-numeric: ordinal;
    letter-spacing: -0.05em;
    margin: 0 0 1rem;
    line-height: 1;
    color: var(--color-pink-500);
}

.body-text {
    font-size: 1.5rem;
    line-height: 2.25rem;
    color: var(--color-white);
}

.heading-text {
    font-weight: 600;
    font-size: 2rem;
    line-height: 2.5rem;
    color: var(--color-text-primary);
    margin: 0 0 1rem 0;
}

.secondary-text {
    color: var(--color-text-secondary);
    margin: 1rem 0;
}

.profile-section {
    margin-left: 1.25rem;
    width: 44%;
}

.profile-image {
    object-fit: contain;
    width: 100%;
    border-radius: 9999px;
    aspect-ratio: 1;
}

.portfolio {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    min-width: 52px;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    text-decoration: none;
    background-color: var(--color-pink-500);

    width: fit-content;
    text-align: center;
    border-radius: 0.5rem;
}

.btn-link span {
    padding: 0 1rem;
}
.btn-icon img {
    width: 24px;
    height: 24px;
    display: block;
    margin: 0 auto;
}

.btn-link.btn-icon {
    padding-left: 0;
    padding-right: 0;
    min-width: 52px;
}

.btn-link:hover {
    background-color: var(--color-pink-600);
}

.btn-link.sec {
    background-color: var(--color-dark-600);
}

.btn-link.sec:hover {
    background-color: var(--color-dark-700);
}

.note {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
}

/*logo grid*/
.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem; /* adjust spacing between logos as needed */
    align-items: center;
    justify-items: center;
    padding: 1rem;
    margin: 2rem auto;
}

.logo-item {
    max-width: 285px;
    max-height: 75px;
}

.logo-item img {
    display: block;
    width: 100%; /* fill the container’s width */
    height: auto; /* adjust height to keep aspect ratio */
    max-height: 75px; /* also cap the height, if the container’s width would force it taller */
}

.logo-acme img {
    max-height: 55px;
    width: 100%;
}

.logo-bc img {
    max-height: 50px;
}

@media (max-width: 768px) {
    .about-page {
        padding: 3rem 1.25rem;
    }

    .body-text {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }

    .heading-text {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .container {
        margin-left: 0;
    }

    .content-wrapper {
        flex-direction: column-reverse;
    }

    .hero-section {
        width: 100%;
        margin-top: 0rem;
    }

    .text-content {
        margin-right: 0.625rem;
    }

    .title {
        font-size: 4rem;
    }

    .btn-link {
        font-size: 1rem;
    }

    .profile-section {
        margin-left: 0;
        width: 50%;
        margin-top: 0;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
    }

    .logo-item {
        max-width: 281px;
        max-height: 75px;
    }

    .logo-item img {
        display: block;
        max-width: 180px;
        height: auto; /* adjust height to keep aspect ratio */
        height: 100%; /* also cap the height, if the container’s width would force it taller */
    }

    .logo-acme img {
        max-height: 60px;
    }
    .logo-google img {
        max-height: 50px;
    }
    .logo-bc img {
        max-height: 40px;
    }
}
