
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

h3 {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.container {
    max-width: 960px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

p {
    margin-bottom: 15px;
}

ul, ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

li {
    margin-bottom: 5px;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.content-table {
    overflow-x: auto;
}

.table-responsive {
    overflow-x: auto;
}

.table-responsive table {
    width: 100%;
    border-collapse: collapse;
}

.table-responsive th,
.table-responsive td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
    white-space: nowrap; / För att förhindra textbrytning i tabellen /
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.content-table th,
.content-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.content-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.content-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.faq {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.faq h2 {
    margin-top: 0;
    border-bottom: none;
    text-align: center;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.faq-item h3 {
    margin-top: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-item h3:hover {
    color: #007bff;
}

.faq-item p {
    margin-top: 10px;
    display: none;
}

.faq-item.active p {
    display: block;
}

/ Content Förteckning /
.content-förteckning {
    position: sticky;
    top: 20px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.content-förteckning h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.content-förteckning ul {
    list-style: none;
    padding: 0;
}

.content-förteckning li {
    margin-bottom: 8px;
}

.content-förteckning a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.content-förteckning a:hover {
    background-color: #ddd;
}

/ Responsiv design /
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.2em;
    }
}

/ Animationer och övergångar /
body {
    transition: background-color 0.3s ease;
}

/ Ladda skärm /
#laddningsskärm {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#laddningsskärm::before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: rotera 1s linear infinite;
}

@keyframes rotera {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
