:root {
    --primary-color: #08384f; /* Primær farve */
    --secondary-color: #df4e29; /* Sekundær farve */
    --background-color: #f7f9fc; /* Baggrundsfarve */
    --text-color: #000000; /* Standard tekstfarve */
    --header-background-color: #08384f; /* Baggrundsfarve til header */
    --header-text-color: #ffffff; /* Tekstfarve til header */
}

/* Global styling */
body {
    font-family: "Exo 2", sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: var(--background-color);
    color: var(--text-color);
}

p {
    margin: 3px;
}

/* Container styling */
.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

#header-name {
    position: relative;
    top: -18px; /* Flyt teksten op ved at justere denne værdi */
}

/* Venstre kolonne styling */
.left-column {
    flex: 1;
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: sticky; /* Sticky header */
    top: 20px; /* Afstand fra toppen når sticky */
    z-index: 100; /* Sørg for, at den overlapper andre elementer */
    height: 109vh; /* Sørg for at venstre kolonne har højde nok */
}

/* Gør venstre kolonne header sticky */
.left-column header {
    background-color: var(--header-background-color);
    color: var(--header-text-color);
    padding: 15px;
    border-radius: 10px; /* Lettere afrundede hjørner */
    text-align: center;
    margin-bottom: 20px;
    z-index: 100; /* Sikrer, at header forbliver over andre elementer */
}

.left-column header p {
    position: relative;
    top: -30px; /* Flyt teksten op ved at justere denne værdi */
}

#dynamic-header {
    background-color: var(--header-background-color);
    color: var(--header-text-color);
    padding: 20px;
    border-radius: 10px; /* Lettere afrundede hjørner */
    text-align: center;
    margin-bottom: 20px;
    z-index: 100;
}

#dynamic-header img {
    border-radius: 50%;
    width: 150px;
    height: 200px;
    border: 3px solid var(--secondary-color);
    margin-bottom: 0px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.736);
    transition: all 0.3s ease; /* Glidende overgang */
}

header img {
    border-radius: 50%;
    width: 150px;
    height: 200px;
    border: 3px solid var(--secondary-color);
    margin-bottom: 0px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.736);
}

.left-column section {
    margin-bottom: 20px;
    transition: transform 0.3s ease-out;
}

.left-column h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    color: var(--primary-color);
    text-align: center;
}

/* Højre kolonne styling */
.right-column {
    flex: 2;
}

#toggle-all {
    background-color: var(--primary-color);
    color: var(--header-text-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.8s ease, color 0.8s ease;
    text-align: center;
    margin-bottom: 20px;
}

#toggle-all:hover {
    background-color: var(--secondary-color);
    color: var(--header-text-color);
  	transition: background-color 0.8s ease, color 0.8s ease;
}

/* Skjulte sektioner */
.content {
    display: none;
}

/* Synlige sektioner */
.content.visible {
    display: block;
}

/* Header hover-effekt */
.right-column h2:hover, 
.right-column h3:hover {
    background-color: var(--primary-color);
    color: var(--header-text-color);

    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-bottom: 2px solid var(--secondary-color);
}

.right-column section {
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
}

.right-column p {
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: left;
}

.right-column h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
    color: var(--primary-color);
}

.Highligted_Orange  {
    padding-bottom: 5px;
    color: var(--secondary-color);
}

/* Ny styling for h3 elementer */
.right-column h3 {
    color: var(--primary-color);
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 5px;
}

/* Timeline styling */
.timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px;
}

.timeline .circle {
    display: inline-block;
    width: 90px;
    height: 90px;
    background-color: var(--primary-color);
    color: var(--header-text-color);
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 0.8em;
    margin: 0 0px;
}

.timeline .line {
    flex: 0.2;
    height: 2px;
    margin: 10px;
    background-color: var(--secondary-color);
}

/* Footer styling */
footer {
    text-align: center;
    margin-top: 20px;
    color: var(--primary-color);
}

/* Link styling */
a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
