.update-archive {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.update-item {
    width: 100%;
    max-width: 30%;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.update-header {
    height: 100px;
    background-size: cover;
    background-position: center;
}

.update-summary {
    padding: 10px;
}

.update-title {
    font-weight: bold;
    margin: 0;
}

.update-date {
    color: white;
}

.popup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-content {
    background: black;
    border-radius: 5px;
    width: 80%;
    max-width: 600px;
    padding: 20px;
    position: relative;
}

.popup-header {
    height: 150px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #ccc;
}

.popup-body {
    padding: 10px;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

.archive-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: red;
    text-decoration: none;
}

.archive-link:hover {
    text-decoration: underline;
}


.open-popup {
    background-color: #007bff; 
    color: #fff; 
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    text-decoration: none;
}

.open-popup:hover {
    background-color: #0056b3; 
    transform: translateY(-2px); 
}

.open-popup:active {
    background-color: #004494; 
    transform: translateY(0); 
}

.open-popup:focus {
    outline: none; 
    box-shadow: 0 0 0 3px rgba(38, 143, 255, 0.5); 
}

@media screen and (min-width: 1200px) {
  body {
    font-size: 18px;
  }
}

/* Für Tablets (bis 1200px) */
@media screen and (max-width: 1200px) {
  body {
    font-size: 16px;
  }

  .your-container {
    width: 90%; /* Container in der Breite anpassen */
  }
}

/* Für Mobilgeräte (bis 768px) */
@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .your-container {
    width: 100%; /* Container füllt den Bildschirm aus */
  }

  /* Navigation anpassen */
  .navbar {
    flex-direction: column; /* Navigation untereinander statt nebeneinander */
  }

  /* Bilder verkleinern */
  img {
    width: 100%; /* Bilder in die Breite des Bildschirms ziehen */
    height: auto;
  }
}