/* ========================================
   COLORS
======================================== */

:root {
    --background: #E8E6E1;
    --text: #20242A;
    --text-soft: #4F555B;
    --accent: #3F91D1;
}


/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ========================================
   PAGE
======================================== */

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;

    background: var(--background);
    color: var(--text);

    font-family: Arial, Helvetica, sans-serif;

    overflow-x: hidden;
}


/* ========================================
   LOGGA IN
======================================== */

.login-button {
    position: fixed;

    top: 28px;
    right: 40px;

    z-index: 10;

    padding: 13px 24px;

    background: var(--text);
    color: var(--background);

    border: none;
    border-radius: 14px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        background 0.15s ease;
}

.login-button:hover {
    background: #34393F;

    transform: translateY(-1px);
}

.login-button:active {
    transform: translateY(1px);
}


/* ========================================
   HERO
======================================== */

.hero {
    width: min(
        calc(100% - 80px),
        1480px
    );

    min-height: 100vh;
    min-height: 100dvh;

    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: flex-start;

    gap: 75px;
}


/* ========================================
   HERO CONTENT
======================================== */

.hero-content {
    display: flex;

    flex-direction: column;
    align-items: flex-start;

    max-width: 900px;

    flex-shrink: 0;
}


/* ========================================
   PENGAKOLL
======================================== */

.brand {
    margin: 0 0 10px;

    color: var(--text);

    font-size: 90px;
    font-weight: 800;

    line-height: 0.95;

    letter-spacing: -0.045em;
}


/* ========================================
   MINDRE RÄKNANDE
======================================== */

.less-counting {
    margin: 0;

    color: var(--text);

    font-size: 64px;
    font-weight: 800;

    line-height: 0.95;

    letter-spacing: -0.045em;
}


/* ========================================
   MER KOLL
======================================== */

.more-control {
    margin: 0 0 8px;

    color: var(--accent);

    font-size: 58px;
    font-weight: 800;

    line-height: 1;

    letter-spacing: -0.045em;
}


/* ========================================
   INTRO
======================================== */

.intro-text {
    width: min(100%, 620px);

    margin: 0;

    color: var(--text-soft);

    font-size: 18px;
    font-weight: 400;

    line-height: 1.4;
}


/* ========================================
   PROVA PENGAKOLL
======================================== */

.try-button {
    margin: 20px 0 0;

    padding: 13px 24px;

    background: var(--text);
    color: var(--background);

    border: none;
    border-radius: 14px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        background 0.15s ease;
}

.try-button:hover {
    background: #34393F;

    transform: translateY(-1px);
}

.try-button:active {
    transform: translateY(1px);
}


/* ========================================
   PIE CHART
======================================== */

.pie-chart {
    width: 320px;
    height: 320px;

    flex-shrink: 0;

    transform: translateY(-35px);
}

.pie-chart svg {
    display: block;

    width: 100%;
    height: 100%;

    overflow: visible;
}


/* ========================================
   PIE PIECES
======================================== */

.pie-piece {
    cursor: pointer;

    transition: transform 0.22s ease;

    transform-box: fill-box;
    transform-origin: center;
}


/* ========================================
   BLÅ
======================================== */

.pie-blue {
    fill: #3F91D1;

    transform: translate(7px, -4px);
}

.pie-blue:hover {
    transform: translate(12px, -7px);
}


/* ========================================
   GRÖN
======================================== */

.pie-green {
    fill: #9EAF98;

    transform: translate(0, 2px);
}

.pie-green:hover {
    transform: translate(0, 8px);
}


/* ========================================
   LILA
======================================== */

.pie-purple {
    fill: #AAA0C4;

    transform: translate(-2px, -1px);
}

.pie-purple:hover {
    transform: translate(-8px, -5px);
}