html {
    scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  a {
    text-decoration: none;
  }
  
  li {
    list-style: none;
  }
  /* NAVBAR STYLING STARTS */
.navbar {
position: sticky;
display: flex;
top: 0;
align-items: center;
justify-content: space-between;
padding: 10px;
background-color: black;
color: #fff;
z-index: 10000;
}

.nav-links a {
color: #fff;
font-family: sans-serif;
}

/* LOGO */
.logo {
font-size: 32px;
font-family: sans-serif;
}

/* NAVBAR MENU */
.menu {
display: flex;
gap: 1em;
font-size: 18px;
}

.menu li:hover {
background-color: #4c9e9e;
border-radius: 5px;
transition: 0.3s ease;
}

.menu li {
padding: 5px 14px;
}

/* DROPDOWN MENU */
.services {
position: relative; 
}

.dropdown {
background-color: rgb(1, 139, 139);
padding: 1em 0;
position: absolute; /*WITH RESPECT TO PARENT*/
display: none;
border-radius: 8px;
top: 35px;
}

.dropdown li + li {
margin-top: 10px;
}

.dropdown li {
padding: 0.5em 1em;
width: 8em;
text-align: center;
}

.dropdown li:hover {
background-color: #4c9e9e;
}

.services:hover .dropdown {
display: block;
}
input[type=checkbox] {
display: none;
} 

/* HAMBURGER MENU */
.hamburger {
display: none;
font-size: 32px;
user-select: none;
}
/* APPLYING MEDIA QUERIES */
@media (max-width: 768px) {
.menu {
display:none;
position: absolute;
background-color:black;
right: 0;
left: 0;
text-align: center;
padding: 16px 0;
}

.menu li:hover {
display: inline-block;
background-color:#4c9e9e;
transition: 0.3s ease;
}

.menu li + li {
margin-top: 12px;
}

input[type=checkbox]:checked ~ .menu {
display: block;
}

.hamburger {
display: block;
}

.dropdown {
left: 50%;
top: 30px;
transform: translateX(35%);
}

.dropdown li:hover {
background-color: #4c9e9e;
}
}
#map-view {
height: 80vh;
max-width: 90vw;
margin: auto;
}

#gallery_view {
    line-height:0;
    column-count:5;
    max-width: 90vw;
    margin: auto;
    column-gap:5px;
 }

 #gallery_view img {
    width: 100% !important;
    height: auto !important;
    margin-bottom:5px; /* to match column gap */
    cursor: pointer;
 }

 @media (max-width: 1200px) {
    #gallery_view {
     -moz-column-count:    4;
     -webkit-column-count: 4;
     column-count:         4;
    }
 }

 @media (max-width: 1000px) {
    #gallery_view {
     -moz-column-count:    3;
     -webkit-column-count: 3;
     column-count:         3;
    }
 }

 @media (max-width: 800px) {
    #gallery_view {
     -moz-column-count:    2;
     -webkit-column-count: 2;
     column-count:         2;
    }
 }

 @media (max-width: 400px) {
    #gallery_view {
     -moz-column-count:    1;
     -webkit-column-count: 1;
     column-count:         1;
    }
 }

#darkbox { 
    width:1280px; 
    height:720px; 
    position:absolute; 
    top:0; 
    left:0; 
    background-color:#333; 
    overflow: hidden; 
    text-align:center;
}
.darkboximg { 
    padding:5%; 
    max-width: 1216px; 
    max-height: 684px; 
}
