/* style.css */

@import url("https://fonts.googleapis.com/css?family=Lora:400,400i,700");

html, body {
  font-family: Lora, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.container {
  width: 80%;
  margin: 0 auto;
  max-width: 1200px;
}

header {
  background-color: #ffb800;
  position: sticky;
  top: 0;
  color: #fff;
  padding: -1rem 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
}

.section {
  padding: 2.5rem 0;
}

#about {
  background-color: #0095d5;
  color: #fff;
}

.about-content {
  display: flex;
  align-items: center;
}

.profile-img {
  width: 200px;
  border-radius: 50%;
  margin-right: 30px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.project {
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
}

.project img {
  max-width: 100%;
  height: auto;
}

.project iframe {
  width: 100%;
  height: 800px;
  border: none;
}


.responsibilities-list{
  list-style: none;
  padding: 0;
  display: table;
  flex-wrap: wrap;
}

.responsibilities-list li{
  background-color: #92edff;
  padding: 6px 10px;
  margin: 4px;
  border-radius: 5px;
}

.skills-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.skills-list li {
  background-color: #e0e0e0;
  padding: 8px 15px;
  margin: 5px;
  border-radius: 20px;
}

#contact form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}

#contact form input,
#contact form textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
}

#contact form button {
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

@media (max-width: 768px) {
  .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      text-align: center;
      position: absolute;
      top: 60px;
      left: 0;
      background-color: #333;
  }

  .nav-links.active {
      display: flex;
  }

  .nav-links li {
      margin: 0;
      padding: 15px 0;
  }

  .hamburger {
      display: flex;
  }

  .about-content {
      flex-direction: column;
      text-align: center;
  }

  .profile-img {
      margin: 0 auto 20px;
  }
}
