.paragraph-section pre {
    text-align: justify;
    width: 60%;
    padding: 1vh 2vh;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.paragraph-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 5vh;
}

.paragraph-section .images-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 60%;
    margin-bottom: 2vh;
}

.paragraph-section img {
    flex: 1 1 200px; 
    max-height: 500px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .paragraph-section pre,
    .paragraph-section .images-container {
        width: 95%;
    }
    
    .paragraph-section img {
        flex: 1 1 150px;
    }
}