@import 'https://fonts.googleapis.com/css?family=Lato:300';
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#3f91f4+0,ffffff+100&1+0,0+100 */
/* background: -webkit-linear-gradient(45deg, rgba(63,145,244,1) 0%,rgba(255,255,255,0) 100%);  Chrome10-25,Safari5.1-6 
background: linear-gradient(45deg, rgba(63,145,244,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
/* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3f91f4', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

/*.trs {
  transition: 7s;
}*/

.alternative .call-all {
    display: flex;
    background: transparent;
    align-items: center;
    justify-content: center;
    margin-top: 5%;
}

.alternative .call {
  border: 0;
  background: transparent;
 
}

.alternative .call a {
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
   background: red;
   font-size: 1em;
   padding: 5px;
   margin: 0;
}

.wrapper {
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.wrapper section {
  width: calc(100% / 3);
  height: 100%;
  float: left;
  -webkit-filter: grayscale(50%);
          filter: grayscale(50%);
  -webkit-transition-duration: 0.5s;
          transition-duration: 0.5s;
  position: relative;
  pointer-events: all;
}
.wrapper section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.6)), to(transparent));
  background: linear-gradient(rgba(0, 0, 0, 0.6), transparent);
  opacity: 1;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.wrapper section.sec01 {
  background: url("../img2/Jankibg.jpg");
}
.wrapper section.sec02 {
  background: url("../img2/3.jpg");
}
.wrapper section.sec03 {
  background: url("../img2/serwisbg.jpg");
}
.wrapper section.sec01, .wrapper section.sec02, .wrapper section.sec03 {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  
   -webkit-clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.wrapper section.sec01 {
    -webkit-clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.wrapper section.sec02 {
    -webkit-clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.wrapper section.sec03 {
    -webkit-clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.wrapper:hover section:hover {
  width: 40%;
  -webkit-filter: grayscale(0%);
          filter: grayscale(0%);
}
.wrapper:hover section:hover::before {
  opacity: 0;
}
.wrapper:hover section:not(:hover) {
  width: 30%;
}

.alternative {
  display: inline-block;
  top: 75%;
  left: 50%;
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  font-family: "Lato", Arial, sans-serif;
  letter-spacing: 0.08em;
  line-height: 1;
  font-size: 2.4rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.6em 1em;
  
}

.alternative a {
  margin-top: 15px;
  font-size: 2rem;
  display: block;
  padding: 0.6em 0;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
}
.alternative a:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #333;
}

.alternative p {
  font-size: 18px !important;
  color: #fff;
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
  .alternative {
    font-size: 1.6rem;
  }

  .alternative a {
    font-size: 1.5rem;
  }

  .alternative img {
    width: 150px !important;
  }

  .alternative p {
    font-size: 16px !important;
  }
}


@media screen and (max-width: 991px) {
  .wrapper section {
    width: 100%;
    height: 50%;
  }

  .wrapper:hover section:hover {
    width: 100%;
  }

  .wrapper:hover section:not(:hover) {
    width: 100%;
  }

  .wrapper section.sec01 {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  }

  .wrapper section.sec02 {
    -webkit-clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
  }

  .wrapper section.sec03 {
    -webkit-clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  }

  .alternative {
    top: 50% !important;
  }

}