body {
  margin: 0;
  background: #000 url(gfx/bg.jpg) no-repeat center top;
  background-size: cover;
}

#pwrap {

}

.pbox {
  width: 1300px;
  margin: 175px auto 75px;
  background: #111;
  min-height: 600px;
  border-radius: 10px;
  position: relative;
  box-shadow: 2px 5px 8px rgba(0,0,0,0.5);
}

.logo {
  width: 400px;
  position: absolute;
  left: 50%;
  top: -85px;
  margin-left: -200px;
  z-index: 15;
}

.logo img {
  width: 100%;
}

.banner {
  width: 100%;
  /*height: 1220px;*/
  /*background: url(gfx/banner.jpg) no-repeat top center;*/
  /*background-size: cover;*/
  /*border-radius: 10px 10px 0 0;*/
  position: relative;
}

.banner .image {
  position: relative;
  z-index: 10;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.banner .image img {
  width: 100%;
}

.banner .grad {
  height: 100px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
  background: -moz-linear-gradient(top,  rgba(17,17,17,0) 0%, rgba(17,17,17,1) 100%);
  background: -webkit-linear-gradient(top,  rgba(17,17,17,0) 0%,rgba(17,17,17,1) 100%);
  background: linear-gradient(to bottom,  rgba(17,17,17,0) 0%,rgba(17,17,17,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00111111', endColorstr='#111111',GradientType=0 );
}

.blocks {
  list-style: none;
  padding: 0;
  width: 1200px;
  padding: 50px;
  font-size: 0;
}

.blocks li {
  list-style: none;
  width: 31%;
  background: #333;
  display: inline-block;
  height: 290px;
  position: relative;
  border-radius: 5px;
  line-height: 40px;
}

.blocks li .border {
  position: absolute;
  z-index: 20;
  bottom: 5px;
  left: 5px;
  right: 5px;
  top: 5px;
  opacity: 0;
  border: 3px solid #e6edd9;
}

.blocks li:hover .border {
  border-radius: 2px;
  opacity: 0.75;
}


.blocks li a {
  position: absolute;
  z-index: 25;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
}

.blocks li:nth-child(3n+2) {
  margin: 0 3.5%;
}

.blocks li.b1 {
  background: url(gfx/block1.jpg) no-repeat top center;
  background-size: cover;
}

.blocks li.b2 {
  background: url(gfx/block2.jpg) no-repeat top center;
  background-size: cover;
}

.blocks li.b3 {
  background: url(gfx/block3.jpg) no-repeat top center;
  background-size: cover;
}

.blocks li h3 {
  margin: 0;
  font-weight: normal;
  line-height: 60px;
}

.blocks li .titles span {
  font-size: 30px;
}

.blocks li .titles {
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 65px;
  color: #e6edd9;
  font-family: damion, arial, sans-serif;
  font-weight: normal;
  margin: 0 0 20px 0;
  z-index: 15;
}

.blocks li .grad {
  position: absolute;
  width: 100%;
  top: 50%;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  opacity: 0.5;
  background: -moz-linear-gradient(top,  rgba(17,17,17,0) 0%, rgba(17,17,17,1) 100%);
  background: -webkit-linear-gradient(top,  rgba(17,17,17,0) 0%,rgba(17,17,17,1) 100%);
  background: linear-gradient(to bottom,  rgba(17,17,17,0) 0%,rgba(17,17,17,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00111111', endColorstr='#111111',GradientType=0 );
}

@media (max-width: 1300px) {
  .pbox {
    width: 90%;
    margin: 125px 5% 5%;
  }

  .banner {
    /*height: 500px;*/
  }

  .blocks {
    padding: 5%;
    width: 100%;
    box-sizing: border-box;
  }

  .blocks li h3 {
    font-size: 40px;
  }
}

@media (max-width: 800px) {
  .blocks li,
  .blocks li:nth-child(3n+2) {
    width: 100%;
    margin: 5% 0 0 0;
  }
}

@media (max-width: 600px) {
  .pbox {
    margin-top: 75px;
  }

  .banner {
    /*height: 300px;*/
  }

  .logo {
    width: 200px;
    margin-left: -100px;
    top: -45px;
  }

  .blocks li {
    height: 290px;
  }

  .banner .grad {
    height: 100px;
  }
}

@media (max-width: 400px) {
  .banner {
  }

  .banner .grad {
    height: 50px;
  }
}
