body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f0f0f;
  color: #ffffff;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 2.5em;
}

header p {
  color: #ccc;
}



nav {
  margin-top: 10px;
}

nav a {
  color: #66d9ef;
  margin: 0 10px;
  text-decoration: none;
  transition: ease 0.3s;

}


nav a:hover {
  color: #fff;
  transition: ease 0.3s;
}


section {
  max-width: 800px;
  margin: 0 auto 40px;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
  
h2 {
  border-bottom: 2px solid #333;
  padding-bottom: 5px;
}

.project-card {
  display: flex;
  flex-direction: column;
  
  background: #1a1a1a;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;

}

.project-card a {
  color: #66d9ef;
  text-decoration: none;
  position: relative;
  width: max-content;
}

.project-card a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px; /* adjust as needed */
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

.project-card a:hover::after {
  width: 100%;
}



.skills ul {
  list-style: disc;
  padding-left: 20px;
}

footer {
  text-align: center;
  margin-top: 60px;
  color: #777;
}

.img-container {
  display: flex;
  justify-content: center; /*  */
  align-items: center;
  margin-bottom: 20px;
  /* min-height: 300px; */
  max-height: 200px;
  overflow: hidden;
  border-radius: 8px;
  
}

.experience-item {
  display: flex;
  flex-direction: column;
  background-color: #1a1a1a;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.experience-item span {
  color: #66d9ef;
  font-size: 1em;
}

.date {
  margin: 0;
  color: gray;
}

.image-modal {
  display: none; 
  position: fixed; 
  z-index: 999; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.8);
}

.image-modal-content {
  display: block;
  margin: 5% auto;
  max-width: 80%;
  border-radius: 8px;
}

.close-btn {
  color: #fff;
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 40px;
  cursor: pointer;
}

.img-container img {
  transition: transform 0.3s ease-in-out;
}

.img-container img:hover {
  transform: scale(1.05);
}

a {
  color: #66d9ef;
  text-decoration: underline;
}
.education p {
  margin : 5px 0;
}