body {
    background-image: url(/images/walpers/tło6.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0px;
    padding: 5px;
}

header {
    border-radius: 10px;
    width: 100%;
    height: auto;
    background-color: rgba(0, 0, 0, 0.20);
    text-align: center;
}

aside {
    margin-top: 5px;
    padding: 5px;
    float: left;
    background-color: rgba(0, 0, 0, 0.20);
    border-radius: 10px;
    width: 29%;
    min-width: 150px;
}
section {
    margin-top: 5px;
    float: right;
    background-color: rgba(0, 0, 0, 0.20);
    border-radius: 10px;    
    width: 70%;
}

#mainImage {
    width: 100%;
    margin: 0 auto;
}
#mainImage > img{
    width: 100%;
    max-width: 750px;
    border-radius: 100px;
}

.navbar {
    margin-top: 10px;
}
.navbar ul{
    border-radius: 10px;
    list-style-type: none;
    background-color: rgba(0, 0, 0, 0.60);
    padding: 0px;
    margin: 0px;
    overflow: hidden;
    display: flex;
    justify-content: space-around;
}
.navbar a {
    text-decoration: none;
    padding: 15px;
    color: white;
    display: block;
    text-align: center;
    border-radius: 10px;
}
.navbar a:hover {
    background-color: rgba(0, 0, 0, 0.70);
}
.navbar li {
    float: left;
    font-weight: bold;
}
.activenav {
    background-color: rgba(0, 0, 0, 0.40);
}

footer {
    margin-top: 10px;
    padding: 5px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.20);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
footer h5 {
    font-size: 20px;
    text-align: center;
    width: 100%;
    margin: 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.40);
    border-radius: 10px;
}
.footerBoxes {
    height: auto;
    padding: 5px;
    width: 45%;
    color: white;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.40);
    font-size: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 5px;
}

.galeryImagesL img {
    margin: 20px;
    padding: 5px;
    width: 450px;
    height: 700px;
    transition: transform 0.3s ease;
    border-radius: 20px;
} 
.galeryImagesS img {
    margin: 20px;
    padding: 5px;
    width: 300px;
    height: 300px;
    transition: transform 0.3s ease;
    border-radius: 20px;
} 
.galeryImagesL img:hover, .galeryImagesS img:hover {
    transform: scale(1.2);
}
.galeryImagesS, .galeryImagesL {
    text-align: center;
}

.text1 {
    font-size: 18px;
    text-align: center;
    margin-top: 5px;
    color: rgb(255, 255, 255);
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.60);
}
.text2 {
    font-weight: bold;
    text-align: center;
    margin-top: 5px;
    color: rgb(255, 255, 255);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.60);
    font-size: 20px;
}

#arefindex {
    text-decoration: none;
}
#arefindex:hover {
    color: rgb(0, 0, 151);
}

/* inne */
@media screen and (max-width: 600px) {
    .footerBoxes, aside, section {
        width: 100%;
    } 
    .galeryImagesS img {
        width: 190px; 
        height: 190px; 
        margin: 5px;
    }
    .galeryImagesL img {
        width: 400px; 
        height: 600px;
        margin: 5px;
    }
    .navbar a {
        padding: 0px;
    }
}

@media screen and (max-width: 450px) {
    .footerBoxes, aside, section {
        width: 100%;
    } 
    .galeryImagesS img {
        width: 150px; 
        height: 150px; 
        margin: 1px;
    }
    .galeryImagesL img {
        width: 300px; 
        height: 400px;
        margin: 5px;
    }
    .navbar {
        overflow-x: auto; 
        white-space: nowrap;
    }
    .navbar ul {
        display: inline-flex;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .navbar li {
        display: inline;
    }
}