.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    padding: 0;
}

.project-content {
    list-style: none;
    display: block;
    background-color: #11999e;
    border-radius: 20px; 
    border-width: 4px;
    border-style: solid;
    border-color: #30e3ca;
    width: 600px;
    height: 700px;
    padding: 20px;
    margin: 20px auto;
    text-align: center;
    font-size: 32px;
}

.project-description {
    font-size: 18px;
    padding: 20px;
    display: block;
    border-radius: 20px;
    color: #40514e;
    background-color: #e4f9f5;
}

.project-image {
    border-radius: 20px;
    border-color: #30e3ca;
    border-style: solid;
    border-width: 2px;
    width: 400px;
    height: 400px;
}

.project-button {
    padding: 15px;
    font-size: 18px;
}


.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.overlay-content {
    display: block;
    background-color: #40514e;
    width: 60%;
    height: 80%;
    margin: 50px auto;
    padding: 20px;
    border-color: #11999e;
    border-style: solid;
    border-width: 5px;
    border-radius: 20px;
    overflow-y: scroll;
}

.overlay-image {
    display: block;
    margin: auto;
    width: 50%;
    height: auto;
    border-width: 5px;
    border-style: solid;
    border-radius: 20px;
    border-color: #30e3ca;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.overlay-active {
    animation: overlayFadeIn 0.5s forwards;
    display: block;
}

.overlay-exit {
    font-size: 28px;
    float: right;
    padding: 10px;
    margin: 20px;
    margin-left: 0;
    border-radius: 50%;
}

.remove-scrolling { 
  height: 100%; 
  overflow: hidden; 
} 

@media (max-width: 600px) {
    .project-content {
        width: 400px;
        height: 550px;
        font-size: 28px;
    }
    .project-description {
        font-size: 16px;
    }
    .project-image {
        width: 300px;
        height: 300px;
    }
    .overlay-content {
        width: 80%;
    }
    .overlay-image {
        width: 60%;
    }
}

@media (max-width: 450px) {
    .project-content {
        width: 300px;
        height: 450px;
        font-size: 26px;
    }
    .project-description {
        font-size: 14px;
    }
    .project-image {
        width: 200px;
        height: 200px;
    }
    .overlay-content {
        width: 80%;
    }
    .overlay-image {
        width: 70%;
    }
}