/* ==========================================================
   C:\wamp64\www\sida2\css\base.css
   ========================================================== */
   body {
    font-family: Tahoma, "Segoe UI", sans-serif;
    background: var(--surface);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--primary);
    color: white;
}

.container {
    width: min(95%, var(--container));
    margin-inline: auto;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.2;
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 18px;
    font-weight: 700;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

p {
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
}

.flex {
    display: flex;
    align-items: center;
}

.center {
    justify-content: center;
}

.hidden {
    display: none !important;
}