@keyframes btn {
    10% {
      transform: translateX(3px) rotate(2deg);
    }
    20% {
      transform: translateX(-3px) rotate(-2deg);
    }
    30% {
      transform: translateX(3px) rotate(2deg);
    }
    40% {
      transform: translateX(-3px) rotate(-2deg);
    }
    50% {
      transform: translateX(2px) rotate(1deg);
    }
    60% {
      transform: translateX(-2px) rotate(-1deg);
    }
    70% {
      transform: translateX(2px) rotate(1deg);
    }
    80% {
      transform: translateX(-2px) rotate(-1deg);
    }
    90% {
      transform: translateX(1px) rotate(0);
    }
    100% {
      transform: translateX(-1px) rotate(0);
    }
}

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

ul, ul li {
  list-style-type: none;
}

html, body {
  height: 100%;
  min-height: 100%;
}

a {
  cursor: pointer;
}

.wrapper {
  min-height: 100%;
  overflow: hidden;
  background: #a0d0f7 url('../img/bg.jpg') top center no-repeat;
  position: relative;
  -webkit-background-size: cover;
  background-size: cover;
  font-family: "Roboto", sans-serif;
}

.logo {
  width: 356px;
  height: 265px;
  margin: 60px auto 20px;
}
.logo img {
  width: 100%;
}

.content {
  position: relative;
  z-index: 1;
  width: 650px;
  height: 460px;
  margin: 0 auto;
  background: transparent url('../img/table.png') center no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  overflow: hidden;
  text-align: center;
  text-transform: uppercase;
  color:  #fff;
}

.headline {
  max-width: 320px;
  margin: 65px auto 25px;
  font-family: "Impact", sans-serif;
  font-size: 38px;
  line-height: 1.1;
}

.content p {
  max-width: 450px;
  margin: 0 auto 15px;  
  line-height: 1.7;
}
.content a, .content p  {
  color:  #fff;
  font-size: 14px;
  letter-spacing: 1px;
}
.content a:hover {
  text-decoration: none;
}

.btn {
  display: block;
  width: 270px;
  line-height: 60px;
  margin: 0 auto 20px;
  overflow: hidden;
  background: transparent url('../img/btn.png') center no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  font-family: "Impact", sans-serif;
  text-decoration: none;
}
.btn span {
  font-size: 16px;  
  color:  #342729;
  display: block;
  letter-spacing: normal;
  letter-spacing: initial;
}
.btn:hover span {
  color:  #871d3a;
}

.animation { 
  animation-name: btn;
  animation-duration: 0.75s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}

.list {
  position: absolute;
  font-size: 0;
  width: 100%;
  max-width: 1360px;
  left: 50%;
  top: 120px;
  transform: translateX(-50%)
}
.list__item {
  position: absolute;
  width: 235px;
  height: 340px;
  overflow: hidden;
  -webkit-background-size: cover !important;
  background-size: cover !important;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}
.list__item:nth-child(1) {
  background: url('../img/1.png') center no-repeat;
  top: 0;
  left: 0;
}
.list__item:nth-child(2) {
  background: url('../img/2.png') center no-repeat;
  top: 420px;
  left: 0;
}
.list__item:nth-child(3) {
  background: url('../img/3.png') center no-repeat;
  top: 0;
  right: 0;
}
.list__item:nth-child(4) {
  background: url('../img/4.png') center no-repeat;
  top: 420px;
  right: 0;
}
.list__item:hover {    
  -webkit-filter: grayscale(1%);
  -moz-filter: grayscale(1%);
  -ms-filter: grayscale(1%);
  -o-filter: grayscale(1%);
  filter: grayscale(1%);
}

.list a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.list a span {
  position: absolute;
  bottom: 6%;
  height: 7%;
  left: 22%;
  right: 22%;
  font-size: 20px;
  text-align: center;
  color:  #fff;
  font-weight: bold;
}

@media only screen and (max-width: 1600px) {
  .logo {
    width: 255px;
    height: 190px;
    margin: 35px auto 10px;
  }

  .content {
    width: 450px;
    height: 325px;
    margin: 0 auto;
  }
  .headline {
    max-width: 230px;
    margin: 40px auto 15px;
    font-size: 24px;
  }


  .content p {
    max-width: 330px;
  }
  .content a, .content p  {
    font-size: 10px;
  }
  .btn {
    width: 200px;
    line-height: 45px;
    margin: 0 auto 10px;
  }
  .btn span {
    font-size: 12px;  
  }

  .list {
    max-width: 970px;
    top: 80px;
  }
  .list__item {
    width: 170px;
    height: 246px;
  }
  .list__item:nth-child(2) {
    top: 295px;
  }
  .list__item:nth-child(4) {
    top: 295px;
  }
  .list a span {
    font-size: 16px;
  }
}


@media only screen and (max-width: 1000px) {
  .content {
    margin-bottom: 50px;
  }
  .list {
    position: relative;
    width: 90%;
    margin: 0 auto 20px;
    top: 0;
    left: 0;
    transform: none;
    text-align: center;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
  }
  .list__item {
    width: 165px;
    height: 240px;
    position: relative;
    display: inline-block;
    top: 0 !important;
    margin: 0 auto 10px;
  }
}
@media only screen and (max-width: 730px) {
  .logo {
    width: 240px;
    height: 178px;
    margin: 25px auto 20px;
  }
  .content {
    width: 330px;
    height: 240px;
  }
  .headline {
    min-width: 230px;
    margin: 25px auto 10px;
    font-size: 18px;
  }
  .content p {
    max-width: 290px;
    margin-bottom: 10px;
  }
  .content p, .content a {
    letter-spacing: .4px;
  }

  .list {
    max-width: 350px;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .btn {
    margin-bottom: 2px;
  }
}
@media only screen and (max-width: 340px) {
  .content {
    width: 320px;
    height: 230px;
  }
  .headline {
    margin-bottom: 5px;
  }
  .content p {
    margin-bottom: 5px;
  }
  .btn {
    margin-bottom: 5px;
  }
}