/* Basis instellingen */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: hsl(0, 0%, 100%);
}


header {
    background: #1418ec;
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex; 
    margin: 0;
}

nav li {
    margin-left: 20px;
}

nav a {
    color: hsl(0, 100%, 100%);
    text-decoration: none;
}


main {
    padding: 20px;
    max-width: 800px;
    margin: auto; 
    background: rgb(255, 255, 255);
}

footer {
    text-align: center;
    padding: 10px;
    background: hsl(286, 74%, 43%);
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: black;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card h3 {
  margin: 10px;
}

.card p {
  margin: 0 10px 15px;
  color: #555;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}