@import 'common.css';

.about-section {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.author-image-container {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    position: relative;
}

.author-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.welcome-text {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-family: "Times New Roman", Times, serif;
    text-transform: capitalize;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

@media (max-width: 768px) {
    .about-section {
        padding: 6rem 1rem 2rem;
    }

    .author-image-container {
        width: 180px;
        height: 180px;
    }

    .welcome-text {
        font-size: 1.8rem;
    }

    .about-text {
        font-size: 1.1rem;
        text-align: left;
    }
}