h1 {
    font-size: 40px;
    font-family: Roboto, Helvetica, sans-serif;
    text-align: center; 
}

h2 {
    margin: 40px;
    font-size: 25px;
    font-family: Roboto, Helvetica, sans-serif;
    text-align: center; 
}

h3 {
    text-align: center;
    font-size: 20px; 
    font-family: Roboto, Helvetica, sans-serif;
    padding: 40px;
}

h4 {
    font-family: Roboto, Helvetica, sans-serif;
    padding-bottom: 0;
}

p {
    font-family: Roboto, Helvetica, sans-serif;
    padding-top: 0;
}

.nav-bar {
    text-align: center;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

li {
    display: inline;
}

.nav-items {
    font-size: 20px;
    font-family: Roboto, Helvetica, sans-serif;
    padding: 8px;
    border-radius: 5px;
}

.nav-items:link, .nav-items:visited {
    background-color: white;
    color: black;
    padding: 14px 25px;
    text-align: center; 
    text-decoration: none;
    display: inline-block;
}

.nav-items:hover, .nav-items:active {
    background-color:#0098B3;
}

.container {
    position: relative;
    object-fit: contain;
    width: 100%;
}

.background {
    display: block;
    object-fit: contain;
    width: 100%;
}

.overlay {
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #0098B3;
}

.text-overlay {
    font-family: Roboto, Helvetica, sans-serif;
    opacity: 0;
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    width: 100%;
    text-align: center;
    font-size: 50px;
    color: black;
}

.container:hover .overlay {
    opacity: 0.75;
}

.container:hover .text-overlay {
    opacity: 1;
}

hr.rounded {
    border-top: 8px solid #0098B3;
    border-radius: 5px;
    width: 75%;
}

.projects-container { 
    padding-left: 20%;
    padding-right: 20%;
}

.project {
    display: flex;
    align-items: center;
    justify-content: center;
}  

.project-image {
    width: 30%;
    border-radius: 40px;
    padding: 20px;
}

.image-gallery {
    width: 100%;
}

.image {
    width: 24.7%;
    height: auto;
    transition: .5s ease;
}

@media screen and (max-width: 900px) {
    .image {
      width: 45%;
    }
}

@media screen and (max-width: 700px) {
    .image {
      width: 100%;
    }
}

.image-gallery:after {
    content: "";
    display: table;
    clear: both;
}

/* .image:hover {
    width: 32%;
} */