Skip to content
Snippets Groups Projects
index.scss 2.66 KiB
Newer Older
* {
    transition: s.$transition;
    font-family: s.$body-font;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: s.$body-color;
    position: relative;
    background: linear-gradient(to right, #fff 0%, #f2f2f2 100%);
}

a {
    font-weight: s.$weight-bold;
    color: s.$primary;
    text-decoration: none;

    &:hover {
        color: rgba(s.$primary, 0.5);
    }
}

.content-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    font-weight: s.$weight-bold;
}

h1 {
    font-size: fn.toRem(36);
    margin-bottom: fn.toRem(20);

    &.underlined {
        position: relative;
        display: inline-block;

        &:after {
            content: ' ';
            position: absolute;
            right: -10px;
            bottom: 10px;
            width: 90px;
            background: rgba(s.$accent, .5);
            height: 16px;
            z-index: -1;

            @include mx.breakpoint(large) {
                height: 24px;
                width: 120px;
            }

        }
    }

        margin-bottom: fn.toRem(28);
    }
}

h2 {
    font-size: fn.toRem(24);
    margin-bottom: fn.toRem(16);

        font-size: fn.toRem(36);
        margin: 0 auto fn.toRem(24) auto;
        max-width: 560px;
        text-align: center;
    }

    &.left {
        text-align: left;
        max-width: none;
    }
}

h3 {
    font-size: fn.toRem(20);
    margin-bottom: fn.toRem(12);

        font-size: fn.toRem(24);
        margin-bottom: fn.toRem(16);
    }
}

h4 {
    font-size: fn.toRem(16);
    margin-bottom: fn.toRem(10);
        font-size: fn.toRem(20);
        margin-bottom: fn.toRem(16);
    }

.background-container {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    overflow: hidden;

    .bubble {
        width: 400px;
        height: 400px;
        position: absolute;
        filter: blur(200px);
        opacity: 0.75;

        @include mx.breakpoint(large) {
            width: 500px;
            height: 500px;
            filter: blur(200px);
        }

        &.secondary {
            background: s.$secondary;
        }

        &.primary {
            background: s.$primary;
        }

        &.accent {
            background: s.$accent;
        }
    }
}