.project-overlay {
    text-align: center;
}

.project-overlay > img {
    width: 550px;
}

.row {
    display: flex;
    padding-left: 100px;
    padding-right: 100px;
}

.row-center {
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.col-4, .col-6 {
    width: 33.33%;
    padding: 1%;
}

.project-img {
    width: 100%;
    object-fit: cover;
}

.img-container:hover {
    transform: scale(1.05);
    object-fit: cover;
}

.img-container {
    position: relative;
    transition: transform .2s;
}

.img-container::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 98%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition-property: opacity;
    transition-duration: 200ms;
    border-radius: 5%;
}

.img-container:hover::after {
    opacity: 1;
}

.cta div {
    position: absolute;
    top: 53%;
    left: 32%;
    transform: translate(-50%, -50%);
    padding-left: 15px;
    text-decoration: none;
    text-transform: uppercase;
    font-family: sans-serif;
    font-weight: bold;
    color: white;
    opacity: 0;
    transition-property: all;
    transition-duration: 500ms;
    z-index: 2;
    width: 70%;
    height: 80%;
}
  
.img-container:hover .cta div {
    opacity: 1;
    left: 49%;
}

.cta div:hover {
    transform: translate(-50%, -50%);
}

.project-name {
    font-family: "Anton", sans-serif;
    color: white;
    text-shadow: 2px 2px #7F9E8C;
    font-size: 20px;
    letter-spacing: 2px;
}

.project-description {
    margin-top: 10px;
    font-weight: lighter;
    font-size: 13px;
}

.project-tools {
    background-color: white;
    color: black;
    margin-top: 10px;
    padding: 3px;
}

.demo-button {
    background-color: #7F9E8C;
    border: none;
    padding: 2px 2px;
    font-family: "Anton", sans-serif;
    text-transform: uppercase;
    color: white;
    letter-spacing: 0.5px;
    font-size: 18px;
    border-radius: 80px;
    width: 100px;
    cursor: pointer;
    margin-top: 15px;
}

/* Media query for responsive design */
@media only screen and (max-width: 768px) {
    .project-overlay > img {
        width: 100%;
        margin-bottom: 20px;
    }
    .row {
        flex-direction: column;
        padding-left: 50px;
        padding-right: 50px;
    }
    .col-4, .col-6 {
        width: 100%;
        margin-bottom: 10px;
        box-sizing: border-box; 
    }
    .cta div {
        top: 50%;
        left: 50%;
        width: 100%;
        font-size: 50px;
    }
}