.container-projects {
    margin-top: 2rem;
}

.project {
    position: relative;
    margin-bottom: 2rem;
    cursor: pointer;
}

.project img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    object-position: center;
}

.project a {
    color: var(--link-color);
    display: block;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    margin-top: 1rem;
    text-transform: uppercase;
}

.project-data {
    position: absolute;
    bottom: 40%;
    left: 420px;
    color: #000;
    font-weight: 500;
    font-size: 15px;
    background: #ffffffa6;
    padding: 2rem 3rem;
    width: -webkit-fill-available;
}

.project-title {
    font-size: 35px;
    text-transform: uppercase;
    font-weight: 300;
}

.project-description {
    color: #707070;
}

.project-category {
    color: #fff;
    font-weight: 500;
    background: #f76d31c4;
    width: fit-content;
    padding: 2px;
}

/*===== Media queries =====*/
@media only screen and (max-width: 1050px) {
    .project-data {
        bottom: 30%;
    }
}

@media only screen and (max-width: 800px) {
    .project-data {
        width: 500px;
        bottom: 0;
        left: 0;
        padding: 1rem 2rem;
    }

    .project-description {
        color: #000;
    }

    .project-title {
        font-size: 30px;
    }
}

@media only screen and (max-width: 550px) {
    .project img {
        width: 100%;
    }

    .project-data {
        width: 100%;
    }

    .project-title {
        font-size: 25px;
    }

    .project-description {
        font-size: 12px;
    }

    .project a {
        font-size: 14px;
    }
}