.projects-container {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.projects-border {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1300px;
    align-items: flex-start;
}

.picture-projects {
    height: 300px;
    box-shadow: rgb(150, 150, 150) 1px 1px 23px 4px;
    border-radius: 10px;
    margin: 10px 0 10px 20px;
}

.projects-container-galery {
    margin: 20px auto 20px;
    display: grid;
    max-width: 1300px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 10px;
}

.projects-container-galery img {
    width: 100%;
    height: auto;
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(205, 205, 205);
    border-radius: 10px;
    transition: 0.2s;
}

.projects-container-galery img:hover {
    transform: scale(0.98);
    box-shadow: rgba(150, 150, 150, 0.5) 1px 1px 10px 4px;
}

.projects-border-video {
    display: block;
    max-width: 1300px;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

.projects-border img {
    width: 95%;
    height: auto;
    max-width: 500px;
    cursor: -moz-zoom-in;
    cursor: -webkit-zoom-in;
    cursor: zoom-in;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(205, 205, 205);
    border-radius: 10px;
    transition: 0.2s;
}

@media (max-width: 1320px) {
    .projects-border,
    .projects-container-galery,
    .projects-border img {
        margin-left: 10px;
        margin-right: 10px;
    }
    .picture-projects {
        margin-right: 0;
    }
}

@media (max-width: 1095px) {
    .projects-border,
    .projects-container-galery,
    .projects-border img {
        margin-left: 13px;
        margin-right: 13px;
    }
    .picture-projects {
        margin-left: 0;
    }
}

@media (max-width: 520px) {
    .projects-border img {
        margin-left: 13px;
        margin-right: 13px;
    }
    .picture-projects {
        width: 100%;
        height: auto;
    }
}