:root {
    --accent-color: rgb(65, 77, 247);
}

body {
    background: linear-gradient(120deg,
            #000000 0%,
            #000000 10%,

            #000000 25%,
            #090223 50%,
            #000000 75%,

            #000000 90%,
            #000000 100%);

    background-size: 1000vw 5000vh;
    animation: gradientShift 20s linear infinite;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-rows: 0fr 3fr;
    grid-template-areas:
        "a b"
        "c c";

    width: 1920px;

    gap: 16px;

    margin-bottom: 16px;
}

.about-grid section {
    border-radius: 0.5rem;
    border-style: solid;
    border-width: 1px;

    border-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 8px hsl(0 0% 100% / 0.2);
}

.about-grid section h2 {
    font-size: 3rem;
    font-weight: 500;
}

.about-grid section p {
    font-size: 1.35rem;
    font-weight: 300;

    line-height: 1.2;
}

.main-card-1 {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-direction: column;

    padding: 2rem;

    grid-area: a;
}

.profile-icon {
    background-color: rgba(255, 255, 255, 0.2);

    width: 12.5rem;
    height: 12.5rem;
    border-radius: 50%;

    display: flex;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    flex-shrink: 0;

    overflow: hidden;
}

.profile-icon div:first-child {
    width: 5.75rem;
    height: 5.75rem;
    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.8);

    flex-shrink: 0;

    margin-top: 10rem;
}

.profile-icon div:last-child {
    background-color: rgba(255, 255, 255, 0.8);

    width: 10rem;
    height: 10rem;
    border-radius: 50%;

    flex-shrink: 0;

    margin-top: 8px;
}

.profile-name {
    /* font-family: 'Montserrat', Helvetica, sans-serif; */

    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 1.25rem;
    font-size: 2.25rem;

    font-weight: 300;
}

.profile-socials a img {
    width: 3rem;
    height: 3rem;

    margin: 0.25rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;

    filter: invert() opacity(0.9);

    transition: transform 0.2s ease;
}

.profile-socials a img:hover {
    transform: scale(1.1);
}

.main-card-2 {
    padding: 2rem;

    grid-area: b;

    gap: 1rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-card-3 {
    padding: 2rem;

    grid-area: c;
}

.gallery {
    margin-top: 1rem;

    overflow: hidden;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;
}

.gallery img {
    max-width: 700px;
    object-fit: cover;

    transition: 0.2s ease;
}

.gallery img:hover {
    transform: scale(1.05);
}

.small-photo {
    max-width: 300px;
    max-height: 300px;
}

.photo-contain {
    object-fit: contain !important;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@media screen and (max-width: 1312px) {}

@media screen and (max-width: 768px) {
    .about-grid {
        margin: 1rem 0rem 1rem 0rem;

        grid-template-areas:
            "a a a"
            "b b b"
            "c c c";

        grid-template-rows: 0fr 0fr 0fr;
    }

    .about-grid section h2 {
        text-align: center;
    }
}

@media (prefers-color-scheme: light), print {
    body {
        background: linear-gradient(120deg,
                #ffffff 0%,
                #ffffff 10%,

                #ffffff 25%,
                hsl(184, 89%, 93%) 50%,
                #ffffff 75%,

                #ffffff 90%,
                #ffffff 100%);

        background-size: 1000vw 500vh;
        animation: gradientShift 20s linear infinite;
    }

    .profile-socials a img {
        filter: opacity(0.9);
    }

    .about-grid section {
        background-color: rgba(255, 255, 255, 0.3);
        border-color: rgba(0, 0, 0, 0.1);
        box-shadow: 0 0 8px hsl(0 0% 0% / 0.2);
    }

    .profile-icon {
        filter: invert() brightness(1.3);
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
    }
}