body.homepage {
    .hero {
        background-color: var(--secondary-100);

        p {
            font-size: var(--desktop-body-large-font-size);
            line-height: var(--desktop-body-large-line-height);
            font-weight: var(--desktop-body-large-font-weight);
            color: var(--desktop-body-large-color);
        }
    }

    .smarta-funktioner {
        background-color: var(--primary-50);

        .container {
            width: 100%;
            display: grid;
            grid-template-columns: 40% 60%;
            grid-template-rows: auto;
            align-items: start;
            gap: 32px;

            & > div {

            }

            .description {
                align-items: flex-start;
                gap: 8px;
            }

            .items {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                grid-gap: 64px;

                & > div {
                    display: flex;
                    flex-direction: row;
                    justify-content: flex-start;
                }
            }

            .link {
                grid-row: 2;
                grid-column: 2;
            }
        }
    }

    .testimonial-field {
        background-color: var(--accent-02);
        padding: 24px;
        padding-bottom: 150px;

        .header-container {
            padding-top: 24px;
            position: relative;
            margin-left: 72px;
            margin-top: 24px;

            .large-quote {
                position: absolute;
                opacity: 0.3;
                z-index: 1;
            }

            h2 {
                position: relative;
                z-index: 2;
                margin-top: 56px;
                margin-left: 100px;
            }
        }

        .testimonial {
            display: grid;
            grid-template-columns: auto auto;
            gap: 32px;
            justify-content: center;
            max-width: 800px;
            margin: 0 auto;

            .testimonial-box {
                justify-self: start;
                background-color: #f9f9f9;
                border: 1px solid #ddd;
                border-radius: 8px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                width: 400px;
                overflow: hidden;
                box-sizing: border-box;
                padding: 32px;
                align-self: start;

                .testimonial-image img {
                    max-width: 124px;
                    height: 54px;
                    object-fit: contain;
                }

                .testimonial-content {
                    margin: 8px;
                    display: flex;
                    align-items: flex-start;

                    .small-quote img {
                        width: 16px;
                        height: 13px;
                    }

                    .quote-content {
                        margin-left: 16px;
                        margin-top: 0px;

                        p {
                            font-size: 18px;
                            line-height: 28px;
                            font-weight: 260;
                        }

                        .name {
                            font-weight: bold;
                            margin-top: 16px;
                        }

                        .title {
                            font-size: 14px;
                            line-height: 20px;
                            font-weight: 200;
                            color: #01769F;
                        }
                    }
                }
            }

            .testimonial-box:nth-child(1) {
                grid-column: 2;
                grid-row: 1;
                justify-self: start;
                transform: translateY(112px);
                width: 384px;
                min-height: 261px;
            }

            .testimonial-box:nth-child(2) {
                grid-column: 3;
                grid-row: auto;
                width: 384px;
                min-height: 261px;
            }

            .testimonial-box:nth-child(3) {
                grid-column: 3;
                grid-row: auto;
                width: 488px;
                min-height: 261px;
            }
        }
    }

    .integrationer {
        background-color: var(--accent-02);

        .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            gap: 32px;

            .cards {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
                gap: 32px;

                .card {
                    background-color: #ffffff;
                    border-radius: 16px;
                    height: 96px;
                    width: 175px;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;

                    img {
                        max-height: 32px;
                        width: auto;
                    }
                }
            }

            .link {
                width: 100%;
                text-align: right;
            }
        }
    }
}

@media screen and (max-width: 991px) {
    body.homepage {
        .smarta-funktioner {
            .container {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                justify-content: center;
                gap: 64px;
            }
        }

        .testimonial-field {
            br {
                display: none;
            }

            .testimonial {
                grid-template-columns: 1fr;
                padding: 40px;
                gap: 24px;
                justify-items: center;
            }

            .header-container {
                margin-top: 64px;
                margin-bottom: -10px;

                .large-quote {
                    position: absolute;
                    width: 142px;
                    height: 116px;
                    top: -30px;
                    left: -10px;
                }

                h2 {
                    position: relative;
                    margin-left: 10px;
                    margin-top: -10px;
                    z-index: 1;
                    font-size: 36px;
                }
            }

            .testimonial-box {
                justify-self: center;
                transform: none;
                box-sizing: border-box;
            }

            .testimonial > .testimonial-box:nth-child(1),
            .testimonial > .testimonial-box:nth-child(2),
            .testimonial > .testimonial-box:nth-child(3) {
                display: inline-block;
                width: 688px;
                height: auto;
                grid-column: auto;
                grid-row: auto;
                justify-self: center;
                transform: none;
            }
        }

        .integrationer {
            .container {
                .header {
                    text-align: center;
                }
            }
        }
    }
}

@media screen and (max-width: 600px) {
    body.homepage {
        .smarta-funktioner {
            .container {
                gap: 32px;

                .items {
                    display: flex;
                    align-items: stretch;
                    gap: 32px;

                    & > div {
                        flex-basis: 100%;
                    }
                }
            }
        }

        .testimonial-field {
            .testimonial {
                grid-template-columns: 1fr;
                padding: 40px;
                gap: 24px;
                justify-items: center;
            }

            .header-container {
                margin-top: 64px;
                margin-bottom: -10px;

                .large-quote {
                    position: absolute;
                    width: 142px;
                    height: 116px;
                    top: -50px;
                    left: -10px;
                }

                h2 {
                    position: relative;
                    margin-top: -15px;
                    z-index: 1;
                    font-size: 25px;
                }
            }

            .testimonial-box {
                justify-self: center;
                transform: none;
                box-sizing: border-box;
            }

            .testimonial > .testimonial-box:nth-child(1),
            .testimonial > .testimonial-box:nth-child(2),
            .testimonial > .testimonial-box:nth-child(3) {
                display: inline-block;
                width: 335px;
                height: auto;
                grid-column: auto;
                grid-row: auto;
                justify-self: center;
                transform: none;
            }
        }

        .integrationer {
            .container {
                .cards {
                    flex-wrap: wrap;
                    justify-content: center;
                    gap: 16px;

                    .card {
                        flex-basis: 45%;
                        height: 84px;
                        width: 154px;

                        img {
                            max-height: 28px;
                            width: auto;
                        }
                    }
                }
            }
        }
    }
}
