body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    top: 0px;
    font-family: 'functionregular', Arial, sans-serif;
    }
@font-face {
      font-family: 'Impact';
      src: url('../_assets/_font/Impact.ttf') format('ttf');
     /*url('fonts/MyCustomFont.woff') format('woff');*/
      font-weight: thin;
      font-style: normal;
    }
@font-face {
font-family: "proxima-nova", sans-serif;
font-weight: 700;
font-style: italic;
}
@font-face{
    font-family: "proxima-nova", sans-serif;
font-weight: 700;
font-style: normal;
}
@font-face{
    font-family: "proxima-nova", sans-serif;
font-weight: 100;
font-style: normal;
}
.active {
  color:  #b0e8f6 !important;
  /*background-color: rgba(50, 180, 215, .1);*/


}
/* Hamburger menu styles */
.hamburger-btn {
   display: none;
   position: fixed;
   top: 20px;
   left: 20px;
   z-index: 1001;
   background: transparent;
   border: none;
   cursor: pointer;
  padding: 10px;
        }
        
.hamburger-btn .hamburger-icon {
            display: block;
            width: 30px;
            height: 3px;
            background: #000;
            position: relative;
            transition: all 0.3s ease;
        }
        
.hamburger-btn .hamburger-icon:before,
.hamburger-btn .hamburger-icon:after {
            content: '';
            position: absolute;
            width: 30px;
            height: 3px;
            background: #000;
            transition: all 0.3s ease;
        }
        
.hamburger-btn .hamburger-icon:before {
            top: -8px;
        }
        
.hamburger-btn .hamburger-icon:after {
            top: 8px;
        }
        
.hamburger-btn.active .hamburger-icon {
            background: transparent;
        }
        
.hamburger-btn.active .hamburger-icon:before {
            transform: rotate(45deg);
            top: 0;
        }
        
.hamburger-btn.active .hamburger-icon:after {
            transform: rotate(-45deg);
            top: 0;
        }
.sidebar-left {
            transition: transform 0.3s ease;
        }
        
.sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.5);
            z-index: 999;
            display: none;
        }
.purple {
  position: relative;
  /* width: 100vw;
  height: 100vh; Full height of the viewport */
  overflow: auto;
}

/* Logo Styles */
.logo {
  position: fixed;
  top: 10px; /* Adjust this value based on the height of your toggle bar */
  left: 50%;
  transform: translateX(-50%);
  /*text-align: center;*/
  z-index: 10; /* Ensure it's above other elements */
}

.logo img {
  max-width: 100%; /* Adjust as needed */
}
.sidebar-left {
            position: fixed;
            top: 5px;
            left: 0;
            width: 364px; /* Sidebar width */
            height: 100vh; /* Full viewport height */
            background-color: white;/* Dark background */
            color: white;
            padding: 4px;
            z-index: 1000;
            opacity: 1;
            overflow-y: auto;
    }


 .sidebar-left a {
            color: #909090;
            padding: 10px 10px;
            font-size: 18px;
            display: block;
            text-decoration: none;
        }
.sidebar-left.active {
            transform: translateX(0);
            }
 .sidebar-left a:hover {
            color: #b0e8f6;
        }
.sidebar-logo{
    margin-top: 24px;
    margin-bottom: 96px;
} 
.purple {
  /*background-color: purple;  Or your specific purple color */
  padding: 6px 0; /* Adjust as needed */
}
.no-pointer {
  cursor: default !important; /* Remove pointer cursor */
}
.mLft{
          margin-left: 18%;
      }
.mLft2{
          margin-left: 24%;
    margin-top: 0px;
    margin-bottom: 10px;
      }
      
.no-pointer {
  cursor: default !important; /* Remove pointer cursor */
}

.pad{
          /*margin-top: 18%;*/
          margin-left: 12%;
      }
.jDown{
          margin-top: 18%;
          margin-bottom: 24%;
      }
.icon-container a {
  color: #909090; /* Default icon color */
  transition: color 0.3s ease; /* Smooth color transition */
}

.icon-container a:hover {
  color: #b0e8f6; /* Change color on hover */
}
.content {
        position: relative;
    display:block;
    top: 0%;
    margin-left: 364px;
    width: calc(100% - 364px);
      background-color: white;
      max-width: 100%;
      height: 100vh;
      
    }
.grid {
    position: relative;
      overflow-y: auto; /* Enables vertical scrolling */
      padding-top: 24px;
      margin: 0 auto;
        width: 100%;
      max-width: 1000%;
      height: calc(100vh - 100px);
      opacity: 0;
    /*background-color: darkkhaki;*/
    }

.grid-item {
      width: 420px;
    height: auto;
    justify-content: center;
        padding: 5px;
      margin: 5px;
      overflow: hidden;
      border-radius: 0px;
    /*background-color:darkcyan;*/ 
      /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
     break-inside: avoid; /* Prevent items from breaking across columns */
    opacity: 1;
    }

.grid-item a {
      display: block;
    }

.grid-item img {
    margin:0px;
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.01s ease-in-out, opacity 0.01s ease-in-out;
    cursor: pointer;
    }
  /* Hover Effects */
.grid-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
.grid-item img:hover {
    transform: scale(1.02);
    opacity: 0.9;
  }
#displayed{
    display: block;
	position: relative;
	max-width: 100%;
	width: 100%;
    z-index: 1258;
    overflow: hidden; /* No overflow */
    /*background-color: greenyellow;*/
}
#displayed img{
    position: relative; 
    max-height: 100%;
    max-width: 100%;
    margin-left: 0px;
    object-fit: contain; /* Maintain aspect ratio */ 
    opacity: 1; 
    
    
}
#preview{
    
    align-content: center;
}
#imgWrapper{ 
    position: relative; /* Required for absolute positioning of the image */
    height: 100vh; /* Adjust as needed */
    overflow: hidden; /* No overflow */	
    /*background-color: yellow;*/
	}
#imgWrapper img{
  position: absolute; 
  max-height: 100%;
  max-width: 100%;
  magin-left: 0 auto;
  object-fit: contain; /* Maintain aspect ratio */ 
  overflow: hidden; /* No overflow */	
     /*background-color: red;*/
    opacity: .2;
	}
#loading {
  display: none;
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
}
.swiper-button-next{
	padding-top:150px;
}
.swiper-button-prev{
	padding-top:150px;
}
 .swiper-container {
      width: 96%;
      height: 100vh;
    }
.swiper-wrapper {
  padding-top: 100px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.cursorRight {
    cursor: url("../icons/rightmove.png"),url("../icons/rightmove.png"),default;
}

.cursorLeft {
    cursor: url("../icons/leftmove.png"),url("../icons/leftmove.png"), default;
}

.cursorFull{
    cursor: url("../icons/fullT.png"),url("../icons/fullT.png"),  default;
}

.cursorThumbs {
    cursor: url("../icons/thumbs_masonry.png"),url("../icons/thumbs_masonry.png"), default;
}

.purple {
  position: relative;
  width: 100%;
  height: 100vh; /* Full height of the viewport */
  overflow: hidden;
}
/* Landscape Mode Adjustments Starts */
@media (orientation: landscape) {
    
.toggle-button {
    display: none; 
  }
.logo {
    top: 2px; 
  }
.logo {
    /* position: fixed;
    width: 100vw;*/
  top: 0px;  /*Adjust this value based on the height of your toggle bar */
  /*left: 100%;
  transform: translateX(-50%);
  text-align: center;*/
  z-index: 2009; /* Ensure it's above other elements */
 /* position: fixed;
  top: 5px;
    left: auto;
  right: 0%;
  transform: none;
text-align: right;
  z-index: 10; */
   
}

.logo img {
  max-width: 40%; 
}
/*.sidebar-logo{
          display: none;
      }*/
  /* Adjust category head position */
.categoryHead {
    top: 5px; /* Move category head closer to the logo in landscape */
      margin: 0 auto;
  }
   /*  .sidebar-left{
        display: none;
    }
  Adjust Swiper container margin */
.swiper-container {
      position: absolute;
    margin-top: 5px; /* Reduce margin to fit landscape mode */
      background-color: white;
  }

  /* Adjust Swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    top: 10px; /* Move buttons closer to the top in landscape */
  }
.swiper-wrapper{
        position: fixed;
        background-color: fuchsia;
    }
.swiper-slide img{
        position: fixed;
        text-align: center;
        top: 60px;
        padding: 20px;
        left:10%;
        width: 80%;
        margin: 0 auto;
        height: auto;
    }
}
/* Landscape Mode Adjustments Ends*/
/*-----------------------------------MEDIA SPREAD-----------------------------------*/
@media (max-width: 992px) {
.hamburger-btn {
                display: block;
                
                
            }
            
.sidebar-left {
                position: fixed;
                z-index: 1000;
                transform: translateX(-100%);
                height: 100vh;
                overflow-y: auto;
            }
            
.sidebar-left.active {
                transform: translateX(0);
            }
            
.content {
                margin-left: 0 !important;
                
            }
        }
/*this works for Ipad lanscapes*/
@media (max-width: 1200px) {
.grid-item {
        width: 30%; 
      }
    }
/*
@media (max-width: 768px) {
.grid-item {
        width: 33.33%;
      }
    }

@media (max-width: 680px) {
.grid-item {
        width: 100%; 
      }
    }*/
@media only screen and (max-width: 480px) and (orientation: portrait) {
        /* Styles for mobile phones in portrait mode */
   .categoryHead{
    position: relative;
    text-align: center;
    top: 0px;
    align-content: center;
    margin: 0 auto;
    color: #909090;
    padding: 20px;
   /*background-color: aqua;*/
} 
    
    /* Swiper Container Styles */
.swiper-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin-top: 160px; /* Adjust this value to create space for the logo and category head */
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  position: fixed;
  top: 20px; /* Adjust this value to position buttons just above the mobile screen */
  z-index: 20; /* Ensure buttons are above other elements */
}

.swiper-button-next {
  right: 70px; /* Adjust as needed */
}

.swiper-button-prev {
  left: 70px; /* Adjust as needed */
}
    
    .nudger{
        
        padding-left: 20px;
    }
    }
    
    /* iPad Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
/* CSS */
}

/* iPad Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
/* CSS */
    .categoryHead{
    position: relative;
    text-align: center;
    top: 0px;
    align-content: center;
    margin: 0 auto;
    color: #909090;
    padding: 20px;
     width: 100%;
   /*background-color: aqua;*/
} 
    
    /* Swiper Container Styles */
.swiper-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin-top: 160px; /* Adjust this value to create space for the logo and category head */
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  position: fixed;
  top: 20px; /* Adjust this value to position buttons just above the mobile screen */
  z-index: 20; /* Ensure buttons are above other elements */
}

.swiper-button-next {
  right: 70px; /* Adjust as needed */
}

.swiper-button-prev {
  left: 70px; /* Adjust as needed */
}
    
    .nudger{
        
        padding-left: 40px;
    }
}
