<template lang="pug">
  div
    nav-bar
    .content
      nuxt
</template>

<script>
export default {
  components: {
    'nav-bar': () => import('@/components/NavBar.vue')
  }
}
</script>

<style lang="scss">
html {
  font-family: 'Spartan', sans-serif;
  font-size: 14px;
  word-spacing: 1px;
  text-rendering: optimizeLegibility;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
}

:root {
  --color-text1: #00b9e3;
  --color-text2: #231f20;
  --color-text3: #a1a1a1;
  --color-text4: #e1d0a1;
  --color-text5: #ccd3f6;
  --color-bg1: #00b9e3;
  --color-bg2: #bfedf8;
  --color-bg3: #2b3242;
  --color-bg4: #3b3232;
  --color-bg5: #2d3a40;
  --color-text: var(--color-text1);
  --color-bg: var(--color-bg1);
  --color-link: var(--color-text2);
  --color-link-hover: var(--color-text1);
}
body {
  color: var(--color-text2);
}

::selection {
  color: white;
  background: var(--color-text1); /* WebKit/Blink Browsers */
}
::-moz-selection {
  color: white;
  background: var(--color-text1); /* Gecko Browsers */
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

.scrollbar {
  height: 100%;
  position: fixed;
  right: 0;
  top: 0;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transform-origin: center right;
  -ms-transform-origin: center right;
  transform-origin: center right;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.2s linear;
  transition: opacity 0.3s, -webkit-transform 0.2s linear;
  transition: transform 0.2s linear, opacity 0.3s;
  transition: transform 0.2s linear, opacity 0.3s, -webkit-transform 0.2s linear;
  opacity: 0;
  width: 0.4rem;
  z-index: 100;
  &:hover {
    opacity: 1;
  }
  .scrollbar_thumb {
    cursor: grab;
    background-color: var(--color-text1);
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
}

.has-scroll-scrolling,
.has-scroll-dragging {
  .scrollbar {
    opacity: 1;
  }
}

a {
  text-decoration: none;
  color: var(--color-link);
  position: relative;
  display: block;
  overflow: hidden;
  padding-bottom: 4px;
  background-color: transparent;
}

.nuxt-link:after {
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text1);
  content: '';
  transform: translate3d(-101%, 0, 0);
  transition: transform 0.3s cubic-bezier(0.11, 0.7, 0, 1);
}

.nuxt-link:hover:after {
  transform: translate3d(-70%, 0, 0);
}
img {
  border-style: none;
  width: 100%;
}
h1 {
  font-size: 60px;
  font-weight: 700;
}
h2 {
  font-size: 43px;
  font-weight: 600;
}
h3 {
  font-size: 28px;
  font-weight: 700;
}
h4 {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 18px;
}
h5 {
  color: var(--color-text3);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}
h6 {
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
}
b,
strong {
  font-weight: bolder;
}
small {
  font-size: 80%;
}
p {
  line-height: 22px;
}
button,
label,
input,
optgroup,
select,
textarea {
  display: inline-flex;
  font-family: 'Open sans', sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: none;
}
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 2px solid #39b982;
}
label {
  color: rgba(0, 0, 0, 0.5);
  font-weight: 700;
}
input,
textarea {
  box-sizing: border-box;
  border: solid 1px rgba(0, 0, 0, 0.4);
}
textarea {
  width: 100%;
  overflow: auto;
  font-size: 20px;
}
[type='checkbox'],
[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}
[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
[type='text'],
[type='number'],
[type='search'],
[type='password'] {
  height: 52px;
  width: 100%;
  padding: 0 10px;
  font-size: 20px;
}
[type='text']:focus,
[type='number']:focus,
[type='search']:focus,
[type='password']:focus {
  border-color: #39b982;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
[hidden] {
  display: none;
}
.error {
  border: 1px solid red;
}
select {
  width: 100%;
  height: 52px;
  padding: 0 24px 0 10px;
  vertical-align: middle;
  background: #fff
    url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  background-size: 8px 10px;
  border: solid 1px rgba(0, 0, 0, 0.4);
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
select:focus {
  border-color: #39b982;
  outline: 0;
}
select:focus::ms-value {
  color: #000;
  background: #fff;
}
select::ms-expand {
  opacity: 0;
}
.field {
  margin-bottom: 24px;
}
.error {
  border: 1px solid red;
}
.errorMessage {
  color: red;
}
.btn {
  display: inline-block;
  margin-bottom: 0;
  text-align: center;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  color: #000;
  background-color: #fff;
  transition: border-radius 0.2s ease-out;
  padding: 5px 10px;
  font-size: 14px;
  line-height: 1.42857;
  border-radius: 19px;
}
.btn-primary {
  color: #fafafa;
  background-color: var(--color-text1);
  border-color: var(--color-text1);
  border-radius: 19px;
  transition: box-shadow 0.2s ease-out 0s, border 0.2s ease-out,
    border-radius 0.2s ease-out, background-color 0.1s ease-out,
    color 0.1s ease-out, -webkit-transform 0.1s ease-out;
  transition: box-shadow 0.2s ease-out 0s, border 0.2s ease-out,
    border-radius 0.2s ease-out, background-color 0.1s ease-out,
    color 0.1s ease-out, transform 0.1s ease-out;
  transition: box-shadow 0.2s ease-out 0s, border 0.2s ease-out,
    border-radius 0.2s ease-out, background-color 0.1s ease-out,
    color 0.1s ease-out, transform 0.1s ease-out,
    -webkit-transform 0.1s ease-out;
}
</style>
