*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    
    font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

body{
    background-color: black;
    color: white;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    

}

.hero{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    animation-name: fadeIn2;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    display: flex;
    justify-content: center;
    flex-direction: column;
    
}

@keyframes fadeIn2{
    from{
        transform: translateX(-600px);
        opacity: 0;
    }
    to{
       transform: translateX(-250px);
        opacity: 1;
    }
}

.pozadina{
    background-image: url(img/hero.jpg);
    height: 1000px;
    color: white;
    position: relative;
}

ul{
    display: inline-flex;
    gap:20px;
    padding-right: 20px;
}

li{
    list-style-type: none;
}

a{
    text-decoration: none;
    color: white;
}

h1{
    padding-left: 20px;
}

h2{
    font-size: 40px;
    padding-bottom: 7px;
}

button{
    padding: 10px;
    border-radius: 10px;
    border: 2px solid white;
    color: white;
    background-color: transparent;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
   
}

button:hover{
    background-color: white;
    color: black;
    border: 2px solid white;
}

.clear{
    clear: both;
}

.animacija{
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap:20px;
    animation-name: fadeIn1;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    margin-top: 12vh;
    text-align: center;
    
}

@keyframes fadeIn1{
    from{
        transform: translateX(-400px);
        opacity: 0;
    }
    to{
       transform: translateX(0px);
        opacity: 1;
    }
}

.fotogalerija{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap:20px;
    text-align: center;
}

.fotogalerija-slike{
        width: 100%;
        border-radius: 20px;
        display: block;
        object-fit: cover;
        border-radius: 20px;
        transition: 0.9s ease-in-out;
        transform: scale(1.0);
        filter: grayscale(80%);
}

.fotogalerija-slike:hover{
    filter: grayscale(0%);
    transform: scale(1.2);
}


#h3{
    text-align: center;
    padding: 40px;
    margin-bottom: 20px;
        margin-top: 12vh;
}



#footerslike{
        width: 4%;
        padding: 15px;
        margin-top: 40px;
    }


footer{
        height: 250px;
        text-align: center;
        margin-top: 20vh;
        padding-top: 20px;
        border-top: 2px solid white;
    }




.lightbox{
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    
}

.lightbox img{
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}


lightbox .prev, lightbox .next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 30px;
}

.prev{
    left: 10px;
}

.next{
    right: 10px;
}

.close{
    right: 20px;
    top: 20px;
    position: absolute;
}



.hamburger{
            display: none;
            font-size: 30px;
            cursor: pointer;
            color: white;
    
        }
        
        
        @media (max-width: 1024px){
            .hamburger{
                display: block;
                margin-left: 45vw;
                margin-right: 20px;
                
            }
            
            #menu{
                display: none;
                flex-direction: column;
                background-color: transparent;
                position: absolute;
                top:100px;
                left:0;
                width: 100%;
                padding: 15px 0;
                margin-left: 20px;
            }
            
            
            #footerslike{
                width: 6vh;
            }
            
            .hero{
                position: absolute;
                left: 320px;
                width: 300px;
            }
            
            #lightboxImage{
                width: 75%;
            }
            
            .hero{
                position: absolute;
                top: 50%;
                left: 68%;
            }














