body {
    display: flex;
    flex-direction: column;
    font-family: monospace;
    background-color: black;
    color: white;
    text-align: center;
}

/*Avatar*/
.avatar {
    height: 100px;
    width: 100px;
    border-radius: 50%;
}

/*Media query for mobile devices*/
@media screen and (max-width: 425px) {
    img {
        width: 80%;
    }
}

/*Media query for tablets*/
@media screen and (max-width: 768px) {
    img {
        width: 75%;
    }
}

/*Media query for large monitors*/
@media screen and (max-width: 2560px) {
    img {
        width: 70%;
    }
}

.project {
    position: relative;
    display: inline-block;
}

/*Text positioned over Project images*/
.project .title {
    position: absolute;
    z-index: 999;
    margin: 0 auto;
    left: 0;
    right: 0;        
    text-align: center;
    top: 50%; 
    background: rgba(0, 0, 0, 0.418);
    color: white;
    width: 50%; 
    border: solid white;
    border-width: 2px;
    padding: 4px;
}

#project1 {
    width: 75%;
    height: 75%;
}

#projects2and3 {
    display: flex;
    flex-direction: row;
    justify-content: center;
}