html {
    font-family: 'Open Sans','Arial',sans-serif;
}

body {
    margin: 0;
    padding: 0;
}


nav{
  background: #101A2F;
  padding: 5px 30px;
}
nav ul{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
nav ul li{
  padding: 15px 0;
  cursor: pointer;
}
nav ul li.items{
  position: relative;
  width: auto;
  margin: 0 16px;
  text-align: center;
  order: 3;
}
nav ul li.items:after{
  position: absolute;
  content: '';
  left: 0;
  bottom: 5px;
  height: 1px;
  width: 100%;
  background: #f2ff00;
  opacity: 0;
  transition: all 0.2s linear;
}
nav ul li.items:hover:after{
  opacity: 1;
  bottom: 8px;
}
nav ul li.logo{
  background-image: url('https://www.scanthesun.com/tests/img/logo_www_white.png');
  background-repeat: no-repeat;
  padding: 15px;
  flex: 1;
}
nav ul li a{
  color: white;
  font-stretch: condensed;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  transition: .4s;
}
nav ul li:hover a{
  color: white;
}
nav ul li i{
  font-size: 23px;
}
nav ul li.btn{
  display: none;
}
nav ul li.btn.hide i:before{
  content: '\f00d';
    color: #f2ff00;
}



#sek12 div {
    background-color: white;
    flex: 1 1 100%;
    max-width: 964px;
}
.zdjecia {
    margin: 0 auto;
    padding: 40px 0 40px 0;
}

.zdjecia h2 {
   font-size: 20px;
   margin: 30px 20px 10px 20px;
   letter-spacing: 1px; 
   font-weight: 700;
   color: #34558b;
} 
.zdjecia h3 {
   font-size: 18px;
   margin: 30px 20px 30px 20px;
   letter-spacing: 1px; 
   font-weight: 600;
   color: #34558b;
} 
 
.zdjecia p {
    font-size: 18px;
    color: black;
    font-weight: 600;
    margin: 10px 20px 0 20px;
}   

.ilustracje {
  max-width: 964px;
  margin: 0 auto;
  display: flex;
  padding: 0 0 40px 0;    
} 

.obrazek { 
  margin-left: 20px; 
  background-image: url(img/workshop2.png);
  background-repeat: no-repeat;
  background-position: left;
}





#sek8 h2{
  font-size: 14px;
  font-weight: 200px;    
  text-transform: uppercase;    
  color: white;    
}
#sek8 p {
  font-size: 14px;
  color: white;  
}
#sek8 div {
  flex: 1 1 100%;
}
.footer {
  position: fixed;
  bottom: 0px;
  width: 100%;
  
}
.stopka {
  display: flex;
  flex-basis: 50%;
  padding: 10px 20px;
  background: #101a2f;
}
.ramka {
  margin: 10px 0 0 0;
  position: relative;  
}
.leftbox {
  padding: 10px 30px 10px 30px;  
}
.centerbox {
  padding: 10px 30px 10px 30px;  
}
.rightbox {
  padding: 10px 30px 10px 30px;  
}
.adres {
  font-size: 14px;
  color: white; 
}
.email {
  font-size: 14px;
  color: white; 
}
.adres {
  margin-left: 2px;    
}
.text {
  margin-left: 10px;    
}
.ramka input {
  width: 100%;
  border: none;  
  background-color: #eeeeee;
}          
.ramka input:focus {
  outline-color: #f2ff00;  
}
.btn button{
  height: 25px;
  width: 80px;
  border: none;
  outline: none;
  background-color: #eeeeee;
  font-size: 12px;
  font-weight: 300;
  color: black;
  cursor: pointer;
  transition: .3s;
  margin-top: 5px;    
}
.btn button:hover {
  background-color: #f2ff00;
  color: black;    
}
.kalkulator {
  display: flex;
  justify-content: center;
}
.ramkakalkulatora {
  width: 320px;
  background-color: white;  
  border: 1px solid gray;
  margin: 20px;
  max-width: 400px;
}








@media all and (max-width: 768px) {
  nav{
    padding: 5px 20px;
  }
  nav ul li.items{
    width: 100%;
    display: none;
  }
  nav ul li.items.show{
    display: block;
  }
  nav ul li.btn{
    display: block;
  }
  nav ul li.items:hover{
    background-color: #1d2f4d;
  }
  nav ul li.items:hover:after{
    opacity: 0;
  }
   
  ul{
    padding: 0px;    
  }     
   
  .ilustracje{
    flex-direction: column;
    }
  .stopka {
    flex-direction: column;    
    }      
}



@media all and (min-width: 376px) and (max-width: 768px) {
   .kalkulator{
    flex-direction: column;
    align-items: center;
    }  
  
}



@media all and (max-width: 375px) {
    .kalkulator {
    flex-direction: column;
    align-items: center;
    } 
.ramkakalkulatora {
  width: 280px;
}
}

 

@media all and (min-width: 769px) and (max-width: 1024px) {
  nav ul li a{
  font-size: 17px;
}
  nav{
  padding: 5px 20px;
}  
  nav ul {
  padding-inline-start: 20px;
}
  nav ul li.items{
  margin: 0 9px;
}    
}



    
 @media all and (min-width: 1660px){
  .ramkakalkulatora {
  width: 500px;
  margin: 40px;      
    } 

 nav ul li a {
  font-size: 22px; 
 }
 nav ul li.logo{
  background-image: url('https://www.scanthesun.com/tests/img/logo_www_big_white.png');
     padding: 20px;
 }     
     
.zdjecia {
    max-width: 1440px; 
}
.ilustracje {
  max-width: 1440px;
}
.zdjecia h2 {
   font-size: 26px;
} 
 .zdjecia h3 {
   font-size: 26px;
}     
 
.zdjecia p {
    font-size: 24px;
}     
#sek8 h2{
  font-size: 16px;  
}
#sek8 p {
  font-size: 16px; 
}      
    }    



