// The MIT License (MIT)
//
// Copyright (c) 2015 Yegor Bugayenko
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

*
  border: 0
  border-collapse: separate
  border-spacing: 0
  box-sizing: border-box
  font-family: $sans-serif
  font-size: $em
  font-stretch: normal
  font-style: normal
  font-weight: 300
  line-height: 1.65 * $em
  margin: 0
  outline: 0
  padding: 0
  text-align: left
  vertical-align: baseline

html,
body
  height: 100%
  width: 100%

body
  background: darken($white, 4)
  color: lighten($black, 10)
  padding: 2 * $em

p,
ul,
ol,
dl,
blockquote,
hr,
pre,
table,
form,
fieldset,
figure,
address
  margin-bottom: 1.65 * $em

section
  margin-left: auto
  margin-right: auto
  max-width: 100%
  width: 50 * $em

article
  background: $white
  border: (0.1 * $em) solid lighten($black, 85)
  border-radius: 0.4 * $em
  padding: 2.4 * $em

header
  margin-bottom: 2 * $em

footer
  margin-top: 2 * $em

nav
  text-align: center
  ul
    list-style: none
    text-align: center
    li
      display: inline
      margin-left: 0.5 * $em
      margin-right: 0.5 * $em
