*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  /* using whole screen */
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
nav{
  position: sticky;
  top: 0;
  background-color: white;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}
nav ul{
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  /* border: 2px, solid, red; */
}
nav li{
  height: 50px;
}
nav a{
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: gray;
}
nav a:hover{
  background-color: lightgrey;
}

nav li:first-child{
  margin-right: auto;
  pointer-events: none;
  background: none; 
  color: black; 
  cursor: default;  
}
nav li:first-child a {
  color: black;
}

.sidebar{
  position: fixed;
  top: 0; 
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: rgba(255, 255, 255, 1);
  /* backdrop-filter: blur(12px); */
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 999;
}
.sidebar li{
  width: 100%;
}
.sidebar a{
  width: 100%;
}
.menu-button{
  display: none;
}
@media(max-width: 800px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
}
@media(max-width: 400px){
  .sidebar{
    width: 100%;
  }
}


/* MAIN CONTENT */
/* 
main {
  display: flex;
  width: 100%;
  justify-self: center;
  align-items: center; */
  /* margin-left: auto;
  margin-right: auto; */
/* } */

main {
  max-width: 100%;
  margin: 2rem auto;
  padding: 1rem;
}

.intro {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 2rem;
  padding: 2rem;
  width: 80%;
  margin: 0 auto;
  /* max-width: 80%; */
  /* height: 100% */
}

.text-content {
  /* display: flex; */
  /* flex-direction: column; */
  width: 50%; 
}
.text-content h1 {
  font-size: 2rem;
  margin: 2rem 0;
  color: #333;
}
.text-content .highlight {
  color: #6c63ff;
}
.text-content p {
  margin: 0.5rem 0;
  font-size: large;
}

.image-content  {
  /* max-width: 50%; */
  width: 50%; 
}
.image-content img {
  max-width: 100%;
  border-radius: 8px;
  aspect-ratio: 0.9;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* tech stack */

.tech-stack {
  margin-top: 50px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  color: gray;
  max-height: fit-content;
}

/* .stack-image img {
  transition: all 0.3s ease;
} */
.stack-image{
  width: 100%;
  display: flex;
  justify-content: space-around; 
  align-items: center;
  gap: 10px;
  padding: 0 15%;
}

.stack-image img {
  width: 100%;
  aspect-ratio: 1;
  /* flex-grow: 0; */
  /* height: 100px; */
}

 @media (max-width:675px) {
  .stack-image {
      justify-content: space-between; 
      overflow-x: hidden;
      max-width: 100vw;
      gap: 5px;
      padding: 0 2.5%;
  }
  .stack-image img {
      flex-shrink: 1;
      width: 10%;
  }
} 


/* @media (max-width:1200px) {
  .stack-image img {
      width: 50%;
      height: 50%;
  }
} */

@media (max-width:768px) {
  .intro {
      flex-direction: column-reverse;
      /* max-width: 100%; */
  }
  .text-content {
      width: 80%;
  }
  .image-content {
      width: 80%;
  }
  .image-content img{
      /* width: 100%; */
      aspect-ratio: 0.9;
      margin: 0px;
  }
}
/* Container to hold the sliding images */
/* .image-container {
  overflow: hidden; 
  max-width: 100%;
  width: 100%;
  height: 100px; 
  margin: 0;
  padding: 0;
  position: relative;
} */

/* Wrapper that holds all the images */
/* .image-wrapper {
  display: flex; 
  animation: slide 30s linear infinite;
} */

/* Image styling */
/* .image-wrapper img {
  width: 150px; 
  height: auto; 
  margin-right: 20px;
} */

/* Keyframes for sliding effect */
/* @keyframes slide {
  0% {
    transform: translateX(0%); 
  }
  100% {
    transform: translateX(-100%); 
  }
} */
