html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }
  
  body {
    background-color: #000000; 
    font-family: "Gowun Dodum", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }
  
  nav {
    position: fixed;
    top: 0;
    left: 0; 
    width: 100%; 
    height: 65px;
    padding: 1.5rem 3rem;
    background-color: rgba(21, 21, 21, 1);
    display: flex;
    justify-content: space-between;  
    align-items: center;  
    width: 100%;
    z-index: 10;
  }
  
  .logo-link {
    position: relative;         
    width: 50px;                
    height: 50px;           
    border-radius: 50%;       
    background-color: #ffffff; 
    transition: background-color 0.3s, box-shadow 0.3s;  
    overflow: hidden;          
  }
  
  /* Hover effect for the logo link */
  .logo-link:hover {
    background-color: #efefef; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);  
  }
  
  /* Logo image styling */
  .nav-logo {
    position: absolute;   
    top: 50%;             
    left: 50%;             
    transform: translate(-50%, -50%); 
    width: 60px;         
    height: 60px;         
    object-fit: contain;  
  }
  
  nav a {
    font-weight: 200;
    text-decoration: none;
    color: #efefef;
    font-size: 1.33rem;
    padding: 0.5rem 1rem;
  }
  
  nav a:hover {
    color: #aacc83;
  }
  
  .hamburger {
    display: none; 
    position: absolute;
    top: 1rem;  
    right: 3rem; 
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
  }
  
  .bar {
    width: 30px;
    height: 4px;
    background-color: #efefef;
    border-radius: 5px;
  }
  
  
  /* General Text Styles */
  p {
    font-size: 1rem;
    color: #ffffff;
  }
  
  h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: left;
  }
  
  h3 {
    font-size: 1.5rem;
    color: #97b167;
    margin-bottom: 1rem;
    font-weight: 1200;
    text-align: left;
  }
  
  h4 {
    font-size: 3rem;
    color: #97b167;
    margin-bottom: 1rem;
    font-weight: 1200;
    text-align: left;
  }
  
  /* Scroll Animation */
  .reveal {
    position: relative;
    transform: translateY(100px);
    opacity: 0;
    transition: all 1s ease;
  }
  
  .reveal.active {
    transform: translateY(0);
    opacity: 1;
  }

  /* Page Sections */
  .work, footer {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .overview {
    margin: 2rem 0;
  }
  
  .overview h3 {
    margin-top: 0;
  }
  
  .line {
    width: 100%;
    height: 2px;
    margin: 1.5rem auto;
    background-color: #97b167;
  }
  
  .video-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    background-color: #000; 
    margin: 20px 0; 
  }
  
  /* Iframe for the YouTube video */
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .gallery img {
    width: 100%;
    margin: 0.5rem 0;
  }
  
  /* Scroll-to-Top Button */
  .scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    display: none;
  }
  
  .scroll-to-top:hover {
    background-color: #002d00;
  }
  
  /* Footer */
  footer {
    background: #000000;
    text-align: center;
    padding: 2em;
  }
  
  footer a {
    color: rgb(213, 206, 187);
    font-weight: 600;
    text-decoration: none;
  }
  
  .pflip {
    color: #efefef;
  }
  
  .hilight {
    color: rgb(213, 206, 187);
  }
  
  /* Social Links */
  .socials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-content: center;
  }
  
  .socials img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
  }
  
  .socials a:hover img {
    transform: scale(1.1);
    opacity: 0.8;
    filter: brightness(1.2);
  }
  
  .socials a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
  }
  
  
  /* For large screens, distribute the nav links horizontally */
  @media only screen and (min-width: 768px) {
    nav {
      justify-content: space-between;
    }
  
    nav a {
      font-size: 1.5rem;
    }
  
    .hamburger {
      display: none; /* Hide hamburger on desktop */
    }
  
    .nav-logo {
      margin-right: 40px; /* Adjust as needed */
    }
  
    .nav-links {
      display: flex;
      justify-content: space-evenly; /* Space the links evenly across the navbar */
      width: 100%;
    }
  }
  
  /* For Mobile Screens */
  @media only screen and (max-width: 768px) {
    nav {
      flex-direction: column;
      align-items: flex-start;
      padding: 1rem;
      justify-content: space-between;
    }
  
    .hamburger {
      display: flex; /* Show hamburger on mobile */
    }
  
    .nav-links {
      display: none;
      position: absolute;
      top: 65px;
      right: 0;
      background-color: rgba(21, 21, 21, 1);
      width: 100%;
      text-align: center;
      flex-direction: column;
      gap: 1rem;
    }
  
    /* Show nav-links when active (for mobile) */
    .nav-links.active {
      display: flex;
    }
  
    /* Adjust the font size of links when in the hamburger menu */
    .nav-links a {
      font-size: 1.5rem;
      padding: 1rem 0;
    }
  }
  
  /* Show navigation links when 'active' class is added */
  .nav-links.active {
    display: flex;
  }
  
  /* For Mobile Devices */
  @media only screen and (max-width: 480px) {
    nav {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
  
    .navbar-toggle {
        display: block;
    }
  
    .navbar-menu {
        display: none;
    }
  
    .navbar-menu.active {
        display: block;
    }
    
  }
  
  