html {
  background-color: #ffffff;
  height: 100%;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header {
  background: white;
  padding: 15px 0;
  position: relative; 
}

.logo {
  height: 60px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
  width: 40px;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
  display: none;
  position: absolute;
  top: 70px;
  right: 15px;
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 5px;
  z-index: 1000;
  width: 0; /* <-- LEGG TIL DENNE */
}

.nav-menu.active {
  display: block;
  width: auto; /* <-- LEGG TIL DENNE */
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu ul li {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
}

.nav-menu ul li:last-child {
  border-bottom: none;
}

.nav-menu ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.nav-menu ul li a:hover {
  background: #f5f5f5;
}

.hero {
  text-align: left;
  padding: 4rem 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn {
  background: #4CAF50;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover {
  background: #45a049;
}

.login-container,
.register-container {
  width: 100%;
  max-width: 400px;
  margin: 4rem 0;
  padding: 0;
  background: transparent;
  border: none;
}

.login-container .btn,
.register-container .btn {
  display: inline-block;
  width: auto;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.dashboard {
  padding: 2rem 0;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  flex: 1;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: left;
}

.stat h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.stat p {
  font-size: 1.5rem;
  font-weight: 600;
  color: #4CAF50;
}

footer {
  text-align: left;
  padding: 1rem 0;
  background: white;
}
