/* Allmänt */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header och logotyp */
header {
    background: #005b4f; /* Mörkgrön */
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
    font-weight: bold;
    font-size: 1.8em;
}

.Logga {
    text-align: center;
    margin: 10px 0;
}

.Logga img {
    max-width: 150px;
    height: auto;
}

/* Navigationsmeny */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    background: #333;
    text-align: center;
}

nav ul li {
    display: inline-block;
    position: relative;
}

nav ul li a {
    display: block;
    color: #fff;
    padding: 1rem 1.5rem;
    text-decoration: none;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: #008060;
    border-radius: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 10;
    text-align: left;
}

.dropdown-content li {
    display: block;
}

.dropdown-content a {
    padding: 10px;
    display: block;
    color: #fff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Huvudinnehåll */
.content {
    padding: 30px;
    margin: 20px auto;
    max-width: 1200px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

h1, h2, h3 {
    color: #005b4f;
}

h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    text-align: center;
}

h2 {
    font-size: 1.8em;
    margin-top: 20px;
}

h3 {
    font-size: 1.4em;
    margin-top: 15px;
}

ul {
    padding-left: 20px;
}

/* Tabellstil */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #005b4f;
    color: #fff;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}
.button-link {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #005b4f; /* Mörkgrön */
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.button-link:hover {
    background-color: #007c64; /* Lite ljusare grön vid hover */
    transform: scale(1.05);
}


/* Responsiva stilar */
@media (max-width: 1200px) {
    .content {
        padding: 20px;
    }
    header {
        font-size: 1.6em;
        padding: 1rem 0;
    }
    h1 {
        font-size: 2em;
    }
    table th, table td {
        padding: 8px;
    }
}

@media (max-width: 768px) {
    nav ul {
        text-align: left;
        background: #222;
        padding: 10px;
    }
    nav ul li {
        display: block;
        text-align: left;
    }
    nav ul li a {
        padding: 1rem;
        display: block;
        width: 100%;
    }
    header {
        font-size: 1.4em;
        padding: 0.75rem 0;
    }
    .Logga img {
        max-width: 120px;
    }
    h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    header {
        font-size: 1.2em;
        padding: 0.5rem 0;
    }
    .Logga img {
        max-width: 100px;
    }
    h1 {
        font-size: 1.5em;
    }
    nav ul li a {
        padding: 0.75rem;
    }
    .content {
        padding: 10px;
    }
}
/* Stylar layouten */
.text-and-buttons {
    display: flex;
    align-items: center; /* Justerar vertikalt */
    justify-content: space-between; /* Skapar avstånd mellan text och knappar */
    max-width: 1200px;
    margin: 20px auto; /* Centrerar i mitten av sidan */
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Stylar texten */
.intro-text {
    flex: 1; /* Låter texten ta upp tillgängligt utrymme */
    font-size: 1.2rem;
    color: #333;
    margin-right: 20px; /* Skapar avstånd mellan text och knappar */
}

/* Stylar knappgruppen */
.button-group {
    display: flex;
    gap: 10px; /* Skapar mellanrum mellan knapparna */
}

/* Stylar knapparna */
.button-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #005b4f; /* Mörkgrön */
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.button-link:hover {
    background-color: #007c64; /* Ljusare grön vid hover */
    transform: scale(1.05);
}

/* Responsiva justeringar */
@media (max-width: 768px) {
    .text-and-buttons {
        flex-direction: column; /* Staplar text och knappar på mindre skärmar */
        text-align: center;
    }

    .intro-text {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .button-group {
        flex-direction: column; /* Knappar staplas på mindre skärmar */
        gap: 5px;
    }

    .button-link {
        width: 100%; /* Gör knapparna bredare på små skärmar */
    }
}
/* Grundläggande stil för innehållet */
.content {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Rubriker */
h1 {
    font-size: 2rem;
    text-align: center;
    color: #fff;
    margin: 0;
    padding: 20px;
    background: #005b4f;
}

h2 {
    color: #005b4f;
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 20px;
}

/* Lista för information */
.info-list {
    list-style: none;
    padding: 0;
}

.info-list li {
    font-size: 1.1rem;
    padding: 15px;
    background: #f9f9f9;
    margin-bottom: 10px;
    border-left: 5px solid #005b4f;
    line-height: 1.6;
}

.info-list li strong {
    color: #005b4f;
    font-weight: bold;
}
/* Stil för innehåll */
.content {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Anpassad stil för texten */
.content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

/* Anpassning för mindre skärmar */
@media (max-width: 768px) {
    .content {
        margin: 15px;
        padding: 15px;
    }

    .content p {
        font-size: 1em;
    }
}
/* Stil för innehåll */
.content {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Stil för huvudrubrik */
.content h1 {
    font-size: 2em;
    color: white; /* Mörkare grön för bättre synlighet */
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2); /* Lätt skugga för kontrast */
}


.content h2 {
    font-size: 1.5em;
    color: #005b4f;
    margin-top: 20px;
}

/* Stil för listor */
.content ul {
    list-style-type: none;
    padding: 0;
}

.content ul li {
    font-size: 1.1em;
    background: #e7f5e6;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
}

/* Anpassning för mindre skärmar */
@media (max-width: 768px) {
    .content {
        margin: 15px;
        padding: 15px;
    }

    .content h1 {
        font-size: 1.75em;
    }

    .content h2 {
        font-size: 1.3em;
    }

    .content ul li {
        font-size: 1em;
        padding: 8px;
    }
}
.text-and-images {
    display: flex;
    align-items: flex-start;
    gap: 20px; /* Mellanrum mellan text och bilder */
}

.text {
    flex: 1; /* Texten tar upp mer utrymme */
}

.images {
    display: flex;
    flex-direction: column; /* Bilderna placeras vertikalt */
    gap: 10px; /* Mellanrum mellan bilderna */
}

.images img {
    width: 100%; /* Anpassa bredden */
    max-width: 150px; /* Begränsa storleken på bilderna */
    height: auto; /* Bevara bildens proportioner */
}
.text-and-images {
    display: flex;
    align-items: center; /* Centrerar innehållet vertikalt */
    justify-content: space-between; /* Bilderna placeras på varsin sida av texten */
    gap: 20px; /* Mellanrum mellan elementen */
}

.image-left, .image-right {
    width: 150px; /* Anpassar bildstorleken */
    height: auto; /* Bevarar proportionerna */
}

.text {
    flex: 1; /* Texten tar upp det resterande utrymmet */
    text-align: center; /* Justerar texten centralt */
}
/* Standard layout för större skärmar */
.text-and-images {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.image-left, .image-right {
    width: 150px;
    height: auto;
}

.text {
    flex: 1;
    text-align: center;
}

/* Anpassning för mindre skärmar */
@media (max-width: 768px) {
    .text-and-images {
        flex-direction: column; /* Staplar elementen vertikalt */
        align-items: center;   /* Centrerar text och bilder */
    }

    .image-left, .image-right {
        width: 100%; /* Bilder tar full bredd */
        max-width: 300px; /* Begränsa bildbredd */
        margin: 10px 0; /* Lägger till lite mellanrum ovanför och under bilderna */
    }
}
