* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Dosis', sans-serif;
/* font-family: 'Raleway', sans-serif; */
}



:root {
  --navHeight: 10vh;
  --navHeight2X: 2*10vh;
  --headerHeight: 90vh;
}

html {
  text-align: center;


  font-family: arial;
}

nav,
header {
  position: fixed;
  width: 100%;


}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  margin-left: 50%;
  transform: translateX(-50%);
}

li {
  float: left;
  margin-left: 5%;
}

li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: var(--navHeight/5);
  transition: .5s;
  height: var(--navHeight);
  margin-top: -15px;
}

li a:hover{
  color: yellow;
}

nav {
  height: var(--navHeight);
  background-color: green;
  line-height: var(--navHeight);
  top: 0;
  left: 0;
  z-index: 1;
  text-align: center;
}

.acc a{
  position: fixed;
  top: 0;
  right: 20px;
  text-decoration: none;
  color: white;
}
.acc::marker{
color: rgb(255, 255, 205);

}
.logo{
  position: fixed;
  left: 20px;
  top: 0;
  height: 220px;
  height: var(--navHeight);
}

main{
  color: black;
  margin-top: var(--navHeight);
}
main h1{
  font-size: 50px;
}
main h2{
  font-size: 38px;
}

.clearfix::after {
  content: "";
  clear: both;
  display: block;
 }
 

.used{
  height: 250px;
}

main {
  background-image: url(img/bg.jpg.png);
  background-position: center;
  background-attachment: fixed;
}

main section article:nth-child(1) div{
  display: block;
  float: left;
  width: 50%;
  font-size: 125%;
  margin-top: 25px;
  margin-left: 25px;
  color: white;
}

main section article:nth-child(2){
background-color: rgb(155, 255, 155);
padding: 30px;
}


.img{
  height: 35vh;
  transition: .5s cubic-bezier(1,.53,0,1.93);
}

main section article:nth-child(3) p{
  display: block;
  float: right;
  width: 50%;
  font-size: 125%;
  margin-top: 25px;
  margin-right: 25px;
}
main section article:nth-child(3){
  background-image: url(img/flowFbg.png);
  color: white;
  padding: 25px;
}
article div{
  height: 100%;
}
main section article:nth-child(4) p{
  display: block;
  float: left;
  width: 50%;
  font-size: 125%;
  margin-top: 25px;
  margin-right: 25px;
}
main section article:nth-child(4){
  background-image: url(img/flowSbg.png);
  color: white;
  padding: 25px;
}main section article:nth-child(5) p{
  display: block;
  float: right;
  width: 50%;
  font-size: 125%;
  margin-top: 25px;
  margin-right: 25px;
}
main section article:nth-child(5){
  background-image: url(img/flowSwbg.png);
  color: white;
  padding: 25px;
}

.img:hover{
  scale: 1.5;
  cursor: pointer;
}

footer{
  padding: 25px;
  background-color: rgb(255, 255, 176);
  clear: both;
}
main section article:nth-child(5),main section article:nth-child(4),main section article:nth-child(3){
  opacity: 0;
  transition: 1s;
}

main section article:nth-child(5).active,main section article:nth-child(4).active,main section article:nth-child(3).active{
  opacity: 1;
}

footer a{
  color: black;
  text-decoration: none;
}

.rA1{
  background-color: rgb(155, 255, 155);
  width: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: 25px;
  font-size: 30px;
}

.rA1 input{
  width: 150px;
  font-size: 20px;
  border: 1px solid green;
  background-color: rgb(0, 83, 0);
  color: white;
  padding: 5pxasak;
}

.rA1 input:hover{
  cursor: pointer;
}

.cookie{
  position: fixed;
  /* background-color: green; */
  bottom: 40px;
  width: 100%;
  padding: 15px;
}

.cookie h1{
  font-size: 20px;
  margin: 20px;
  color: white;
}

.cookie input{
  height: 30px;
}

.cookie h1:hover{
  cursor:auto;
}

.sekcja{
  padding: 20px;
}

.photo{
  width: 250px;
  background-color: rgb(155, 255, 155);
  float: left;
  margin-left: 25px;
  padding:15px;
  color: black;
  font-size: 20px;
  margin-top: 25px;
}

.photo img{
  width: 200px;
  height: 300px;
  padding: 10px;
}

div.galerry{
  margin-left: 50%;
  transform: translateX(-50%);
  height: auto;
  width: 100%;
  margin-top: 20px;
}

.czytnik{
  background-color: rgb(155, 255, 155);
  width: 100vw;
  margin-left: -20px;
  padding: 15px;
  margin-top: 30px;
}

.czytnik input{
  margin-right: 30px;
}

.kalkulator{
  background-color: rgb(155, 255, 155);
  width: 100vw;
  margin-left: -20px ;
  padding: 20px;
}