html {
  scroll-behavior: smooth;
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #222;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  z-index: 1000; /* garante que fique por cima do conteúdo */
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #00bfff;
}
.progress-container {
  margin-top: 15px;
}

.progress-bar {
  background-color: #ddd;
  border-radius: 20px;
  overflow: hidden;
  height: 25px;
}

.progress {
  height: 100%;
  background-color: #4CAF50; /* verde */
  text-align: center;
  line-height: 25px;
  color: white;
  font-weight: bold;
  transition: width 0.5s ease-in-out;
}
body {
      margin: 0;
      background-attachment: scroll;
      padding-top: 4rem;
      font-family: Arial, sans-serif;
      background-image: url('../images/mount.webp');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      background-repeat: no-repeat;
      scroll-behavior: smooth;
    }
    section {
      padding: 60px 20px;
      max-width: 800px;
      margin: auto;
    }

    h1, h2 {
      color: #f4f6f7;
    }

    .projeto {
      background-color: #f4f4f4;
      padding: 20px;
      margin-bottom: 20px;
      border-radius: 10px;
    }

    .projeto a {
      color: #2980b9;
      text-decoration: none;
    }

    footer {
      padding: 20px;
      max-width: 770px;
      margin: auto;
      text-align: center;
      margin-bottom: 20px;
      border-radius: 10px;
      background-color:whitesmoke;
      color: #222;
    }


    
  
.avatar {
    width: 150px;
    height: 150px;
    border-radius: 100%;
    border: 10px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
  }
.projeto img.project_img {
  width: 150px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

