/* The grid: Four equal columns that floats next to each other */
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.column_tab {
  float: left;
  width: 25%;
  padding: 10px;
}

/* Style the images inside the grid */
.column_tab img {
  opacity: 1;
  cursor: pointer;
}

.column_tab img:hover {
  opacity: 1;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column_tab {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column_tab {
    flex: 50%;
    max-width: 50%;
  }
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* The expanding image container (positioning is needed to position the close button and the text) */
.container {
  position: relative;
  display: none;
}

/* Expanding image text */
#imgtext {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin-bottom: 0;
  padding: .6rem;
  font-size: .9rem;
  background-color: rgba(10, 10, 10, 0.5);
  color: white;
}

/* Expanding image*/
#expandedImg {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  pointer-events: none; 
}

/* Closable button inside the image */
.closebtn {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #f1f1f1;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  font-family: "Arial, Helvetica, sans-serif";
  font-size: 45px;
  font-weight: 900;
  transition: 0.3s;
  padding: 0px 10px 0px 10px;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  cursor: pointer;
}

.closebtn:hover {
  background-color: rgba(0,0,0,0.9);
  color: rgba(255, 255, 255, 0.5);
}

/*.circle {
  width: 500px;
  height: 500px;
  line-height: 500px;
  border-radius: 50%;
  font-size: 50px;
  color: #fff;
  text-align: center;
  background: #000
} */

/* Closable button inside the image */
/* .closebtn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 35px;
  cursor: pointer;
  transition: 0.3s;
} */