@media all and (min-width: 0px) and (max-width: 600px) {
.flip-vypis {
    width: 90% !important;
}
}

.flip-vypis {
    text-align: center;
    background: rgba(255, 255, 299, 0.9);
    padding: 9px;
    border-radius: 9px;
}
img.katalogm {
    position: absolute;
    z-index: -1;
    width: 240px;
    display: block;
    margin: 0 auto;
    margin-top: 40px;
    text-align: center;
}
.referencenhn:hover .image {
 filter: grayscale(0);
}


.flip-card.referencenhn img {
    object-fit: cover;
	 filter: grayscale(1);
    width: 320px;
    height: 320px;
}
.refenhnew .gal2022 {
    margin-top: -14px;
}
.row.refenhnew {
    margin-top: 60px;
    margin-bottom: 40px;
}
h2.novemode2 {margin-top: 30px;font-size: 30px;color: white;font-weight: bold;display: table;padding-bottom: 11px;text-align: center;margin-bottom: 21px;text-shadow: 2px 2px 2px rgb(0 0 0);}

.parallax {
    background-image: url(../images/parallax-1-1920x870.jpg);
    min-height: 790px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.wrapper.row2 {
}
.box.boxk {
    background-image: url(../images/katalog.png) !important;
    background-position: -10px 68px !important;
    background-repeat: no-repeat !important;
}
.box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: #009ae1 linear-gradient(to bottom, #009ae1, #006bad) repeat scroll 0 0 !important;
    box-sizing: border-box;
    overflow: hidden;
    border: 10px solid #009ae1;
    color: white;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}

.box:before{
  content: '';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background: rgba(255,255,255,0.1);
  transition:0.5s;
  pointer-events: none;
}

.referencenhn:hover:before{
  left:-50%;
  transform: skewX(-5deg);
}

.box:hover:before{
  left:-50%;
  transform: skewX(-5deg);
}


.box .gal2022 {
    text-align: center;
    line-height: 34px;
    font-size: 28px;
    vertical-align: middle;
    padding-top: 90px;
    display: inline-block;
}

.box span{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  box-sizing: border-box;
  
}

.box span:nth-child(1)
{
  transform:rotate(0deg);
}

.box span:nth-child(2)
{
  transform:rotate(90deg);
}

.box span:nth-child(3)
{
  transform:rotate(180deg);
}

.box span:nth-child(4)
{
  transform:rotate(270deg);
}
.referencenhn span {
    bottom: 0px;
    z-index: 10;

    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    padding: 14px;
    color: white;
}

.flip-vypis {
    max-width: 1309px;
    width: 100%;
}
.boxk .gal2022 {
    margin-top: -70px;
}
.box span:before
{
  content: '';
  position: absolute;
  width:100%;
  height: 2px;
  background: #50dfdb;
  animation: animate 4s linear infinite;
}

@keyframes animate {
  0% {
  transform:scaleX(0);
  transform-origin: left;
  }
  50%
  {
    transform:scaleX(1);
  transform-origin: left;
  }
  50.1%
  {
    transform:scaleX(1);
  transform-origin: right;
    
  }
  
  100%
  {
    transform:scaleX(0);
  transform-origin: right;
    
  }
  
  
} 