* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 200;
  src: url(../assets/sourcesanspro200.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url(../assets/sourcesanspro300.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url(../assets/sourcesanspro400.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url(../assets/sourcesanspro600.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  src: url(../assets/sourcesanspro700.ttf) format('truetype');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 900;
  src: url(../assets/sourcesanspro900.ttf) format('truetype');
}

body {
  margin: auto;
  background-color: #f9f7f1;
  font-family: 'Source Sans Pro', sans-serif;
}

nav {
  width: 100%;
  height: 50px;
  position: relative;
  top: 0;
  transition-duration: 0.5s;
  transition-timing-function: swing;
  overflow: hidden;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.3);
}

.nav-left {
  position: absolute;
  width: 90px;
  height: 40px;
  top: 5px;
  left: 20px;
}

.nav-left .back-icon {
  margin: 4px 3px;
  float: left;
}

.nav-left .back-icon img {
  cursor: pointer;
  width: 30px;
}

.nav-left .back-icon:hover {
  transform: scale(1.25);
}

.nav-center {
  position: absolute;
  width: 90px;
  height: 40px;
  top: 5px;
  left: 50%;
}

.nav-center .test-icon {
  float: none;
  margin: 7px 3px;
  filter: invert(1);
  transform: scale(1.5);
}

