body {
    max-width: 1440px;
}

.portfolio-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 50px;
    gap: 50px;
    color: #333;
}

.portfolio-item {

}

.portfolio-title {
    font-size: 20px;
    font-weight: 600;
}

.portfolio-img img {
    width: 425px;
    height: 425px;
}

.portfolio-about {
    margin-bottom: 30px;
}

.tags {
    color: rgba(51, 51, 51, 0.6);
    font-size: 14px;
    letter-spacing: 2px;
}

.link {
    text-decoration: none;
    padding: 7px 13px;
    color: #000000;
    border: 1px solid #000000;
    font-size: 14px;
}

.portfolio-img {
    display: flex;
}
@media (min-width: 1400px) {
    .portfolio-img {
        height: 425px;
    }
}
@media (max-width: 1400px) {

    .portfolio-img img {
        width: 350px;
        height: 350px;
    }

    .portfolio-img-animation {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 1270px) {

    .portfolio-img img {
        width: 300px;
        height: 300px;
    }

    .portfolio-img-animation {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 1170px) {

    .portfolio-img img {
        width: 250px;
        height: 250px;
    }

    .portfolio-img-animation {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 1070px) {

    .portfolio-img img {
        width: 200px;
        height: 200px;
    }

    .portfolio-img-animation {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 1000px) {

    .portfolio-img img {
        width: 400px;
        height: 400px;
    }

    .portfolio-img-animation {
        width: 400px;
        height: 400px;
    }
}
@media (max-width: 950px) {

    .portfolio-img img {
        width: 350px;
        height: 350px;
    }

    .portfolio-img-animation {
        width: 350px;
        height: 350px;
    }
}
@media (max-width: 850px) {

    .portfolio-img img {
        width: 300px;
        height: 300px;
    }

    .portfolio-img-animation {
        width: 300px;
        height: 300px;
    }
}
@media (max-width: 750px) {

    .portfolio-img img {
        width: 250px;
        height: 250px;
    }

    .portfolio-img-animation {
        width: 250px;
        height: 250px;
    }
}
@media (max-width: 650px) {

    .portfolio-img img {
        width: 200px;
        height: 200px;
    }

    .portfolio-img-animation {
        width: 200px;
        height: 200px;
    }
}
@media (max-width: 600px) {
    .portfolio-container {
        padding: 50px 10px;
    }

}
@media (max-width: 520px) {
    .portfolio-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .portfolio-img img {
        width: 100%;
        height: auto;
    }
    .portfolio-img-animation {
        width: 100%;
        height: auto;
    }
}