body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: rgb(43, 43, 43);
    overflow: hidden; /* Add this line to remove the scroll bar */
  }
  @media (max-width: 768px) {
    body {
      overflow: auto; /* Enable vertical and horizontal scrolling */
    }
  }
  

  .horizontal-line {
    width: 100%;
    height: 1vw; /* Adjust the height as needed */
    background-color: #2e81a7; /* Replace with your desired color */
}
.horizontal-line-blog {
  width: 100%;
  height: 0.05vw; /* Adjust the height as needed */
  background-color: #bababa71; /* Replace with your desired color */
}
  #mobile-track{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2vh;
  }
  

  @media (max-width: 768px) {
    #mobile-track {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 2vh;
      overflow-y: auto; /* Enable vertical scrolling */
    }
  
    .mobile-gallery-container {
      width: 85vw; /* Adjust the width of the container relative to the viewport width */
      margin-bottom: 2px; /* Adjust the margin between images */
    }
  
    .mobile-g-image {
      width: 100%; /* Full width of the container */
      height: auto; /* Allow the height to adjust based on the width */
      max-width: 100%; /* Ensure the image does not exceed its natural size */
    }
    .mobile-image-title {
      color: #bababa;
      font-size: 1.2rem;
      margin-top: 8px;
      margin-bottom: 32px;
    }
  } 
  
  
  #image-track {
    display: flex;
    gap: 4vmin;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-0%, -50%); 
    user-select: none;
    padding-bottom: 60px;
  }

  
  #image-track > .image {
    width: 40vmin;
    height: 56vmin;
    object-fit: cover;
    object-position: 50% center;
  }

  /* Fonts CSS rule */
  ul {
    color: rgb(203, 203, 204);
    opacity: 1.0;
  }
/* Default styles for larger screens */
.menus {
  font-family: 'fantasy', Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 2vw; /* Adjust the margin as needed using vw */
  padding: 0.2vw; /* Adjust the padding as needed using vw */
  user-select: none;
}

.menus a {
  color: rgba(116, 116, 116, 0.904);
  font-size: 1vw;
  text-decoration: none;
  margin-right: 30px; /* Add spacing between menu items */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .menus {
    /* For smaller screens, make the menu items stack vertically */
    flex-direction: column;
    align-items: flex-start;
    margin: 0; /* Remove margin to save space */
    padding: 10px; /* Add some padding for touch interaction */
  }

  .menus a {
    font-size: 18px; /* Adjust font size for smaller screens */
    margin-right: 0; /* Remove margin between menu items on smaller screens */
    margin-bottom: 10px; /* Add space between menu items for touch interaction */
  }

  /* Style for menu items when hovered (optional) */
  .menus a:hover {
    color: white; /* Change the color to white when hovered */
  }
}

.menus li {
  margin-right: 60px; /* Add space between the menu items */
}


/* Style the footer */


footer {
  position: fixed; /* Change to fixed */
  bottom: 1vw;
  width: 100%;
  text-align: center;
  padding: 0;
}


.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}

#logo {
  filter: invert(100%);
  opacity: 0.5;
  padding-bottom: 0.05vw;
  max-width: 20vw;
  transform: translateY(-20%);
}

#copyright {
  font-size: 0.5vw;
  color: rgba(255, 255, 255, 0.47);
  margin-top: -1vw;
  padding-bottom: 0px;
}

.image-track-text {
  text-align: center; 
  padding: 0%;
  opacity: 80%;
  font-family: sans-serif;
  padding-top: 1vw;
  user-select: none;
  color: #bababa;
  font-size: 0.65vw;
  margin-right: -1vw;
  margin-top: -0.7vw;
}
.drag-container img,
.drag-container .drag-icon,
.drag-container p {
  pointer-events: none;
}


/* Style the footer */

/* Video pop out */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center vertically and horizontally */
  z-index: 9999;
  max-width: 80%; /* Adjust the maximum width as needed for mobile screens */
  width: 90%; /* Adjust the width as needed for mobile screens */
}

#video-player {
  width: 100%; /* Adjust to 100% to make it responsive */
  height: auto;
  display: block;
  margin: 0 auto;
}

#close-button {
  display: block;
  position: absolute;
  top: 0.5vw;
  right: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.208);
  border: none;
  border-radius: 10%;
  color: #ffffff80;
  font-size: 18px;
  font-family: sans-serif; 
}

#close-button:hover {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.345);
  cursor: pointer;
}


/* Portfolio Image Gallery */


.gallery-blog-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

/* Media query for smaller screens (e.g., mobile devices) */
@media (max-width: 768px) {
  .gallery-blog-container {
    display: block; /* Display elements as a block for better mobile layout */
    padding: 10px; /* Reduce padding for better use of space on small screens */
    max-height: none; /* Remove max height for better flexibility on mobile */
    overflow-y: visible; /* Allow vertical scrolling on mobile */
  }
}


/* Style for the image gallery */
.image-gallery {
  width: 50vw; /* Set the width to 70% of the viewport width */
  margin-left: 23vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.image-gallery img {
  max-width: 100%;
  margin-bottom: 20px;
}
/* Media query for mobile screens */
@media (max-width: 768px) {
  .image-gallery {
    width: 80vw;
    margin-left: 10vw;
  }

  .image-gallery img {
    margin-bottom: 10px; 
  }
}

/* Portfolio Image Gallery */


/* Videos in Image Gallery */

.video-container {
  flex: 1; /* Occupy remaining space */
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Horizontally center content */
  text-align: center;
}

.video-container {
  width: 75%; /* Make video responsive to container width */
}

.play-button {
  margin-top: 10px; /* Adjust margin as needed */
}

/* Videos in Image Gallery */

/* Style for the blog container */

/* Styles for blog */
.blog-container {
  flex: 1;
  max-width: 50vw;
  margin-left: 10vw;
  background-color: #262626;
  border-radius: 10px;
  padding: 2vw;
  position: sticky;
  top: 20vh;
}

#blog-text {
  color: #bababa;
  font-family: Arial, sans-serif;
}

#blog-title {
  color: #eaeaea;
  font-weight: 50;
  font-family: Arial, sans-serif;
}

#blog-title-02 {
  color: #d6d6d68d;
  font-weight: 20;
  font-size: 0.6vw;
}

.circular-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  text-align: center;
  padding: 10px;
}

.circular-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 35%;
}

/* Media query to hide the blog container on smaller screens (e.g., mobile devices) */
@media (max-width: 768px) {
  .blog-container {
    display: none; /* Hide the blog container on mobile screens */
  }
}



/* Style for the blog container */


/* About */

/* Original styles for larger screens */
#about {
  padding: 4vw 100px;
  color: #f3f3f3;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-col-1 {
  flex-basis: 35%;
}

.about-col-1 img {
  width: 100%;
  border-radius: 15px;
}

.about-col-2 {
  flex-basis: 60%;
}

.sub-title {
  font-size: 2vw;
  font-weight: 600;
  color: #2e81a7;
}

.tab-titles {
  display: flex;
  margin: 1vw 0 2vw;
}

.tab-links {
  margin-right: 7.5%;
  font-size: 1vw;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.tab-links::after {
  content: '';
  width: 0%;
  height: 3px;
  background: #7eaec5;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}

.tab-links.active-link::after {
  width: 50%;
}

.tab-contents ul li {
  list-style: none;
  margin: 0.5vw 0;
}

.tab-contents ul li span {
  color: #7eaec5;
  font-size: 0.6vw;
}

.tab-contents {
  display: none;
  font-family: Arial, sans-serif;
  font-size: 0.6vw;
  line-height: 1.2;
  color: #bababa;
}

.tab-contents.active-tab {
  display: block;
}

#socials {
  padding-top: 3vw;
  margin-inline-end: 20%;
  margin-inline-start: 3%;
  transform: translateY(-8vw);
}

.socials-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5vw, 0.2vw));
  gap: 4vw;
  margin-top: 4vw;
}

.socials-list div {
  background-color: #262626;
  padding: 0.5vw;
  font-size: 0.5vw;
  font-weight: 300;
  border-radius: 0.5vw;
  transition: background 0.5s, transform 0.5s;
  color: #bababa;
  text-decoration: none;
}

.socials-list div i {
  font-size: 1.5vw;
  margin-bottom: 0px;
  color: #7eaec5;
}

.socials-list div h2 {
  font-size: 0.75vw;
  font-weight: 100;
  margin-bottom: 0.5vw;
  text-decoration: none;
}

.socials-list div:hover {
  background: #7eaec5;
  transform: translateY(-1vw);
}

.socials-list div:hover {
  color: #262626;
}

.about-text {
  font-family: Arial, sans-serif;
  font-size: 0.75vw;
  line-height: 1.5;
  color: #bababa;
}

a:link {
  text-decoration: none !important;
}

/* Media query for About for mobile */
@media (max-width: 768px) {
  #about {
    padding: 4vw 10px;
    text-align: left;
    transform: translateX(5%); 
  }

  .sub-title {
    font-size: 4vw;
  }

  .tab-titles {
    margin: 2vw 0;
  }

  .tab-links {
    font-size: 4vw;
  }

  .tab-links::after {
    width: 100%;
  }

  .tab-contents ul li {
    margin: 1vw 0;
  }

  .tab-contents ul li span {
    font-size: 3vw;
  }

  .tab-contents {
    font-size: 3vw;
    line-height: 1.2;
    text-align: left;
  }

  .socials-list {
    grid-template-columns: 1fr; /* Set a single column for mobile screens */
    gap: 5vw; /* Adjust the gap as needed for mobile */
    margin-top: 8vw; /* Adjust the margin as needed for mobile */
  }

  .socials-list div {
    padding: 2vw;
    width: 50vw;
    font-size: 3vw;
    border-radius: 1vw;
  }

  .socials-list div i {
    font-size: 7vw;
  }

  .socials-list div h2 {
    font-size: 4vw;
  }

  .about-text {
    font-size: 3vw;
  }
  .about-col-1{
    display: none;
  }
}


/* Socials */


/* About */

.image {
  width: 40vmin;
  height: 56vmin;
  object-fit: cover;
  object-position: 50% center;
  transition: filter 0.3s; /* Add a transition for smooth hover effect */
}

.image-container {
  position: relative;
  cursor: pointer;
}

/* Initially hide .image-title */
.image-title {
  display: none;
  position: absolute;
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Center the text */
  background-color: rgba(202, 19, 19, 0);
  color: #f3f3f3;
  padding: 5px 5px;
  font-size: 1.5vw;
  transition: opacity 0.3s; /* Add a transition for smooth hover effect */
}

/* Desaturate the image on hover */
.image-container:hover .image {
  filter: grayscale(100%); /* 100% grayscale desaturates the image */
  opacity: 50%;
}

/* Show .image-title and increase opacity when .image-container is hovered */
.image-container:hover .image-title {
  display: block;
  opacity: 1;
}

.drag-container {
  display: flex;
  flex-direction: column;
  transform: translateY(42%);
  align-items: center; /* Vertically center the items */
}

#drag01 {
  width: 4vw;
  height: auto;
  filter: invert(50%);
  margin: 0 auto; /* Center horizontally within the .drag-container */
}

.drag-icon {
  filter: invert(100%);
}



.portfolio-title {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f3f3f3;
  font-family: Georgia, 'Times New Roman', Times, serif;
  letter-spacing: 1vw; /* Adjust letter-spacing as needed */
  font-weight: 200;
  background-color: #2e81a700;
  width: 100%;
  font-size: 3vw; /* Adjust font size using vw unit for responsiveness */
  padding: 1% 0; /* Add some padding for spacing */
  white-space: nowrap; /* Prevent text from wrapping */
}



.portfolio-menu {
  position: fixed;
  top: 50vh; /* Adjust based on your desired vertical position */
  left: 0.1vw; /* Adjust based on your desired horizontal position */
  transform: translate(0, -50%);
  background-color: #333;
  padding: 0.5vw; /* Adjust the padding as needed using vw */
  color: #f3f3f3;
  z-index: 9999;
}
@media (max-width: 768px) {
  .portfolio-menu {
    scale: 100%;
    width: 40vw;
    margin-left: 1vw;
    background-color: #26262600;
  }
  .sub-menu {
    flex-direction: column; /* Change to vertical orientation */
  }

  .sub-menu li {
    align-items: flex-start; /* Align items to the start for vertical orientation */
    margin-bottom: 8px; /* Add margin between vertical items */
  }
  .folio-menu-text {
    font-size: 0px;
  }
}

.sub-menu {
  display: flex; /* Align items horizontally */
  list-style: none; /* Remove bullet points */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
}

.sub-menu li {
  display: flex; /* Align items horizontally */
  align-items: center; /* Center items vertically */
}

.sub-menu a {
  text-decoration: none; /* Remove underlines from links */
  color: #f3f3f3;
  margin-right: 5px; /* Add spacing between the number and separator */
}

.sub-menu li:not(:last-child) {
  /* Add separator between items */
  position: relative;
}

.sub-menu li:not(:last-child)::after {
  content: " | "; /* Separator character */
  color: #f3f3f3;
  margin-left: 3px; /* Adjust spacing between items */
  margin-right: 7px;
}


  /* Hamburger Menu */   /* Hamburger Menu */
    /* Hamburger Menu */  /* Hamburger Menu */

.menuToggle {
  display: block;
  position: relative;
  top: 50px;
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;
  a {
    text-decoration: none;
    color: #232323;
    transition: all 0.3s ease;
  }
  input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    cursor: pointer;
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    -webkit-touch-callout: none;
  }
  span {
    position: relative;
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background-color: #bababa;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),  /* Hamburger Menu */   /* Hamburger Menu */
                /* Hamburger Menu */  /* Hamburger Menu */
                opacity 0.55s ease;
    &:first-child {
      transform-origin: 0% 0%;
    }
    &:nth-last-child(2) {
      transform-origin: 0% 100%;
    }
  }
}

.menuToggle {
  input {
    &:checked ~ span {
      opacity: 1;
      transform: rotate(45deg) translate(-2px, -1px);
      background: #232323;
      &:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
      }
      &:nth-last-child(2) {
        transform: rotate(-45deg) translate(0, -1px);
      }
    }
    &:checked ~ .menuItem {
      transform: none;
    }
    
  }
}

.menuItem {
  position: absolute;
  width: 37vh;
  padding: 50px;
  padding-top: 14vh;
  background: #2e81a7f3;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  transform-origin: 0% 0%;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  li {
    padding: 10px 0;
    font-size: 22px;
  }
}


.menu--right {
  font-family: 'fantasy', Arial, sans-serif;
  .menuToggle {
    position: fixed;
    right: 0;
    input {
      right: 50px;
    }
    span {
      right: 50px;
    }
  }
  .menuItem {
    right: 0;
    margin: -100px 0 0 0;
    transform: translate(100%, 0);
    li {
      a {
        &:hover {
          padding-left: 5px;
        }
      }
    }
  }
}



@keyframes text-slide-in {
  0% {
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    -ms-transform: translateX(100px);
    -o-transform: translateX(100px);
    transform: translateX(100px)
  }

  100% {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0)
  }
}

  /* Hamburger Menu */   /* Hamburger Menu */
    /* Hamburger Menu */  /* Hamburger Menu */



/* Menu Switch for Variable screen sizes */
/* Menu Switch for Variable screen sizes */

@media (max-width: 768px) {
  .menus {
      display: none; /* Hide the default menu on smaller screens */
  }
}
@media (min-width: 769px) {
  .menu--right {
      display: none; /* Hide the small screen menu on larger screens */
  }
}

@media (max-width: 768px) {
  #image-track {
      display: none; /* Hide the default menu on smaller screens */
  }
}
@media (min-width: 769px) {
  #mobile-track {
      display: none; /* Hide the small screen menu on larger screens */
  }
}

/* Menu Switch for Variable screen sizes */
/* Menu Switch for Variable screen sizes */

/* Before After Slider */

.before-after-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.before-after-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.before-image, .after-image {
  width: 100%;
  height: auto;
  display: block;
}

.before-image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.after-image {
  position: relative;
  z-index: 0;
}

.slider-control {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
  z-index: 2;
}

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: white;
  z-index: 3;
  pointer-events: none;
  transform: translateX(-50%);
}

.slider-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid #fff;
}