* {
    margin:0;
    padding:0;
    box-sizing: border-box;
}

body {
    overflow-x:hidden;
    background-color:#fff7f2;
    font-family:"HFHySans";
}



/* fontovi */

@font-face {
            font-family:"Gontserrat";
            src:url("fonts/Gontserrat.ttf") format("truetype");
        }

@font-face {
    font-family:"HFHySans";
            src:url("fonts/HFHySans.ttf") format("truetype");
}


h2, h3, h4, h5, h6 {
    font-family:"Gontserrat";
}

/* nav i herooo */

header {
    background-color:#1e3928;
    width:100%;
    height:80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: sticky;
    top:0;
    z-index: 10;
    padding:10px 20px;
}

h1 {
    display:inline-block;
    padding:30px;
    padding-left:15px;
    font-size:5vh;
    color:#f6e9e9;
    font-family:"Gontserrat";
    letter-spacing: 5px;
}

#menu {
    display:flex;
    padding-top:8px;
    gap:20px; 
    list-style: none;
}



        
.hamburger {
        display:none;
        cursor:pointer;
        font-size:30px;
    }
        
@media (max-width:1024px) {
            
    .hamburger {
        display: block;
        color:white;
    }
            
    #menu {
        display:none;
        flex-direction: column;
        background-color: #5c745b;
        align-items: center;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        padding: 15px 0;
       
    }
    
    #menu a {
        color:#f6e9e9;
        transition:color 0.3s ease, transform 0.6s ease;
    }
    
    #menu a:hover {
        color:#f7f0eb;
    }
    
}



a {
    text-decoration: none;
    color:#e1c7c7;
    padding:7px;
    font-size:20px;
    transition:color 0.3s ease, transform 0.6s ease;
    font-family:"HFHySans";
}

a:hover {
    color:#f3e8e8;
    transform:scale(1);
}

hero {
        display:flex;
        height:90vh;
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(img/hero.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        background-size:cover;
        justify-content: left;
        align-items: center;
        padding-left: 40px;
    margin-bottom:10vh;
}


        
.absolute {
    color:white;
}

h2 {
    font-size:9vh;
    color:#f6e9e9;
    letter-spacing: 3px;
    
}

#herop {
    font-size:2vh;
    padding-top:40px;
    padding-bottom:20px;
    color:#e1c7c7;
}

button  {
    color:white;
    background-color:#5c745b;
    border:0px;
    padding:10px;
    transition:color 0.3s ease, transform 0.6s ease;
    padding-left:15px;
    padding-right:15px;
    border-radius:5px;
    margin:5px;
}

button:hover {
    color:#1e3928;
    background-color:#e1c7c7;
    padding:15px;
    padding-left:20px;
    padding-right:20px;
    margin:0;
    transform:scale(1);
}

@keyframes fadeIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform:translateY(0);
        opacity:1;
    }
}

.prvi , .drugi , .treci {
    opacity:0;
    animation-name:fadeIn;
    animation-duration:3s;
    animation-fill-mode: forwards;
}

.prvi {
    animation-delay:0s;
}

.drugi {
    animation-delay:1s;
}

.treci {
    animation-delay:2s;
}

@media (max-width:1000px) {
    hero {
        text-align: center;
        padding-left: 0;
    }
    h2 {
        font-size:7vh;
    }
}


/* o namamaaa */

.onama {
    margin: 0 auto;
    flex-direction:column;
    display:inline-flex;
    width:100%;
    height:100vh;
    justify-content: center;
    align-items: center;
    padding:20px;
    margin-bottom:10px;
    text-align: center;
}

h3 {
   font-size:5vh;
    color:#5c745b;
    letter-spacing: 3px; 
}

p {
    color:#1e3928;
   
    font-size:1.6vh;
}

#onamap {
     width:60%;
}

.dogadanja {
    height:80vh;
    width:80%;
    display:inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width:750px){
    .dogadanja {
        flex-direction:column;
    }
    
    .dog1, .dog2, .dog3 {
        margin:30px;
    }
}

.dog1, .dog2, .dog3 {
    height:480px;
    width:200px;
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-size:cover;
    margin-left:25px;
    margin-right:25px;
    transition:0.9s ease-in-out;
    transform: scale(1.0);
    border-radius:5px;
}

.dog1:hover {
      transform:scale(1.05);  
}

.dog2:hover {
      transform:scale(1.05);  
}

.dog3:hover {
      transform:scale(1.05);  
}

.dog1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(img/dog1.jpg);
}
.dog2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(img/dog2.jpg);
}
.dog3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(img/dog3.jpg);
}

.dogb  {
    color:#1e3928;
    background-color:#e1c7c7;
    border:0px;
    padding:5px;
    transition:color 0.3s ease, transform 0.6s ease;
    padding-left:10px;
    padding-right:10px;
    border-radius:5px;
    margin:5px;
    
}

.dogb:hover {
    color:#5c745b;
    background-color:#f6e9e9;
    padding:10px;
    padding-left:15px;
    padding-right:15px;
    margin:0;
    transform:scale(1);
}

/* fotogalerija */
.gallery {
    display:grid;
    align-items: center;
    text-align:center;
    grid-template-columns: repeat(auto-fit, minmax(500px,1fr));
    gap:10px;
    padding-left:90px;
    padding-right:90px;
    padding-bottom:90px;
}

.gallery img {
    width:100%;
    display:block;
    object-fit:cover;
    border-radius:5px;
    transition:0.9s ease-in-out;
    transform: scale(1.0);
    filter:sepia(60%);
    margin-bottom:10px;
    margin-top:25px;
}

.gallery img:hover {
    filter:sepia(0);
    transform:scale(1.05);
}

#fotogalerija {
    margin-top: 60px;
}

#fotogalerija {
    font-size:5vh;
    color:#5c745b;
    letter-spacing: 3px;
}

.galerryb {
    color:#e1c7c7 ;
    background-color:#1e3928;
    border:0px;
    padding:5px;
    transition:color 0.3s ease, transform 0.6s ease;
    padding-left:10px;
    padding-right:10px;
    border-radius:5px;
}

.galerryb:hover {
    color:#f6e9e9;
    background-color: #5c745b;
    padding:10px;
    padding-left:15px;
    padding-right:15px;
    transform:scale(1);
}

h4 {
    font-size:3vh;
    color:#5c745b;
}

/* lightboxxxxxxx */

.lightbox {
    position:fixed;
    top: 0; left: 0;
    width:100%; height:100%;
    background-color:rgba(0,0,0,0.8);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999;
}

.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;
    border-radius:5px;
}

.lightbox .prev {
    left: 10px;
}

.lightbox .next {
    right: 10px;
}

.lightbox .close {
    position: absolute;
    top:10px;
    right:10px;
    background-color:rgba(0,0,0,0.7);
    color:white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 30px;
    border-radius:5px;
}

@media (max-width:1000px) {
    .lightbox .prev, .lightbox .next {
        font-size: 20px;
        padding:7px;
        transform:translateY(-50%);
    }
    .lightbox .prev {
    left: 1px;
}

.lightbox .next {
    right: 1px;
}
}


/* footer */

footer {
    width:100%;
    display:flex;
    height:200px;
    justify-content:center;
   align-items:center;
   text-align: center;
    background-color:#1e3928;
}

#footer {
    color:#f3e8e8;
}

/* media */

@media only screen and (max-width:750px){
   
    .gallery {
        grid-template-columns: repeat(1,1fr);
    }

}

@media (max-width:1550px){
    .onama {
        margin-top:100px;
        margin-bottom:100px;
    }
    
}

/* info */
.info {
    display:inline-flex;
    margin-top:10vh;
    width:100%;
    height:50vh;
    justify-content: center;
    align-items: center;
    text-align:left;
    flex-direction:row;
    background-image: linear-gradient(to bottom, #fff7f2 40%, #1e3928);
}

.infocontainer {
    width:40%;
    margin:50px;
}

.infoh {
    font-size:6vh;
    margin-bottom:2vh;
    color:#1e3928;
}

@media only screen and (max-width:750px){
    
    .info {
        flex-direction:column;
        text-align:center;
        align-items: center;
        align-content: center;
        justify-content: center;
    }
    
    .infocontainer {
        width:60%;
    }
    
    
    .pinfo {
        color:white;
        text-align:center;
    }
    
    .infoh {
        text-align:center;
        align-items: center;
        align-content: center;
        justify-content: center;
        font-size:6vh;
    }
}