
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    min-height: 100vh;
    background-color: #ffffff;
}

.sidebar {
    width: 300px;
    background-color: #ffffff;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    font-size: 15px;
    z-index: 3;
}

.logo-with-home {
    display: flex;
    align-items: center;
}

.overlay img {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

.home-link {
  position: absolute;
  top: 20px; /* Distance from the top */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%);
  z-index: 1001; /* Slightly above the overlay if needed */
}

.home-gif {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

body.sidebar2-active .home-link {
    display: inline-block;
}


.logo-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-left: 10px;
    padding-top: 15px;
  }

.logo-container img {
    width: 40px;
    height: auto;
    margin-right: 10px;
}

.logo-text {
    font-weight: 800;
    font-size: 9.5px;
    line-height: 1.5;
}

.divider-line {
    width: 100%;
    border: none;
    border-top: 1px solid black;
    margin: 2px 0;
}

.home-link {
    display: none;
    margin-right: 10px;
    color: #000;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 5px 10px;
}

body.sidebar2-active .home-link {
   display: inline-block;
}
.sidebar2-active .home-link {
   display: block;
}
  
.sidebar2-active .home-link {
   display: block;
}

.menu-list {
    list-style: none;
    padding: 0;
}

.menu-list li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #000;
}

.menu-list li a:hover, .menu-list li a.active {
    background-color: #d0d0d0;
}

.sidebar2 {
    width: 200px;
    background-color: #ffffff;
    position: fixed;
    padding: 1rem;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1   );
    top: 0;
    height: 100vh;
    box-shadow: #ccc;
    font-size: 15px;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    pointer-events: none;
    z-index: 200;
}

.sidebar2 {
  transition: margin-left 0.2s ease;
}


.sidebar2.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.sidebar2.active {
    transform: translateX(0);
}

.menu-list2 {
    padding-top: 160px;
}

.menu-list2 ul {
    list-style: none;
}

.menu-list2 li a:hover, .menu-list2 li a.active {
    background-color: #d0d0d0;
}

.menu-list2 li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #000;
}

.content {
    flex: 1;
}

h1, h2 {
    margin-bottom: 20px;
    text-align: center;
}
.content {
    margin-left: 300px;
    transition: margin-left 0.3s ease;
}

.main {
    padding: 50px;
}

body.sidebar2-active .sidebar {
    width: 200px;
}

body.sidebar2-active .content {
   margin-left: 300px;
}

.logo-container {
    text-align: left;
    padding: 20px;
    transition: all 0.4s ease;
}

body.sidebar2-active .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body.sidebar2-active .logo-text {
    display: none;
}

.sidebar2-active #logo {
    width: 40px;
    height: auto;
    transition: all 1s ease;
}

body.sidebar2-active .logo-container img {
    width: 50px;
    height: auto;
    margin: 0;
    transition: all 0.4s ease;
    margin-bottom: 0px;
}

.home_image {
   width: 100%;
   height: 50%;
   overflow: hidden;
   position: relative;
   margin: 0 auto;
   border-radius: 10px;
}

.slider-track {
   display: none;
   width: 100%; 
   transition: transform 0.5s ease-in-out;
}

.slide {
   width: 100%;
   height: 50%;
   flex-shrink: 0;
   object-fit: cover;
}

.sidebar2-active .slider-track {
    display: flex;
}

#text-content {
    display: none;
}

.sidebar2-active #text-content{
    display: flex;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100px;
  height: 100vh;
  background: #ffffff;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-in-out, visibility 0s linear 0.3s;
}

.overlay.visible {
  opacity: 1;
}


#hamburgerMenu {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  z-index: 10001;
  cursor: pointer;
  color: #000;
  display: block;
}

.scroll-container {
  width: 30px;       
  overflow: hidden;
  position: fixed;
}

.scroll-track {
  display: flex;
  flex-direction: column;
  animation: scroll-up 13s linear infinite;  
}
.scroll-img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes scroll-up {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-50%);
  }
}
.columns {
  display: flex;
  gap: 1rem; /* spacing between columns */
  justify-content: center;

}

.gallery {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* centers images inside column */
}

.gallery img {
    height: auto;
    width: 250px;
    padding: 20px;
}