*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
.item{
    transition: .5s ease-in-out;
}
.item:hover{
    filter: brightness(80%);
}
body{
    
    background: url(../img/w1.png);
    background-size: contain;
}
.nawigacja{
   
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    list-style: none;
}

.nawigacja ul {
    list-style: none;
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    
}
.nawigacja ul li{
    padding: 8px 8px;
}
.nawigacja ul li a{
    display: inline-block;
    
    color: #fff;
    text-decoration: none;
    padding: 2px 12px;
}
.nawigacja ul li::after
{
    content: '';
    width: 20%;
    height: 1.5px;
    background: 	var(--green);
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nawigacja ul li:hover::after
{
    width: 100%;
   
}
.bottom ul {
    list-style: none;
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    
}
.bottom ul li{
    padding: 8px 8px;
}
.bottom ul li a{
    display: inline-block;
    
    color: #fff;
    text-decoration: none;
    padding: 2px 12px;
}
.bottom ul li::after
{
    content: '';
    width: 20%;
    height: 1px;
    background: 	var(--green);
    display: block;
    margin: auto;
    transition: 0.5s;
}
.bottom ul li:hover::after
{
    width: 100%;
   
}
.items li{
    list-style: circle;
    list-style-type: style color #000;
    color: #fff;
}
.items {
    color: #fff;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: 25px left;
    background: #245b3b;
    border-radius: 5px;
    width: 30%;
    
}
.items li{
    margin-left: 60px;
}
.items h2{
    margin-left: 20px;
}
.items img{
    border-radius: 10px;
    box-shadow: inset 5px 5px 5px #000;
}
@media(max-width:1000px) and (min-width: 800px){
    .fancybox img{
        width: 100%;
    }
    .items{
        width: 70%;
    }
}
@media(max-width:800px) and (min-width: 500px){
    .items{
        width: 90%;
    }   
}
@media(max-width:500px){
    .nawigacja img{
        display: none;
    }
    .bottom img{
        display: none;
    }
    .items{
        width: 90%;
    }
}