@font-face {
  font-family: 'NSB';
  src: url('../fonts/NSB.eot'); /* IE9 Compat Modes */
  src: url('../fonts/NSB.woff') format('woff');
  font-style:   normal;
  font-weight:  400;
}

@font-face {
  font-family: 'ReckL';
  src: url('../fonts/Reckless-Light.eot'); /* IE9 Compat Modes */
  src: url('../fonts/Reckless-Light.woff') format('woff'); /* Modern Browsers */
  font-style:   normal;
  font-weight:  200;
}

body {
  padding: 30px 36px;
  -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: none;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: #000000;
  transition: 0.2s ease;
}

a:hover {
  margin-right: 10px;
  transition: 0.2s ease;
}

nav {
  display: inline-block;
  transform: rotate(90deg);
  transform-origin: top left;
  position: fixed;
  top: 38px;
  right: -210px;
}

.smile {
  position: fixed;
  bottom: 28px;
  right: 35px;
  font-size: 20px;
}

h1 {
  font-family:'NSB', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 400;
  margin: 0 18px 0 0;
  display: inline-block;
}

.bio {
  width: 50%;
  display: inline-block;
}

.large-type {
  font-family: 'ReckL', serif;
  /* font-size: 24px; */
  font-size: calc(16px + (26 - 16) * (100vw - 300px) / (1600 - 300));
  line-height: 1.4;
  margin: 0;
}

.links {
  padding-left: 5%;
  display: inline-block;
}

/* XLARGE */
/* min-width 2200px, xlarge screens */
@media only screen and (min-width: 137.5em) {
  .large-type {
    font-size: 31px;
  }

  .bio {
    max-width: 1064px;
  }

  .links {
    padding-left: 106px;
  }
}

/* MEDIUM */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
  body {
    /* background-color: lightblue; */
  }

  .large-type {
    font-size: 21px;
  }

  .bio {
    width: 58%;
  }
}

/* SMALL */
@media only screen and (max-width: 40rem) {
  body {
    /* background-color: lightgray; */
    padding: 26px;
  }

  nav {
    display: none;
  }

  .hide {
    display: none;
  }

  .bio {
    display: block;
    width: 100%;
  }

  .large-type {
    font-size: 20px;
  }

  .links {
    display: block;
    width: 100%;
    padding: 18px 0;
  }

  .smile {
    position: static;
    display: block;
    font-size: 24px;
  }
}
