* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background-color: #fdf4e9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 12px;
}

.logo {
  font-size: 22px;
  color: #111;
  font-weight: bold;
}

.navbar-list {
  display: flex;
  gap: 25px;
  list-style: none;
  flex-wrap: wrap;
}

.navelements a {
  text-decoration: none; /* fjernet understrek */
  color: #111;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navelements a:hover {
  background-color: rgba(212,29,29,0.15);
}

/* Container */
.container {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px;
  text-align: center;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.container h1 {
  margin-bottom: 15px;
  font-size: 2rem;
}

.container p {
  line-height: 1.8;
  color: #333;
}

/* Table */
table {
  width: 80%;
  margin: 40px auto;
  border-collapse: collapse;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: center;
}

th {
  background-color: #333;
  color: #fff;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:hover {
  background-color: #ddd;
  transition: all 0.3s ease;
}

/* Footer */
footer {
  width: 100%;
  padding: 30px;
  justify-content: center;
  font-size: 18px;
  color: black;
  background-color: #fdf4e9;
  display: flex;
  position: sticky;
  bottom: 0;
  margin-top: auto;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
  border-radius: 12px 12px 0 0;
}

/* Responsiv */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar-list {
    flex-direction: column;
    gap: 12px;
  }

  .container {
    width: 90%;
    margin: 30px auto;
    padding: 25px;
  }

  table {
    width: 95%;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 18px;
  }

  .navelements a {
    font-size: 14px;
  }

  .container h1 {
    font-size: 1.6rem;
  }

  .container p {
    font-size: 14px;
  }

  footer {
    font-size: 16px;
    padding: 25px 10px;
  }
}
