* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background-color: #f9f9f9;
}

/* ==========================
     image profile-content styles 
============================= */
.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; 
    width: 100%;
}

.profile-content{
    width: 50%;
    padding: 15px 20px 20px;
}
.profile-content img {
 border-radius: 5px;
}

/* section float */
header {
    padding: 20px;
    text-align: center;
    font-size: 35px; 
    color: white; 
}
nav {
    height: 50px;
    background-color: #ffffff;
    margin-bottom: 30px;
}
.navtext {
    padding: 10px 0px 0px 15px;
    font-size: 20px;
    text-decoration: none;
}
aside {
    float: left;
    padding: 10px 0px 0px 20px;
    width: 35%;
    max-width: 500px;
    height: 800px;
    padding: 20px;
    background-color: #ffffff;
    text-align: center;
}
aside img {
    border-radius: 30px; max-width: 180px;
    align-items: center;
    border:10px #ffffff;
}
aside h5 {
    text-align: center;
    font-size: 20px;
}
aside h5 h5 {
    color: #AEAEAE;
}
section{
    background-color: #f9f9f9;
}

.artHeadContainer{
    padding: 0px 0px 20px 30px;
}
.articleHeader{
    border:1px solid black;
    max-width: 80px;
    background-color: black;
    color: white;
    text-align: center;
    border-radius: 20px;
    padding: 0px 0px 3px 0px;
}

article { 
    float: left;
    padding: 5px;
    margin: 1vh;
    width: 60%;
}
/* Clear floats after the columns */
section::after {
    content: "";
    display: table;
    clear: both;
}

footer {
    padding: 10px;
    text-align: center;
    color: grey;
}

@media (max-width: 1050px) {
    aside, article {
        width: 100%;
        max-width: 100%;
        height: auto;
        text-align: center;
        align-items: center;
        background-color: #f9f9f9;
    }
    aside img {
        border:10px solid #ffffff;
    }
}
@media (max-width: 650px) {
    .profile-content{
    width: 100%;
    height: auto;
}
}

/* /========END===image profile-content styles --*/

.image-grid {
    --gap: 16px;
    --num-cols: 4;
    --row-height: 300px;

    box-sizing: border-box;
    padding: var(--gap);

    display: grid;
    grid-template-columns: repeat(var(--num-cols), 1fr);
    grid-auto-row: var(--row-height);
    gap: var(--gap);
}

.image-grid > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-grid-col-2 {
    grid-column: span 2;
}
.img-grid-col-2 {
    grid-column: span 2;
}

@media screen and (max-width: 1024px) {
    .image-grid {
    --num-cols: 2;
    --row-height: 200px;
    }
}