@import "../../default/base/base";

// Add and overwrite styles below
body {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: $font-regular;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: $color-grey-dark;
}

input,
textarea {
    font-family: 'Open Sans', sans-serif;
}

// Headings
h1,
h2,
h3,
h4,
h5,
[class^="title"] {
    margin: 10px 0;
    font-weight: 300;
    color: $black
}

h1,
.title1 {
    font-size: 33px;
    line-height: 1.3;
    letter-spacing: -0.08px;

    @include mq(xlg) {
        font-size: 44px;
    }
}

h2,
.title2 {
    font-size: 28px;
    line-height: 1.4;

    @include mq(xlg) {
        font-size: 31px;
    }
}

h3,
.title3 {
    font-size: 24px;
    line-height: 1;

    @include mq(xlg) {
        font-size: 27px;
    }
}

h4,
.title4 {
    font-size: 18px;
    line-height: 1.8;

    @include mq(xlg) {
        font-size: 22px;
    }
}

h5,
.title5 {
    font-size: 16px;
    line-height: 1.8;

    @include mq(xlg) {
        font-size: 18px;
    }
}

h3 small,
h4 small,
h5 small {
    font-weight: 300;
}

// Links
a {

    @include on-event {
        color: lighten($color-primary, 5%);
    }
}

/**
 * Basic styles for paragraphs
 */

p {
    display: block;
    margin: 0 0 10px 0;
    font-size: $font-small;

    @include mq(xlg) {
        font-size: $font-regular;
    }
}

ol,
ul {
    margin: 0 0 10px 0;
    padding: 0;

    > li {
        line-height: 24px;
    }
}

hr {
    height: 0;
    border: 0;
    border-top: 1px solid $color-grey-medium;
    margin: 30px 0;
    margin: 3rem 0;
    box-sizing: content-box;

    &.nospacing {
        margin: 0;
    }
}

code {
    padding: 2px 4px;
    font-size: $font-small;
    color: #c64643;
    background-color: #f5f5f5;
    border-radius: 4px;
}

mark {
    padding: .2em 0;
    background-color: #fcf8e3;
}
