.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  font-size: 0;
  width: auto;
  height: auto;
  margin: 0px;
}

.block-window {
  display: inline;
}

.block-img {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  width: 450px;
  height: 300px;
  margin: 20px 0 20px 0;
}

.click-zoom input[type=checkbox] {
  display: none;
}

.click-zoom img {
  width: 380px;
  
  transition: transform 0.4s ease;
  cursor: zoom-in;
  border-radius: 5px;
}

.click-zoom img:hover {
  filter: drop-shadow(0px 0px 5px rgb(165, 165, 165));
}

.click-zoom input[type=checkbox]:checked~img {
  position: fixed;
  transform: scale(2.5);
  height: auto;
  margin-inline: auto;
  inset-inline: 0;
  inset-block-start: calc(50% - 100px);
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  outline-color: transparent;
  cursor: zoom-out;
}

.click-zoom input[type=checkbox]:checked~.field {
  position: fixed;
  margin-inline: auto;
  inset-inline: 0;
  top: 0px;
  z-index: 50;
  background-color: transparent;
  opacity: 0.5;
  width: 100%;
  height: 100%;
  cursor: zoom-out;
}

@media only screen and (max-width: 576px) {
  .click-zoom img:hover {
    filter: none;
  }

  .block-img {
    width: auto;
    height: auto;
  }

  .click-zoom img {
    max-width: 320px;
  }

  .click-zoom input[type=checkbox]:checked~img {
    position: relative;
    transform: none;
    max-width: 320px;
    cursor: none;
  }
}

@media only screen and (min-width: 577px) and (max-width: 768px) {
  .click-zoom input[type=checkbox]:checked~img {
    transform: scale(1.5);
  }
}

@media only screen and (min-width: 769px) and (max-width: 1039px) {}

@media only screen and (min-width: 1040px) and (max-width: 1280px) {}

@media only screen and (min-width: 1280px) and (max-width: 1440px) {}

@media only screen and (min-width: 1441px) {}