
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif, serif;
}

body {
  background-color: #f0f0f0;
}

h1, h2, h3, .prettyfont{
  font-family: "Ribeye Marrow", serif;
  font-weight: 400;
  font-style: normal;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
}

.logo-circle {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #e6f7ff 0%, #b3e0ff 100%);
  border-radius: 50%;
  margin-right: 10px;
}

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

nav li {
  margin-left: 2rem;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.search-container {
  display: flex;
  align-items: center;
}

.search-input {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-right: 0.5rem;
}

.search-button {
  background: none;
  border: none;
  cursor: pointer;
}

.hero, footer {
  background: linear-gradient(45deg, #3c78d8, #2ecc71, #a857ff, #2ae2ca);
  background-size: 300% 300%;
  animation: gradient-animation 15s ease infinite;
  padding: 80px 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 3rem 2rem;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><polygon points="0,0 50,25 100,0" fill="rgba(255,255,255,0.1)"/><polygon points="0,25 50,50 100,25" fill="rgba(255,255,255,0.15)"/><polygon points="0,50 50,75 100,50" fill="rgba(255,255,255,0.1)"/><polygon points="0,75 50,100 100,75" fill="rgba(255,255,255,0.15)"/></svg>');
  background-size: 100px 100px;
  opacity: 0.4;
  z-index: 0;
}

.hero-content {
  z-index: 1;
  width: 50%;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.hero-image {
  z-index: 1;
  width: 40%;
  max-width: 300px;
  height: 40%;
  max-height: 300px;
  background: rgba(255, 255, 255, 0);
}

/* Quiz cards section */
.quizzes-section {
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.quiz-card {
  background: linear-gradient(135deg, #3c78d8 0%, #2ecc71 100%);
  border-radius: 8px;
  overflow: hidden;
  width: calc(50% - 0.75rem);
  padding: 1.5rem;
  color: white;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  position: relative;
}

.quiz-card::before, footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><polygon points="0,0 50,25 100,0" fill="rgba(255,255,255,0.1)"/><polygon points="0,25 50,50 100,25" fill="rgba(255,255,255,0.15)"/><polygon points="0,50 50,75 100,50" fill="rgba(255,255,255,0.1)"/><polygon points="0,75 50,100 100,75" fill="rgba(255,255,255,0.15)"/></svg>');
  background-size: 100px 100px;
  opacity: 0.4;
  z-index: 0;
}

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

.quiz-card-img {
  width: 80px;
  height: 80px;
  background-color: rgba(255,255,255,0.2);
  border-radius: 5px;
  margin-right: 1rem;
  z-index: 1;
}

.quiz-card-content {
  flex: 1;
  z-index: 1;
}

.quiz-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.quiz-card p {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.difficulty-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: rgba(255,255,255,0.2);
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.author {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  text-align: right;
}

/* Quiz-specific styles */
.autisme {
  background: linear-gradient(135deg, #7b4397 0%, #35aee8 100%);
}

.depressie {
  background: linear-gradient(135deg, #5d38a7 0%, #3581e8 100%);
}

.dyscalculie {
  background: linear-gradient(135deg, #654ea3 0%, #38a7a2 100%);
}

.hoogbegaafdheid {
  background: linear-gradient(135deg, #3a47d5 0%, #00d2ff 100%);
}

@keyframes gradient-animation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

footer p {
  position: relative;
  margin-top: 3rem;
  z-index: 1;
}

/* Responsive styles */
@media (max-width: 768px) {
  .hero {
      flex-direction: column;
      text-align: center;
  }
  
  .hero-content, .hero-image {
      width: 100%;
      margin-bottom: 1.5rem;
  }
  
  .quizzes-section {
      flex-direction: column;
  }
  
  .quiz-card {
      width: 100%;
  }
  
  nav ul {
      display: none;
  }
}
li a {
  cursor: pointer; 
}
