*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
body{
    max-width: 100vw;
    min-height: 100vh;
}
header{
    background-color: rgba(50,50,50,0.8);
    height: 5rem;
    text-align: center;
    width: 100%;
    top:0;
    line-height: 5rem;
    max-width: 100vw;
    overflow: hidden;
    z-index: 100;
}
.container{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    margin:auto;
    max-width: 900px;
}
nav ul{
    display: flex;
    flex-direction: row;
    list-style: none;
    transition: all 0.3s ease-out;
    z-index: 50;
}
nav li{
    padding:0 1.5rem;
}
nav a{
    text-decoration: none;
    color:#e9c799;
    text-shadow: 1px 1px 0 #1f0f09;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    padding: 0 1rem;
    display: block;
}
#showMenuButton{
    width:5rem;
    height:5rem;
    position: fixed;
    right:0;
    top:0;
    visibility: hidden;
}
#bar1,
#bar2,
#bar3{
    width: 3rem;
    margin: 10px auto;
    height: 5px;
    background-color: #FFF;
    border-radius: 5px;
}
#bar1{
    margin-top: 25%;
}
nav a:hover{
    background-color: rgba(250,250,250,0.3) ;
}
#logo img{
    max-height: 5rem;
}
#chk{
    visibility: hidden;
}
main{
    background-image: url("./zdj/zdj1.jpg");
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: all 3s ease-in-out;
}
.glownastrona{
    text-align: center;
    margin:auto;
    margin-top: 35vh;
    padding:1rem;
    font-size: 1.5rem;
    background-color: rgba(50,50,50,0.5);
    
}
.atrakcje{
    overflow-y: auto;
    height:65vh;
    margin-top: 15vh;
}
.galeriablok{
    overflow: hidden;
    margin-top: 0;
    padding: 2.5vh 50vh;
    min-height: calc(100vh - 5rem);
}
.text1{
    color: #e9c799;
    text-shadow: 1px 1px 0 #170e0a;
    margin: 0.4em 0;
    font: italic 42px/42px 'PT Serif', Arial, Helvetica, sans-serif;
}
.text2{
    font-size: 17px;
    color: #e9c799;
    text-shadow: 1px 1px 0 #170e0a;
    margin-top: 1rem;
}
.glownastrona > p{
    color: #f9e9ce;
    font-size: 15px;
    margin-top: 0.7rem;
}
footer{
    width:100%;
    background-color: rgba(50,50,50,0.8);
    height:2rem;
    position: absolute;
    bottom: 0;
    color: #e9c799;
    text-shadow: 1px 1px 0 #170e0a;
    text-align: center;
    z-index: 1;
    padding:0.5rem;
}
@media (max-width:1050px){
    nav ul{
        flex-direction: column;
        width:100vw;
        margin:auto;
        position: absolute;
        left:0;
        margin-top: 5rem;
        height:0px;
        background-color: rgba(50,50,50,0.8);
    }
    nav li{
        opacity: 0;
        transition: all 0.3s ease-out;
    }
    nav a{
        width:100%;
        pointer-events: none;
    }
    footer{
        height: 2rem;
    }
    #logo{
        text-align: center;
        width: 100%;
    }
    #showMenuButton{
        visibility: visible;
    }
    #chk:checked ~ nav ul{
        height: calc(100vh - 5rem);
    }
    #chk:checked ~ nav li{
        opacity: 1;
    }
    #chk:checked ~ nav a{
        pointer-events: all;
    }
    .glownastrona{
        overflow-y: auto;
        margin-left: 1vh;
        margin-right: 1vh;
        margin-top: 20vh;
        height: auto;
    }
    .kontakt{
        margin-left: auto;
        margin-right: auto;
        margin-top: 20vh;
        height: 30vh;
    }
    .galeriablok{
        padding: 5rem 1rem;
        margin: 0;
    }
    .atrakcje{
        height: 52vh;
    }
    .index{
        margin: 35vh auto;
    }
}
@media (max-width:720px)
{
    nav ul{
        flex-direction: column;
        width:100vw;
        margin:auto;
        position: absolute;
        left:0;
        margin-top: 5rem;
        height:0px;
        background-color: rgba(50,50,50,0.8);
    }
    nav li{
        opacity: 0;
        transition: all 0.3s ease-out;
    }
    nav a{
        width:100%;
        pointer-events: none;
    }
    footer{
        height: 4rem;
    }
    #logo{
        text-align: center;
        width: 100%;
    }
    #showMenuButton{
        visibility: visible;
    }
    #chk:checked ~ nav ul{
        height: calc(100vh - 5rem);
    }
    #chk:checked ~ nav li{
        opacity: 1;
    }
    #chk:checked ~ nav a{
        pointer-events: all;
    }
    .glownastrona{
        overflow-y: auto;
        margin-left: 1vh;
        margin-right: 1vh;
        margin-top: 3vh;
        height: 67vh;
    }
    .atrakcje{
        height: 67vh;
    }
    .kontakt{
        min-height: 150px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 10vh;
    }
    .galeriablok{
        padding: 5rem 1rem;
        margin: 0;
    }
    .index{
        margin-top: 20vh;
        height: auto;
    }
}
  .container2 {
    position: relative;
  }
  
  .mySlides {
    display: none;
  }
  
  .cursor {
    cursor: pointer;
  }
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  .prev{
      left: 0;
  }
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  .caption-container2 {
    text-align: center;
    background-color: #222;
    color: #f9e9ce;
    padding: 2px 16px;
    margin-bottom: 0.4rem;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  .column {
    float: left;
    width: 11.11%;
  }
  .demo {
    opacity: 0.6;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }