.project-container {
    padding: 1rem 2rem;
    margin: 0;
}

.references-heading {
    color: white;
    text-align: center;
}

.project-card-container {
    position: relative;
    width: auto;
    height: auto;
}

.project-card-image {
    width: 100%;
    height: 25rem;
    object-fit: cover;
    border-radius: 0.3rem;
    box-shadow: 3px 3px 10px rgb(121, 121, 121);
}

.project-card-content {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(44, 15, 1, 0.35);
    z-index: 0;
    padding: 1rem;
    border-radius: 0.3rem;
}

.gallery-images h2 {
    color: rgb(56, 56, 56);
    text-align: center;
}

/* Tablet (ab 601px) */
@media (min-width: 601px) and (max-width: 1024px) {
    .project-container {
        padding: 1rem 2rem;
    }
    
    .project-card-image {
        height: 30rem;
    }
    .project-card-content {
        background-color: rgba(44, 15, 1, 0.4);
        padding: 4rem;
    }
}

/* Desktop (ab 1025px) */
@media (min-width: 1025px) {

    .project-container {
        padding: 0rem 2rem;
        height: auto;
    }
    
    .project-card-image {
        height: 30rem;
    }

    .project-card-container {
        position: relative;
        max-width: 60vw;
        height: auto; 
        margin: 2rem auto;
    }

    .project-card-content {
        background-color: rgba(44, 15, 1, 0.5);
        padding: 3rem;
    }

    .project-card-content p, h2 {
        font-size: 2.25rem;
    }

    .project-card-content p {
        font-size: 1.5rem;
    }

    .project-card-content .action-button {
        margin: 3rem auto;
    }

}