* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;

    background: linear-gradient(
        180deg,
        #00133d 0%,
        #001a54 40%,
        #000f33 100%
    );

    color: white;

    line-height: 1.7;
}

/* NAVIGATION */

nav {
    background: #ffffff;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 10px 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 50px;
    width: auto;

    display: block;
}

.menu a {
    text-decoration: none;
    color: #111111;
    margin-left: 35px;
    font-weight: 600;
    font-size: 1.1rem;
}

/* HERO */

.hero {
    position: relative;

    min-height: 80vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    background-image:
        linear-gradient(
            rgba(0,0,0,0.25),
            rgba(8,32,80,0.9)
        ),
        url("images/Bakgrunn.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 80px 20px;

    overflow: hidden;
}
#particles {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 1;

    pointer-events: none;
}

.hero-content {
    position: relative;

    z-index: 2;

    background: rgba(0, 0, 0, 0.25);

    padding: 40px;

    border-radius: 25px;

    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 3.4rem;
    color: #f0b400;
    margin-bottom: 20px;

    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.hero p {
    max-width: 800px;
    margin: auto;
}

/* BUTTONS */

.hero-buttons {
    margin-top: 35px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;

    padding: 14px 24px;

    text-decoration: none;

    border-radius: 8px;

    margin: 10px;

    font-weight: bold;
}

.btn-primary {
    background: #f0b400;
    color: black;
}

.btn-secondary {
    background: #c8002f;
    color: white;
}

/* CARDS */

.cards {

    max-width: 1200px;

    margin: auto;

    padding: 40px 20px;

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 25px;
}

.card {

    width: 260px;

    background: rgba(17, 37, 82, 0.85);

    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 255, 255, 0.08);

    padding: 30px;

    border-radius: 20px;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);

    color: white;
}

.card h2 {
    color: #f0b400;
    margin-bottom: 15px;
}

/* CONTENT */

.content {
    max-width: 1000px;

    margin: 30px auto;

    padding: 35px;

    background: rgba(17, 37, 82, 0.85);

    backdrop-filter: blur(12px);

    border-radius: 20px;

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow: 0 8px 32px rgba(0,0,0,0.25);

    color: white;
}

.content h2 {
    color: #f0b400;
    margin-bottom: 15px;
}

.content p {
    margin-bottom: 15px;
}

.content ul {
    padding-left: 20px;
}

/* FOOTER */

footer {
    text-align: center;

    color: rgba(255,255,255,0.5);

    font-size: 0.8rem;

    padding: 30px 20px;

    border-top: 1px solid rgba(255,255,255,0.08);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    margin-left: 25px;
}

.language-switch a {
    margin-left: 0;
}

.separator {
    color: #f0b400;
}


@media (max-width: 768px) {

    .hero h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .nav-container {
        flex-direction: column;
        text-align: center;
    }

    .menu {
        margin-top: 15px;
    }

    .menu a {
        display: inline-block;
        margin: 8px;
    }

    .hero-buttons a {
        display: block;
        margin: 5px auto;
        width: 150px;
    }

}
.particle {

    position: absolute;

    color: #f0b400;

    font-size: 12px;

    text-shadow:
        0 0 8px #f0b400,
        0 0 16px #f0b400;

    opacity: 0.4;

    animation: floatParticle linear infinite;
}
@keyframes floatParticle {

    0% {
        transform:
            translateY(0px)
            scale(1);

        opacity: 0.2;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform:
            translateY(-50px)
            scale(1.3);

        opacity: 0.1;
    }
}
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.card-link:hover .card {

    transform: translateY(-8px);

    border-color: #f0b400;

    box-shadow:
        0 12px 40px rgba(240,180,0,0.20);

    transition: all 0.3s ease;
}
.read-more {

    color: #f0b400;

    font-weight: bold;

    margin-top: 20px;

    letter-spacing: 0.5px;
}
.content-center {
    text-align: center;
}
.resources-hero {

    min-height: 30vh;

    padding: 40px 20px;

    background-image: none;

    background:
        linear-gradient(
            180deg,
            #00133d 0%,
            #001a54 40%,
            #000f33 100%
        );
}

.resources-hero .hero-content {

    padding: 20px 35px;
}

.resources-hero h1 {

    font-size: 2.5rem;
}
.resources-intro {

    max-width: 800px;

    padding: 25px;

    margin: 20px auto;
}
.content-center h2,
.content-center p {
    text-align: center;
}
form {

    display: flex;

    flex-direction: column;

    gap: 15px;
}
input,
textarea {

    width: 100%;

    padding: 15px;

    border-radius: 10px;

    border: 1px solid rgba(255,255,255,0.1);

    background: rgba(255,255,255,0.05);

    color: white;

    font-size: 1rem;
}
input::placeholder,
textarea::placeholder {

    color: rgba(255,255,255,0.6);
}
textarea {

    resize: vertical;
}
form .btn-primary {

    width: fit-content;

    border: none;

    cursor: pointer;
}
form {

    display: flex !important;

    flex-direction: column !important;

    width: 100%;
}

form input,
form textarea {

    width: 100% !important;
}

form button {

    width: 100%;
}
blockquote {

    margin: 25px 0 25px 25px;

    padding-left: 20px;

    border-left: 3px solid #f0b400;

    font-size: 1.0rem;

    font-style: italic;

    line-height: 1.8;

    color: white;
}
.cards .card {
    height: 100%;
}