.AMembers {
  width: 100%;
}
.members-list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.members-list > h1 {
  text-align: center;
  padding: 10px;
  font-size: 30px;
}
.members-imgs {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
.members-imgs > img {
  margin: 10px;
  width: 650px;
}

.open-imgs {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  flex-direction: column;
  display: none;
}
.close-imgs {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: #3a4a6da9;
  z-index: -1;
  filter: blur(2px);
  -webkit-filter: blur(2px);
}
.open-imgs.active {
  display: flex;
}
button{
  position: fixed;
  background: none;
  border: none;
  font-size: 4rem;
  top: 50%;
  transform: translateY(-50%);
  color: #2f2f2f;
  cursor: pointer;
 
  background-color: rgba(0, 0, 0, .1);

}
button:hover, button:focus{
  color: white;
  background-color: rgba(0, 0, 0, .2);
}
button:focus{
  outline: 1px solid black;
}
button.prev{
  left: 0;
}
button.next{
  right: 0;
}
.main-element{
  border: 1px solid black;
}
@media (width < 600px) {

  .open-imgs > img {
    width: 500px;
    padding: 60px;
  }

  .members-imgs > img {
    width: 300px;
  }


}
@media (width < 420px) {
  .members-imgs > img {
    width: 350px;
  }

}
