section {
    height: 90vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.project-container {
    width: 400px;
    height: 400px;
    border-radius: 25px;
    background-color: #16182d;
    overflow: hidden;
    transition: 0.5s;
    margin: 25px;
}

.preview-image {
    padding: 25px;
    margin: auto;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    flex-wrap: nowrap;
    flex-direction: column;
}

.preview-image img {
    width: 100%;
    max-height: 100%;
    border-radius: 16px;

}

.project-container-active {
    height: 800px;
    width: 600px;
}

.project-description {
    width: 570px;
    height: 370px;
    margin: 15px;
    text-align: justify;
    overflow-y: auto;
}

.text {
    font-size: 16px;
    margin: 15px 20px;
}

@media (max-width: 450px) {
    .project-container {
        width: 300px;
        height: 300px;
    }

    .preview-image {
        width: 250px;
        height: 250px;
    }

    .preview-image img {
        width: 250px;
        max-height: 250px;
    }

    .project-container-active {
        height: 800px;
    }

    .project-description {
        width: 270px;
        height: 470px;
    }
}