@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}
body{
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background: #222;
}
/*nav*/

.nav{
  position: absolute;
  top: 75px;
  left: 150px;
  display: flex;
  border-left: 4px solid #D2AC37;
  padding-left: 20px;
  animation: left-in 0.5s ease-in forwards;
  animation-delay: 0s;
  opacity: 0;
  z-index: 1000;
}
.nav li{
  list-style: none;
}
.nav li a{
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  margin-right: 30px;
  font-size: 0.9em;
}
.nav li a:hover{
  color: #D2AC37;
}
/*konec nav*/

/*copyright*/
.copyright{
  position: absolute;
  bottom: -90%;
  left: 250px;
  font-size: 1em;
  color: #999;
  animation: fade-in 0.5s ease-in forwards;
  animation-delay: 1s;
  opacity: 0;
  margin-bottom: 5%;
  text-align: center;
}
.copyright a{
  text-decoration: none;
  font-style: oblique;
  color: #999;
}
/*konec copyright*/

/*animace*/
@keyframes fade-in{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}
@keyframes left-in{
  0%{
    transform: translateX(-200px);
    opacity: 0;
  }
  100%{
    transform: translateX(0px);
    opacity: 1;
  }
}
@keyframes right-in{
  0%{
    transform: translateX(200px);
    opacity: 0;
  }
  100%{
    transform: translateX(0px);
    opacity: 1;
  }
}
/*konec animace*/

/*index*/
.hlSekce{
  width: 100%;
  min-height: 100vh;
  background: #222;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
}
.hlSekce:before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #D2AC37;
  /*clip-path: polygon(0 0, 48% 0, 23% 100%, 0 100%);*/
  clip-path: polygon(63% 0, 100% 0, 100% 100%, 82% 100%);
  animation: fade-in 0.5s ease-in forwards;
  animation-delay: 1s;
  opacity: 0;
}
.hlSekce .content{
  position: relative;
  padding: 100px 250px 100px 200px;
  box-sizing: border-box;
  animation: left-in 0.5s ease-in forwards;
  animation-delay: 0.5s;
  opacity: 0;
}
.hlSekce .content h2{
   color: #fff;
   font-size: 3em;
   font-weight: 800;
   padding-bottom: .25em;
 }
.hlSekce .content p{
   color: #fff;
   font-size: 1.2em;
}
.hlSekce .content a{
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  margin-top: 20px;
  background: #D2AC37;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 2px;
}
.hlSekce .image{
  position: relative;
  padding-right: 100px;
}
.hlSekce .image img{
  max-width: 600px;
  animation: fade-in 0.5s ease-in forwards;
  animation-delay: 1.5s;
  opacity: 0;
}

.logo{
  position: relative;
  right: 15%;
  width: 100%;
  height: 500px;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.logoDiv{
  position: relative;
  display: flex;
  align-items: center;
  height: 400px;
  width: 400px;
}
.L{
  position: absolute;
  left: 20%;
  z-index: 1;
  animation: left-in 0.5s ease-in forwards;
  animation-delay: 0.5s;
  opacity: 0;
}
.L .LNadpis{
  font-size: 20em;
  color: #D2AC37;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: #222;
}
.Z{
  position: absolute;
  right: 20%;
  padding-top: 30px;
  animation: right-in 0.5s ease-in forwards;
  animation-delay: 0.5s;
  opacity: 0;
}
.Z .ZNadpis{
  font-size: 21em;
  color: #222;/*
  -webkit-text-fill-color: transparent;*/
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: #D2AC37;
}
/*konec index*/

/*leseni*/
.container{
  position: relative;
  display: flex;
  width: 100%;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
}
.container .card{
  animation: fade-in 1s ease-in forwards;
  position: relative;
  width: 320px;
  height: 450px;
  background: #232323;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #D2AC37;
  margin: 50px;
}
.container .card:before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #D2AC37;
  clip-path: circle(150px at 80% 20%);
  transition: 0.5s ease-in-out;
}
.container .card:hover:before{
  clip-path: circle(300px at 80% -20%);
}
.container .card:after{
  content: 'Pojízdné lešení';
  position: absolute;
  top: 50%;
  left: 0%;
  font-size: 4em;
  font-weight: 800px;
  font-style: italic;
  color: rgba(255,255,255,0.04);
}
.container .jedna:after{
  content: 'Rámové lešení';
}
.container .card .imgBx{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 220px;
  transition: 1s;
}
.container .card:hover .imgBx{
  top: 0%;
  transform: translateY(0%);
}
.container .card .imgBx img{
  height: 230px;
  width: 230px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.container .card .contentBx{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  text-align: center;
  transition: 1s;
  z-index: 10;
}
.container .card:hover .contentBx{
  height: 210px;
}
.container .card .contentBx h2{
  position: relative;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
}
.container .card .contentBx .title{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 20px;
  transition: 0.5s;
  transform: translateY(60px);
}
.container .card:hover .contentBx .title{
  transform: translateY(0px);
}
.container .card .contentBx .title h3{
  color: #fff;
  font-weight: 300;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-right: 10px;
}
.container .card .contentBx a{
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  border-radius: 4px;
  margin-top: 10px;
  text-decoration: none;
  font-weight: 600;
  color: #111;
  opacity: 0;
  transform: translateY(50px);
  transition: 0.5s;
}
.container .card:hover .contentBx a{
  opacity: 1;
  transform: translateY(0px);
  transition-delay: 0.75s;
}
/*konec leseni*/

/*ramoveLeseni a pojizdneLeseni*/
.info{
  color: #fff;
  justify-content: center;
  display: flex;
  align-items: center;
  padding-top: 150px;
}
.text{
  padding: 50px 20px 0 20px;
  max-width: 550px;
}
.info h2{
  font-size: 3em;
  text-align: center;
  padding: 0 5px 0 5px;
  color: #D2AC37;
}
.info h3{
  color: #D2AC37;
  padding-top: 20px;
}
.info p{
  padding: 10px 0 10px;
}
.text a{
  text-decoration: none;
  font-style: oblique;
  cursor: pointer;
  margin: 20px 0 20px 0;
  padding: 5px 5px 5px 5px;
  border-radius: 5px;
  color: #222;
  background: #fff;
  text-align: center;
}
.text ul{
  padding: 20px 0 20px 30px;
}



.pojLesRek{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pojLesRek h2{
  margin-top: 200px;
  color: #D2AC37;
}
.pojLesRek div{
  margin-top: 60px;
  text-align: center;
}
.pojLesRek a{
  color: #D2AC37;
  font-style: oblique;
  text-decoration: none;
}
/*konec ramoveLeseni a pojizdneLeseni*/

@media (max-width: 991px){
  /*nav*/
  .menuicon{
     position: fixed;
     top: 30px;
     right: 20px;
     width: 30px;
     height: 30px;
     background: url(img/menu.png);
     filter: invert(1);
     background-size: 30px;
     cursor: pointer;
     background-repeat: no-repeat;
     z-index: 1000;
     animation: right-in 0.5s ease-in forwards;
     animation-delay: 0.5s;
     opacity: 0;
   }
   .menuicon.active{
     background: url(img/close.png);
     filter: invert(1);
     background-size: 30px;
     cursor: pointer;
     background-repeat: no-repeat;
     z-index: 1000;
   }
   .nav{
     position: fixed;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     flex-direction: column;
     z-index: 11;
     border: none;
     padding: 50px;
     background: #222;
   }
   .nav.active{
     left: 0;
   }
   .nav li{
     padding-top: 1em;
     margin: 5px 0;
   }
  /*konec nav*/

  /*index*/
  .hlSekce{
    flex-direction: column-reverse;
    justify-content: space-between;
  }
  .hlSekce:before{
    clip-path: polygon(0 0, 100% 0, 100% 10%, 0 26%);
    animation-delay: 0.5s;
  }
  .hlSekce .content{
    padding: 50px;
    margin-bottom: 30px;
    animation-delay: 1.5s;
  }
  .hlSekce .content h2{
    font-size: 2em;
    text-align: center;
    align-items: center;
  }
  .hlSekce .content p{
    font-size: 1em;
  }
  .hlSekce .content a{
    font-size: 0.8em;
    padding: 10px;
  }
  .hlSekce .image{
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 0;
    margin-top: 20px;
  }
  .hlSekce .image img{
    max-width: 300px;
    animation-delay: 1s;
  }
  .logo{
    left: 50%;
    transform: translateX(-50%);
  }
  /*konec index*/
  .copyright{
    position: absolute;
    bottom: -40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75em;
    color: #999;
    animation: fade-in 0.5s ease-in forwards;
    animation-delay: 1s;
    opacity: 0;
  }
}
