.page {

    main:not(.home main) {
        padding-bottom: 50px;
        @media screen and (min-width: 1000px) {
            padding-bottom: 100px;
        }
    }

    .section-headline {
        font-size: 1.5rem;
        margin-bottom: 10px;

        @media screen and (min-width: 1000px) {
            font-size: 2rem;
        }
    }

    .top-link {
        cursor: pointer;
        position: fixed;
        opacity: 0;
        transition: .2s ease-in-out;
        right: 40px;
        bottom: 40px;
        background: #fff;
        border-radius: 100%;
        padding: 7px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-bg-surface);
        z-index: -1;

        &.active {
            transition: .2s ease-in-out;
            opacity: 1;
            z-index: 1;
        }
    }

    .quick-menu {
        transition: .2s ease-in-out;
        opacity: 0;
        z-index: -1;

        &.active {
            transition: .2s ease-in-out;
            opacity: 1;
            z-index: 1;
        }
    }

    .page-headline {
        font-weight: 400;
    }

    .page-headline:not(.green-it .page-headline) {
        color: var(--color-bg-surface);
    }

    ol {
        list-style-type: none;
        padding-left: 0;
        margin: 0;
        color: var(--color-font-light);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;

        @media screen and (min-width: 1000px) {
            align-items: flex-start;
            text-align: start;
        }

        li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 19px;
            margin-bottom: 20px;

            i {
                display: flex;
                align-items: center;
                position: relative;
                top: 7px;
            }
        }
    }

    section {
        padding: 50px 0;

        h2 {
            margin-top: 0;
        }

        @media screen and (min-width: 1000px) {
            padding: 100px 0;
        }
    }

    #contact {
        h2, h3 {
            font-weight: 300;
        }

        @media screen and (min-width: 1000px) {
            h2 {
                font-size: 2rem;
            }

            h3 {
                font-size: 1.5rem;
            }
        }
    }

    #anydesk {
        background: var(--color-bg-surface);

        h3 {
            font-size: 2rem;
            font-weight: 300;
            text-align: center;

            strong {
                font-weight: 700;
            }
        }

        p, a, h3 {
            color: var(--color-font-surface);
            text-align: center;
            margin: 0;
        }

        .wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;

            @media screen and (min-width: 700px) {
                flex-direction: row;
                justify-content: space-between;
                gap: 40px;

                p, a {
                    text-align: left;
                }
            }

            @media screen and (min-width: 1000px) {
                padding-top: 50px;
                padding-bottom: 50px;
                gap: 80px;

                h3 {
                    font-size: 3rem;
                }
            }
        }
    }

    #references, #news {
        h2 {
            font-size: 2rem;
            @media screen and (min-width: 1000px) {
                font-size: 3rem;
            }
        }
    }

    #references {
        background-color: var(--color-grey-surface);

        .wrapper {
            .reference-container {
                display: flex;
                flex-wrap: wrap;
                gap: 20px;

                a {
                    display: flex;
                    text-decoration: none;
                    font-family: "Annie Use Your Telescope", "sans-serif";
                    font-weight: 500;
                    font-size: 1.5rem;
                    color: var(--color-bg-surface);
                    border: 1px solid var(--color-bg-surface);
                    border-radius: 15px;
                    align-items: center;
                    justify-content: center;
                    text-align: center;
                    padding: 20px;
                    transition: .2s ease-in-out;
                    width: calc(50% - 52px);

                    &:hover {
                        transition: .2s ease-in-out;
                        color: var(--color-font-surface);
                        background: var(--color-bg-surface);
                    }

                    @media screen and (min-width: 700px) {
                        width: calc(33.3% - 56px);
                    }
                }
            }
        }
    }

    .box-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin: 20px 0;

        @media screen and (min-width: 700px) {
            margin: 50px 0;
        }

        .box {
            width: 100%;
            text-decoration: none;
            color: var(--color-font-light);

            @media screen and (min-width: 700px) {
                width: calc(33.33% - 14px);
            }

            &:hover {
                .ce_iconbox_icon {
                    transition: .2s ease-in-out;
                    transform: translateY(-10px);
                }
            }

            .inner {
                display: flex;
                flex-direction: column;
                gap: 5px;

                .ce_iconbox_icon {
                    transition: .2s ease-in-out;
                    display: flex;
                    justify-content: center;
                    font-size: 3rem;
                    color: var(--color-font-light);
                }

                .ce_iconbox_cwrapper {
                    display: flex;
                    flex-direction: column;
                    gap: 5px;

                    h2, h3, p {
                        margin: 0;
                    }

                    h2 {
                        text-align: center;
                        font-weight: 300;
                        margin: 10px 0;

                        @media screen and (min-width: 1000px) {
                            font-size: 3rem;
                        }
                    }
                }
            }
        }
    }

    #hero .box-wrapper {
        @media screen and (min-width: 1200px) {
            gap: 10px;
        }

        .box {
            @media screen and (min-width: 700px) {
                width: calc(50% - 10px);
            }

            @media screen and (min-width: 1200px) {
                width: calc(25% - 8px);

                .ce_iconbox_icon {
                    font-size: 2.85rem;
                }

                .ce_iconbox_cwrapper h2 {
                    font-size: clamp(1.5rem, 1.35vw + 0.9rem, 2.15rem);
                    line-height: 1.15;
                    margin: 8px 0 0;
                }
            }
        }
    }

    .articles {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
        font-size: 1rem;
        font-weight: 200;

        @media screen and (min-width: 700px) {
            font-size: 1.2rem;
        }

        a {
            display: flex;
            flex-direction: column;
            width: calc(100% - 40px);
            text-decoration: none;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: .2s ease-in-out;
            background-color: var(--color-font-surface);
            text-align: center;

            &:hover {
                transition: .2s ease-in-out;
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
            }

            @media screen and (min-width: 1000px) {
                width: calc(33.3% - 67px);
            }

            p, h3 {
                margin: 0;
            }

            p {
                font-size: 17px;
            }

            .top {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 20px;

                .left {
                    max-width: 300px;
                    border-radius: 50%;
                    overflow: hidden;
                    aspect-ratio: 1 / 1;

                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }

                .right {

                    display: flex;
                    flex-direction: column;
                    gap: 5px;
                    margin-bottom: 20px;

                    & > div {
                        display: flex;
                        align-items: center;
                        flex-direction: column;
                    }

                    .article-title {
                        line-height: 1.1;
                        margin: 20px 0;
                        font-weight: 500;
                        font-family: "Annie Use Your Telescope", "sans-serif";
                        font-size: 1.5rem;

                        @media screen and (min-width: 700px) {
                            font-size: 1.8rem;
                        }
                    }

                    .article-category {
                        padding: 5px 10px;
                        background: var(--color-bg-surface);
                        color: var(--color-font-surface);
                        max-width: max-content;
                        border-radius: 10px;
                        margin: 0 auto;
                    }
                }
            }

            .bottom {
                text-align: center;
                margin: auto;
            }
        }
    }

}

