/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #FFEFCF;
    color: #000;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background-color: #FFEFCF;
    text-align: center;
    padding: 10px 0;
}

.header .logo {
    width: 100%; /* Logoen fyller bredden til containeren */
    max-width: 732px; /* Sikrer at logoen ikke blir større enn originalstørrelsen */
    height: auto; /* Bevarer proporsjonene automatisk */
    display: block;
    margin: 0 auto; /* Sentraliserer logoen */
}
.header h1 {
    font-size: 1.5rem;
    color: #000000;
    margin-top: 10px;
    margin-bottom: 10px;
}
h3 {
    font-size: 1.0rem;
    font-weight: normal; /* Ikke like fet */
    color: #000000 /* Farge */
    margin-bottom: 10px;
}
/* Generelle regler for avsnitt */
p {
    margin-bottom: 12px; /* Endre til ønsket margin */
    line-height: 1.2;
}

.content-wrapper {
        overflow: hidden; /* Sørger for at innholdet ikke overlapper */
    }

    .image-left {
        float: left; /* Plasser bildet til venstre */
        margin: 0 15px 10px 0; /* Avstand rundt bildet */
        max-width: auto; /* Sett en maks bredde på bildet */
        height: auto; /* Behold proporsjonene */
    }

    .content-wrapper p {
        margin: 0 0 10px; /* Marger mellom avsnitt */
    }

    .centered-image {
    display: block; /* Sikrer at bildet kan midtstilles */
    margin: 0 auto; /* Sentraliser bildet horisontalt */
    max-width: 100%; /* Valgfritt: Begrens bredden til 80% av containeren */
    border: 0px solid #ddd; /* Valgfritt: Legg til en ramme rundt bildet */
    border-radius: 5px; /* Valgfritt: Gi bildet avrundede hjørner */
}

/* Top Menu */
.top-menu {
    background-color: #F5DD94;
    border: 1px solid #000; /* Tynn sort ramme */
    padding: 10px 0;
}
.top-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.top-menu a {
    text-decoration: none;
    color: #330000;
    font-weight: bold;
}

/* Main Layout */
.main-layout {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.box img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Hvis nødvendig, spesifikke regler for .content-wrapper p */
.content-wrapper p {
    margin-bottom: 10px; /* Spesifikk margin for dette området */
}

/* Left Column */
.left-column, .right-column {
    flex: 1;
}
.box {
    background: #FFEFCF;
    border: 1px solid #000;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.box h2 {
    font-size: 1.2rem;
    background-color: #FFEFCF;
    color: #800000;
    margin-bottom: 10px;
}
.box ul {
    list-style: disc;
    margin-left: 20px;
}
.box ul li {
    margin-bottom: 5px;
}
.box a {
    text-decoration: none;
    color: #0000EE;
}

/* Main Column */
.main-column {
    flex: 2;
}
.highlight, .news {
    background: #FFEFCF;
    border: 1px solid #000;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}
.highlight h2, .news h2 {
    font-size: 1.5rem;
    color: #800000;
    margin-bottom: 10px;
}
.button {
    display: inline-block;
    margin-top: 10px;
    background: #800000;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
}

/* Footer */
.footer {
    background: #F5DD94;
    border: 1px solid #000;
    color: #800000;
    text-align: center;
    padding: 10px 0;
}

/* Layout for pages with a single sidebar */
.single-menu-layout {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.single-menu-layout .left-column {
    width: 25%; /* Sidemenyen tar opp 25% av bredden */
    padding: 15px;
    background-color: #F5DD94; /* Valgfritt: Skille sidemenyen visuelt */
    border: 1px solid #000; /* Tynn sort ramme */
    border-radius: 5px;
}

.single-menu-layout .content-area {
    width: 75%; /* Hovedinnhold tar opp resten */
    padding: 20px;
    background-color: #FFEFCF;
    border: 1px solid #000;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
    }

    .single-menu-layout {
        flex-direction: column;
    }

    .top-menu ul {
        flex-direction: column;
        gap: 10px;
    }

    .single-menu-layout .left-column,
    .single-menu-layout .content-area {
        width: 100%; /* Full bredde for mobil */
    }
}
