html,
body {
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka One', cursive;
    font-weight: normal;
}

img {
    max-width: 100%;
}

header {
    color: #fff;
    background: #4e5a65;
    border-bottom: 2px solid #708090;
    padding: 20px;
    text-align: center;
}

nav.navbar {
    margin-bottom: 50px;
}

nav ul li a {
    color: #0F2417;
    display: block;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 16px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}


#about-me {
    display: flex;
}

#about-me,
#projects,
#skills {
    padding: 40px;
    max-width: 960px;
    margin: 0 auto;
}

#about-me .text {
    width: 45%;
    margin-right: 5%;
}

#about-me .profile-pic {
    width: 55%;
}

#about-me img {
    width: 100%;
}

.flex-container {
    display: flex;
}

.special {
    color: coral;
    text-decoration: underline;
    font-weight: bold;
}

#projects {
    clear: both;
}

#projects h2 {
    margin-bottom: 20px;
}

.project {
    background-color: #50a6fc;
    width: 20%;
    height: auto;
    margin: 0 2.5% 40px;
    float: left;
    position: relative;
    line-height: 0;
}

.project:hover img {
    opacity: 0;
}

.project-title {
    color: white;
    padding: 20px;
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
}

.project:hover .project-title {
    display: block;
}

@media screen and (max-width:768px) {
    #about-me {
      display: flex;
      flex-direction: column;
    }
    #about-me .text {
      width: 100%;
      margin-bottom: 5%;
    }
    #about-me .profile-pic {
      width: 100%;
    }
    .flex-container {
        display: flex;
        flex-direction: column;
    }
    .project {
        width: 70%;
        margin-right: 15%;
        margin-left: 15%;
    }
    .project img {
        width: 100%;
    }
  }

.blog-post {
    padding: 40px;
}

caption {
    font-family: 'Fredoka One', cursive;
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 5px;
    text-align: left;
    color: #333;
}

th {
    text-align: left;
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
}

td {
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
}
