/*
Charles Langlan Style Sheet 
   Filename: academics.css
   Author: Charlie Langlan
   Academics Style Sheet
*/

/* Body text styling for university name and expect grad */
body #p1 {
    font-style: italic;
}

body .education #p2 {
    text-indent: 2em;
}

/* Container for global page content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(205, 213, 213, 0.2);
    border-radius: 5px;
}

/* Education Box i.e the top but below image */
.education {
    background-color: rgba(205, 213, 213, 0.2);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 2rem;
    box-sizing: border-box;
}

.education h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.education p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.education h3, .two-column-container h3 {
    color: rgba(78, 144, 211, 1);
}

/* Two column section (courses taken and courses in progress) */ 
.two-column-container {
    display: flex;
    gap: 2rem;
    padding: 20px;
    box-sizing: border-box;
}

.column-left,
.column-right {
    flex: 1;
    padding: 20px;
    background-color: rgba(205, 213, 213, 0.2);
    border-radius: 5px;
}

.two-column-container h3 {
    margin-top: 0;
    padding-top: 0;
}

/* Layout of the top image (UMB campus) horizontally and vertically. */
.image {
    display: flex;
    justify-content: center; 
    align-items: center; 
    margin: 20px auto; 
}

/* ensuring scale and aspect ratio don't change */ 
.image img {
    max-width: 100%;
    height: auto; 
}

