/* Here I define a 4x3 grid layout for the page where first column's width is 25% of the page width and the second and third columns have the same width of 1fr. I also define the height of the first row to be 15% of the page height and the left three rows to have the same height of 1fr. 
*/

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.grid-container {
    display: grid;
    grid-template-columns: 20% 1fr 1fr;
    grid-template-rows: 200px 1fr 1fr 1fr;
    grid-template-areas:
        "profile-picture header header"
        "left-column main main"
        "left-column main main"
        "left-column main main";
    height: 100vh;
}

.header-area {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-area: header;
    background-color: #444444;
    font-family: Arial, Helvetica, sans-serif;
}

.header-area > .header-area-text-container {
    padding: 10px 30px;
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #cccccc;
    color: #444444;
    border-radius: 10px;
}

a {
    text-decoration: none;
    color: #222222;
}

a:hover {
    text-decoration: underline;
    color: #222222;
}

.profile-picture-area {
    grid-area: profile-picture;
    display: flex;
    background-color: #444444;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.profile-picture-area > img {
    color: white;
    border-radius: 50%;
    height: auto;
}

.left-column-area {
    grid-area: left-column;
    background-color: #cccccc;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
}

.left-column-area > ul {
    padding-left: 0;
    display: block;
    list-style-type: none;
}

.left-column-area > ul > li {
    width: 50%;
    padding: 10px;
    border-bottom: 1px solid #666666;
    margin-left: auto;
    margin-right: auto;
}

.main-area {
    overflow-y: auto;
    overflow-x: hidden;
    text-align: justify;
    grid-area: main;
    background-color: #eeeeee;
    color: #444444;
    padding: 20px;
}
