/* General Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #111;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 30px;
}

header h1 {
  color: #32CD32; /* Luminous green */
  font-size: 2.5em;
  margin-bottom: 20px;
  border-bottom: 2px solid #32CD32;
  padding-bottom: 10px;
}

/* Flexbox for main content */
.main-content {
  display: flex;
  flex-direction: column; /* Stack sections vertically */
  justify-content: flex-start;
}

/* Sections */
.section {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.subsection {
  display: flex;
  flex-direction: column;
  margin-left: 20px;
}

h1, h3 {
  color: red;
  display: flex;
  align-items: center;
}

h1 i, h3 i {
  margin-left: 10px;
  font-size: 1.2em;
}

/* Links */
a {
  color: #32CD32;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  padding: 5px;
  margin-top: 5px;
  transition: all 0.3s ease;
}

a i {
  margin-right: 8px;
}

/* Link Hover Effect */
a:hover {
  color: #00FF00;
  text-decoration: underline;
  background-color: rgba(50, 205, 50, 0.2);
  padding-left: 10px;
}

button {
  background-color: #32CD32;
  color: #111;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

button i {
  margin-right: 10px;
}

button:hover {
  background-color: #00FF00;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #32CD32;
}

footer p {
  color: #8FBC8F;
}

footer img {
  margin-top: 10px;
}

/* Avatar Image */
img[alt="avatar"] {
  border: 2px solid #32CD32;
  border-radius: 40vw;
}

/* List Styling in Achievements */
ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  margin: 5px 0;
}

/* Flexbox for individual sections */
#projects, #certifications, #achievements {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Responsive design */
@media (max-width: 768px) {
  .section {
      margin-bottom: 20px;
  }

  h1 {
      font-size: 2em;
  }

  h3 {
      font-size: 1.5em;
  }

  button {
      width: 100%;
  }
}
