:root {
    --background-color: #f2f2f7;
    --text-color: #232424;
    --card-background-color: #e5e5ea;

    --checkbox-background-color: #e1e1e1;
    --checkmark-background-color: #9ca6f3;

    --input-bg: #ffffff;
    --input-border: #c7c7cc;
    --input-text: #232424;

    --side-padding: 80px;

    --pixel-bezel-aspect-ratio: calc(881 / 1864);

    @media screen and (max-width: 768px) {
        --side-padding: 20px;
    }
}

[data-theme="dark"] {
    --background-color: #161616;
    --text-color: #e8e7e7;
    --card-background-color: #232323;

    --checkbox-background-color: #2f2f2f;
    --checkmark-background-color: #7c86d3;

    --input-bg: #2c2c2c;
    --input-border: #3a3a3a;
    --input-text: #ffffff;

    --side-padding: 80px;

    --pixel-bezel-aspect-ratio: calc(881 / 1864);

    @media screen and (max-width: 768px) {
        --side-padding: 20px;
    }
}

[data-theme="dark"] .icon {
    filter: brightness(0) invert(1);
}

[data-theme="light"] .icon {
    filter: none;
}

.image-dark {
    display: none !important;
}

[data-theme="dark"] .image-light {
    display: none !important;
}

[data-theme="dark"] .image-dark {
    display: block !important;
}

html,
body {
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: var(--background-color);
    transition-property: background-color;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

body,
input,
button,
select,
textarea {
    font-family:
        "Sora",
        "Space Grotesk",
        "Unbounded",
        "Cascadia Mono",
        "Bricolage Grotesque",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen-Sans,
        Ubuntu,
        Cantarell,
        sans-serif;
    color: var(--text-color);
}

/**
* Fix for a bug in Safari where the video has
* a slight gray border on hover.
* Ref: https://stackoverflow.com/questions/52508598/html5-video-element-on-pixel-has-border
*/
video {
    isolation: isolate;
    mask-image: radial-gradient(white, white);
}

.app {
    height: 100%;
    width: 100%;
    max-width: 1000px;
    overflow-x: clip;
}

.header {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 0 var(--side-padding);
    box-sizing: border-box;

    .logo {
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 700;
        font-size: 22px;
        font-family: "Cascadia Mono";
        letter-spacing: -0.3;
        text-decoration: none;
        color: inherit;

        .logo-icon {
            width: 38px;
            height: 38px;
        }
    }

    .theme-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
    }

    .theme-toggle .icon {
        width: 24px;
        height: 24px;
    }

    nav {
        ul {
            display: flex;
            gap: 28px;

            li {
                list-style: none;

                a {
                    text-decoration: none;
                    color: var(--text-color);
                    font-family: "Bricolage Grotesque";
                    font-size: 18px;
                    font-weight: 500;
                }
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .header {
        margin-top: 8px;

        .logo {
            font-size: 18px;

            .icon {
                width: 32px;
                height: 32px;
            }
        }

        nav {
            ul {
                gap: 20px;
                padding: 0;
                margin: 0;
                display: flex;

                li {
                    &.press-kit-item {
                        display: none;
                    }

                    a {
                        font-size: 14px;
                    }
                }
            }
        }
    }
}

.intro-section {
    display: grid;
    grid-template-columns: 0.48fr 0.52fr;
    grid-template-rows: fit-content(100%);
    grid-template-areas: "description widget";
    gap: 0;
    align-items: center;
    margin-top: 20px;

    .description {
        grid-area: description;
        position: relative;
        padding-left: 80px;

        .title {
            font-family: "Sora";
            font-size: 36px;
            font-weight: 800;
            line-height: 120%;
        }

        p {
            font-size: 20px;
            font-weight: 500;
            line-height: 140%;
            font-family: "Space Grotesk";
            /*padding-left: 40px;*/
            padding-right: 40px;
            margin-top: 0;
        }
    }

    .widget {
        grid-area: widget;
        display: flex;
        justify-content: center;
        align-items: start;
        /*padding: 20px 40px;*/
        pointer-events: none;
        padding-right: 60px;

        .widget-image {
            width: 100%;
            aspect-ratio: calc(838 / 1080);
            pointer-events: none;
        }
    }
}

@media screen and (max-width: 900px) {
    .intro-section {
        .widget {
            .widget-image {
                padding-right: 20px;
                padding-left: 20px;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .intro-section {
        grid-template-columns: 1fr;
        grid-template-rows: fit-content(100%) fit-content(100%);
        grid-template-areas:
            "description"
            "widget";
        justify-items: center;
        margin-top: 20px;
        justify-content: center;
        align-items: center;
        /*margin: 0 16px;*/

        .description {
            padding: 0 var(--side-padding);
            display: flex;
            flex-direction: column;
            align-items: center;

            .title {
                /*margin-left: 10px;*/
                /*margin-right: 10px;*/
                padding: 0px 5px;
                text-align: center;
                font-size: 32;
            }

            p {
                padding: 0 10px;
                max-width: 400px;
                text-align: center;
            }
        }

        .widget {
            width: 90%;
            max-width: 450px;
            padding: 0;
            padding-right: 10px;

            .widget-image {
                width: 100%;
                aspect-ratio: calc(838 / 1080);
                pointer-events: none;
            }
        }
    }
}

.subscribe-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;

    .subscribe-title {
        font-size: 20px;
        font-weight: 900;
        text-align: center;
        margin-bottom: 0;
    }
    .subscribe-caption {
        font-size: 20px;
        font-weight: 400;
        text-align: center;
        margin-left: 20px;
        margin-right: 20px;
    }

    form {
        position: relative;
        margin-top: 18px;

        .controls {
            display: flex;
            gap: 12px;
            align-items: center;
            transition-property: transform, opacity;
            transition-duration: 0.3s;
            transition-timing-function: cubic-bezier(0.64, 0.57, 0.67, 1.53);

            input {
                height: 100%;
                width: 270px;
                background-color: var(--input-bg);
                border: 1.5px solid var(--input-border);
                color: var(--input-text);
                border-radius: 12px;
                padding: 16px;
                font-size: 16px;
            }

            button {
                height: 100%;
                background-color: var(--text-color);
                color: var(--background-color);
                padding: 16px 20px;
                border: 0;
                border-radius: 12px;
                font-size: 16px;
                font-weight: 700;
                letter-spacing: 0.4px;

                &:active {
                    opacity: 0.8;
                }
            }

            &.hidden {
                opacity: 0;
                transform: scale(0);
            }
        }

        .confirmation-check {
            color: rgba(81, 178, 51, 255);
            position: absolute;
            width: 80px;
            aspect-ratio: 1;
            top: -5px;
            left: calc(50% - 40px);
            opacity: 0;
            transform: scale(0);
            transition-property: transform, opacity;
            transition-duration: 0.3s;
            transition-timing-function: cubic-bezier(0.64, 0.57, 0.67, 1.53);

            &.visible {
                opacity: 1;
                transform: scale(1);
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .subscribe-section {
        padding: 0 var(--side-padding);
        margin-top: 40px;

        form {
            width: 100%;

            .controls {
                flex-direction: column;
                align-items: stretch;
                padding: 0 20px;

                input {
                    width: 100%;
                }
            }
        }
    }
}

.download-section-top {
    padding: 0 var(--side-padding);
    margin-top: 20px;

    > a:link,
    > a:visited {
        display: block;
        text-decoration: none;
        width: 180px;

        img {
            width: 100%;
            height: auto;
        }
    }
}

@media screen and (max-width: 768px) {
    .download-section-top {
        margin-top: 48px;
        display: flex;
        justify-content: center;
    }
}

.pixel-frame {
    position: relative;
    width: 100%;
    height: calc(var(--pixel-bezel-width) / var(--pixel-bezel-aspect-ratio));
    margin-top: 16px;
    margin-left: 14px;

    .pixel-shadow {
        position: absolute;
        width: 124.5%;
        top: -3.7%;
        left: -10.3%;
    }

    .pixel-bezel {
        position: absolute;
        width: 92%;
    }

    .pixel-content {
        position: absolute;
        width: 83.4%;
        aspect-ratio: 0, 44554455;
        left: 4.15%;
        top: 2%;
        overflow: hidden;

        .demo-video {
            width: 100%;
            border-radius: 34px;
            opacity: 0;
            transform: scale(0.98);
            transition-property: opacity, transform;
            transition-duration: 1s;
            transition-timing-function: ease-in-out;

            &.visible {
                opacity: 1;
                transform: scale(1);
            }
        }

        .demo-image {
            width: 100%;
            border-radius: 34px;
        }

        .spinner {
            display: block;
            position: absolute;
            top: calc(50% - 12px);
            left: calc(50% - 12px);
            transition-property: opacity, display, transform;
            transition-duration: 0.3s;
            transition-timing-function: ease-in-out;
            transition-behavior: allow-discrete;

            &.hidden {
                opacity: 0;
                display: none;
                transform: scale(0.5);
            }
        }
    }
}

.features-section {
    --pixel-bezel-width: 340px;

    display: grid;
    grid-template-columns: auto var(--pixel-bezel-width);
    grid-template-rows: auto min(
            calc(var(--pixel-bezel-width) / var(--pixel-bezel-aspect-ratio))
        );
    grid-template-areas:
        "info info"
        "features-grid pixel";
    column-gap: 60px;
    margin-top: 120px;
    padding: 0 var(--side-padding);

    .info {
        grid-area: info;

        .title {
            font-size: 60px;
            font-weight: 900;
            font-family: "Unbounded";
            line-height: 100%;
            color: #8e8e93;
            margin: 0;
            margin-bottom: 6px;
        }

        .description {
            font-size: 30px;
            font-weight: 900;
            line-height: 115%;
            margin: 0;
            padding-left: 2px;
            max-width: 630px;
        }
    }

    .features-grid {
        grid-area: features-grid;
        margin-top: 70px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(5, 70px);
        column-gap: 28px;
        row-gap: 24px;

        .feature {
            background-color: var(--card-background-color);
            padding: 18px 28px 18px 20px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            gap: 10px;

            .feature-icon {
                width: 24px;
                height: 24px;

                &.small {
                    width: 26px;
                    height: 26px;
                }
            }

            .feature-name {
                font-size: 18px;
                font-weight: 500;
            }
        }
    }

    .pixel {
        margin-right: 20px;
        grid-area: pixel;
    }
}

@media screen and (max-width: 900px) {
    .features-section {
        --pixel-bezel-width: 280px;

        column-gap: 30px;
        margin-top: 100px;

        .features-grid {
            grid-template-rows: repeat(4, 60px);
            column-gap: 18px;
            row-gap: 16px;

            .feature {
                padding: 12px 20px 12px 18px;
                line-height: 115%;

                .feature-icon {
                    width: 20px;
                    height: 20px;

                    &.small {
                        width: 22px;
                        height: 22px;
                    }
                }

                .feature-name {
                    font-size: 16px;
                    font-weight: 500;
                }
            }
        }

        .pixel {
            margin-right: 5px;
            .pixel-frame {
                .pixel-content {
                    .demo-video {
                        border-radius: 20px;
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .features-section {
        grid-template-columns: 100%;
        grid-template-rows:
            auto min(
                calc(var(--pixel-bezel-width) / var(--pixel-bezel-aspect-ratio))
            )
            auto;
        grid-template-areas:
            "info"
            "pixel"
            "features-grid";
        justify-items: center;
        margin-top: 100px;

        .info {
            margin-bottom: 20px;
            text-align: center;

            .title {
                font-size: 50px;
            }

            .description {
                padding-left: 0px;
            }
        }

        .pixel {
            width: var(--pixel-bezel-width);
        }

        .features-grid {
            margin-top: 30px;
        }

        .pixel {
            .pixel-frame {
                .pixel-content {
                    .demo-video {
                        border-radius: 32px;
                    }
                }
            }
        }
    }
}

.steps-section {
    --pixel-bezel-width: 340px;

    padding: 0 var(--side-padding);
    margin-top: 50px;
    margin-right: 16px;
    margin-left: 16px;
    display: grid;
    grid-template-columns: var(--pixel-bezel-width) auto;
    grid-template-rows: auto min(
            calc(var(--pixel-bezel-width) / var(--pixel-bezel-aspect-ratio))
        );
    grid-template-areas:
        "video title"
        "video steps";
    column-gap: 50px;
    box-sizing: border-box;

    .pixel-frame {
        grid-area: video;
        align-self: center;
    }

    .title {
        grid-area: title;
        margin: 0;
        font-size: 30px;
        font-weight: 900;
        font-family: "Unbounded";
        line-height: 120%;
        padding-top: 18px;
    }

    .step-list {
        grid-area: steps;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;

        .step {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 14px;
            background-color: var(--card-background-color);
            border-radius: 16px;
            padding: 20px 34px 34px 20px;

            .step-icon {
                width: 30px;
                height: 30px;

                &.timer {
                    width: 31px;
                    height: 31px;
                }
            }

            .step-description {
                font-size: 18px;
                line-height: 125%;
                margin: 0;
            }

            .step-arrow {
                position: absolute;
                z-index: 1;
                bottom: -45px;
                right: -72px;
                width: 88px;
                height: 76px;
            }
        }
    }
}

@media screen and (max-width: 900px) {
    .steps-section {
        grid-template-columns: auto var(--pixel-bezel-width) auto;
        grid-template-rows:
            auto min(
                calc(var(--pixel-bezel-width) / var(--pixel-bezel-aspect-ratio))
            )
            auto;
        grid-template-areas:
            "title title title"
            ". video ."
            "steps steps steps";
        column-gap: 0;
        row-gap: 0;

        .title {
            text-align: center;
            margin-bottom: 30px;
        }
    }
}

@media screen and (max-width: 768px) {
    .steps-section {
        row-gap: 0;
        margin-top: 80px;
        margin-bottom: 120px;

        .title {
            text-align: center;
            /*padding-left: 33px;*/
            margin-bottom: 20px;
        }

        .step-list {
            .step {
                .step-arrow {
                    right: -32px;
                }
            }
        }
    }
}

.notifications-section-padding-container {
    padding: 0 var(--side-padding);
    margin-top: 80px;
}

.notifications-section {
    --pixel-bezel-width: 400px;

    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: "pixel info";
    column-gap: 0;
    justify-items: center;
    background-color: var(--card-background-color);
    border-radius: 32px;
    overflow: clip;
    padding: 30px 30px 30px 10px;
    box-shadow: inset 0px -4px 4px 0px rgba(46, 46, 56, 0.03);

    .info {
        grid-area: info;

        .title {
            font-size: 34px;
            font-weight: 900;
            font-family: "Unbounded";
            margin-top: 40px;
            margin-bottom: 8px;
        }

        .description {
            font-size: 20px;
            font-weight: 400;
            line-height: 140%;
            max-width: 300px;
            margin: 0;
            padding-left: 1px;
        }
    }

    .pixel {
        grid-area: pixel;
        width: var(--pixel-bezel-width);
        height: 300px;

        .pixel-frame {
            .pixel-content {
                .spinner {
                    top: calc(26% - 12px);
                }
            }
        }
    }
}

@media screen and (max-width: 900px) {
    .notifications-section-padding-container {
        margin-top: 80px;
    }

    .notifications-section {
        --pixel-bezel-width: 300px;

        .info {
            .description {
                font-size: 18px;
                max-width: 230px;
            }
        }

        .pixel {
            height: 260px;

            .pixel-frame {
                .pixel-content {
                    .demo-video {
                        border-radius: 32px;
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .notifications-section-padding-container {
        padding: 0;
    }

    .notifications-section {
        --pixel-bezel-width: 330px;

        grid-template-columns: 100%;
        grid-template-rows: auto auto;
        grid-template-areas:
            "info"
            "pixel";
        padding: 10px;
        row-gap: 20px;
        border-radius: 0;

        .info {
            text-align: center;

            .title {
                margin-top: 30px;
            }

            .description {
                max-width: 300px;
                padding-left: 0px;
            }
        }
    }
}

.values-section {
    padding: 0 var(--side-padding);
    margin-top: 120px;

    > .title {
        font-size: 38px;
        font-weight: 900;
        font-family: "Unbounded";
        margin-bottom: 24px;
        line-height: 115%;
        padding-left: 2px;
    }

    .value-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 38px;

        .value {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 14px;
            background-color: var(--card-background-color);
            border-radius: 14px;
            text-align: center;
            padding: 32px 32px 34px 32px;

            .icon {
                height: 32px;
                width: auto;
                padding-top: 4px;
                padding-bottom: 6px;

                &.slashed {
                    height: 36px;
                    width: auto;
                    padding-top: 2px;
                    padding-bottom: 4px;
                }

                &.offline {
                    height: 36px;
                    width: auto;
                    padding-top: 0px;
                    padding-bottom: 0px;
                }
            }

            .title {
                font-size: 16px;
                font-weight: 900;
            }

            .description {
                font-size: 16px;
                font-weight: 400;
            }
        }
    }
}

@media screen and (max-width: 900px) {
    .values-section {
        .value-list {
            column-gap: 24px;

            .value {
                padding: 22px 18px 24px 18px;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .values-section {
        .title {
            padding-left: 0px;
            text-align: center;
        }

        .value-list {
            grid-template-columns: 100%;
            grid-template-rows: repeat(3, auto);
            row-gap: 24px;

            .value {
                padding: 28px 65px 32px 65px;
            }
        }
    }
}

.dark-theme-section-padding-container {
    padding: 0 var(--side-padding);
    margin-top: 120px;
}

.dark-theme-section {
    --pixel-bezel-width: 380px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 150px auto;
    grid-template-areas:
        "dark-theme-title pixel-bottom"
        "pixel-top       pixel-bottom"
        "pixel-top       of-course-title";
    gap: 0;
    justify-items: center;
    overflow: clip;
    background-image: url("assets/images/star-sky.png");
    background-clip: padding-box;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 32px;
    padding: 0 20px;

    .dark-theme-title,
    .of-course-title {
        font-size: 38px;
        font-weight: 900;
        color: transparent;
        align-self: center;
        background: linear-gradient(90deg, #d5e8f2 0%, #a1c2d4 100%);
        background-clip: text;
    }

    .dark-theme-title {
        grid-area: dark-theme-title;
        padding-top: 28px;
        text-align: center;
    }

    .of-course-title {
        grid-area: of-course-title;
        padding-bottom: 28px;
    }

    .pixel-top {
        width: var(--pixel-bezel-width);
        height: 330px;
    }
    .pixel-bottom {
        width: var(--pixel-bezel-width);
        height: 380px;
    }

    .pixel-top {
        display: flex;
        align-items: start;
        grid-area: pixel-top;
    }

    .pixel-bottom {
        display: flex;
        align-items: end;
        grid-area: pixel-bottom;
    }
}

@media screen and (max-width: 900px) {
    .dark-theme-section {
        --pixel-bezel-width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .dark-theme-section-padding-container {
        padding: 0;
    }

    .dark-theme-section {
        --pixel-bezel-width: 300px;

        grid-template-columns: 100%;
        grid-template-rows:
            auto min(
                calc(var(--pixel-bezel-width) / var(--pixel-bezel-aspect-ratio))
            )
            auto;
        grid-template-areas:
            "dark-theme-title"
            "pixel-bottom"
            "of-course-title";
        row-gap: 20px;
        padding: 20px 0;
        border-radius: 0;

        .dark-theme-title {
            padding-bottom: 20px;
        }

        .pixel-top {
            display: none;
        }

        .pixel-bottom {
            display: block;
            align-items: normal;
        }
    }
}

.roadmap-section {
    padding: 0 var(--side-padding);
    margin-top: 120px;
    position: relative;

    .title {
        font-size: 38px;
        font-weight: 900;
        font-family: "Unbounded";
        margin-bottom: 24px;
        line-height: 115%;
    }

    .feature-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, auto);
        grid-auto-flow: column;
        column-gap: 30px;
        row-gap: 20px;
        mask-image: linear-gradient(
            360deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 1) 40%
        );

        .feature {
            display: flex;
            align-items: center;
            gap: 10px;

            .checkbox {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 30px;
                height: 30px;
                background-color: var(--checkbox-background-color);
                border-radius: 100%;
                /*border: 1px solid #e5e5ea;*/
                flex-grow: 0;
                flex-shrink: 0;

                .checkmark {
                    display: none;
                    width: 14px;
                    height: auto;
                }

                &.done {
                    background-color: var(--checkmark-background-color);

                    .checkmark {
                        width: 20px;
                        height: 20px;
                        display: block;
                    }
                }
            }

            .feature-title {
                font-size: 16px;
                font-weight: 400;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .roadmap-section {
        .feature-list {
            grid-template-columns: 100%;
            grid-template-rows: repeat(12, auto);
            grid-auto-flow: row;
            row-gap: 20px;
        }
    }
}

.download-section-bottom {
    padding: 0 var(--side-padding);
    margin-top: 120px;
    display: flex;
    justify-content: center;

    > a:link,
    > a:visited {
        display: block;
        text-decoration: none;
        width: 180px;

        img {
            width: 100%;
            height: auto;
        }
    }
}

@media screen and (max-width: 768px) {
    .download-section-bottom {
        margin-top: 100px;
    }
}

.questions-section {
    padding: 0 var(--side-padding);
    margin-top: 120px;
    position: relative;

    .title {
        font-size: 38px;
        font-weight: 900;
        font-family: "Unbounded";
        margin-bottom: 24px;
        line-height: 115%;
    }

    .question-list {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
        padding: 0px 2px;

        .question {
            .question-title {
                font-size: 18px;
                font-weight: 700;
                margin-bottom: 6px;
            }

            .question-answer {
                font-size: 18px;
                font-weight: 400;
            }
        }
    }

    .ask-question:link,
    .ask-question:visited {
        text-decoration: none;
        color: #007aff;
        display: inline-flex;
        align-items: center; /* allinea verticalmente */
        gap: 8px;
        .mail-icon {
            height: 30px;
            width: auto;
        }
    }
}

.link-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--side-padding);
    margin-top: 100px;

    .row {
        display: flex;
        gap: 12px;
    }

    .item {
        display: flex;
        align-items: center;
        gap: 8px;

        padding: 10px 16px 10px 12px;
        border-radius: 999px;

        color: white;
        font-weight: 500;
        text-decoration: none;

        cursor: pointer;
        transition: 0.2s;
    }

    .icon {
        width: 24px;
        height: 24px;
    }

    .item-inscription {
        display: flex;
        align-items: center;
        gap: 8px;

        padding: 4px 16px;
        border-radius: 999px;

        color: white;
        font-weight: 500;

        cursor: pointer;
        transition: 0.2s;
    }

    .inscription {
        height: 28px;
    }

    .github {
        background-color: #000000;
    }
    .telegram {
        background-color: #2196f3;
    }
    .bmc {
        background-color: #ffffff;
    }

    .item:hover {
        transform: scale(1.05);
    }

    .item-inscription:hover {
        transform: scale(1.05);
    }
}

@media screen and (max-width: 768px) {
    .link-section {
        .row {
            flex-direction: column;
            align-items: center;
        }
    }
}

.footer-padding-container {
    /*padding: 0 var(--side-padding);*/
    margin-top: 100px;
}

.footer {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto;
    grid-template-areas:
        "disclaimer disclaimer disclaimer"
        "link-list . signature";
    background-color: var(--card-background-color);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 48px 80px 40px 80px;

    .disclaimer {
        grid-area: disclaimer;
        font-size: 13px;
        line-height: 1.5;
        color: #8e8e93;
        opacity: 0.9;
        max-width: 900px;
        padding-bottom: 40px;
    }

    .link-list {
        grid-area: link-list;
        display: grid;
        grid-template-columns: repeat(4, auto);
        grid-template-rows: auto;
        gap: 20px;

        .link:link,
        .link:visited {
            font-size: 16px;
            font-weight: 600;
            text-decoration: none;
            color: #8e8e93;
        }
    }

    .signature {
        grid-area: signature;
        font-size: 16px;
        font-weight: 400;
        text-align: end;
        color: #8e8e93;
    }
}

@media screen and (max-width: 900px) {
    .footer {
        grid-template-columns: 100%;
        grid-template-rows: repeat(3, auto);
        grid-template-areas:
            "disclaimer"
            "link-list"
            "signature";
        justify-items: center;
        row-gap: 30px;

        .disclaimer {
            text-align: center;
            padding-bottom: 10px;
        }

        .signature {
            text-align: center;
        }
    }
}

@media screen and (max-width: 768px) {
    .footer-padding-container {
        padding: 0;
    }

    .footer {
        border-radius: 0;
        justify-items: start;
        row-gap: 34px;
        padding: 34px var(--side-padding) 40px var(--side-padding);

        .disclaimer {
            text-align: start;
        }

        .link-list {
            grid-template-columns: auto;
            grid-template-rows: repeat(4, auto);
            justify-items: start;
            row-gap: 10px;
        }
    }
}

/*
playback timings (ms):
  captures_list: 0.713
  exclusion.robots: 0.04
  exclusion.robots.policy: 0.026
  esindex: 0.012
  cdx.remote: 120.156
  LoadShardBlock: 419.302 (3)
  PetaboxLoader3.resolve: 353.239 (4)
  PetaboxLoader3.datanode: 240.426 (4)
  load_resource: 212.633
*/
