body {
    background-color: #ecd3b5;
    color: #3b2f2f;
}

.catholic-teaching-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.sub-main-container {
    width: 95%;
}

.sub-main-container h1, h2 {
    padding: 1rem;
    color: #7A1E1E;
}



/*Jesus Key Image to Apostles*/

.definition-of-teaching {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.key-section-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
}

.key-section-image img {
    width: 550px;
    height: 300px;
    object-fit: cover;
    border-radius: 3px;
}

/*Transmission Scripture Image*/

.transmission-of-revelation {
    display: flex;
    gap: 3rem;
}

.section-transmission-image img {
    width: 550px;
    height: 400px;
    object-fit: cover;
    border-radius: 3px;
}

/*Heirarchy image pyramid section*/

.heirarchy-image-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.heirarchy-image-container img {
    border-radius: 3px;
}

/*Magisterium Image Section*/

.magisterium {
    display: flex;
    gap: 2rem;
}

.magisterium-text {
    padding-top: 1rem;
    line-height: 1.5rem;
}

.magisterium-image img {
    margin: 2rem 0;
    border-radius: 5px;
}

/*Apostolic Succession Image Section*/

.apostolic-image {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.apostolic-image img {
    border-radius: 5px;
}

/*Role of Pope Image Section*/

.pope-and-bishops {
    display: flex;
    gap: 1rem;
}

.role-of-pope img {
    padding: 2rem 0;
    border-radius: 5px;
}

.pope-and-bishops-text {
    line-height: 2rem;
    padding-top: 1.5rem ;    
}
