@import url('https://fonts.googleapis.com/css?family=Archivo+Black');

.cards-wrapper {
  position: relative;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0 0%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.card-wrapper {
  display: block;
  float: left;
  position: relative;
  margin: 0;
  width: 100%;
  height: 250px;
  margin-right: 10px;
  padding: 0 0 28%;
  -webkit-perspective: 700px;
          perspective: 700px;
}
.card-object {
  color: #FFF;
  display: block;
  float: left;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

  height: 250px;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}

.card-object.card-jednoduche-1 .front {
  background: url(../img/gallery/jednoduche/01/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-jednoduche-1 .front:hover {
  background: url(../img/gallery/jednoduche/01/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;

}


.card-object.card-jednoduche-2 .front {
  background: url(../img/gallery/jednoduche/02/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-jednoduche-2 .front:hover {
  background: url(../img/gallery/jednoduche/02/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;

}

.card-object.card-jednoduche-3 .front {
  background: url(../img/gallery/jednoduche/03/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-jednoduche-3 .front:hover {
  background: url(../img/gallery/jednoduche/03/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;

}



.card-object.card-rustikalne-1 .front {
  background: url(../img/gallery/rustikalne/01/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-rustikalne-1 .front:hover {
  background: url(../img/gallery/rustikalne/01/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;

}


.card-object.card-rustikalne-2 .front {
  background: url(../img/gallery/rustikalne/02/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-rustikalne-2 .front:hover {
  background: url(../img/gallery/rustikalne/02/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;
}

.card-object.card-rustikalne-3 .front {
  background: url(../img/gallery/rustikalne/03/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-rustikalne-3 .front:hover {
  background: url(../img/gallery/rustikalne/03/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;

}



.card-object.card-striekane-1 .front {
  background: url(../img/gallery/striekane/01/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-striekane-1 .front:hover {
  background: url(../img/gallery/striekane/01/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;

}

.card-object.card-striekane-2 .front {
  background: url(../img/gallery/striekane/02/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-striekane-2 .front:hover {
  background: url(../img/gallery/striekane/02/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;
}

.card-object.card-striekane-3 .front {
  background: url(../img/gallery/striekane/03/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-striekane-3 .front:hover {
  background: url(../img/gallery/striekane/03/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;
}



.card-object.card-striekane-4 .front {
  background: url(../img/gallery/striekane/04/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-striekane-4 .front:hover {
  background: url(../img/gallery/striekane/04/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;

}


.card-object.card-striekane-5 .front {
  background: url(../img/gallery/striekane/05/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-striekane-5 .front:hover {
  background: url(../img/gallery/striekane/05/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;

}

.card-object.card-striekane-6 .front {
  background: url(../img/gallery/striekane/06/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-striekane-6 .front:hover {
  background: url(../img/gallery/striekane/06/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;

}


.card-object.card-striekane-7 .front {
  background: url(../img/gallery/striekane/07/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-striekane-7 .front:hover {
  background: url(../img/gallery/striekane/07/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;

}


.card-object.card-striekane-8 .front {
  background: url(../img/gallery/striekane/08/01.jpg) no-repeat;
  background-size: cover;
   -webkit-transition:  .5s;
  transition:  .5s;
}


.card-object.card-striekane-8 .front:hover {
  background: url(../img/gallery/striekane/08/01_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;

}







.card-object.card-2 .front {
  background: url(../img/gallery/category.jpg) no-repeat;
  background-size: cover;
}


.card-object.card-2 .front:hover {
  background: url(../img/gallery/category_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;

}

.card-object.card-3 .front {
  background: url(../img/gallery/jednoduche/01/category.jpg) no-repeat;
  background-size: cover;
}


.card-object.card-3 .front:hover {
  background: url(../img/gallery/jednoduche/01/category_hover.jpg) no-repeat;
  background-size: cover;
    -webkit-transition: .5s;
  transition:  .5s;

}

.card-object-hf .back {
  -webkit-transform: rotateX(180deg);
          transform: rotateX(180deg);
}
.face {
  color: #fff;
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: absolute;
  width: 100%;
  height: 250px;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.face.front {
  z-index: 20;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}
.face.front::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";

  opacity: .8;
  z-index: 20;
  -webkit-transition: opacity .2s ease;
  transition: opacity .2s ease;
}
.face.front::after {
  position: absolute;
  top: 7%;
  right: 7%;
  bottom: 7%;
  left: 7%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 100;
  content: "";
}


.face.front .title-wrapper {
  position: absolute;
  bottom: 25%;
  left: 10%;
  right: 10%;
    opacity: .0;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  z-index: 100;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: -webkit-transform .28s ease;
  transition: -webkit-transform .28s ease;
  transition: transform .28s ease;
  transition: transform .28s ease, -webkit-transform .28s ease;
}


.face.front .title-wrapper .title {
  position: relative;
  font-family: 'Archivo Black', sans-serif;
  width: 100%;
  text-transform: uppercase;
  font-size: 2vw;
  line-height: 1;
  opacity: .9;
  -webkit-transition: opacity .2s ease;
  transition: opacity .2s ease;
}
.face.front .title-wrapper .title::after {
  display: block;
  margin: 3% auto 3% auto;
  width: 100%;
  height: 0px;
  content: "";

  opacity: .5;
  -webkit-transform: scale(0);
          transform: scale(0);
  -webkit-transition: -webkit-transform .15s;
  transition: -webkit-transform .15s;
  transition: transform .15s;
  transition: transform .15s, -webkit-transform .15s;
}
.face.front .title-wrapper .subtitle {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: .7vw;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  color: #fff;
  -webkit-transition: opacity .9s;
  transition: opacity .9s;

}
.face.front:hover::before {
  opacity: .9;
}
.face.front:hover .title-wrapper {

            opacity: 1.0;
              -webkit-transition: opacity 0.6s ease;
  transition: opacity 0.6s ease;


}
.face.front:hover .title-wrapper .title {
  opacity: 1;
}
.face.front:hover .title-wrapper .title::after {
  -webkit-transform: scale(1);
          transform: scale(1);
  opacity: .5;
  -webkit-transition-delay: .15s;
          transition-delay: .15s;
  -webkit-transition-duration: .2s;
          transition-duration: .2s;
}
.face.front:hover .title-wrapper .subtitle {
  opacity: 1.0;
    color: #fff;
  -webkit-transition-delay: .4s;
          transition-delay: .4s;
  -webkit-transition-duration: .8s;
          transition-duration: .8s;
}
.face.back {
  color: #222;
  background: #fff;
  z-index: 10;
}
.info-container {
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  top: 6%;
  right: 6%;
  bottom: 6%;
  left: 6%;
  padding: 0;
}
.img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 38%;
  z-index: 10;
}
.img-wrapper::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(14, 6, 70, 0.6);
  opacity: .7;
}
.avatar {
  position: absolute;
  left: 50%;
  height: 68%;
  width: 25.84%;
  display: block;
  border-radius: 50%;
  margin-top: 25.08%;
  margin-left: -12.92%;
  background-color: #fff;
  border: 3px solid #FFF;
  z-index: 20;
}
.info-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: absolute;
  top: 50.92%;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4% 15% 15%;
}
.info-title {
  font-size: 1.5vw;
  font-family: 'Archivo Black', sans-serif;
  text-align: left;
  padding: 0;
  margin: 0;
  text-align: center;
  display: block;
  width: 100%;
}
.info-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  padding: 8% 0 0;
  margin: 8% 0 0;
  border-top: 1px solid #e0e0e0;
}
.info-content-item {
  color: #222;
  font-size: .75vw;
  line-height: 1;
  text-align: center;
  display: inline-block;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
  color: #aaa;
}
.info-content-item span {
  display: block;
  font-weight: bold;
  font-size: 1.1vw;
  margin-top: 7px;
  text-transform: none;
  color: #222;
}
/**
 * ----------------------------------------
 * ANIMATIONS
 * ----------------------------------------
 */
@-webkit-keyframes flip-in-hor-1 {
  0% {
    -webkit-transform: translateY(0) translateZ(0) rotateX(0);
            transform: translateY(0) translateZ(0) rotateX(0);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
  }
  100% {
    -webkit-transform: translateY(-100%) translateZ(100px) rotateX(-180deg);
            transform: translateY(-100%) translateZ(100px) rotateX(-180deg);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
}
@keyframes flip-in-hor-1 {
  0% {
    -webkit-transform: translateY(0) translateZ(0) rotateX(0);
            transform: translateY(0) translateZ(0) rotateX(0);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
  }
  100% {
    -webkit-transform: translateY(-100%) translateZ(100px) rotateX(-180deg);
            transform: translateY(-100%) translateZ(100px) rotateX(-180deg);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
}
@-webkit-keyframes flip-out-hor-1 {
  0% {
    -webkit-transform: translateY(-100%) translateZ(100px) rotateX(-180deg);
            transform: translateY(-100%) translateZ(100px) rotateX(-180deg);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
  100% {
    -webkit-transform: translateY(0) translateZ(0) rotateX(0);
            transform: translateY(0) translateZ(0) rotateX(0);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
  }
}
@keyframes flip-out-hor-1 {
  0% {
    -webkit-transform: translateY(-100%) translateZ(100px) rotateX(-180deg);
            transform: translateY(-100%) translateZ(100px) rotateX(-180deg);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
  100% {
    -webkit-transform: translateY(0) translateZ(0) rotateX(0);
            transform: translateY(0) translateZ(0) rotateX(0);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
  }
}
@-webkit-keyframes flip-in-hor-2 {
  0% {
    -webkit-transform: translateY(0) translateZ(0) rotateX(0);
            transform: translateY(0) translateZ(0) rotateX(0);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
  100% {
    -webkit-transform: translateY(100%) translateZ(100px) rotateX(180deg);
            transform: translateY(100%) translateZ(100px) rotateX(180deg);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
  }
}
@keyframes flip-in-hor-2 {
  0% {
    -webkit-transform: translateY(0) translateZ(0) rotateX(0);
            transform: translateY(0) translateZ(0) rotateX(0);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
  100% {
    -webkit-transform: translateY(100%) translateZ(100px) rotateX(180deg);
            transform: translateY(100%) translateZ(100px) rotateX(180deg);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
  }
}
@-webkit-keyframes flip-out-hor-2 {
  0% {
    -webkit-transform: translateY(100%) translateZ(100px) rotateX(180deg);
            transform: translateY(100%) translateZ(100px) rotateX(180deg);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
  }
  100% {
    -webkit-transform: translateY(0) translateZ(0) rotateX(0);
            transform: translateY(0) translateZ(0) rotateX(0);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
}
@keyframes flip-out-hor-2 {
  0% {
    -webkit-transform: translateY(100%) translateZ(100px) rotateX(180deg);
            transform: translateY(100%) translateZ(100px) rotateX(180deg);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
  }
  100% {
    -webkit-transform: translateY(0) translateZ(0) rotateX(0);
            transform: translateY(0) translateZ(0) rotateX(0);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
}
