.cont {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
  background-color: #3e3a39;
}
.cont .title {
  text-align: center;
  color: #fff;
  font-family: 'Arial';
  position: absolute;
  top: 26%;
  left: 0;
  width: 100%;
  z-index: 2;
  font-weight: bold;
  font-size: 3.5vw;
  letter-spacing: 5px;
}
.cont .link {
  display: flex;
  height: 100%;
}
.cont .link a {
  display: flex;
  width: 50%;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: skewX(-13deg);
  box-sizing: border-box;
}
.cont .link a::after {
  content: '';
  display: block;
  width: 150%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: -1;
  transition: background-color 0.4s;
}
.cont .link a img {
  display: block;
  height: auto;
  width: auto;
  transform: skewX(13deg);
  transition: all .3s;
  filter: brightness(0) invert(1);
}
.cont .link a:nth-child(1) {
  padding-top: 14%;
}
.cont .link a:nth-child(1)::after {
  right: 0;
  background-color: #3e3a39;
}
.cont .link a:nth-child(1) img {
  max-width: 32%;
}
.cont .link a:nth-child(1):hover::after {
  background-color: #5d0303;
}
.cont .link a:nth-child(1):hover img {
  filter: brightness(1) invert(0);
}
.cont .link a:nth-child(2) {
  padding-top: 11%;
}
.cont .link a:nth-child(2)::after {
  left: 0;
  background-color: #595757;
}
.cont .link a:nth-child(2) img {
  max-width: 27%;
}
.cont .link a:nth-child(2):hover::after {
  background-color: #2e4926;
}
.cont .link a:nth-child(2):hover img {
  filter: brightness(1) invert(0);
}
@media screen and (max-width: 640px) {
  .cont .title {
    top: 5%;
    font-size: 7vw;
    letter-spacing: 2px;
  }
  .cont .link {
    flex-direction: column;
  }
  .cont .link a {
    width: 100%;
    height: 50%;
    transform: skewY(-13deg);
  }
  .cont .link a::after {
    width: 100%;
    height: 150%;
    left: 0;
    right: auto;
  }
  .cont .link a img {
    transform: skewY(13deg);
  }
  .cont .link a:nth-child(1) {
    padding-top: 10%;
  }
  .cont .link a:nth-child(1)::after {
    top: auto;
    bottom: 0;
  }
  .cont .link a:nth-child(1) img {
    max-width: 50%;
  }
  .cont .link a:nth-child(2) {
    padding-bottom: 10%;
    padding-top: 0;
  }
  .cont .link a:nth-child(2)::after {
    top: 0;
  }
  .cont .link a:nth-child(2) img {
    max-width: 43%;
  }
}
