.projects-page-heading h1 {
    font-size: 3rem;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 5%;
}

.projects-page-subheading {
    margin-bottom: 10px;
}

.projects-page-subheading h2 {
    font-size: 1.7rem;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 5%;
}

.projects-page-heading {
    text-align: center;
}

.projects-page-subheading {
    text-align: center;
    margin-bottom: 2rem;
}

.projects-container {
    text-align: center;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 15px;
    margin-left: 30px;
    margin-right: 30px;
    box-sizing: border-box;
}

.project-container {
    text-align: left;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin-top: auto;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
}

.project-heading h3 {
    font-weight: 400;
}

.project-content-overlay p {
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
    font-size: 1.75rem;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    margin: 0;
    padding: 0;
}

.project-image-container {
    width: 100%;
    height: 100%;
}

.project-image {
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    min-width: 100px;
    min-height: 100px;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover !important;
    overflow: hidden;
}

.buffer {
    margin: 10px;
}

.project-content-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #915000;
}

.project-container:hover .project-content-overlay {
    opacity: 0.85;
}