.container {
    min-width: 500px;
}

.projects {
    margin: 50px auto 0 auto;
    width: 100%;
    display: flex;
    align-items: space-around;
    flex-wrap: wrap;
}

.project {
    width: 400px;
    height: 333px;
    margin: 15px auto;
    background-color: #75bb88;
    display: inline-block;
    background-size: cover;
    position: relative;
    transition: all 0.4s ease-out;
    box-shadow: 0px 35px 77px -17px rgba(0, 0, 0, 0.44);
    text-shadow: 2px 2px 7px rgba(0, 0, 0, 0.44);
    overflow: hidden;
    color: white;
}

.project, .project * {
    color: white;
}

.project a:link, .project a:visited {
}

.project img {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: all 0.4s ease-out;
}

.project .text {
    /*   z-index:99; */
    position: absolute;
    padding: 30px;
    height: calc(100% - 60px);
}

.project h2 {
    font-size: 30px;
    font-weight: 300;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.project p {
    font-weight: 300;
    margin: 20px 0 0 0;
    line-height: 25px;
    /*   opacity:0; */
    transform: translateX(-200px);
    transition-delay: 0.2s;
}


.project:hover {
    /*   background-color:#99aeff; */
    box-shadow: 0px 35px 77px -17px rgba(0, 0, 0, 0.64);
    transform: scale(1.05);
}

.project:hover img {
    opacity: 0.2;
}

.project:hover .animate-text {
    transform: translateX(0);
    opacity: 1;
}

@media (max-width: 500px) {
    .projects {
        flex-direction: column;
    }
}