* {
  box-sizing: border-box;
}

html,
body {
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Lato", sans-serif;
  overflow: hidden;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

main article {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex: 1 auto;
  height: 50%;
  padding: 30px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

main article::before {
  content: "";
  position: absolute;
  background-color: #000000;
  opacity: 0.45;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transition: opacity 0.5s ease;
}

main article div.bg {
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: blur(3px);
  transform: scale(102%);
  transition: transform 0.5s ease, filter 0.5s ease;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

main article a {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 4;
}

main article div.info {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

main article div.info img {
  position: relative;
  width: 230px;
  height: auto;
  display: block;
}

main article div.info h2 {
  position: relative;
  margin: 30px 0 0 0;
  padding: 0;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0px 0 10px rgba(0, 0, 0, 0.04);
  font-size: 1.4rem;
  color: #ffffff;
  font-style: italic;
}

main article:hover::before {
  opacity: 0.35;
}

main article:hover div.bg {
  transform: rotate(3deg) scale(110%);
  filter: none;
}

main div.spacer {
  position: absolute;
  width: 200%;
  height: 4px;
  background-color: #000000;
  top: 50%;
  left: -50%;
  transform: translateY(-50%);
  z-index: 4;
  visibility: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

main div img {
  display: block;
  height: 50px;
}

@media (min-width: 800px) {
  main {
    flex-direction: row;
  }

  main article {
    flex: 1 auto;
    width: 50%;
    height: 100%;
  }

  main div.spacer {
    width: 4px;
    height: 200%;
    transform: translateX(-50%);
    top: -50%;
    left: 50%;
  }
}
