/* Plus-knapp för lagmedlem */
.plus-btn {
    display: inline-block;
    background: #00bcd4;
    color: #fff;
    font-size: 1.3em;
    font-weight: 600;
    border: none;
    border-radius: 7px;
    padding: 0.5em 1.3em 0.5em 1.3em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    cursor: pointer;
    margin-bottom: 1em;
    margin-left: 0.1em;
    transition: background 0.15s, box-shadow 0.15s;
}
.plus-btn:hover {
    background: #0097a7;
    box-shadow: 0 4px 16px rgba(0,188,212,0.13);
}
/* Ticker-bar under huvudmeny */
.ticker-bar {
    width: 100%;
    background: #005fa3;
    color: #fff;
    font-size: 1em;
    height: 2.1em;
    overflow: hidden;
    border-bottom: 2px solid #43e97b;
    position: relative;
    z-index: 120;
    display: flex;
    align-items: center;
    min-height: 2em;
}
.ticker-inner {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}
.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker-scroll 36s linear infinite;
}
.ticker-bar a {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@media (max-width: 700px) {
    header {
        padding: 0.7em 0 0.5em 0;
        margin-bottom: 0.5em;
        border-bottom-left-radius: 20px 10px;
        border-bottom-right-radius: 20px 10px;
    }
    .header-content {
        flex-direction: column;
        gap: 0.7em;
    }
    nav ul {
        flex-direction: column;
        gap: 0.5em;
        font-size: 1em;
        align-items: center;
    }
    .logo {
        height: 48px;
        margin-bottom: 0.2em;
    }
    main {
        max-width: 98vw;
        margin: 1em auto 3em auto;
        padding: 1em 0.5em;
        border-radius: 10px;
    }
    .hero-bg {
        height: 120px !important;
        border-bottom-left-radius: 20px 10px;
        border-bottom-right-radius: 20px 10px;
    }
    .hero-bg.hero-small {
        height: 2.5em !important;
        max-height: 60px;
    }
    .hero-title {
        font-size: 1.2em;
        padding: 0.1em 0.5em;
    }
    figure img, img {
        max-width: 100vw !important;
        height: auto !important;
    }
    footer {
        font-size: 0.9em;
        padding: 0.06em 0;
    }
    h1, h2, h3, h4 {
        word-break: break-word;
        font-size: 1.1em;
    }
    ul {
        padding-left: 1.2em;
    }
}
/* Hero section med bakgrundsbild */
/* Sticky och krympbar hero */
.hero-bg {
    position: relative;
    top: 0;
    width: 100%;
    height: 320px;
    background: url('../bilder/karta.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    border-bottom-left-radius: 40px 20px;
    border-bottom-right-radius: 40px 20px;
    box-shadow: 0 4px 16px rgba(0,188,212,0.10);
    z-index: 100;
}

/* Låg hero för undersidor */
.hero-bg.hero-small {
    height: 6em;
    min-height: unset;
    max-height: 400px;
}

 .hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 95, 163, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.hero-title {
    color: #fff;
    font-size: 2.2em;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 1px 0 #43e97b;
    margin: 0;
    padding: 0.2em 1em;
    border-radius: 18px;
    background: rgba(0,188,212,0.18);
    box-shadow: 0 2px 12px rgba(67,233,123,0.10);
    z-index: 3;
}
.hero-bg.shrink .hero-title {
    font-size: 1.5em;
    padding: 0.1em 0.7em;
}
/* Script för att krympa hero vid scroll */
@media (max-width: 600px) {
    .hero-bg { height: 180px; }
    .hero-bg.shrink { height: 48px; }
    .hero-title { font-size: 1.5em; }
    .hero-bg.shrink .hero-title { font-size: 1em; }
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #e0f7fa 0%, #fffde4 100%);
    margin: 0;
    padding: 0;
    color: #1a355e;
    min-height: 100vh;
}
header {
    background: linear-gradient(90deg, #00bcd4 0%, #43e97b 100%);
    color: #fff;
    padding: 1.5em 0 1em 0;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,188,212,0.08);
    border-bottom-left-radius: 40px 20px;
    border-bottom-right-radius: 40px 20px;
    margin-bottom: 1em;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2em;
    flex-wrap: wrap;
}

.logo {
    height: 80px;
    width: auto;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(67,233,123,0.12);
    background: #fff;
    padding: 0.3em 0.7em;
    margin-bottom: 0.5em;
    transition: transform 0.2s;
}
.logo:hover {
    transform: scale(1.05) rotate(-2deg);
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2em;
    font-size: 1.15em;
    font-weight: 500;
    letter-spacing: 0.03em;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
nav a:hover {
    text-decoration: underline;
    color: #43e97b;
}
main {
    max-width: 700px;
    margin: 2em auto 4em auto;
    background: #fff;
    padding: 2em;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,188,212,0.10);
    animation: fadein 1.2s;
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
footer {
    text-align: center;
    padding: 0.0em 0;
    background: linear-gradient(90deg, #00bcd4 0%, #43e97b 100%);
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    font-size: 0.8em;
    letter-spacing: 0.04em;
}
form label {
    font-weight: bold;
}
form input, form select {
    margin-bottom: 1em;
    width: 100%;
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
}
form input[type="submit"] {
    background: linear-gradient(90deg, #00bcd4 0%, #43e97b 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(67,233,123,0.10);
    font-size: 1.1em;
    letter-spacing: 0.03em;
    border-radius: 8px;
    margin-top: 0.5em;
}
form input[type="submit"]:hover {
    background: #43e97b;
    color: #005fa3;
    transform: scale(1.04);
}