html {
  scroll-behavior: smooth;
}

body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: #000;
      color: #fff;
    }

    nav {
      background-color: #111;
      padding: 1rem;
      display: flex;
      gap: 1.5rem;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
    }

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

    nav a:hover {
      color: #ccc;
    }

    .container {
      max-width: 900px;
      margin: 0 auto;
      padding: 2rem;
    }

    header {
      text-align: center;
      margin-bottom: 2rem;
    }

    .profile-pic {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      margin-bottom: 1rem;
      object-fit: cover;
    }

    section {
      background-color: #1e1e1e;
      padding: 1.5rem;
      margin-bottom: 2rem;
      border-radius: 10px;
    }

    h2 {
      color: #fff;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: 0;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }

    .project-item {
      background-color: #2c2c2c;
      padding: 1rem;
      color: #90caf9; /* samma färg som dina andra länkar */
      text-decoration: center;
      transition: background-color 0.3s ease;
      display: block; /* så hela området är klickbart */
      border-radius: 8px;
      text-align: center;
      cursor: pointer;
    }

    .project-item a:hover {
      text-decoration: underline;
    }

    .project-item:hover {
      background-color: #444444;
    }

    a {
      color: #90caf9;
    }

  .skill-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: flex-start;
  margin-top: 1rem;
}

.skill-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ccc;
  font-size: 0.9rem;
}

.skill-block i {
  font-size: 2rem;
}

.custom-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0.3rem;
}

.skill-category {
  background-color: #2a2a2a; /* mörkgrå bakgrund */
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
}

.subheading {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.skill-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.skill-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ccc;
  font-size: 0.9rem;
}

.skill-block i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.custom-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0.5rem;
}

.about-text {
  background-color: #2a2a2a;
  padding: 1.5rem;
  border-radius: 10px;
  color: #ccc;
  max-width: 800px;
  line-height: 1.6;
}

#education {
  background-color: #2a2a2a; /* Samma ljusgrå som de andra rutorna */
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  color: #ccc;
}

#education h2 {
  color: white; /* Samma som rubriker i navbaren */
  margin-bottom: 12px;
}

#education h3 {
  margin-top: 0;
  color: #ccc; /* En mörkare grön, kan justeras */
}

#education p {
  color: #ccc;
  line-height: 1.5;
  font-size: 0.95rem;
}

nav {
  position: sticky;
  top: 0;
  background-color: #111;
  padding: 1rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 1000; /* så den ligger ovanför annat innehåll */
}
