/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; line-height: 1.6; background: #f9f9f9; color: #333; }

/* Header */
header { text-align: center; padding: 20px; background: #222; color: #fff; }
header h1 { margin-bottom: 10px; }

/* Navbar */
nav { margin-top: 10px; }
nav a { margin: 0 10px; text-decoration: none; color: #fff; font-weight: bold; }
nav a.active, nav a:hover { color: #f39c12; }
.menu-toggle { display: none; background: none; border: none; color: white; font-size: 20px; }

/* Sections */
main { padding: 20px; }
.hero { text-align: center; padding: 50px; background: #f39c12; color: white; border-radius: 8px; }

/* Skills */
.skills { max-width: 500px; margin: auto; }
.skill { margin: 15px 0; }
.skill span { font-weight: bold; display: block; margin-bottom: 5px; }
.bar { background: #ddd; height: 10px; border-radius: 5px; position: relative; }
.bar::after {
  content: "";
  position: absolute;
  left: 0; top: 0; height: 100%;
  background: #f39c12;
  border-radius: 5px;
  width: 0;
  transition: width 2s ease;
}

/* Contact Form */
form { max-width: 400px; margin: auto; display: flex; flex-direction: column; gap: 10px; }
form input, form textarea { padding: 10px; border: 1px solid #ccc; border-radius: 5px; }
form button { background: #f39c12; color: white; border: none; padding: 10px; border-radius: 5px; cursor: pointer; }
form button:hover { background: #d35400; }

/* Footer */
footer { text-align: center; padding: 15px; margin-top: 30px; background: #222; color: #fff; }

/* Responsive */
@media(max-width: 768px) {
  nav a { display: none; }
  .menu-toggle { display: inline-block; }
  nav.active a { display: block; margin: 10px 0; }
}
img {
  width: 120px;   /* make the image small */
  height: auto;   /* keep proportions */
  float: left;    /* stick image to the left */
  margin-right: 15px; /* space between image and text */
}


/* Text moves far right */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items:center; /* pushes text to center */
  padding-right: 50px;
  text-align: center;
  h2 {
  font-size: 2rem;   
}
}





