* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}


body {
    background-color: #f4f4f4;
    line-height: 1.6;
}

/*///////////////////////NAVBAR STUFF/////////////////////////////*/

.navbar {
    background-color: #0077cc;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* space between logo and buttons */
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logoImage {
    width: 200px;
    margin-top: -4px;
    margin-bottom: -14px;
}

/*Logo image phone adapted*/
@media only screen and (max-width: 600px) {
    .logoImage {
        width: 150px;
        margin-top: -10px;
        margin-bottom: -10px;
    }
}

.logo-link, .logo-link:hover, .logo-link:active, .logo-link:visited, .logo-link:link, .logo-link:target, .logo-link:focus {
    text-decoration: none;
    color: white;
}



/* HAMBURGER BUTTON */
.hamburger {
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    line-height: 5px;
}

/* OVERLAY (click outside to close) */
#sideMenuOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 999;
}

/* SIDE MENU */
#sideMenu {
    position: fixed;
    top: 0;
    right: -60%;
    width: 60%;
    height: 100%;
    background-color: #ffffff;
    box-shadow: -3px 0 10px rgba(0,0,0,0.3);
    padding: 20px;
    transition: right .3s ease;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* CLOSE BUTTON */
.close-btn {
    color: #0077cc;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    float: right;
    width: 0;
}

.close-btn:hover {
    color: #004e86;
}


.side-menu-links {
    margin-top: 50px;
}


.inactivePage {
    color: #0077cc;
    display: block;
    font-size: 20px;
    font-weight: bold;
    padding: 5px 0 5px 15px;
    margin: 0 0 10px 10px;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
}

.inactivePage:hover {
    color: #004e86;
    transform: scale(1.1);
    transform: translateX(10px);
}



.activePage {
    color: #0077cc;
    filter: brightness(0.7);
    border-radius: 5px;
    display: block;
    font-size: 20px;
    font-weight: bold;
    padding: 5px 0 5px 15px;
    margin: 0 0 10px 10px;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
}



.side-menu-footer {
    margin-top: auto;
}

/* FOOTER LINKS AT BOTTOM */
.side-menu-footer a {
    display: block;
    font-size: 14px;
    padding: 5px 0;
    color: #666;
    text-decoration: none;
}

.side-menu-footer a:hover {
    color: #333;
}

/* WHEN MENU IS ACTIVE */
#sideMenu.active {
    right: 0;
}

#sideMenuOverlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hide menu instantly before JS runs */
#sideMenu,
#sideMenuOverlay {
    transition: right 0.3s ease, opacity 0.3s ease;
}

body.menu-preload #sideMenu {
    right: -50% !important; /* hide instantly */
    transition: none !important; /* disable animation */
}

body.menu-preload #sideMenuOverlay {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: none !important;
}

/* Desktop: Fixed-width menu */
@media (min-width: 700px) {
    #sideMenu {
        width: 350px;   /* pick any width you prefer */
        right: -350px;  /* hide completely off-screen */
    }

    #sideMenu.active {
        right: 0;
    }
}


/*///////////////////////NAVBAR STUFF END/////////////////////////////*/


/* ================================
   Sekretesspolicy – Modern Layout
   ================================ */

.policy-container {
    max-width: 850px;
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    font-family: "Inter", "Roboto", Arial, sans-serif;
    color: #222;
    line-height: 1.75;
}

.policy-container h1,
.policy-container h2,
.policy-container h3 {
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #111;
}

.policy-container h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.policy-container h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 12px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.policy-container h3 {
    font-size: 1.2rem;
    margin-top: 28px;
    margin-bottom: 8px;
}

.policy-container p {
    margin-bottom: 14px;
}

.policy-container ul {
    margin: 10px 0 20px 25px;
}

.policy-meta {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 28px;
}

.policy-note {
    background: #f5f7fa;
    border-left: 4px solid #4a90e2;
    padding: 14px 18px;
    margin: 25px 0;
    border-radius: 8px;
    color: #333;
}

.policy-small {
    font-size: 0.9rem;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .policy-container {
        margin: 20px 10px;
        padding: 25px;
    }
    .policy-container h1 {
        font-size: 1.8rem;
    }
    .policy-container h2 {
        font-size: 1.35rem;
    }
}
