

ul li{
  list-style-position: inside;
  text-align: justify;
}

/* Galeria */

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}
/* Create four equal columns that sits next to each other */
.column {
  flex-basis: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  width: 100%;
  margin-top: 8px;
  vertical-align: middle;
  cursor: pointer;
  transition: all .3s ease-in-out;
}

/* Modal */

.img-modal-container{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  height: auto;
}

.img-modal-container img{
  box-shadow: 0 0 15px rgba(0, 0, 0, .5);
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }

  .img-modal-container{
    width: 80vw;
  }
}

/* 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 {
    flex: 100%;
    max-width: 100%;
  }

  .img-modal-container{
    width: 95vw;
  }
}

@media (min-width: 800px){
  .column img:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, .5);
    position: relative;
    z-index: 5;
  }
}

@media (min-width: 600px){
  .column img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, .5);
    position: relative;
    z-index: 5;
  }
}