/* styles.css */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

#home-link {
    position:fixed;
    top:110px;
    width:20vw; 
    height:auto; 
    z-index:42;
}
#home-link a img#logo {
    width: 19vw;
    height: auto;
    margin: 0px;
}
.hide-hidden-content, .volume-container, .volume-mute, .volume-slider, .audio-play-mute, .audio-play-pause, .audio-mute, .progress-bar-row, .year-label, .remove_filter, .tema-tag, .medarbeider-tag, .preset-btn  {
    cursor: pointer;
}
.tema-tag:hover, .medarbeider-tag:hover, .preset-btn:hover  {
    font-weight: bold;
}

div.year-label {
    position:relative; 
    left:-10px; 
    width:fit-content;
    height:fit-content;
    border-radius: .3em;
}

input[type="range"] {
    cursor: pointer;
    width: 100%;
    height: 8px;
    background: #ddd;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

input[type="range"]:hover {
    opacity: 1;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #333;
    cursor: pointer;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #333;
    cursor: pointer;
    border-radius: 50%;
}
h5 {
    font-size: 1.2rem;
    margin: 0;
    padding: 0.5em 0;
    font-weight: bold;
}
/* .header {
    background: #333;
    color: #fff;
    padding: 1em 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 1em;
}
.header h1 {
    margin: 0;
    font-size: 2rem;
    flex-grow: 1; /* H1 fyller all ledig plass * /
    text-align: center; /* Sentraliser teksten * /
    white-space: nowrap; /* Sørg for at teksten holder seg på én linje * /
    overflow: hidden; /* Skjul eventuell overflødig tekst * /
    text-overflow: ellipsis; /* Legg til "..." hvis teksten blir for lang * /
}
*/


div.w3-card img:not(.lydkilde, .thumbnail) {
    width: 100%;
    height: auto;
}
.right-content  {
    width: 100%;
    padding: 0.5em;
    border-radius: 5px;
    margin-top: 1em;
    font-size: large;
}

.main-content, contentContainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
    display: flex;
    flex-direction: column;
}

.header-row {
    text-align: center;
    margin-bottom: 1em;
}

.header-row h2 {
    font-size: 1.5rem;
    margin: 0;
}

.content-row {
    display: flex;
    gap: 1em;
}

.main-left {
    flex: 3;
    display: flex;
    gap: 1em;
}
.right {
    font-size: small;
}

.main-left .col-main {
    flex: 2;
}

.main-right {
    flex: 1;
}
h1, p, aside, ul, li, a, span, div, article{
    text-align: left;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
.bold {
    font-weight: bold;
}
.col {
    background: rgba(255, 255, 255, 1);
    padding: 1em;
    margin-bottom: 5em;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

article {
    margin-bottom: 1em;
}

article h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #555;
}

article p {
    margin: 0.5em 0 0;
    font-size: 1rem;
}

footer {
    text-align: center;
    padding: 1em 0;
    background: #333;
    color: #fff;
    margin-top: 2em;
}
/* img {
    max-width: 25%;
    height: auto;
} */