/* About Page Styles */

/* Creates the look of the container for text and images */
.profile-box{
    display: flex;
    padding: 20px;
    height: 50%;
    width: 60%;
    margin-top: 2.5%;
    margin-bottom: 2.5%;
    background-color: #f1f1f1;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Alters the dimensions depending on the size of device viewing the site. */
@media (max-width: 768px) {
    .profile-box {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    
    .portrait {
        max-width: 35%;
        margin-bottom: 20px;
    }
}

/* Styles for the text content within the profile box */
.text-area{
    width: 100%;
    height: 50%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

/* Styles for the image within the profile box */
.portrait{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    max-width: 35%;
    margin: 0 auto;
    border-radius: 10%;
}

/* Creates a staircase illusion on larger screens */
@media (min-width: 769px) {
    
    .l {
        flex-direction: row;
        margin-left: 5%;
        margin-right: auto;
    }

    .r {
        flex-direction: row-reverse;
        margin-left: auto;
        margin-right: 5%;
    }

}