.my-projects {
    margin: 6em 0 1em;
    transition: 3.1s ease-in;
}

.my-work-section h2 {
    margin-top: 3em;
}

.project-wrap a {
    display: block;
    height: 70%;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
}

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

.project-wrap p {
    font-size: 1.4rem;
    margin-top: 0.6em;
}

.show-hide {
    overflow: hidden;
}

.closed {
    height: 0;
}

.opened {
    height: auto;
}

@media (max-width: 750px) {
    .project-wrap {
        margin-bottom: 6em;
    }
}

@media (min-width: 750px) {
    .my-projects-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3em;
    }
    .project-wrap p {
        font-size: 1.1rem;
    }
}

@media (min-width: 1200px) {
    .my-projects-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 3em;
    }
}
