/* Algemene stijl */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
    background-color: #ad14c8c3;
    color: #333;
    display: flex;
  }
  
  main {
    margin-left: 220px;
    padding: 2rem;
    flex-grow: 1;
  }
  .logo {
    width: 100px;
    margin-bottom: 1rem;
    border-radius: 50%;
  }
  .stickman {
    max-width: 150px;
    margin-bottom: 1rem;
  }
  /* Section styling */
  section {
    width: 100%;
    margin: 10px 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  section h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  /* Verborgen checkbox */
  form input.hidden {
    display: none;
  }
  .skill {
    margin-bottom: 1rem;
  }
  
  .skill span {
    font-weight: bold;
  }
  
  .skill-bar {
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    height: 20px;
    margin-top: 0.3rem;
  }
  
  .skill-bar .fill {
    height: 100%;
    background: #00d1ff;
    transition: width 2s ease-out;
  }
  
  @keyframes fillBar {
    from { width: 0; }
    to { width: var(--width); }
  }
  .project {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .project-img {
    width: 120px;
    height: auto;
    border-radius: 6px;
  }
  
  /* Zijbalk */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background: #8e0fc0b6;
    color: #fff;
    padding: 1rem;
  }
  
  .sidebar h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .sidebar ul {
    list-style: none;
  }
  
  .sidebar ul li {
    margin: 1rem 0;
  }
  
  .sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .sidebar ul li a:hover {
    color: #00d1ff;
  }
  
  /* Secties */
  .section {
    padding: 3rem 2rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .section.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  h1, h2 {
    font-family: 'Audiowide', cursive;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .project {
    background: #e0e0e0;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 5px solid #00d1ff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
  }
  
  .project:hover {
    transform: scale(1.01);
  }
  
  .read-more {
    display: inline-block;
    margin-top: 0.5rem;
    background: #00d1ff;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
  }
  
  .read-more:hover {
    background: #008fc7;
  }
  
  /* Formulier */
  form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
  }
  
  form input,
  form textarea {
    margin-bottom: 1rem;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: vertical;
  }
  
  form button {
    background-color: #00d1ff;
    color: white;
    padding: 0.75rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  form button:hover {
    background-color: #008fc7;
  }
  
  /* Resultaat */
  #form-result {
    margin-top: 1rem;
    font-weight: bold;
    color: #008fc7;
  }
  /* Footer styling */
  footer {
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
  }
  
  footer a:hover {
    color: #98d9fc;
  }
  
  /* Smooth scroll voor de hele pagina */
  html {
    scroll-behavior: smooth;
  }
  #easteregg-trigger {
    cursor: pointer;
  }
  #easteregg-image {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.7);
    border-radius: 12px;
    z-index: 9999;
  }
  
  /* Responsiveness */
  @media screen and (max-width: 768px) {
    body {
      flex-direction: column;
    }
  
    .sidebar {
      width: 100%;
      height: auto;
      position: relative;
    }
  
    main {
      margin-left: 0;
      padding: 1rem;
    }
  }