html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* Zajišťuje, že obsah hlavní části zabírá dostupný prostor */
    margin-bottom: 100px;
} 
.navbar-dark-bg{
    padding: 1rem;
}

.navbar-pradelna{
    font-size: 1.5rem;
    font-weight: bold;
    color: #008DD5;
    margin-left: 15px;
    text-decoration: none;
}
.navbar-pradelna:hover{
    text-decoration: none;
    color:#008DD5;
}

.nav-link{
    color: #000000;
    font-size: 20px;
    position: relative;
    padding: 0 15px;
    transition: color 0.3s;
}

.nav-link:hover{
    color: #000000;
}
.nav-link:after{
    content: '';
    display: block;
    height: 2px;
    background: black;
    width: 100%;
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover:after{
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active{
    color: black;
    font-weight: bold;
}

.nav-link.active:after{
    content: '';
    display: block;
    height: 2px;
    background: black;
    width: 100%;
    position: absolute;
    left: 50%;
    bottom: -5px;
    transform: translateX(-50%);
}

.navbar-toggler{
    border: none;
    outline: none;
}

.navbar-toggler:focus{
    outline: none;
    box-shadow: none;
}

.navbar-collapse{
    background-color: #f5f5f5;
    padding: 0.1rem 0;
    text-align: center;
}

.navbar-collapse .nav-item{
    width: 100%;
}

@media (min-width: 990px){
    .navbar-collapse{
        display: flex !important;
        justify-content: flex-end;
        background-color: transparent; 
    }

    .navbar-nav{
        margin-left: auto;
        display: flex;
    }

    .nav-item{
        margin-left: 20px;
        width: auto;
    }

    .navbar-pradelna{
        margin-left: 30px;
    }

    .navbar-collapse .nav-link{
        padding: 10px 20px;
    }

    .navbar-collapse .nav-link:hover{
        background-color: rgba(255, 255, 255, 0.1);
    }

}
h1{
    text-align: center;
}
.gallery {
            padding-top: 30px;
            margin-top: 40px;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
            justify-content: center;
            margin-left: 10%;
            width: 80%;
        }
        .gallery img {
            width: 400px;
            height: 300px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        .gallery img:hover {
            transform: scale(1.1);
        }
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: none;
            justify-content: center;
            align-items: center;
        }
        .lightbox img {
            max-width: 90%;
            max-height: 90%;
        }
        .lightbox.active {
            display: flex;
        }
        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
            color: white;
            font-size: 30px;
            text-decoration: none;
            cursor: pointer;
        }
footer
{
    left: 0;
    bottom: 0;
    margin-top: auto;
    text-align: center;
    width: 100%;
    background-color: #008DD5;
    color: white;
}