* {
  box-sizing: border-box;
}

img.expand:hover,
img.expand:focus {
  transform: scale(3.0);    
  z-index: 2000;
}


img {
  width: 10%;
  height: auto;
  aspect-ratio: 16/9;
}

.gallery-block {
  display: block;
  height:200px;
  width: 200px;
  padding: 10px; border: 5px solid gray;
  margin: 2px;
 
}

.caption {
  color: black;
  text-decoration: none;	
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  text-align: center;
  border: 5px solid #333;
  border-color: darkblue;
}

.flex-item {
  background-color: #f1f1f1;
  width: 200px;
  height: auto;
  padding: 5px;
  flex: 10%;
}

.gallery-image {
  width:  100px; 
  height: 100px;	 
}

/* Responsive layout - makes a one column-layout instead of a two-column layout */
@media (max-width: 600px) {
  .flex-item {
    flex: 100%;
  }
}

div.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 180px;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 10%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
}
