@import url('https://fonts.googleapis.com/css2?family=Charm:wght@400;700&family=Gabriela&display=swap');

.about__img img {
    max-width: 379px;
    border: 2px solid white;
    border-radius: 10px;
    margin-right: 15px;
    width: 195%;
    float: left;
    /* Keep float left */
}

.about__container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 155vh;
    background: ghostwhite;
    padding: 20px;
    /* Add padding for smaller screens */
}

.about__img {
    margin: 50px auto;
    /* Reduced margin for better spacing */
    width: 90%;
    /* Adjust width for smaller screens */
    max-width: 800px;
    /* Add a max width for larger screens */
}

.about__header h2 {
    font-size: 32px;
    /* Reduced font size for smaller screens */
    font-family: "Charm", serif;
    text-align: center;
    margin-top: 20px;
    /* Adjust margin for better spacing */
}

.about__paragraph p {
    font-family: "Gabriela", serif;
    font-size: 18px;
    /* Reduced font size for smaller screens */
    line-height: 1.6;
    /* Add line height for better readability */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about__img img {
        width: 100%;
        /* Make image full width on smaller screens */
        max-width: 100%;
        /* Ensure image doesn't exceed container */
        float: none;
        /* Remove float for stacking */
        margin-right: 0;
        /* Remove right margin */
        margin-bottom: 20px;
        /* Add margin between image and text */
    }

    .about__header h2 {
        font-size: 28px;
        /* Further reduce font size */
        margin-top: 10px;
        /* Adjust margin */
    }

    .about__paragraph p {
        font-size: 16px;
        /* Further reduce font size */
    }

    .about__container {
        min-height: auto;
        /* Allow content to dictate height */
    }

    .about__img {
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .about__header h2 {
        font-size: 24px;
    }

    .about__paragraph p {
        font-size: 14px;
    }
}