header {
    background-color: #ffffff;
    color: #1a2b47;

    padding: 14px 20px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    flex-shrink: 0;
    height: 34px;
    width: auto;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2b47;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid #e2e2e2;
}

header nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

header nav a {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

header nav a.active {
    color: #1a2b47;
}

header nav a:hover,
header nav a:focus {
    color: #1a2b47;
    border-bottom-color: #2fb3a3;
}

.search-btn {
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.search-btn:hover {
    color: #2fb3a3;
}

.page-title {
    color: #243447;
    margin-top: 0;
    margin-bottom: 20px;
}

/*Hovedinnhold for nettsiden*/
.container {
    width: 90%;
    max-width: 9000px;
    margin: auto;
}

main {
    padding: 40px 0;
}
/*Bruk denne når nytt informasjon skal bli lagt til*/
/*Fungerer som en informasjons boks*/

.infobox {
    background-color: white;

    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.infobox h2 {
    margin-top: 0;
    color: #243447;
    border-bottom: 2px solid #999999;
    padding-bottom: 10px;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 40px;
}

.team-paragraph {
    flex: 1;
}

.team-profile {
    flex-shrink: 0;
}

.team-profile img {
    width: 220px;
    height: 220px;

    object-fit: cover;

    border-radius: 8px;
}


.praksisfilm {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.praksisfilm iframe {
    display: block;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16 / 9;

    border: none;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.about-ewaves {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.about-ewaves-text {
    flex: 1;
}

.about-ewaves-text p {
    margin: 0;
    line-height: 1.7;
}

.about-ewaves-image {
    width: 45%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Bildegalleri */

.image-gallery {
    margin: 50px 0;
}

.image-gallery h2 {
    color: #243447;
    text-align: center;
    margin-bottom: 25px;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.carousel-slides {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    overflow: hidden;

    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.active {
    display: block;
}

/* Pilknapper */

.carousel-button {
    flex-shrink: 0;

    width: 55px;
    height: 55px;

    background-color: white;
    color: #008da3;
    border: 3px solid #008da3;
    border-radius: 50%;

    font-size: 1.7rem;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.carousel-button:hover,
.carousel-button:focus {
    background-color: #008da3;
    color: white;
}

/* Navigasjonsprikker */

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 13px;
    height: 13px;
    padding: 0;

    background-color: #cbd5d8;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: #008da3;
}

/* Mobiltilpasning */

@media (max-width: 700px) {
    .carousel {
        gap: 10px;
    }

    .carousel-button {
        width: 40px;
        height: 40px;
        border-width: 2px;
        font-size: 1.25rem;
    }

    .carousel-slides {
        aspect-ratio: 4 / 3;
    }
}