@media screen and (width > 1200px) {
    body:has(.main-about) .header_wrapper {
        width: 50%;
        background-color: var(--clr-bg);
    }
}


@media screen and (width < 1200px) {
    body:has(.main-about) header {
        background-color: var(--clr-bg);
    }
    .main-about {
        grid-template-columns: 1fr;
        margin-top: 10rem;
    }
}

.main-about > div:first-of-type {
    padding: var(--padding-inline);
    display: flex;
    align-items: center;
}

@media screen and (width < 1000px) {
    .main-about > div:first-of-type {
        padding-bottom: 4rem;
    }
}

.main-about > div:last-of-type figure {
    height: 100vh;
    width: 100%;
}
.main-about > div:last-of-type img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
