/* ====== RESET & GRUNNLEGGENDE ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 0 20px;
  }
  
  /* ====== HEADER & NAVIGASJON ====== */
  header {
    background-color: #2c3e50;
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-bottom: 20px;
  }
  
  header h1 {
    margin-bottom: 10px;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s ease;
  }
  
  nav a:hover {
    background-color: #34495e;
  }
  
  /* ====== SEKSJONER ====== */
  section {
    max-width: 1000px;
    margin: auto;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
  }
  
  section h2 {
    margin-bottom: 20px;
    color: #2c3e50;
  }
  
  /* ====== PROSJEKT-KORT ====== */
  .project-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fafafa;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  
  .project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .project-card h3 {
    margin-bottom: 8px;
    color: #2980b9;
  }
  
  .project-card a {
    display: inline-block;
    margin-top: 8px;
    text-decoration: none;
    background-color: #2980b9;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.3s ease;
  }
  
  .project-card a:hover {
    background-color: #1c5980;
  }
  
  /* ====== FERDIGHETER ====== */
  .skills-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background-color: #eaf4fc;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
  }
  
  .skills-list li {
    background-color: #3498db;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: default;
  }
  
  .skills-list li:hover {
    background-color: #2980b9;
    transform: scale(1.1);
  }
  
  .stars {
    color: gold;
    font-size: 1rem;
    user-select: none;
  }
  
  /* ====== KONTAKTSKJEMA ====== */
  form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  form label {
    font-weight: bold;
  }
  
  form input,
  form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    width: 100%;
  }
  
  form button {
    width: fit-content;
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  form button:hover {
    background-color: #1e8449;
  }
  
  /* ====== FOOTER ====== */
  footer {
    text-align: center;
    padding: 20px;
    background-color: #2c3e50;
    color: white;
    margin-top: 40px;
    border-top: 4px solid #2980b9;
  }
  
  /* ====== RESPONSIV DESIGN ====== */
  @media (max-width: 600px) {
    nav ul {
      flex-direction: column;
      gap: 10px;
    }
  
    section {
      padding: 15px;
    }
  
    .skills-list {
      justify-content: center;
    }
  }
  