* {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  background: url(images/beach.jpg);
  background-size: cover;
  background-position: center;
}

.section__gallery > h2 {
  text-align: center;
  font-size: 35px;
  color: #333;
}
#container {
  width: 100%;
  /* margin: 40px 0px; */
}

/* h1 {
  font: bold 65px/60px Helvetica, Arial, Sans-serif;
  text-align: center;
  color: #eee;
  text-shadow: 0px 2px 6px #333;
} */

/* ul.gallery li a img.img__class {
  max-width: 500px;
  width: 2550px !important;
  height: 100px !important;
} */
ul.gallery {
  list-style: none;
  display: grid;
  align-items: center;
  grid-template-columns: repeat(6, 1fr);
  margin: 5rem 15rem;
  /* grid-gap: 0.5rem; */
}
ul.gallery li a {
  position: relative;
  float: left;
  padding: 10px 10px 25px 10px;
  list-style: none;
  text-decoration: none;
  margin: 0px 10rem;
  background: #eee;
  border: 1px solid #fff;
  -moz-box-shadow: 0px 2px 15px #333;
  box-shadow: 0px 2px 15px #333;
}

ul.gallery li a.pic {
  width: 250px;
  height: auto;
}
ul.gallery li a.pic-1 {
  /* z-index: 1; */

  -webkit-transform: rotate(-10deg);
  -moz-transform: rotate(-10deg);
  transform: rotate(-15deg);
}
ul.gallery li a.pic-2 {
  /* z-index: 5; */
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  transform: rotate(-3deg);
}
ul.gallery li a.pic-3 {
  /* z-index: 3; */
  -webkit-transform: rotate(4deg);
  -moz-transform: rotate(4deg);
  transform: rotate(4deg);
}
ul.gallery li a.pic-4 {
  /* z-index: 4; */
  -webkit-transform: rotate(14deg);
  -moz-transform: rotate(14deg);
  transform: rotate(14deg);
}
ul.gallery li a.pic-5 {
  /* z-index: 2; */
  -webkit-transform: rotate(-12deg);
  -moz-transform: rotate(-12deg);
  transform: rotate(-12deg);
}
ul.gallery li a.pic-6 {
  /* z-index: 6; */
  -webkit-transform: rotate(5deg);
  -moz-transform: rotate(5deg);
  transform: rotate(5deg);
}

/* ul.gallery li a:hover {
  z-index: 10;
  -moz-box-shadow: 3px 5px 15px #333;
  box-shadow: 3px 5px 15px #333;
} */
footer {
  background-color: #f4f4f4 !important;
}

@media screen and (max-width: 700px) {
  ul.gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
  }
}

@media screen and (max-width: 480px) {
  ul.gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
}
