/* Algemene stijlen */
body {
  font-style: italic;
  background-image: url("../images/depositphotos_505106924-stock-illustration-light-colorful-flat-background-triangles.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

h1 {
  color: rgb(254, 255, 255);
  text-align: center;
  text-shadow: 2px 2px #000000;
  margin-top: 20px;
}

header {
  background-color: rgb(250, 215, 244);
  width: 100%;
  padding: 20px;
}

nav {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap; /* Zorgt voor wrapping op kleine schermen */
}


.Navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  background-color: #b580b6;
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  margin: 5px;
  cursor: pointer;
  text-shadow: 2px 2px #000000;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #8f5098;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 90%; /* Responsief: 90% van de schermbreedte */
  max-width: 300px; /* Maximale breedte */
  overflow: hidden;
  margin: 20px auto; /* Gecentreerd op mobiele schermen */
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.card img {
  width: 100%; /* Afbeelding vult de kaart volledig */
  height: auto;
  object-fit: cover;
}

.card-content {
  padding: 15px;
  text-align: center;
}

.card-link {
  text-decoration: none;
  font-size: 1rem;
  color: #0066cc;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
  transition: color 0.2s;
}

.card-link:hover {
  color: #004099;
}

.aboutme-tekst {
    text-align: center; /* Gecentreerd voor mobiele apparaten */
    color: white;
}

.images {
    max-width: 90%; /* Responsieve afbeelding */
    height: 500px;
    margin: 10px auto;
    border-radius: 10px;
}

.blokje {
    width: 90%;
    background: #b580b6;
    height: 100px;
    margin: 10px auto;
    border-radius: 5px;
}

/* Responsieve stijlen voor iPhones en kleinere schermen */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px; /* Kleiner lettertype */
    }

    .button {
        width: 80%; /* Breder op kleinere schermen */
        font-size: 14px;
        padding: 10px;
    }

    .aboutMeStyle {
        width: 100%; /* Volledige breedte */
        padding: 15px;
    }

    .images {
        max-width: 100%; /* Past zich aan de schermbreedte aan */
    }

    nav {
        flex-direction: column; /* Navigatie in kolom */
    }
}


