/* Functional GmbH Website Styles */

/* Source Sans 3 400 normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./fonts/source-sans-3-latin-400-normal.woff2') format('woff2'), url('./fonts/source-sans-3-latin-400-normal.woff') format('woff');
}

/* Source Sans 3 800 normal */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url('./fonts/source-sans-3-latin-800-normal.woff2') format('woff2'), url('./fonts/source-sans-3-latin-800-normal.woff') format('woff');
}

/* Fira Code 400 normal */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('./fonts/fira-code-latin-400-normal.woff2') format('woff2'), url('./fonts/fira-code-latin-400-normal.woff') format('woff');
}

/* Fira Code 700 normal */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('./fonts/fira-code-latin-700-normal.woff2') format('woff2'), url('./fonts/fira-code-latin-700-normal.woff') format('woff');
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Fira Code", monospace;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.01rem;
  font-feature-settings: 'liga' off, 'calt' off;
  color: #16B688;
  background: hsl(210, 56.7%, 11.8%);
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 30px;
}

/* Typography */
h1 {
  color: #16B688;
  font-family: "Source Sans 3", sans-serif;
  line-height: 1.1;
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: 0.02em;
  margin: 32px 0;
}

h1 small {
  font-size: 2.5rem;  /* 40px - smaller than h1's 48px */
  font-weight: normal;
}

.logotypo {
  line-height: 1;
  position: relative;
}

.logotypo:after {
  content: "";
  position: absolute;
  right: 0;
  top: 1.15em;
  width: 100%;
  height: 0.125em;
  background-color: #16B688;
}

blockquote {
  margin: 0 0 10px 0;
  padding-left: 1em;
  border-left: 3px solid #16B688;
}

p {
  color: #16B688;
  font-family: "Fira Code", monospace;
  font-weight: 400;
  line-height: 1.55;
  font-size: 16px;
  margin: 16px 0;
}

a {
  color: #b2e1aa;
  letter-spacing: normal;
  text-decoration: underline;
}

.cta-link {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  display: block;
  margin-bottom: 0.5em;
}

code {
  font-family: "Fira Code", monospace;
  letter-spacing: normal;
  font-size: inherit;
  font-feature-settings: initial;
}

hr {
  margin: 0 0 40px;
  border: none;
}

b {
  color: #16B688;  /* Same teal as body text */
  letter-spacing: normal;
  font-weight: 700;  /* Fira Code max is 700 */
}

address {
  font-style: normal;
}

small {
  font-size: 0.8333em;  /* 13.3333px when parent is 16px */
}

abbr {
  text-decoration: none;
}

.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
