/* Grundläggande stil */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    background-color: #f9f9f9;
    color: #333;
}

/* Header med logotyp och navigering  */
header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background-color: #0a74da;
    color: white;
    padding: 20px;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}


nav ul {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 25px;
    transition: background-color 0.3s;
}

nav a:hover,
nav a.active {
    background-color: #005bb5;
}

/*  Formulär-sektion: modern stil */
.forms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
    background-color: #e9f2fb;
}

.forms form {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forms input[type="text"],
.forms input[type="password"],
.forms input[type="email"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s;
}


.forms button {
    padding: 10px;
    background-color: #0a74da;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.forms button:hover {
    background-color: #005bb5;
}

/*  Innehållssektioner  */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
}

.highlight img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.review-grid article {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.review-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

/*Forum-tabell  */
.forum-table table {
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    
}

.forum-table th,
.forum-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.forum-table tr:nth-child(even) {
    background-color: #f4f8fc;
}

/*  footer  */
footer {
    background-color: #0a74da;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
    margin-top: 40px;
}