html, body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
   background-image: url(images/truck-3.png);
   background-repeat: no-repeat;
    min-height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: rgb(235, 226, 226);
    background-blend-mode: multiply;
    height: 100%; 
    margin: 0;
    padding: 0;
    display: flex; 
    flex-direction: column; 
  }
  
  

  .container {
    max-width: 1200px;
    margin: auto;
    padding: 100px;
    flex-grow: 1;
  }

  .news-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }

  .news-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

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

  .news-card a {
    text-decoration: none;
    color: inherit;
  }

  .news-card img {
    width: 100%;
    height: auto;
  }

  .news-card-content {
    padding: 15px;
  }

  .news-card-date {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
  }

  .news-card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 10px;
  }

  .news-card-text {
    font-size: 1rem;
    color: #333;
  }

  .read-more-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: white;
    background-color: green;
    border: none;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    margin-top: auto;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .read-more-button:hover {
    background-color: black;
    transform: translateY(-2px);
    color: white;
  }
  
  .read-more-button:active {
    background-color: #003f8a;
    transform: translateY(0);
  }
.navbar{
    background-color: transparent;
    box-shadow: 0 3px 10px rgba(0,0, 0, 0.15);
    width: 100%;
    z-index: 5;
    border-radius: var(--border-radius-m);
}
.navbar .dropdown{
 background-color: white;
  box-shadow: 0 3px 10px rgba(0,0, 0, 0.15);
  width: 100%;
  z-index: 5;
  border-radius: var(--border-radius-m);
  }
  /* Footer section styling */
.footer-section {
margin-top: auto;
position: relative;  
  width: 100%; 
  clear: both;
 }
 .footer-section i {
  transform: none !important; 
}

/* Mobiele apparaten */
@media screen and (max-width: 768px) {
  .container {
      padding: 20px;
  }

  .news-section {
      grid-template-columns: 1fr; /* Eén kolom voor kleinere schermen */
  }

  .read-more-button {
      font-size: 0.8rem;
      padding: 8px 15px;
  }

  .container{
    background-image: url(images/truck-3.png);
  }
}

/* Zeer kleine schermen (zoals telefoons in portretmodus) */
@media screen and (max-width: 480px) {
  .container {
      padding: 15px;
  }

  .news-card-content {
      padding: 10px; /* Verminderen van padding op kleine schermen */
  }

  .news-card-title {
      font-size: 1rem; /* Kleinere tekst voor titels */
  }

  .news-card-text {
      font-size: 0.9rem; /* Kleinere tekst voor de beschrijving */
  }
}
 
