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

  
  html, body {
    height: 100%;
  }

    
  html {
    scroll-behavior: smooth;
  }
  
  /* Flexbox Layout to keep footer at the bottom */
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    color: #f6f4d2 ; /* Text color */
    background-color: #f4f4f4; /* Background color */
  }
  
  main{
    padding-left: 20px;
    margin-left: 50px;
    margin-right: 50px;
  }

  .center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }
  
  header,
  footer {
    position: relative;
    background: linear-gradient(90deg, #355070, #6d597a, #b56576, #e56b6f);
    background-size: 300% 300%;
    animation: gradientAnimation 8s ease infinite;
    color: white;
    text-align: center;
    padding: 20px;
  }
  
  /* Noise Overlay */
  header::after,
  footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Assets/noise.png');
    /* Add your noise image */
    opacity: 0.15;
    /* Adjust transparency */
    pointer-events: none;
    /* Ensures it doesn't interfere with clicks */
  }
  
  header a{
    text-decoration: none;
    color: inherit;
  }
  header h1 {
    color: #f4f4f4;
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin: 0;
  }
  
  header p {
    font-size: 1.2em;
    margin: 5px 0;
  }
  
  nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  nav ul li {
    display: inline;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
  }
  
  /* Hover state */
  nav ul li a:hover {
    color: #f4f4f4;
    /* Blue color on hover */
  }
  
  /* Focus and active states */
  nav ul li a:focus,
  nav ul li a.active {
    color: #f4f4f4;
    /* Blue color on active */
  }
  
  /* Optional underline effect */
  nav ul li a:hover,
  nav ul li a.active {
    text-decoration: underline;
  }
  
  
  
  nav ul li a:hover {
    text-decoration: underline;
  }
    #second-nav {
    position: sticky;
    top: 0; /* Stick to the top of the viewport */
    background-color: #f1f1f19c;
    z-index: 10; /* Ensure it stays above other content */
    padding: 10px 0;
    box-shadow: 0 4px 2px -2px gray; /* Optional shadow effect */
}

  #second-nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  #second-nav li a {
    color: #898989;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
  }
  
  #second-nav li a:hover {
    color: #25242275;
  }
  
  #second-nav li a:focus,
  #second-nav li a.active {
    color: #25242275;
  }
  
  #second-nav li a:hover,
  #second-nav li a.active {
    text-decoration: underline;
  }
  
  
  /* Main content area takes up remaining space */
  main {
    flex: 1;
    padding: 40px;
    padding-top: 60px;
    padding-left: 100px;
  }
  
  #about {
    max-width: 85%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    padding: 40px 0; /* Padding to create space at the top/bottom */
    margin: 0 auto; /* Center the section horizontally */
}

.about-me {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 20px; /* Add gap between text and image */
}

.text-content {
    flex: 1;
    max-width: 60%;
    font-size: 1.5em;
}

.about-me h1 {
    background: linear-gradient(90deg, #355070, #6d597a, #b56576, #e56b6f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: black;
}

h1{
  background: linear-gradient(90deg, #355070, #6d597a, #b56576, #e56b6f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: black;
    font-size: 2.5em;
    text-align: center;
}

.about-me p {
    max-width: 100%;
    line-height: 1.6;
}

#three-container-about {
    flex-basis: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#three-container-about img {
    max-width: 100%;
    height: auto;
}

  
  /* Showreel Section */
  #showreel {
    margin-top: 40px;
    text-align: center;
  }
  
  #showreel video {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
  }
  
  /* Projects Section */
  #projects {
    text-align: center;
  }
  
  .project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  
  .project img {
    width: 100%;
    height: auto;
  }
  
  .project h3 {
    margin: 10px 0;
  }
  
  /* Footer Styling */
  footer .social-icons {
    margin-top: 10px;
  }
  
  footer .social-icons a img {
    width: 24px;
    height: 24px;
    margin: 0 8px;
  }
  
  .fa {
    padding: 10px; /* Keep padding for spacing */
    font-size: 24px; /* Adjust icon size */
    width: 50px; /* Fixed width for circle */
    height: 50px; /* Fixed height for circle */
    text-align: center;
    text-decoration: none;
    border-radius: 50%; /* Make it circular */
    background: none; /* No background */
    color: white; /* Default icon color */
    border: 2px solid white; /* White border for line art effect */
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    transition: color 0.3s, border-color 0.3s; /* Smooth transition */
}

/* Change to blue on hover */
.fa:hover {
    color: #028090; /* Change text color on hover */
    border-color: #028090; /* Change border color on hover */
    opacity: 1; /* Ensure full opacity */
}

/* Specific color for each brand can go here */
.fa-facebook {
    /* Custom styles for Facebook icon can go here */
}

.fa-twitter {
    /* Custom styles for Twitter icon can go here */
}

footer {
  position: relative; /* Ensure the footer can have effects like box-shadow */
  box-shadow: 0px -10px 15px rgba(2, 128, 144, 0.53); /* Glow effect on top */
}
/* Footer Styling */
footer .social-icons {
  margin-top: 10px;
}

footer .social-icons a img {
  width: 24px;
  height: 24px;
  margin: 0 8px;
}


.button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.glass-btn {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 500px;
  margin-left: 1em;
  margin-right: 1em;  
  cursor: pointer;
  transition: all 0.3s;

  &.blue-btn {
    -webkit-box-shadow: 0px 20px 20px -17px rgba(0, 111, 255, 0.53);
    -moz-box-shadow: 0px 20px 20px -17px rgba(0, 111, 255, 0.53);
    box-shadow: 0px 20px 20px -17px rgba(0, 111, 255, 0.53);

    &:hover {
      -webkit-box-shadow: 0px 20px 35px -16px rgba(0, 111, 255, 0.65);
      -moz-box-shadow: 0px 20px 35px -16px rgba(0, 111, 255, 0.65);
      box-shadow: 0px 20px 35px -16px rgba(0, 111, 255, 0.65);      
    }
  }
}

.icon-link {
  display: inline-flex; /* Ensures the link behaves like a flex container */
  align-items: center; /* Centers the image vertically */
  justify-content: center; /* Centers the image horizontally */
  text-decoration: none; /* Removes underline */
}

.icon-link img {
  width: 100%; /* Makes the image take up 80% of its container */
  height: auto; /* Maintains aspect ratio */
  object-fit: contain; /* Ensures image fits well within its container */
  transition: transform 0.3s ease; /* Adds smooth hover animation */
}

.icon-link:hover img {
  transform: scale(1.1); /* Slightly enlarges the icon on hover */
}



#game-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 40px;
}

.project {
  display: block;
  width: 300px; /* Adjust as needed */
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
  text-decoration: none; /* Remove default link underline */
  color: inherit; /* Keep text color consistent */
  transition: transform 0.2s ease-in-out;
}

.project:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
}

.project img, .project video {
  width: 100%;
  height: auto;
  border-bottom: 2px solid #028090;
  border-radius: 10px 10px 0 0;
}

.project-info {
  padding: 10px;
}

.project-info h2 {
  font-family: 'Playfair Display', serif;
  color: #028090;
  font-size: 1.5em;
  margin-bottom: 5px;
}

.project-info .tagline {
  font-family: 'Montserrat', sans-serif;
  color: #252422;
  font-size: 1em;
}

.project video {
  width: 100%;
  height: auto;
  border-bottom: 2px solid #028090;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
}
#game-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.project {
  display: block;
  width: 300px; /* Adjust as needed */
  border: 1px solid #ddd;
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
  text-decoration: none; /* Remove default link underline */
  color: inherit; /* Keep text color consistent */
  transition: transform 0.2s ease-in-out;
}

.project:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
}

.project video, .project img {
  width: 100%;
  border-bottom: 2px solid #028090;
  border-radius: 10px 10px 0 0;
}

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

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    color: #555 ; /* Text color */
    background-color: #f7f7f2; /* Background color */
  }


/* Bento-style art grid */
.art-grid {
  
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    padding: 20px;
}

.art-item {
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s;
}

.art-item:hover {
    transform: scale(1.05);
}

.art-item-resized {
  cursor: pointer;

}

.art-grid-new {
  
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  padding: 20px;
}

.art-item-new {
  cursor: pointer;
  transition: transform 0.3s;
}


.art-item-new-resized {
cursor: pointer;

}

/* Gallery overlay styling */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.overlay-image {
    max-width: 90%;
    max-height: 80%;
    margin: auto;
}

.close, .prev, .next {
    position: absolute;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
}

.close {
    top: 20px;
    right: 20px;
}

.prev {
    top: 50%;
    left: 20px;
}

.next {
    top: 50%;
    right: 20px;
}


.design-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (min-width: 768px) {
  .design-grid {
      grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .design-grid {
      grid-template-columns: repeat(6, 1fr);
  }
}



.sticky-notes-container {
  display: flex; /* Make them appear in a row */
  gap: 20px; /* Add some space between the sticky notes */
}

.sticky-note {
  background-color: #fffa90; /* Light yellow like a sticky note */
  padding: 15px;
  border-radius: 8px;
  width: 200px; /* Set a fixed width */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.sticky-notes-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.sticky-note {
  background: #FFEB3B;
  padding: 15px;
  width: 220px;
  transform: rotate(-3deg);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  text-align: center;
  border-radius: 5px;
}


.breadcrumbs {
  font-size: 14px;
  color: #555;
  padding: 10px 20px;
  background: #f9f9f9;
  border-radius: 5px;
  display: inline-block;

  position: sticky;
  top: 0;
  /* Stick to the top of the page */
  left: 0;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* Light shadow for depth */
  z-index: 1000;
  /* Ensure it stays above other content */
}


.breadcrumbs a {
  text-decoration: none;
  color: #0077cc;
  font-weight: 500;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .current {
  color: #333;
  font-weight: bold;
}

.next-projects-container {
  display: flex;
  justify-content: center; /* Centers the row of cards */
  gap: 80px; /* Space between cards */
  padding: 20px; /* Padding above the footer */
  flex-wrap: wrap; /* Ensures responsiveness */
}

.next-project-preview {
  flex: 1;
  max-width: 300px; /* Keeps card size uniform */
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.next-project-preview a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.preview-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.next-project-preview img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.next-project-info {
  padding: 10px;
  text-align: center;
}

.next-project-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  margin: 5px 0;
  color: #333;
}

.next-project-info p {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #666;
  margin: 0;
}

.preview-right {
  padding: 10px;
  display: flex;
  justify-content: center;
}

.next-project-preview:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

#galleryOverlay {
  display: none;
  /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.overlay {
  display: none;
  /* Initially hidden */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

#galleryOverlay {
  display: none;
  /* Initially hidden */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  /* Semi-transparent background */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  /* Make sure it appears on top */
}

.overlay-image {
  max-width: 80%;
  max-height: 80%;
}

.close,
.prev,
.next {
  position: absolute;
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
}

.close {
  top: 20px;
  right: 20px;
}

.prev {
  top: 50%;
  left: 20px;
}

.next {
  top: 50%;
  right: 20px;
}

.art-item {
  cursor: pointer;
}




.dynamic-hr {
  width: 580px; /* Adjust width as needed */
  height: 2px; /* Base thickness */
  background: linear-gradient(to right, transparent, #333, transparent);
  margin: 10px auto; /* Center align */
  border-radius: 50px; /* Smooth edges */
}


.detail {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 10%;
}

.detail-container {
  display: flex;
  align-items: flex-start;
  max-width: 800px;
  width: 100%;
  gap: 0px; /* Creates space between title and text */
}

.title {
  flex: 1;
  font-size: 1.5rem; /* Bigger title */
  font-weight: bold;
  text-align: left;
  background: linear-gradient(to right, #22577a, #38a3a5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-content {
  flex: 2;
  font-size: 1rem;
  text-align: left;
  color: #555;
}

.text-content h4 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0077b5;
}

@media (max-width: 768px) {
  .detail-container {
      flex-direction: column;
      gap: 20px;
  }

  .title {
      font-size: 2rem;
      text-align: center;
  }

  .text-content {
      text-align: center;
  }
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 12px;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-family: Montserrat;
}

.sidebar a {
  color: #949494;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.sidebar a.active {
  opacity: 1;
  font-weight: bold;
  text-decoration: underline;
}

.sidebar a:hover {
  opacity: 1;
}

/* Content Sections */
.ui-section {
  min-height: 100vh;
  padding-left: 40px;
  padding-right: 40px;
  font-family: Montserrat;
  font-size: 16px;
  color: #333;
}

.ui-section:nth-child(2) {  
  background-color: #1e1e1e !important;  
  color: white;  
  width: 100%;
  

}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}
