/* RESPONSIVE SCALING - KUN FOR MOBIL OG TABLET */
/* DESKTOP (>768px) ER UPÅVIRKET AV DENNE FILEN */

/* Tablets (mellom 768px og 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    html {
        font-size: 14px; /* Moderat tilpasning for tablets */
    }

    section {
        padding: 3rem 0 !important;
    }

    .container {
        padding: 0 1.5rem !important;
    }

    h2:not(.hero h2) {
        font-size: 2rem !important;
        margin-bottom: 1.2rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .graf-container {
        padding: 1.5rem !important;
        margin: 1.5rem 0 !important;
    }

    .stats-grid {
        gap: 1rem !important;
        margin: 1.5rem 0 !important;
    }

    .hero {
        padding: 3rem 0 !important;
    }

    .hero h1 {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }

    .hero p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Mobil (under 768px) */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    section {
        padding: 2rem 0 !important;
    }

    .container {
        padding: 0 1rem !important;
    }

    h2:not(.hero h2) {
        font-size: 1.75rem !important;
        margin-bottom: 1rem !important;
    }

    h3 {
        font-size: 1.4rem !important;
        margin-bottom: 0.8rem !important;
    }

    .graf-container {
        padding: 1rem !important;
        margin: 1rem 0 !important;
    }

    .stats-grid {
        gap: 0.8rem !important;
        margin: 1rem 0 !important;
    }

    .hero {
        padding: 2rem 0 !important;
    }

    .hero h1 {
        font-size: 2rem !important;
        margin-bottom: 0.8rem !important;
    }

    .hero p {
        font-size: 1rem !important;
        margin-bottom: 1.2rem !important;
    }
}

/* Små mobiler (under 480px) */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    section {
        padding: 1.5rem 0 !important;
    }

    .container {
        padding: 0 1rem !important;
    }

    h2:not(.hero h2) {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }
}
