/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'ISOCT', sans-serif;
  line-height: 1.6;
  background-color: #fafafa;
  color: #333;
}

/* Right Sidebar */
.right-sidebar {
  position: fixed;
  top: 0;
  right: 20px;
  height: 100%;
  /* Full height of the viewport */
  display: flex;
  flex-direction: column;
  /* Stack items vertically */
  justify-content: center;
  /* Center items vertically */
  align-items: center;
  /* Center items horizontally */
  z-index: 1000;
  padding: 30px 0;
}

.logo-button {
  display: inline-block;
  /* Allows for padding and alignment */
  margin: 20px;
  /* Adjust margin to position the logo */
  padding: 5px;
  /* Add some padding around the logo */
  text-align: center;
  /* Center the logo inside its container */
  cursor: pointer;
  /* Show a pointer cursor on hover */
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  /* Smooth animations */
}

.logo-button img {
  width: 150px;
  /* Set a responsive width for the logo */
  height: auto;
  /* Maintain aspect ratio */
  max-width: 100%;
  /* Ensure it doesn’t exceed its container */
  display: block;
  /* Avoid any inline space below the image */
}


/* Menu Button */
.nav-item.menu {
  margin-bottom: auto;
  /* Push the menu button to the top */
}

/* Social Media Buttons */
.social-media {
  display: flex;
  flex-direction: column;
  /* Stack social media buttons vertically */
  align-items: center;
  gap: 20px;
  /* Spacing between social media buttons */
  margin-right: 5px;

}

/* Individual Navigation Items */
.nav-item {
  text-align: center;
  font-size: 1rem;
  color: #333;
}

.nav-item img {
  width: 25px;
  height: auto;
  margin-bottom: 5px;
}

.nav-item p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: bold;
}

a {
  text-decoration: none;
  color: #000;
}

/* Page Title Styling */
h1 {
  text-align: center;
  font-size: 2.5rem;
  margin: 100px 0 20px;
  font-family: 'FantasqueSansBoldItalic', sans-serif;
}

/* Project Section */
.project-section {
  width: 100%;
  /* Full width of the page */
  margin: 0;
  /* Remove margins */
  padding: 0;
  /* Remove padding */
}

.project-section {
  width: 100%;
  /* Full width of the page */
  margin: 0 auto;
  /* Center the section */
  padding: 20px;
  /* Add some space around */
  display: flex;
  flex-direction: column;
  /* Stack projects vertically */
  gap: 200px;
  /* Space between projects */
  margin-bottom: 200px;
  margin-top: 200px;
}

.project {
  display: flex;
  /* Use flexbox for horizontal layout */
  align-items: flex-start;
  /* Align items to the top */
  gap: 20px;
  /* Space between text and images */
  margin-left: 0;
  /* Align individual projects to the left */
  padding-left: 0;
  /* Remove extra padding */
}

.project-text {
  flex: 1;
  /* Allow text to take up space */
  max-width: 60%;
  /* Adjust the width of the text block */
  margin: 0;
  /* Remove default margins */
  padding: 0;
  /* Remove padding */
  display: flex;
  /* Use flexbox for text alignment */
  flex-direction: column;
  /* Stack text vertically */
  justify-content: flex-start;
  /* Align the title to the top */
}

.project-images {
  flex: 1;
  /* Allow images to take up space */
  display: flex;
  /* Align images horizontally */
  gap: 2px;
  /* Space between images */
  flex-wrap: nowrap;
  /* Prevent wrapping */
  margin: 0;
  /* Remove margins */
  padding: 0 60px 0 0;
  /* Add padding to the right to avoid overlapping */
}

.project-images img {
  width: 100%;
  /* Full width for images */
  height: auto;
  /* Maintain aspect ratio */
  object-fit: cover;
  /* Ensure images scale properly */
}




.project-text h1 {
  text-align: left;
  /* Align the title to the left */
  font-size: 2rem;
  /* Adjust the font size if needed */
  margin: 0 0 10px 0;
  /* Add spacing below the title */
  color: #000;
  /* Ensure the color is consistent */
}


.project-text .description {
  font-family: 'PoppinsLight', sans-serif;
  font-weight: lighter;
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
}




.project-text h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #000;
}

.project-text .description {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.full-project {
  margin-top: 20px;
}

.see-full-project {
  display: inline-flex;
  font-family: 'PoppinsLight', sans-serif;
  font-weight: lighter;
  align-items: center;
  text-decoration: none;
  font-size: 0, 8rem;
  color: #000;
}

.see-full-project img {
  width: 34px;
  margin-right: 10px;
  ;
}


.nav-item {
  text-align: center;
  font-size: 1rem;
  color: #333;
}

.nav-item img {
  width: 25px;
  height: 25px;
  margin-bottom: 5px;
}

.nav-item p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: bold;
}


/* Adjust Sidebar Social Buttons */
.nav-item p span {
  font-size: 0.8rem;
  display: block;
}

/* Menu Overlay with Transparent Background */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  color: black;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Menu Content Styling (White Tab) */
.menu-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  background: white;
  /* Solid white background for the menu tab */
  padding: 40px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Menu Header */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#menu-close {
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* Menu Sections Container */
/* Menu Sections Container */
.menu-sections {
  display: flex;
  gap: 40px;
  /* Space between main menu and submenu */
  align-items: flex-start;
  /* Align items at the top */
  width: 100%;
  /* Take full width of the content area */
}

/* Main Menu Styling */
.main-menu {
  list-style: none;
  font-size: 3rem;
  cursor: pointer;
  flex: auto;
  /* Allow main menu to take up available space */
}

.main-menu li {
  margin-bottom: 30px;
  /* Adds spacing between menu items */
  font-weight: bolder;

}

.right-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  /* Align to the right edge of the viewport */
  width: 80px;
  /* Set a consistent width for the sidebar */
  height: 100%;
  /* Full height of the viewport */
  display: flex;
  flex-direction: column;
  /* Stack items vertically */
  justify-content: space-between;
  /* Space out menu and social icons */
  align-items: center;
  /* Center items horizontally */
  z-index: 1000;
  padding: 20px 0;
  /* Add vertical padding for spacing */
}

/* Submenu Styling */
.submenu {
  list-style: none;
  font-size: 1.5rem;
  color: #666;
  display: none;
  /* Hidden initially */
  flex: auto;
  /* Allow submenu to take up available space */
}

.submenu li {
  margin-top: 30px;
  margin-bottom: 15px;
  /* Adjust spacing for submenu items */
  color: #666;
}

/* Remove underline and default link color */
.submenu a {
  text-decoration: none;
  /* Removes underline */
  color: inherit;
  /* Inherits text color from parent element */
}

/* Remove hover styling if needed */
.submenu a:hover {
  color: inherit;
  /* Prevents hover color change */
  text-decoration: none;
  /* Ensures underline doesn't appear on hover */
}

/* Remove default visited link styles */
.submenu a:visited {
  color: inherit;
  /* Ensures visited links don't appear in a different color */
  text-decoration: none;
}


/* Responsive Design */
@media (max-width: 768px) {
  .divider {
    display: none !important;
  }

  .right-sidebar {

    width: 60px;

    padding: 10px 0;
    margin-left: 30px;
  }

  #menu-text {
    display: none;
    /* Hides the menu text */
  }

  .menu-content {
    padding: 5px;
    /* Further reduce padding */
  }

  .main-menu li {
    font-size: 1rem;
    /* Keep the font size for main menu readable */
    padding: 2px 0;
    /* Space between menu items */
    font-weight: bolder;
    /* Make the main menu items more distinct */
  }

  /* Submenu Items */
  .submenu {
    font-size: 0.4rem;
    /* Reduce font size for mobile */
    padding: 0;
    /* Remove padding around the submenu */
    gap: 6px;
    /* Add spacing between submenu items */
    margin-left: 10px;
    /* Indent submenu slightly */
    list-style: none;
    /* Remove default list styling */
    display: none;
    /* Initially hidden */
  }

  /* Submenu Items (Individual) */
  .submenu li {
    padding: 5px 0;
    /* Space between submenu items */
    font-size: 0.8rem;
    /* Adjust font size for readability */
    text-align: left;
    /* Align submenu items to the left */
    color: #333;
    /* Set text color */
    font-weight: normal;
    /* Make submenu items less prominent than main menu */
    cursor: pointer;
    /* Indicate interactivity */
  }

  /* Submenu Links */
  .submenu a {
    text-decoration: none;
    /* Remove underline from links */
    color: inherit;
    /* Inherit text color from parent */
  }

  /* Adjust the main project container */
  .project {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    gap: 20px; /* Add space between stacked elements */
    align-items: flex-start; /* Align content to the left */
    text-align: left; /* Ensure text alignment is left */
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Include padding and border in the width calculation */

  }

  /* Title Styling */
  .project-text h1 {
    text-align: left; /* Align the title text to the left */
    font-size: 1.8rem; /* Slightly larger for visibility */
    font-weight: bold; /* Make it distinct */
  }
  .project-text {
    width: 100%; /* Full width of the container */
    margin: 0; /* Remove any margin */
    padding: 0; /* Remove any padding */
    box-sizing: border-box; /* Include padding and border in the width calculation */
  }
  /* Image Styling */
  .project-images {
    width: 100%; /* Make the container full width */
    margin: 0; /* Remove default margins */
    text-align: center; /* Center the images inside the container */
  }

  .project-images img {
    width: 100%; /* Ensure the image spans the full width */
    height: auto; /* Maintain the aspect ratio */
    margin: 10px 0; /* Add spacing above and below */
  }

  /* Description Styling */
  .project-text .description {
    font-size: 1rem; /* Standard font size */
    line-height: 1.6; /* Increase line spacing for readability */
    text-align: left; /* Align text to the left */
    padding: 0%;
  }

  /* "See Full Project" Link Styling */
  .see-full-project {
      text-align: left; /* Align the link to the left */
    font-size: 1rem; /* Adjust size for readability */
    text-decoration: none; /* Remove underline */
    display: flex; /* Align icon and text horizontally */
    align-items: center; /* Vertically center the icon with the text */
  }

  .see-full-project img {
    width: 20px; /* Adjust icon size */
    height: auto; /* Maintain aspect ratio */
    margin-right: 5px; /* Space between icon and text */
  }

  /* Ensure full width for text container */
  .project-text {
    width: 100%; /* Text should span the full width */
    margin: 0; /* Remove default margins */
    padding: 0; /* Remove default padding */
  }

  /* Adjust form */
  form {
    width: 100%;
    /* Full width */
    padding: 10px;
  }

  form input,
  form textarea {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 1.8rem;
  }
}