/* Main content styling with improved responsiveness */
main {
    flex: 1;
    padding: 2rem 0;
    background-color: rgb(246, 243, 243);
    display: flex;
    justify-content: center;
}

.container-title {
    width: 90%;
    max-width: 1200px;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.title1 {
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    font-family: "Lora", serif;
    font-size: clamp(1.5rem, 5vw, 3rem);
    margin-bottom: 2rem;
    color: #244711;
    position: relative;
    padding-bottom: 0.5rem;
}

.title1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #244711;
}

.title2 {
    width: 100%;
    font-family: "Lora", serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin: 2rem 0 1rem;
    color: #0f2503;
    font-weight: bold;
}

.content1 {
    width: 100%;
    font-family: "Lora", serif;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
    text-align: justify;
}

/* Media Queries for different screen sizes */
@media (max-width: 992px) {
    .container-title {
        width: 95%;
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    main {
        padding: 1.5rem 0;
    }
    
    .container-title {
        width: 90%;
        padding: 1rem;
    }
    
    .title1 {
        margin-bottom: 1.5rem;
    }
    
    .title2 {
        margin: 1.5rem 0 0.75rem;
    }
    
    .content1 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 1rem 0;
    }
    
    .container-title {
        width: 95%;
        padding: 0.75rem;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    }
    
    .title1 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        margin-bottom: 1rem;
        padding-bottom: 0.3rem;
    }
    
    .title1::after {
        width: 50px;
        height: 2px;
    }
    
    .title2 {
        font-size: clamp(1.1rem, 3vw, 1.4rem);
        margin: 1.2rem 0 0.5rem;
    }
    
    .content1 {
        font-size: clamp(0.9rem, 2vw, 1rem);
        line-height: 1.5;
        margin-bottom: 1rem;
    }
}