@font-face {
  font-family: "Proxima";
  font-weight: normal;
  font-style: normal;
  src: url("../fonts/ProximaNovaExCn-Bold.eot");
  src: url("../fonts/ProximaNovaExCn-Bold.eot?#iefix") format("embedded-opentype"), 
      url("../fonts/ProximaNovaExCn-Bold.woff") format("woff"), 
      url("../fonts/ProximaNovaExCn-Bold.woff2") format("woff2"), 
      url("../fonts/ProximaNovaExCn-Bold.ttf") format("truetype");
}

@keyframes angel {
  0% {
    transform: translateY(0px);
  }
  10% {
    transform: translateY(1px);
  }
  15% {
    transform: translateY(1px);
  }
  35% {
    transform: translateY(-1px);
  }
  40% {
    transform: translateY(-1px);
  }
  60% {
    transform: translateY(1px);
  }
  65% {
    transform: translateY(1px);
  }
  85% {
    transform: translateY(-1px);
  }
  90% {
    transform: translateY(-1px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes demon {
  0% {
    transform: translateX(0px);
  }
  10% {
    transform: translateX(1px);
  }
  15% {
    transform: translateX(1px);
  }
  35% {
    transform: translateX(-1px);
  }
  40% {
    transform: translateX(-1px);
  }
  60% {
    transform: translateX(1px);
  }
  65% {
    transform: translateX(1px);
  }
  85% {
    transform: translateX(-1px);
  }
  90% {
    transform: translateX(-1px);
  }
  100% {
    transform: translateX(0px);
  }
}


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

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

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

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

.logo {
  display: block;
  width: 477px;
  height: 353px;
  margin: 45px auto 0;
  position: relative;
  z-index: 2;
}
.logo img {
  width: 100%;
}

.content {
  width: 988px;
  height: 580px;
  margin: -30px auto 0px;
  position: relative;
}
.table {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
  text-transform: uppercase;
  text-align: center;
  color:  #2e125e;
  background: transparent url('../img/table.png') center no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}

.descr {
  margin: auto;
  margin-bottom: 30px;
}
.buttons {
  margin: auto;
  margin-top: 0;
}

.table p {
  font-size: 36px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.4;
  letter-spacing: .1px;
}
.table p span {
  font-size: 60px;
}

.btn {
  display: inline-block;
  width: 310px;
  line-height: 104px;
  margin: 0 20px;
  font-size: 48px;
  color:  #fff;
  text-align: center;
  text-decoration: none;
  transition: .2s ease-in-out;
  -webkit-background-size: cover !important;
  background-size: cover !important;
}
.btn_heaven {
  background: transparent url('../img/btn_heaven.png');
}
.btn_hell {
  background: transparent url('../img/btn_hell.png');
}
.btn:hover {
  color:  #2e125e;
}



.list {
  position: absolute;
  top: -230px;
  left: 0;
  right: 0;
  bottom: 0;
}
.list__item {
  top: 0;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: .4s ease-in-out;
}
.list__item_angel {
  position: absolute;
  left: -275px;
}
.list__item_angel img {
  animation: angel 8s infinite 0s linear;
}
.list__item_demon {
  position: absolute;
  right: -250px;
}
.list__item_demon img {
  animation: demon 8s infinite 0s linear;
}
.colored {
  -webkit-filter: grayscale(1%);
  -moz-filter: grayscale(1%);
  -ms-filter: grayscale(1%);
  -o-filter: grayscale(1%);
  filter: grayscale(1%);  
}
.list__item_angel.colored {
  transform: translate(-13%, -10%);
}
.list__item_demon.colored {
  transform: translate(24%, 0%);
}



@media only screen and (max-width: 1600px) {
  .logo {
    width: 318px;
    height: 235px;
  }
  .content {
    width: 660px;
    height: 390px;
  }
  .descr {
    margin: auto;
    margin-bottom: 15px;
  }

  .table p {
    font-size: 24px;
    max-width: 530px;
  }
  .table p span {
    font-size: 40px;
  }


  .btn {
    width: 207px;
    line-height: 70px;
    margin: 0 10px;
    font-size: 32px;
  }


  .list {
    top: -170px;
  }
  .list__item_angel {
    left: -200px;
  }
  .list__item_demon {
    right: -335px;
  }
  .list__item img {
    width: 70%;
  }
}

@media only screen and (max-width: 1200px) {
  .list__item_angel.colored {
    transform: translate(-7%, -10%);
  }
  .list__item_demon.colored {
    transform: translate(12%, 0%);
  }
}


@media only screen and (max-width: 1000px) {
  .list {
    top: -240px;
  }
  .list__item_angel {
    left: -135px;
  }
  .list__item_demon {
    right: -275px;
  }
  .list__item_angel.colored {
    transform: translate(-1%, -2%);
  }
  .list__item_demon.colored {
    transform: translate(3%, 0%);
  }  
}