body {
    margin: 0px;
    background: url('https://s3.amazonaws.com/DesignerFirstV2/Authors/TimothyWhalin/Free-Blurred-Backgrounds/Blurred+Background-4.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow-x: hidden;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-height: 100dvh;
}

::selection {
    background-color: #8a8a8a;
}

::-moz-selection {
    background-color: #8a8a8a;
}

nav {
    position: fixed;
    height: 100%;
    width: 200px;
    left: -190px;
    top: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    transition: left 350ms ease;
    z-index: 20;
}

nav:hover {
    left: 0px;
}
.naslov{
    text-align: center;
    padding-top: 30px;
    font-size: 50px;
    
}

.image-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* razmak između slika */
    margin-top: 20px;
}

img {
    max-width: 45%; /* umjesto fiksnih 600px */
    height: auto;
}
#bookmark {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    width: 50px;
    min-height: 50px;
    left: 200px;
    background-color: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 1);
    font-size: 28px;
    line-height: 50px;
    text-align: center;
}

#horizontal-shadow {
    position: absolute;
    width: 50px;
    height: 1px;
    background-color: transparent;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
    top: 49px;
}

#vertical-shadow {
    position: absolute;
    width: 1px;
    height: 50px;
    background-color: transparent;
    box-shadow: 1px 0px 1px rgba(0, 0, 0, 0.5);
    left: 49px;
    top: 0px;
}

#vertical-shadow-nav {
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: transparent;
    box-shadow: 1px 0px 1px rgba(0, 0, 0, 0.5);
    left: 199px;
    top: 50px;
}

ul {
    list-style: none;
    padding: 0px;
    margin-top: 50px;
}

li {
    font-family: 'Source Sans Pro';
    font-size: 1.4em;
    line-height: 1.4em;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
}

nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 1);
    display: block;
    padding-left: 20px;
    padding-right: 10px;
    transition: all 400ms ease;
}

nav a:hover {
    color: rgba(0, 0, 0, 1);
    background-color: rgb(255, 255, 255);
    padding-left: 40px;
}

nav a:active {
    box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.9);
}

#sep {
    margin: 15px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
    width: 170px;
    height: 1px;
    background-color: #fff;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Veće slike */
    gap: 20px; /* Razmak između slika */
    max-width: 1200px; /* Povećana širina galerije */
    margin: 20px auto; /* Centriranje galerije */
    text-align: center;
    padding: 20px;
}

.gallery img {
    width: 100%;
    max-width: 100%; /* Slike se ne skupljaju previše */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Poboljšana sjena */
    transition: transform 0.3s ease-in-out; /* Efekat povećanja na hover */
}

.gallery img:hover {
    transform: scale(1.1); /* Povećava sliku kada se pređe mišem */
}




/* Media queries za galeriju */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}
  
article {
    margin: 70px auto;
    padding: 40px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-family: 'Source Sans Pro';
    width: 90%;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
}

h1 {
    margin: 0px;
    font-weight: normal;
    font-style: italic;
}

@-webkit-keyframes slideLeft {
    from {
        left: 0px;
    }

    to {
        left: 190px;
    }
}

@keyframes slideLeft {
    from {
        left: 0px;
    }

    to {
        left: 190px;
    }
}

@-webkit-keyframes slideBack {
    from {
        left: 190px;
    }

    to {
        left: 0px;
    }
}

@keyframes slideBack {
    from {
        left: 190px;
    }

    to {
        left: 0px;
    }
}

.slideLeft {
    -webkit-animation: slideLeft 400ms ease-in;
    animation: slideLeft 400ms ease-in;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

.slideBack {
    -webkit-animation: slideBack 400ms ease-in;
    animation: slideBack 400ms ease-in;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}
.map-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* Omjer 16:9 za responsivnost */
    width: 100%;
    max-width: 1000px; /* Opcionalno, postavlja maksimalnu širinu */
    margin: 20px auto; /* Centriranje na stranici */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
footer {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 15px;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 14px;

}

@media screen and (max-width:1200px) {
    body{
        background-color: yellow;
    }
}
@media screen and (max-width:992px) {
    body{
        background-color: rgb(174, 161, 248);
    }
}
@media screen and (max-width:768px) {
    body{
        background-color: rgb(73, 167, 255);
    }
}