*{margin: 0; 
    padding: 0;
font-family: Lexend, arial;
box-sizing: border-box;
}
body {
   background-color: #faf8f5 /* #d1d1e8  #ffefe5*/

;
}
#wrapper {
    max-width: 1600px;
    margin: 0 auto;
/*    background-color: white;*/
}
article a:visited {
  color: black !important;
}




header img {width: 100%; display:block;}
h3 {
    text-align:center;
}



nav a {
    display: inline-block;
    width: 25%;
    padding: 15px 30px;
    color: black;
    text-decoration:none;
    text-align:center;
    font-size: 22px;
    white-space: nowrap; 
    background-color:  #f3eee7;
/*    border-bottom: 1px solid #E6DED4;*/
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
/*        #7575ba #ffdecc*/
}
/*po najechaniu myszka*/
nav a:hover {
    background-color:#e6ded4;
    
/*    #ffbe98 #ffd2b7*/
    cursor:pointer;
}











.active {
    background-color:#e6ded4; 
/*    #ffbe98*/
}


article {
    margin-top:50px;
    margin-bottom:50px;
    padding: 0 30px;
    margin-left: 35px;
    margin-right: 35px;
}


bibliography p{
    
  
    margin-left:85px;
    padding-bottom: 85px;
    font-size: 13px;  
   
    
}
article h1{
    font-size:50px;
    text-align: center;
    margin: 0 10% 30px 10%;
    padding-bottom: 15px;
/*    border-bottom: 5px solid #ffbe98;*/
   
}

    article h2{
    font-size:35px;
    text-align: center;
    margin: 5 10% 5px 10%;
    padding-bottom: 15px;
}



img.left {
    float:left;
    margin: 10px 50px 140px 10px;
    width: 22%;
    border-radius:65%;
    border: 4px solid transparent;
}
/*img.projekt1 {
    
    margin: 10px 50px 5px 10px;
    width: 30%;
    border: 4px solid #ffbe98;
}
    img.projekt {
    
    margin: 10px 50px 5px 10px;
    width: 45%;
    border: 4px solid #ffd2b7;
}

img.projekt2 {
    
    margin: 10px 50px 5px 10px;
    width: 70%;
    border: 4px solid #ffd2b7;
}*/
article p {
    text-align: justify;
    line-height: 20px;
    font-size: 18px;
    padding: 10px 0;
   
}

footer{
    margin-top:120px;
    width:100%;
    height: 180px;
    background-color: #cfc4B8;
    
    color: white;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
    padding: 10px 0;
    
    
}
footer p{
    padding-bottom: 10px ;
    text-align:center;
}
img.FR {
  max-width: 10%;
  height: auto;
    background-color: #cfc4B8;
     margin: 0;
}

img.FR:hover{
    opacity:0.5;
}
section22{
     margin-top:50px;
    margin-bottom:50px;
    padding: 0 30px;
    text-align: center;
    font-size: 20px;
    text-decoration:none;
    
}

section22 a:link {
  color: black;
    text-decoration:none;
    font-weight: bold;
}

/* visited link */
section22 a:visited {
  color: black;
    text-decoration:none;
    font-weight: bold;
}

/* mouse over link */
section22 a:hover {
  opacity:0.7;
    
}

/* selected link */
section22 a:active {
  color: black;
    text-decoration:none;
    font-weight: bold;
}

.rodo-text {
    font-size: 0.8em;
    line-height: 1.4;
    color: #333;
}
/*@media only screen and (max-width: 600px) {*/
    
    
@media only screen and (max-width: 600px) {
  article {
    margin: 20px 8px;     /* smaller outer margin */
    padding: 8px 10px;    /* smaller inner space */
  }

  article p {
    font-size: 14px;
    line-height: 1.4;     /* better readability on mobile */
  }
/*
}
    
*/
    bibliography p{
    
   margin:0;
    margin-left:25px;
    padding-bottom: 25px;
    font-size: 11px; 
    }
  article h1{
    font-size:30px;
    text-align: center;
    margin: 0 10% 15px 10%;
    padding-bottom: 15px;
/*    border-bottom: 5px solid #cfc4B8; */
/*      #ffbe98*/
}
img.left {
    float:left;
    margin: 10px 15px 5px 10px;
    width: 45%;
    border-radius:65%;
    
}
    article h2{
    font-size:25px;
    text-align: center;
    margin: 0 10% 15px 10%;
    padding-bottom: 15px;
}  
  footer{
    margin-top:40px;
    width:100%;
    height: 100px;
  
}
 
    article p {
    text-align: justify;

/*
        hyphens: auto;
        text-justify: inter-word;
*/

    line-height: 15px;
    font-size: 14px;
        padding: 6px 10px;
/*    padding: 5px 0;*/
   
}
form{


  border:2px solid black;
  margin:0;
   
}
    
article {
    margin-top:30px;
    margin-bottom:30px;
    padding: 15px ;
    }
img.projekt1 {
    
    margin: 10px 50px 5px 10px;
    width: 95%;
    border: 4px solid #cfc4B8;
}
    img.projekt {
    
    margin: 10px 50px 5px 10px;
    width: 95%;
    border: 4px solid #cfc4B8;
}

img.projekt2 {
    
    margin: 10px 50px 5px 10px;
    width: 95%;
    border: 4px solid #cfc4B8; 
/*    #ffbe98*/
}
  
nav a {
    display: inline-block;
    width: 25%;
    padding: 5px 15px;
    color: black;
    text-decoration:none;
    text-align:center;
    font-size: 15px;
    white-space: nowrap; 
    
}
  .icon-bar a {
  display: block;
  text-align: center;
  padding: 2px;
  
  font-size: 15px;
}
 
}
/**/
form{
  width:400px;
  margin:auto ;
  border:2px solid black;
  padding:20px;
    
}
form label {
  display:block;
  margin-bottom:5px;
  font-weight:bold;
  font-size:15px;
  color:black;
   
}
form textarea,form input {
  padding:5px;
  border:1px solid black;
  margin-bottom:25px;
  width:100%;
  box-sizing: border-box;
}
form input[type=submit] {
  cursor:pointer;
  margin-bottom:0px;
}
/**/




/* Fixed/sticky icon bar (vertically aligned 50% from the top of the screen) */
.icon-bar {
  position: fixed;
  top: 5%;
  -webkit-transform: translateY(-20%);
  -ms-transform: translateY(-20%);
  transform: translateY(-20%);
}

/* Style the icon bar links */
.icon-bar a {
  display: block;
  text-align: center;
  padding: 8px;
  margin: 3px;
  font-size: 40px;
border-radius: 25%;
}

/* Style the social media icons with color, if you want */


.facebook {
  
  color: #3b5998;
background: white;
opacity: 60%
    
}


.instagram {
  
  color: #C13584;
    background: white;
    opacity: 60%
}
.fa:hover {
  opacity: 0.7;
}

#more {display: none;}
button:focus {
  outline: none;

}
button:focus {
    background-color:#cfc4B8;
    color:black;
    border: 2px solid #000;
     padding: 10px 17px;
border-radius: 10px;
}

button {
    background-color:#cfc4B8;
    color:black;
    padding: 10px 17px;
    border: 2px solid #000;
border-radius: 10px;
}
button:hover{
    opacity:0.8;
    cursor:pointer;
}

btnText:hover{
    opacity:0.8;
    cursor:pointer;
}
moreText:hover{
    opacity:0.8;
    cursor:pointer;
}



bibliography a:link {
  color: black;
    text-decoration:none;
    font-weight: bold;
}

/* visited link */
bibliography a:visited {
  color: black;
    text-decoration:none;
    font-weight: bold;
}

/* mouse over link */
bibliography a:hover {
  opacity:0.7;
    
}

/* selected link */
bibliography a:active {
  color: black;
    text-decoration:none;
    font-weight: bold;
}


oferta a:link {
  color: black;
    text-decoration:none;
    font-weight: bold;
}

/* visited link */
/*oferta a:visited {
  color: black;
    text-decoration:none;
    font-weight: bold;
}*/

/* mouse over link */
oferta a:hover {
  opacity:0.7;
    
}



/* selected link */
/*
oferta a:active {
  color: black;
    text-decoration:none;
    font-weight: bold;
}
*/


film iframe{
    display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}



img.oferta {
   display: block;
  margin-left: auto;
  margin-right: auto;
  width: 95%;
}
article b {
    
    font-size: 25px;
}





@import "compass/css3";

/* galeria wersja Piotrka */

.gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.gallery > div {
position: relative;
padding: 2px;
max-width: 33.3%;
}

/* galeria - reszta jak bylo z internetu */

.gallery > div > img {
text-align: center;
    margin: auto;
  width: 98%;
  transition: .1s transform;
  transform: translateZ(0); 
}

.gallery > div:hover {
  z-index: 1;
}

.gallery > div:hover > img {
  transform: scale(1.4,1.4);
  transition: .3s transform;
}

.cf:before, .cf:after {
  display: table;
  content: "";
  line-height: 0;
}

.cf:after {
  clear: both;
}

Galeria.p{
    text-align:center;
}

/* galeria - koniec */







/*---------------------------------------------------------------------------------------------- */

/* na telefon */

@media only screen and (max-width: 600px) {
    
film iframe{
    display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}



img.oferta {
   display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
article b {
    
    font-size: 15px;
    }}



.rodo-wrapper {
  text-align: center;
  margin: 20px 0;
}

/* Break global label styles */
.rodo-consent {
  display: block !important;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Force checkbox onto its own line */
#checkbox-rodo {
  display: block !important;
    width: 10px;
  margin: 0 auto !important;
  transform: scale(1.3);
}


.rodo-consent {
  cursor: pointer;
}

.contact-form {
    background: #f3eee7;}
/* pomniejszenie znaczkow na media spolecznosciowe*/

@media (max-width: 764px) {
.icon-bar a {
font-size: 28px;
padding: 5px;
}
}

/* zmniejszenie formualrza kontaktowego*/



@media (max-width: 764px) {
.contact-form {
max-width: 400px;
width: 100%;
    background: #f3eee7;
}
}



/* wygląd galerii*/

@media (max-width: 1200px) {
.gallery > div {
max-width: 50%;
}
}
@media (max-width: 764px) {
.gallery > div {
max-width: 100%;
}
}