main {
    box-sizing: border-box;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr) minmax(0, 0.75fr);
    gap: clamp(20px, 3vw, 48px);
    width: 100%;
    min-height: 100vh;
    padding: clamp(20px, 4vw, 56px);
}

main > div {
    align-content: center;
    min-width: 0;
}

img {
    display: block;
    width: 60%;
    max-height: 68vh;
    height: auto;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
    image-rendering: smooth;
    transition: filter 0.2s ease-in-out;
}

img:hover {
    filter: grayscale(0%);
}

p {
    opacity: 0.8;
    font-family: "Inter Display", "Inter Variable", "Inter", system-ui, sans-serif;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.35;
}

.info-showcase {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
    border-radius: 200px;
    background-color: #000;
}

.info-showcase > div {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 200px;
    background-color: #2c2c2c;
    color: #fff;
}

.icon-showcase > div > p {
    margin: 0;
}

.info-showcase > div:hover {
    background-color: #fff;
    color: #000;
}

#backBtn {
    position: absolute;
    bottom: clamp(20px, 4vw, 56px);
    left: clamp(20px, 4vw, 56px);
}

@media (max-width: 860px) {
    main {
        display: flex;
        flex-direction: column;

        justify-content: space-between;
        align-content: space-between;
    }

    .main-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }

    .about-me-text {
        margin: 0;
    }

    .main-title > h1 {
        transform: scaleX(0.78);
        transform-origin: center center;
        text-align: center;
    }

    img {
        width: 100%;
        height: auto;

    }

    .image-container {
        height: 240px;
        overflow: hidden;

        display: flex;
        align-items: center;
    }

    #backBtn {
        position: static;
        translate: none;
        margin-top: 0;
        z-index: 9;
    }

    .info-showcase {
        width: 100%;

        margin-top: 48px;
    }
}
