.about {
    background-color: var(--bg-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    gap: 1.5rem;
    height: 100%;
    padding: 0 1rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.about-image img {
    width: 80%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    /* Box shadow only visible if bg is white in the future */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.about-text {
    padding: 1.5rem 1rem;
}


/* Tablet and up: side-by-side layout */
@media (min-width: 768px) {
    .about-container {
        flex-direction: row-reverse;
        text-align: center;
        align-items: center;
        justify-content: space-between;
    }

    .about-content {
        flex: 1;
        padding-left: 2rem;
        padding-right: 0;
        padding-top: 0;
    }

    .about-image {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .about-image img {
        width: 100%;
        max-width: 400px;
    }
}

@media (min-width: 900px) {
    .about .underline {
        width: 70%;
    }
}