@import "global.css";
@import "header.css";
@import "footer.css";

h1 {
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  margin: 20px;
  padding: 10px;
}

.gallery {
  margin-left: 20px;
  margin-right: 20px;
}

/* The grid: Four equal columns that floats next to each other */
.column {
  box-sizing: border-box;
  float: left;
  width: 25%;
  padding: 10px;
}

/* Style the images inside the grid */
.column img {
  width: 100%;
  opacity: 0.8;
  cursor: pointer;
}

.column img:hover {
  opacity: 1;
}

/* 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;
}

#expandedImg {
  width: 100%;
}

/* Expanding image text */
#imgtext {
  position: absolute;
  top: 15px;
  left: 15px;
  color: white;
  font-size: 35px;
  text-shadow: 1px 1px 1px black;
}

/* Closable button inside the image */
.closebtn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 35px;
  cursor: pointer;
}

@media (min-width: 900px) {
  .main {
    margin-top: 140px;
  }
}
