@font-face {
  font-family: 'Geomanist';
  font-style: normal;
  font-weight: 400;
  src:  url('/fonts/geomanist-regular-webfont.eot');
  src:  url('/fonts/geomanist-regular-webfont.eot?#iefix') format('embedded-opentype'),
        url('/fonts/geomanist-regular-webfont.woff2') format('woff2'),
        url('/fonts/geomanist-regular-webfont.woff') format('woff'),
        url('/fonts/geomanist-regular-webfont.ttf') format('truetype'),
        url('/fonts/geomanist-regular-webfont.svg#Geomanist') format('svg');
}

@font-face {
  font-family: 'Geomanist';
  font-style: normal;
  font-weight: 500;
  src:  url('/fonts/geomanist-medium-webfont.eot');
  src:  url('/fonts/geomanist-medium-webfont.eot?#iefix') format('embedded-opentype'),
        url('/fonts/geomanist-medium-webfont.woff2') format('woff2'),
        url('/fonts/geomanist-medium-webfont.woff') format('woff'),
        url('/fonts/geomanist-medium-webfont.ttf') format('truetype'),
        url('/fonts/geomanist-medium-webfont.svg#Geomanist') format('svg');
}

@font-face {
  font-family: 'Geomanist';
  font-style: italic;
  font-weight: 500;
  src:  url('/fonts/geomanist-medium-italic-webfont.eot');
  src:  url('/fonts/geomanist-medium-italic-webfont.eot?#iefix') format('embedded-opentype'),
        url('/fonts/geomanist-medium-italic-webfont.woff2') format('woff2'),
        url('/fonts/geomanist-medium-italic-webfont.woff') format('woff'),
        url('/fonts/geomanist-medium-italic-webfont.ttf') format('truetype'),
        url('/fonts/geomanist-medium-italic-webfont.svg#Geomanist') format('svg');
}

body {
  font-family: 'Geomanist';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-color: #f5f6fA;
}

h1, h2, h3, h4, h5, h6 {
  font-style: italic;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.9);
}

p, legend {
  font-style: normal;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.9);
}

a {
  text-decoration: none;
  color: rgba(109, 41, 204, 1);
  transition: all 0.3s;
}

a:hover {
  color: rgba(65, 25, 122, 1);
}

.display-3 {
  font-size: 72px;
  line-height: 80px;
  letter-spacing: 1px;
}

h1 {
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 1px;
}

h2 {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 1px;
}

h3 {
  font-size: 28px;
  line-height: 36px;
  letter-spacing: 0.5px;
}

h4 {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.5px;
}

p {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
}

textarea, select, input, button {
  font-family: 'Geomanist';
  outline: none;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.25px;
  color: rgba(0, 0, 0, 0.6);
}

input {
  min-width: 400px;
  padding: 16px 12px;
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

input:focus {
  border: 1px solid rgba(109, 41, 204, 1);
}

::placeholder {
  color: rgba(0, 0, 0, 0.5);
  opacity: 0.5;
}

:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

button {
  padding: 20px;
  border: none;
  background-color: rgba(109, 41, 204, 1);
  color: rgba(255, 255, 255, 1);
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

button:hover {
  background-color: rgba(65, 25, 122, 1);
}

section {
  padding: 80px 0;
}

hr {
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin: 0;
}

pre {
  padding: 24px;
  overflow: auto;
  background-color: #eeeeee;
  border: 1px #e0e0e0 solid;
  font-family: courier, monospace;
  font-size: 14px;
  line-height: 1.4;
}

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 360px;
  padding: 0 80px;
  background-color: #2c1052;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

header h1 {
  color: #ffffff;
  margin-bottom: 24px;
}

header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.5px;
}

footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 80px;
  padding: 0 80px;
  background-color: #ebedf5;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.container {
  margin: auto;
  max-width: 800px;
  background-color: #ffffff;
}

.content {
  padding: 0 80px;
}

.content h4 {
  margin-bottom: 12px;
}

.content p {
  margin-bottom: 20px;
}

.form h4 {
  margin-bottom: 60px;
}

.preview {
  padding-bottom: 60px;
}

.preview h5 {
  margin-bottom: 20px;
}

.preview img {
  width: 100%;
  border: 1px dashed rgba(0, 0, 0, 0.1);
}

.preview-copy-area {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 24px;
}

.source-code {
  padding-top: 0px;
}

.source-code pre {
  width: 100%;
  height: 360px;
  margin-bottom: 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
