﻿*{
  padding: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

body{
  font-family: montserrat;
  margin: 0;
}

header {
  width: 100%;
}
  
ul li {
  margin-left: 30px;
  list-style: inside;
}

ol li {
  display: list-item;
  margin-left: 30px;
  list-style: upper-roman;
}

img.wide{
  width: 100%;
  margin-bottom: 35px;
}

img.kontakt{
  display: block;
  border-radius: 15px;
  max-width: 100%;
  height: 100%;
  position: relative;
}

img.gallery{
  border-radius: 15px;
  width: 33%;
  position: relative;
  margin: 15px auto;
}

img.floatright{
  float: right;
}

img.floatleft{
  float: left;
}

footer{
  bottom: 0;
  background:  #404040;
  height: 64px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer a{
  margin: auto;
  text-align: center;
  font-size: 20px;
  color: white;
}

.main {
  margin-top: 35px;
  background: white;
  border-radius: 15px;
  border: 2px solid darkorange;
  padding: 20px;
  margin-left: 80px;
  margin-right: 80px;
}

nav{
  position: fixed;
  top: 0;
  background:  #404040;
  height: 64px;
  margin-top: 35px;
  margin-bottom: 35px;
  width: 100%;
  z-index: 1;
} 

nav.scrolled {
  margin-top: 0px;
}

div.firstDivPhoto{
  color: darkorange;
  text-transform: uppercase;
  font-size: 30px;
  text-align: center;
  height: 64px;
}

div.firstDiv{
  margin-top: 134px;
  color: darkorange;
  text-transform: uppercase;
  font-size: 30px;
  text-align: center;
  height: 64px;
}

div.myDiv2{
  padding: 300px;
}

.aktualnosci {
  margin: auto;
  color: darkorange;
  text-align: center;
  font-size: 30px;
  width: 100%;
}

.notification{
 background-color: lightblue;
 border-radius: 15px;
 padding: 20px;
}

.orange {
  color: darkorange;
}

div.rcorner{
  line-height: 120%;
  background: white;
  border-radius: 15px;
  border: 2px solid darkorange;
  padding: 20px;
  width: 1140px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 35px;
}

div.rcorner.home{
  line-height: 120%;
  display: flex;
}

div.rcorner p{
  line-height: 120%;
  text-align: justify;
}

div.rcorner.kontakt{
  line-height: 120%;
  display: flex;
}

div.rcorner.kontakt div{
  line-height: 120%;
  font-size: 20px;
  color: black;
  text-align: center;
}

div.rcorner.kontakt div a{
  line-height: 120%;
  font-size: 20px;
  color: darkorange;
  text-align: center;
}


div.left{
  color: darkorange;
  font-size: 40px;
  width: 30%;
  text-align: center;
  line-height: 120%;
  margin-top: auto;
  margin-bottom: auto;
}

div.right{
  color: darkorange;
  font-size: 40px;
  width: 30%;
  text-align: center;
  line-height: 120%;
  margin-top: auto;
  margin-bottom: auto;
}

div.wideleft{
  font-size: 20px;
  width: 70%;
  text-align: justify;
  line-height: 120%;
}

div.wideright{
  font-size: 20px;
  width: 70%;
  text-align: justify;
  line-height: 120%;
}

.homeNav {
  position: fixed;
}

label.logo{
  line-height: 150px;
  font-weight: bold;
}

label.logo img{
  position: absolute;
  transform: translateY(-30%);
  z-index: 1;
}

nav ul{
  margin: 0;
  float: right;
  margin-right: 20px;
}

nav ul li{
  display: inline-block;
  line-height: 64px;
  margin: 0 5px;
}

nav ul li a{
  color: white;
  font-size: 20px;
  text-transform: uppercase;
}

a.active,a:hover{
  transition: 1s;
  color: darkorange;
}

.checkbtn{
  transform: translateY(-5%);
  border-radius: 25px;
  font-size: 50px;
  color: white;
  float: right;
  line-height: 64px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

#check{
  display: none;
}

@media (min-width: 1320px){
  div.rcorner{
    width: 1320px;
  }
}

@media (max-width: 1320px) and (min-width: 1140px){
  div.rcorner{
    width: 1140px;
  }
}

@media (max-width: 1140px) and (min-width: 900px){
  .checkbtn{
    display: block;
  }
  ul{
    position: fixed;
    width: 100%;
    background:  #404040;
    top: 125px;
    left: -100%;
    text-align: center; 
    transition: height 1s;
  }
  nav ul li{
    display: block;
    margin: 50px 0;
    line-height: 20px;
  }
  nav ul li a{
    font-size: 20px;
  }
  a.active,a:hover{
    background: none;
  }
  #check:checked ~ ul{
    left: 0;
  }
  div.rcorner{
    width: 900px;
  }  
  div.rcorner.kontakt{
    display: block;
  }
  div.left{
    width: 100%;
  }
  div.right{
    width: 100%;
  }
  div.wideleft{
    width: 100%;
  }
  div.wideright{
    width: 100%;
  }
  img.gallery{
    width: 49%;
  }
}

@media (max-width: 900px) and (min-width: 550px){
  div.rcorner{
    width: 550px;
  }
  .checkbtn{
    display: block;
  }
  ul{
    position: fixed;
    width: 100%;
    background:  #404040;
    top: 125px;
    left: -100%;
    text-align: center; 
    transition: height 1s;
  }
  nav ul li{
    display: block;
    margin: 50px 0;
    line-height: 20px;
  }
  nav ul li a{
    font-size: 20px;
  }
  a.active,a:hover{
    background: none;
  }
  #check:checked ~ ul{
    left: 0;
  }
  div.rcorner.kontakt{
    display: block;
  }
  div.rcorner.home{
    display: block;
  }  
  div.left{
    width: 100%;
  }
  div.right{
    width: 100%;
  }
  div.wideleft{
    width: 100%;
  }
  div.wideright{
    width: 100%;
  }
  img.gallery{
    width: 100%;
  }
}

@media (max-width: 550px){
  .checkbtn{
    display: block;
    margin-right: 20px;
  }
  label.logo{
  padding: 0 20px;
  }
  ul{
    position: fixed;
    width: 100%;
    background:  #404040;
    top: 85px;
    left: -100%;
    text-align: center; 
    transition: height 1s;
  }
  nav{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  nav ul li{
    display: block;
    margin: 50px 0;
    line-height: 20px;
  }
  nav ul li a{
    font-size: 20px;
  }
  div.firstDiv{
    margin-top: 109px;
    margin-bottom: 10px;
  }
  a.active,a:hover{
    background: none;
  }
  #check:checked ~ ul{
    left: 0;
  }
  div.rcorner.kontakt{
    display: block;
  }
  div.rcorner.home{
    display: block;
  }  
  div.left{
    width: 100%;
  }
  div.right{
    width: 100%;
  }
  div.wideleft{
    width: 100%;
  }
  div.wideright{
    width: 100%;
  }
  label.logo img{
    height: 100px;
    transform: translateY(-17%);
  }
  img.gallery{
    width: 100%;
  }
  div.rcorner{
    width: 90%;
  }
  img.floatright{
    width:100%;
    float: none;
  }
  img.floatleft{
    width:100%;
    float: none;
  }
}

@media (prefers-color-scheme: light) {
  body{
    background-color: lightgrey;
    color: black;
  }
}

@media (prefers-color-scheme: dark) {
  body{
    background-color: black;
    color: white;
  }
  div.main{
    background-color: black;
  }
  div.rcorner{
    background-color: black;
  }
}

