body {    font: 1em/1.67 Arial, Sans-serif;    margin: 0;    background: #fff;    font-family: 'Montserrat', sans-serif;}
img, iframe {max-width: 100%; height: auto; display: block;}
nav a { color:#000; text-decoration: none; }
.logo, .footer {text-align: center; }
.logo {font-size: 2.5em; margin:.5em 0 .25em 0; color: rgb(0, 0, 0);font-weight: 800;}
.tlo { background-image: url(sandpaper.png)}
.bold {font-weight:800}
.w {font-size: 1.2em}
.row-fluid {text-align: center;    margin-top: 1em;}
.row-fluid a {margin-left: 0.3em; margin-bottom: 0.6em;}
.link {    font-size: 1.2em;    font-weight: 400;    cursor: pointer;    display: inline-block;    position: relative;    margin-bottom: 0.5em;}
.link.anim-destination {overflow: hidden;padding-right: 0.7em;}
.link:nth-child(2){-webkit-animation-delay: 0.2s;}
.link:nth-child(3){-webkit-animation-delay: 0.3s;    }
.link:nth-child(4){-webkit-animation-delay: 0.4s;}
.link:nth-child(5){-webkit-animation-delay: 0.5s;}
.link:nth-child(6){-webkit-animation-delay: 0.6s;}
.link.anim-destination span {position: relative;display: inline-block;-webkit-transition: -webkit-transform 0.3s;transition: transform 0.3s;}
.link.anim-destination span::before {position: absolute;white-space: nowrap;	top: 100%;content: attr(data-hover);font-weight: 800;}
.link.anim-destination:hover span,.link.anim-destination:focus span {-webkit-transform: translateY(-100%);transform: translateY(-100%);}
.active {font-weight: 800;}
.link.anim-destination.active:hover span,
.link.anim-destination.active:focus span {-webkit-transform: translateY(0%);transform: translateY(0%);}
.wrapper {    width: 95%;    margin: 1.5em auto;}
.masonry {
    margin: 1.5em 0;
    padding: 0;
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: .5em;
    font-size: .85em;
}
.item {
    position: relative;
    display: inline-block;
    background: #fff;
    margin: 0 0 .5em;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.18);
    border-radius: 0px;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
}
.item:nth-child(3n+0){-webkit-animation-delay: 0.2s;}
.item:nth-child(2n+0){-webkit-animation-delay: 0.4s;    }
.item:nth-child(4n+0){-webkit-animation-delay: 0.6s;}
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(123, 124, 124, 0.52);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .1s ease;
  }
.item:hover .overlay {    height: 30%;  }
.text {    white-space: nowrap; 
    color: white;
    font-size: 20px;
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }

  @media only screen and (max-width: 400px) {
    .tlo {     width:100%    }
    .przerwa {     display: none;    }
}

@media only screen and (min-width: 400px) {
    .tlo br {     display: none;    }
    
}

@media only screen and (min-width: 700px) {
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}
@media only screen and (min-width: 900px) {
    .masonry {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}
@media only screen and (min-width: 1100px) {
    .masonry {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
}
@media only screen and (min-width: 1280px) {
    .wrapper {
        width: 1260px;
    }
}

