/* General page styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 20px;
}

/* Main container */
.container {
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: scroll;
    padding-right: 1em;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.container {
  max-width: 90vw;
}

/* Headings */
h1, h2, h3 {
    color: #004085;
}

h1 {
    text-align: center;
    border-bottom: 2px solid #004085;
    padding-bottom: 10px;
}

h2 {
    margin-top: 30px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

/* Paragraph and list styles */
p {
    font-size: 16px;
    margin-bottom: 15px;
}

ul {
    margin: 10px 0;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    font-size: 14px;
    margin-top: 30px;
    color: #666;
}
h2 g {
  letter-spacing: 0.9em;
  white-space: nowrap;
}
g {
  letter-spacing: 0.3em;
}


.columns4 {
  column-gap: 2em;
  column-width: 15em;
  text-align: justify;
}
.page-break {
  page-break-before: always;
  break-before: page;
}

.page {
  padding: 2em;
  /* valfritt: simulera en sida */
  width: 80vw;
  height: 80vh;
  box-sizing: border-box;
  page-break-inside: avoid;
  page-break-before: always;
}

.label {
  display: inline-block;
  background-color: #eeeeee;
  color: #333333;
  font-size: 0.85em;
  padding: 2px 6px;
  margin-left: 6px;
  border-radius: 4px;
  text-transform: lowercase;
}
figure {
  float: right;
  width: 220px;
  text-align: center;
  max-width: 220px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figcaption {
  display: block;
  margin-top: 0.5em;
  font-size: 0.9em;
  color: #555;
}
