* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  font-family: sans-serif;
}

body {
  background-color: #212931;
  background-image: url('../../images/overlay.png'),
    linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url('../../images/bg.jpg');
  background-size: auto, auto, 100% auto;
  background-position: center, center, top center;
  background-repeat: repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed;
}

.header {
  position: relative;
  width: 100%;
  height: 30rem;
}

.main {
  padding: 1rem 1rem 1rem 1rem;
  background-color: #fff;
  margin: 10rem auto;
  width: calc(100% - 4rem);
  max-width: 72rem;
  margin-top: 0;

  color: #ffffff;
  padding: 8rem 4rem 6rem 4rem;

  position: relative;
  cursor: default;
  text-align: center;
  z-index: 1;
  min-height: 100vh;
}

.heading-primary {
  color: #af1313;
  position: absolute;
  left: 50%;
  border-style: solid;
  border-color: #ffffff;
  border-width: 5px !important;
  display: inline-block;
  font-size: 2.441rem;
  margin: 10rem auto;
  padding: 3rem;
  transform: translateX(-50%);
  text-align: center;
}

.heading-primary:link,
.heading-primary:visited,
.heading-primary:active {
  text-decoration: none;
  color: #fff;
}

.gallery {
  height: 100vh;
  width: 90%;
  margin: 0 auto;
  background-color: #f18c18;
}

.gallery .gallery_list {
  display: grid;
  grid-gap: 5px;
  grid-template-rows: repeat(6, 1fr);
  grid-template-columns: repeat(5, 1fr);
  height: 100%;
  background-color: #fff;
  padding-left: 0;
}

.gallery .gallery_item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery_item.gallery_item--1 {
  grid-row: span 2;
  grid-column: span 2;
  overflow: hidden;
  background-color: #fff;
}

.gallery_item.gallery_item--1 .gallery_image {
  width: 100%;
  height: auto;
}

.gallery_item.gallery_item--2 {
  grid-row: span 3;
  grid-column: span 3;
  overflow: hidden;
}

.gallery_item.gallery_item--2 .gallery_image {
  width: 100%;
  height: 100%;
}

.gallery_item.gallery_item--4 {
  grid-row: span 1;
  grid-column: span 1;
  overflow: hidden;
}

.gallery_item.gallery_item--4 .gallery_image {
  width: 100%;
  height: 100%;
  scale: 1.2;
}

.gallery_item.gallery_item--5 {
  grid-row: 4 / span 3;
  grid-column: 4 / span 2;
  overflow: hidden;
}

.gallery_item.gallery_item--5 .gallery_image {
  width: 100%;
  height: auto;
}

.gallery_item.gallery_item--6 {
  grid-row: span 2;
  grid-column: span 3;
  overflow: hidden;
}

.gallery_item.gallery_item--6 .gallery_image {
  width: 100%;
  height: auto;
}

/*  */

.heading-primary:hover {
  color: #e91616;
  border-style: solid;
  border-color: #e91616;
  border-width: 5px !important;
}

.gallery .gallery_item {
  transition: all ease-out 0.4s;
}

.gallery .gallery_item:hover {
  filter: grayscale(80%);
  transform: scale(1.1);
}
