.small_title {
    color: #8B8D93;
}
.text1_medium {
    margin-top: 20px;
}


.projects_block {
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0px auto 110px;
    padding: 0;
}

.projects_container {
    display: flex;
    width: 100%;
    border-style: solid none none none;
    border-width: 1px;
    border-color: #8B8D93;
    margin-top: 10px;
}
.projects_container:last-child {
    border-bottom: solid;
    border-width: 1px;
    border-color: #8B8D93;
}

.project_line {
    display: flex;
    justify-content: space-between;
    padding: 40px 0;
    border-width: 1px;
    border-color: #8B8D93;
    gap: 20px;
}

.project_img {
    width: 524px;
    height: 300px;
    object-fit: cover;
}

.project_desc {
    width: 585px;
    display: flex;
    flex-direction: column;
}

.project_desc span {
    margin-bottom: 30px;
    display: inline-block;
}

.project_desc .heading4 {
    margin-bottom: 25px;
    margin-top: 0;
}

.project_desc p {
    color: #252525;
    margin-top: 0;
}

.project_desc a {
    text-decoration: none;
    color: #252525;
}

@media screen and (max-width: 1250px) {
    .projects_block {
        max-width: 960px;
        margin: 60px auto 90px;
    }

    .project_img {
        width: 470px;
        height: 270px;
    }

    .project_desc {
        width: 470px;
    }
}

@media screen and (max-width: 1020px) {
    .projects_block {
        max-width: 600px;
        margin: 40px auto 70px;
    }

    .project_line {
        gap: 15px;
        padding: 30px 0;
        flex-direction: column;
    }
    .project_img {
        width: 600px;
        height: 344px;
    }

    .project_desc {
        display: flex;
        flex-direction: column;
        width: 600px;
    }

    .project_desc .heading4 {
        order: -1;
        margin-bottom: 5px;
    }

    .project_desc span {
        margin-bottom: 15px;
    }

    .project_desc p {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 660px) {
    .projects_container {
        align-items: center;
        display: flex;
        justify-content: center;
        margin-top: 15px;
    }

    .projects_block {
        max-width: 600px;
        margin: 30px auto 50px;
    }

    .heading3 {
        margin-bottom: 10px;
    }

    .project_line {
        gap: 15px;
        padding: 15px 0;
    }

    .project_img {
        max-width: 400px;
        height: 172px;
        width: 100%;
        margin: 0 auto;
    }

    .project_desc {
        width: 100%;
    }

    .project_desc .heading4 {
        margin-bottom: 3px;
    }

    .project_desc p,
    .project_desc span {
        margin-bottom: 10px;
    }
}