html {
    font-family: "PT Serif", serif;
    font-size: 1rem;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 1.2rem;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    background-color: #c8e0bc;
    font-family: 'PT Serif', serif !important;
    font-size: 1.2rem;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.PageHeader {
    background-color: #446538;
    text-align: center;
}
h1 {
    color: #446538;
    font-weight: bold;
    font-size: 3.3rem;
    margin-bottom: 0;
    padding-bottom: 10px;
}
h2 {
    background-color: #446538;
    color: white;
    font-weight: bold;
    font-size: 6rem;
    margin-bottom: 0;
    padding-bottom: 10px;
    font-style: italic;
}
h3 {
    background-color: #446538;
    text-transform: uppercase;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    padding-bottom: 10px;
}
h4 {
    text-transform: uppercase;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/*
.gallery-img {
    border: 2px solid #446538;
    border-radius: 4px;
    display: block;
    width: auto;
    height: auto;
    max-height: 300px;
    opacity: 0;
    transition: opacity 0.4s ease;
}


    .gallery-img:hover {
        box-shadow: 0 0 12px rgba(68, 101, 56, 0.6);
        transform: scale(1.02);
        transition: all 0.2s ease;
    }

New:
.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

*/
/*
.gallery {
    column-count: 3;
    column-gap: 1rem;
}

.gallery-img {
    border: 2px solid #446538;
    border-radius: 4px;
    display: block;
    width: auto;
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}

    .gallery-img:hover {
        box-shadow: 0 0 12px rgba(68, 101, 56, 0.6);
        transform: scale(1.02);
        transition: all 0.2s ease;
    }

.image-wrapper {
    position: relative;
    width: 100%;
}
*/

.gallery {
    column-count: 3;
    column-gap: 1rem;
}

@media (max-width: 992px) {
    .gallery {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery {
        column-count: 1;
    }
}

.gallery-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 1rem;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid #446538;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
}

    .gallery-img.loaded {
        opacity: 1;
    }
/*
.gallery-item:hover .gallery-img {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(68, 101, 56, 0.6);
}

*/
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 12px rgba(68, 101, 56, 0.6);
    transition: all 0.2s ease;
}

.image-wrapper {
    position: relative;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    border: 4px solid rgba(68, 101, 56, 0.25);
    border-top-color: #446538;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    z-index: 10;
}

.image-wrapper {
    position: relative;
    width: 100%;
    min-height: 220px;
}

*/

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.gallery .lazy-img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .lazy-img:not([src=""]) {
        opacity: 1;
    }




supfooter {
    font-size: 1rem;
    padding: 0;
    background-color: #58646d !important;
    color: #FFFFFF;
}
footer {
    padding: 15px 0;
    background-color: #D1DB94;
    background: #58646d;
    color: #FFFFFF;
    line-height: 1.8rem;
}
.FotoHeader {
    background-color: #c8e0bc;
    background-color: red;
    background-color: #446538;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    width: 100%;
    height: 5rem;
    padding: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.FotoHeader {
}

    .FotoHeader .flex-grow-1 {
        overflow: hidden;
    }



        .FotoHeader a {
            left: 15px;
        }

    .FotoHeader img {
        height: 30px;
        display: block;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
        /* animacija SAMO na hover */
        .FotoHeader a:hover img {
            animation: arrowMove 1s ease-in-out infinite;
        }

        .FotoHeader span {
            text-align: center;
        }

    @keyframes arrowMove {
        0% {
            transform: translateX(0);
            opacity: 1;
        }

        50% {
            transform: translateX(-10px);
            opacity: 0.7;
        }

        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

.slika {
    max-width: 100%;
    max-height: 800px;
}


.logo-col {
    min-height: 120px;
}


    .logo-col img {
        max-height: 120px;
        min-height: 90px;
        width: auto;
        transition: opacity 0.3s ease, transform 0.2s ease;
        opacity: 0.8;
    }

        .logo-col img:hover {
            opacity: 1;
            transform: translateY(-2px);
        }

