body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #05405c;
  color: #f9f9f9;
}

header {
  background-color: #05405c;
  color: #f9f9f9;
  padding: 10px 40px 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #f9f9f9;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-container img {
  height: 100px;
}

header h1 {
  color: #f9f9f9;
  margin: 0;
  font-size: 1.8em;
  text-align: right;
}

main {
  padding: 40px;
}

.links {
  display: grid;
  gap: 25px;
  height: auto;
  margin-bottom: 25px;
}

@media (max-width: 1000px) {
  .links {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
}

@media (min-width: 1000px) {
  .links {
    grid-template-columns: repeat(4, minmax(200px, 1fr));
  }
}

@media (min-width: 1300px) {
  .links {
    grid-template-columns: repeat(5, minmax(200px, 1fr));
  }
}

.links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 35px;
  background: #f9f9f9;
  color: #05405C;
  text-decoration: none;
  font-size: 1.1em;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.links a img {
  height: 60px;
  margin-bottom: 10px;
}

.links a:hover {
  background: #032f44;
  color: #f9f9f9;
}

.links a span {
  text-align: center;
}

.asterix {
  font-size: 0.8em;
  color: #f9f9f9;
  margin-top: 10px;
  text-align: left;
}

.update-info {
  font-size: 0.5em;
  color: #f9f9f9;
  margin-top: 5px;
  text-align: left;
}

#live-clock-container {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#live-clock {
  font-size: 100px;
  color: #f9f9f9;
  font-family: 'Segoe UI', sans-serif;
  font-weight: 500;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  color: #05405c;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 300px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.modal-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
}

#continue-btn {
  background-color: #05405C;
  color: white;
}

#cancel-btn {
  background-color: #ccc;
  color: #05405c;
}

.hidden {
  display: none;
}

/* Styles für Countdown-Popup */
#countdown-modal .modal-content {
  background: #05405c;
  color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 350px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

#countdown-modal p {
  font-size: 1.4em;
  margin-bottom: 15px;
}

#countdown {
  font-size: 64px;
  font-weight: bold;
}