body {
  background-color: rgb(0, 0, 0);
  color: #ffffff;
  font-family: Verdana;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
  
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url(/resurser/bilder/news.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: center; 
  background-repeat: no-repeat;
}

.content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

a {
  color: rgb(255,160,0);
  font-weight: bold;
}

button {
  width: 80;
  height: 30;
  padding: 5px;
  background: #fff;
  border: 1px solid #000;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  vertical-align: top;
  transition: 0.2s;
  
  /* Texten anpassar sig efter knappens storlek */
  font-family: Verdana, sans-serif;
  font-weight: bold;
  font-size: 14px; /* Prova att ändra denna mellan 12-16px */
  line-height: 1.1;
}

.progress-container {
  width: 100%;
  max-width: 1000px;
  margin: 20px 0;
  font-family: Arial, sans-serif;
  color: #fff;
}

.progress-label {
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 14px;
}

.progress-bar-bg {
  width: 100%;
  background-color: #333; /* Mörkgrå bakgrund */
  border-radius: 4px;
  height: 25px;
  overflow: hidden;
  border: 1px solid #444;
}

.progress-bar-fill {
  height: 100%;
  background-color: rgb(255,160,0); /* Röd färg som matchar din meny */
  transition: width 0.5s ease-in-out;
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: #aaa;
}

html, body {
    margin: 0;
    padding: 0;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Gör att sidan alltid är minst lika hög som skärmen */
}

main {
  flex: 1; /* Säger åt innehållet att växa och fylla ut tomrummet */
}

a:hover {
    color: rgb(255,255,0);
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrapper {
    flex: 1;
}

body > :not(header):not(footer) {
    max-width: 1000px; /* Ändra till önskad bredd */
    margin-left: auto;
    margin-right: auto;
    width: 90%;        /* Ger lite marginal på mindre skärmar */
}

header, .header-class {
    position: fixed;
    z-index: 1000; /* Gör att den ligger ovanpå allt annat */
}

/* 2. Skapa plats för innehållet under headern */
body {
    padding-top: 70px; /* Måste vara exakt samma som headerns höjd */
}

html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* 2. Fixa headern så den inte skapar egen scroll */
header, .header-class {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    z-index: 1000;
}

/* 2. Knuffa ner allt innehåll så det börjar EFTER headern */
body > :not(header):not(footer):not(.simple-footer) {
    margin-top: 50px !important; /* Måste vara STÖRRE än headerns höjd */
}