body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #d0e7ff, #f4f9ff);
  color: #1a1a1a;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #0044cc;
  height: 6rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.logo-link {
  display: flex;
  align-items: center;
}

header .imageContainer {
  height: 3.5rem;
  border-radius: 8px;
  background-color: white;
  padding: 0.2rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  margin-right: 1rem;
}

header .naam {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  flex-grow: 1;
}

header .linkcontainer {
  display: flex;
  align-items: center;
}

.menu-button {
  font-weight: bold;
  border: none;
  background-color: #ffffff;
  color: #0044cc;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 68, 204, 0.3);
}

.menu-button:hover {
  background-color: #e6e6e6;
  color: #002a80;
  box-shadow: 0 0 10px rgba(0, 68, 204, 0.6);
}

/* Project Titel */
.projects {
  margin-top: 8rem;
  padding-left: 2rem;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: underline;
  color: #002266;
}

/* Blok rijen */
.blok-rij {
  text-align: center;
  margin-top: 2rem;
}

/* Stijl blokken */
.python, .pc, .js, .jquery {
  display: inline-block;
  width: 250px;
  margin: 0 1rem;
  border: 2px solid #3399ff;
  background: linear-gradient(145deg, #e0f0ff, #cce7ff);
  color: #004c99;
  text-align: center;
  border-radius: 1rem;
  padding: 2rem 1rem;
  vertical-align: top;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(51, 153, 255, 0.25);
}

.python:hover, .pc:hover, .js:hover, .jquery:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.45);
}

/* Modal achtergrond */
.modal {
  display: none; /* Zet op 'flex' of 'block' via JS om te tonen */
  position: fixed;
  z-index: 1050;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

/* Modal inhoud exact gecentreerd */
.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 20px;

  width: 95%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Tekststijlen */
.modal-content h4,
.modal-content h5 {
  font-size: 1.6rem;
  margin-top: 20px;
  color: #0056b3;
}

.modal-content li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  list-style-type: none;
}

.modal-content a {
  font-weight: bold;
  text-decoration: none;
  color: #007bff;
}

.modal-content a:hover {
  text-decoration: underline;
}

.modal-content span {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  color: #444;
}

/* Sluitknop */
.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}

.close:hover {
  color: #000;
}
