/* General Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: lightblue;
  color: #323232;
  margin: 0;
}

a {
  text-decoration: none;
}


/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
}
/* 
.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #333;
  transition: all 0.3s ease-in-out;
} */
.nav-links.show {
  display: flex;
  flex-direction: column;
}
/* Media Query for Hamburger Menu */
/* @media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: beige;
    width: 100%;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
  } */

  .nav-links li {
    margin-bottom: 10px;
  }

  .hamburger {
    display: block;
  }

  /* Hamburger Animation */
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

/* Navigation Styles */
nav {
  z-index: 2;
  width: 100%;
  position: fixed;
  background-color: beige;
  color: #323232;
  padding: 10px;
  border-bottom: 2px solid black;
  box-shadow: 0 4px black;
}

.nav-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-title {
  font-size: 24px;
  margin: 0;
}

.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #323232;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #323232;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: #666;
}

.nav-links a:hover::before {
  transform: scaleX(1);
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-container{
    display: flex;
    justify-content: center ;
    align-items: center;
  }

  .nav-bar {
    display: none;
  }
}

/* Container Styles */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: beige;
  border-radius: 5px;
  border: 2px solid black;
  box-shadow: 4px 4px black;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header Styles */
.header {
  text-align: center;
  margin-top: 30px;
}

.header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.header p {
  font-size: 18px;
  color: #666;
}

@keyframes letterAnimation {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.letter {
  display: inline-block;
  opacity: 0;
  animation: letterAnimation 0.5s ease-in-out forwards;
  animation-delay: calc(var(--delay) * 0.1s);
}

/* Content Styles */
.content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.project-image-container {
  overflow: hidden;
  width: 170px;
  height: 100px;
  transition: width 0.4s ease-in-out, height 0.6s ease-in-out;
  border: 2px solid black;
  box-shadow: 4px 4px black;
  border-radius: 5px;
}


.project-image-container:hover {
  width: 65%;
  height: 250px;

}


.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-in-out;
}

.project-image:hover {
  transform: scale(1.2);
}

.Education-image-container {
  overflow: hidden;
  width: 170px;
  height: 100px;
  transition: width 0.4s ease-in-out, height 0.6s ease-in-out;
  border: 2px solid black;
  box-shadow: 4px 4px black;
  border-radius: 5px;
}

.Education-image-container:hover {
  width: 95%;
  height: 300px;
}


.Education-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-in-out;
}

.Education-image:hover {
  transform: scale(1.2);
  z-index: -1;
}

.section {
  background-color: #a9eaff;
  padding: 20px;
  border-radius: 5px;
  border: 2px solid black;
  box-shadow: 4px 4px black;
  transition: transform 0.5s ease;
}

.section:hover {
  transform: scale(1.02);
}

.section h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.section ul {
  list-style-type: disc;
  margin-left: 20px;
}

.section li {
  margin-bottom: 10px;
}

/* Footer Styles */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  margin-top: 40px;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.social-link {
  color: #fff;
  text-decoration: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.contact-link {
  color: #323232;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: beige;
  border: 2px solid #323232;
  box-shadow: 2px 2px #323232;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-link:hover {
  background-color: #323232;
  color: beige;
}

.contact-link i {
  margin-right: 8px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .section p,
  .section li {
    font-size: 0.9rem;
  }

  .section {
    padding: 1rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .project-image-container {
    width: 100%;
    height: auto;
  }

  .project-image-container:hover {
    width: 100%;
    height: auto;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
    visibility: hidden;
  }
}

.skills-list {
  list-style-type: none !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  padding: 20px;
  border-radius: 10px;
}

.skill-button {
  text-decoration: none;
  background-color: #4a9cf4;
  color: white;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 5px;
  transition: transform 0.3s, background-color 0.3s;
  cursor: pointer;
  font-weight: bold;
}

.skill-button:hover {
  background-color:  rgb(0, 191, 255);
  transform: scale(1.1);
}