.img {
    width: 25%;
}

.img.clicked {
    width: 50%;
}

.certificates img {
    width: 50%;
}

.certificates img.clicked {
    width: 80%;
}

@media screen and (max-width: 650px) {
    .space {
        width: auto;
    }

    .img,
    .certificates img {
        width: 100%;
    }

    .img.clicked,
    .certificates img.clicked {
        width: 100%;
    }
}

@media screen and (min-width: 800px) {
    .space {
        width: 0;
        background-color: green;
        display: none;
    }
}