body {
 background-color: #00335b;
 font-family: Helvetica, serif;
}

#cont {
background-color: white;

}


header {
  justify-content: space-between;
  margin: 10px 0 0 0;
  background-size: contain;
  background-color: white;

}

#logo {
  text-align: center;
}

#logo a {
  font-size: 42px;
  text-decoration: none;
  color: #004c71;
}



footer {
  background-color: white;
  border: 3px solid white;

  margin: 50px auto;
}

.about {
  height: auto;
  width: auto;
}

footer #loga {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 30px 0;

}

footer #loga img {
  height: 60px;
  margin: 10px;
  opacity: 0.6;
}


footer #loga img:hover {
  opacity: 1;
}

nav {
  background-color: orange;
  text-align: center;
  border: 3px solid white;
}

nav ul {
  margin: 5px 0;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
  vertical-align: middle;

}

nav ul li a:link,
nav ul li a:visited {
  color: white;
  font-size: 16px;
  font-weight: 200;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
}



#photos {
   /* Prevent vertical gaps */
   line-height: 0;
   padding-top:20px;
   z-index:1;
   -webkit-column-count: 3;
   -webkit-column-gap:   10px;
   -moz-column-count:    3;
   -moz-column-gap:      10px;
   column-count:         3;
   column-gap:          10px;
}




@media (min-width: 1800px) {

}


@media (min-width: 1200px) {

  #logo-lew {
    float: right;
    width: 30%;
    margin: 20px;
    color: lightgray;
    border: 1px solid lightgray;
    box-sizing: border-box;
    border-radius: 15px;
  }

  #logo img {
    width: 100%;
  }

  footer {
    width: 1250px;
  }

  #cont {
    width: 1200px;
    padding: 30px;
    padding-top: 10px;
  }


  #photos {
  -moz-column-count:    3;
  -webkit-column-count: 3;
  column-count:         3;
  }

  iframe {
    margin: 10px;
  }
}
@media (max-width: 1000px) {

  footer form {

  }
  footer form input[type=submit] {
    display: block;
    width: 50% !important;
    margin: 10px auto !important;
    }

  #logo-lew {
    margin: 20px;
    color: lightgray;
    border: 1px solid lightgray;
    box-sizing: border-box;
    border-radius: 15px;
  }

  #logo img {
    width: 100%;
  }

#cont {
  width: 1000px;
}

  #photos {
  -moz-column-count:    3;
  -webkit-column-count: 3;
  column-count:         3;
  }
}
@media (max-width: 800px) {
  footer {
    width: 90%;
  }

  .maly {

  }

  #cont {
    width:600px;
  }


  #photos {
  -moz-column-count:    2;
  -webkit-column-count: 2;
  column-count:         2;
  }
}
@media (max-width: 600px) {

  #about #loga {
    width: 100% !important;
  }


  #logo img {
    width: 100%;
  }


  #logo a {
    font-size: 20px;
    text-align: center;
    margin: 30px 0;
  }

  #cont {
    width: 100%;
    padding: 0 !important;
  }

  header {
    display: block;
  }

  nav {

  }


  nav ul {
    margin: 20px 0;
    padding: 0;
  }

  nav li {
      display: block;
      text-align: center;
      width: 100%;
      margin: 0 !important;
      padding: 0;

  }


  #photos {
  -moz-column-count:    1;
  -webkit-column-count: 1;
  column-count:         1;
  }

  .kafel {
    margin: 20px 0 !important;

  }
}

body {
  margin: 0;
  padding: 0;
  /* background-image: url('tlo.jpg'); */
  background-attachment: fixed;
  font-family: 'Open Sans', sans-serif;

}

.kontrast {
  background-color: black !important;
  background-image: url('');
  border-color: #252525 !important;
  color: white !important;
}


#cont {
  z-index:1;
  margin: 0 auto;
  background-color: white;
}

#cont .kafel {
display: flex;
flex-wrap: wrap;
position: relative;
margin-right: 50px;
margin-bottom: 10px;
width: 100%;
border: 1px solid lightgray;
line-height: 1.5em;
color: #2c3e50;
font-size: 24px;
text-decoration: none;
-webkit-column-break-inside: avoid;
 page-break-inside: avoid;
 break-inside: avoid;
 border-radius: 0px;
 overflow: hidden;
 box-sizing: border-box;
 transition:all 0.3s ease;
}

.kafel:hover {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  z-index: 99999999;
}

.kafel span {
width: 100%;
background-color: rgba(255,255,255,0.6);
line-height: 40px;
position: absolute;
bottom: 0;
padding: 10px 20px;
font-weight: bolder;
box-sizing: border-box;
}

.maly img {
width: 50%;
}

.maly .opis {
  background-color: #afd3f3;
  width: 50%;
}

.maly .opis h2,
.maly .opis h3 {
  color: white;
  padding: 5px;
  margin-left: 20px;
}

.maly .opis h2 {
  font-size: 54px;
  margin-top: 20px;
}


.maly .opis img {
  float: right;
  margin-right: 10px;
  margin-top: 10px;
  width: 30%;
}

.duzy img {
  height: 30%;
}

.duzy .opis {
  background-color: #cae1f5;
  width: 100%;
}


/*
#cont .maly::before {
  content: '';
  width: 300px;
  height: 300px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 100%;
  position: absolute;
  right: -100px;
}

*/



.maly {
  height: 245px;
 /*
  background: rgba(240,240,240,0.38);
  background: -moz-linear-gradient(top, rgba(240,240,240,0.38) 0%, rgba(237,237,237,0.38) 0%, rgba(255,255,255,0.38) 0%, rgba(212,212,212,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(240,240,240,0.38)), color-stop(0%, rgba(237,237,237,0.38)), color-stop(0%, rgba(255,255,255,0.38)), color-stop(100%, rgba(212,212,212,1)));
  background: -webkit-linear-gradient(top, rgba(240,240,240,0.38) 0%, rgba(237,237,237,0.38) 0%, rgba(255,255,255,0.38) 0%, rgba(212,212,212,1) 100%);
  background: -o-linear-gradient(top, rgba(240,240,240,0.38) 0%, rgba(237,237,237,0.38) 0%, rgba(255,255,255,0.38) 0%, rgba(212,212,212,1) 100%);
  background: -ms-linear-gradient(top, rgba(240,240,240,0.38) 0%, rgba(237,237,237,0.38) 0%, rgba(255,255,255,0.38) 0%, rgba(212,212,212,1) 100%);
  background: linear-gradient(to bottom, rgba(240,240,240,0.38) 0%, rgba(237,237,237,0.38) 0%, rgba(255,255,255,0.38) 0%, rgba(212,212,212,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0f0f0', endColorstr='#d4d4d4', GradientType=0 ); */

}

.duzy {
  height: 500px;
  /*
  background: rgba(240,240,240,0.38);
  background: -moz-linear-gradient(top, rgba(240,240,240,0.38) 0%, rgba(237,237,237,0.38) 0%, rgba(255,255,255,0.38) 0%, rgba(212,212,212,1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(240,240,240,0.38)), color-stop(0%, rgba(237,237,237,0.38)), color-stop(0%, rgba(255,255,255,0.38)), color-stop(100%, rgba(212,212,212,1)));
  background: -webkit-linear-gradient(top, rgba(240,240,240,0.38) 0%, rgba(237,237,237,0.38) 0%, rgba(255,255,255,0.38) 0%, rgba(212,212,212,1) 100%);
  background: -o-linear-gradient(top, rgba(240,240,240,0.38) 0%, rgba(237,237,237,0.38) 0%, rgba(255,255,255,0.38) 0%, rgba(212,212,212,1) 100%);
  background: -ms-linear-gradient(top, rgba(240,240,240,0.38) 0%, rgba(237,237,237,0.38) 0%, rgba(255,255,255,0.38) 0%, rgba(212,212,212,1) 100%);
  background: linear-gradient(to bottom, rgba(240,240,240,0.38) 0%, rgba(237,237,237,0.38) 0%, rgba(255,255,255,0.38) 0%, rgba(212,212,212,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f0f0f0', endColorstr='#d4d4d4', GradientType=0 );
  */
}


/* player */

header {
  position: relative;
}

#wdid_JBEEB_15 {
  position: absolute;
  right: 50px;
  top: 0px;
  overflow: hidden;
  padding: 10px;
}
#wdid_JBEEB_15 span {
  height: 60px !important;
}

#Rube_JBEEB_32 {
  display: none;
}

/* Font Resizer */

.small {
  font-size: 12px !important;
}

.normal {
  font-size: 24px !important;
}

.large {
  font-size: 30px !important;
}

.big {
  font-size: 36px !important;
}

.font-size {
  list-style: none;
  position: fixed;
  top: 5px;
  right: 0;
  background-color: rgba(255,255,255,0.5);
  padding: 10px;
  z-index: 999;

}

.font-size a {
  display: block;
  margin: 10px;
}

.font-size a,
.font-size a img {
  background-color: rgba(255,255,255,0)
}

/* Pages */

.cont {
  background-color: white;
}

/* O projekcie */

#about {
  font-size: 18px;
  padding: 20px;
}

.licencja {
  font-size: 16px;
  background-color: #009fe3;
  width: 100%;
  border-radius: 15px;
  color: white;
  padding: 10px;
}

.licencja span {
  float: right;
  padding: 10px;
}

.licencja span img {
  width: 40px;
}



#logo-lew img {
  width: 90%;
}


#logo-lew span {
  display: block;
  margin: 10px;
}

#about #loga {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#about #loga img {
  height: 80px;
  margin: 25px;
}


footer form {
  text-align: center;
  padding: 20px 0;
}

form > h1 {
  font-size: 16px;

}

form > h3 {
  font-size: 14px;
  color: gray;
}

footer form input[type=email] {
  width: 60%;
  height: 30px;
  border-radius: 5px;
  box-shadow: none;
  border: 1px solid skyblue;
  margin: 0 auto;
  padding: 10px;
}

footer form input[type=submit] {
  width: 10%;
  height: 30px;
  background-color: orange;
  color: white;
  border: 0px solid white;
  margin: 0 auto;
}

footer form #checkbox {
  font-size: 12px;
  color: gray;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}
