* {
  box-sizing: border-box;
}

body {
  height: 100%;
  margin: 10;
  font-family: Arial, Helvetica, sans-serif;
  background-color: rgb(80, 71, 74);
}

.header {
  overflow: hidden;
  background-image: url("artist.png");
  background-repeat: no-repeat;
  background-color: thistle;
  padding: 20px 60px;
}

.header a {
  float: left;
  color: rgb(31, 58, 31);
  text-align: center;
  padding: 20px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 14px;
}

.header a.logo {
  font-size: 25px;
  font-weight: bold;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  padding: 20px 40px;
}

.header a:hover {
  background-color: #808080;
  color: rgb(29, 46, 25);
  transition: 0.5 ease;
}

.header a.active {
  background-color: #2f4f4f;
  color: white;
}

.header-right {
  float: right;
}

@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }

  .header-right {
    float: none;
  }
}

.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("deer.jpeg");
  padding: 100px;
  background-color: #cccccc;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: larger;
}

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(78, 11, 11, 0);
  background-color: rgba(50, 40, 53, 0.9);
  overflow-y: hidden;
  transition: 0.6s;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  display: block;
  transition: 0.3s;
  top: 50%;
  left: 50%;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  color: white;
}
.block {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 70%;
  top: 40%;
  color: white;
  font-size: 30px;
  font-weight: bold;
}
.overlay .closebtn {
  position: absolute;
  opacity: 1;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay {
    overflow-y: auto;
  }
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

.row {
  margin-top: 50px;
  margin-left: 80px;
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 0px;
}

/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 25%; /* IE10 */
  flex: 15%;
  max-width: 25%;
  padding: 0 0px;
}
.column .grid {
  position: relative;
  opacity: 1;
  display: block;
  height: auto;
  transition: 0.5s ease;
  backface-visibility: hidden;
  margin: 10px;
}
.column .grid .imgbox {
  position: relative;
  overflow: hidden;
}

.column .grid .imgbox img {
  max-width: 100%;
  transition: transform 2s;
}
.grid:hover .imgbox img {
  transform: scale(1.8);
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 50%;
}

.text-block {
  position: absolute;
  bottom: 20px;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding-left: 10px;
  padding-right: 10px;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 300px) {
  .column {
    -ms-flex: 50%;
    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 {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}
