@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 200;
  src: local('Dosis ExtraLight'), local('Dosis-ExtraLight'), url(https://fonts.gstatic.com/s/dosis/v7/HhyXU5sn9vOmLzGnKuCFMI4.ttf) format('truetype');
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 400;
  src: local('Dosis Regular'), local('Dosis-Regular'), url(https://fonts.gstatic.com/s/dosis/v7/HhyaU5sn9vOmLzloC_A.ttf) format('truetype');
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 500;
  src: local('Dosis Medium'), local('Dosis-Medium'), url(https://fonts.gstatic.com/s/dosis/v7/HhyXU5sn9vOmLzGbKOCFMI4.ttf) format('truetype');
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 600;
  src: local('Dosis SemiBold'), local('Dosis-SemiBold'), url(https://fonts.gstatic.com/s/dosis/v7/HhyXU5sn9vOmLzG3L-CFMI4.ttf) format('truetype');
}

.compass {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.85);
  position: relative;
  font-family: 'Dosis';
  color: #404040;
  text-shadow: 1px 1px 1px white;
}

.compass .direction {
  height: 100%;
  width: 100%;
  display: block;
  background: #f2f6f5;
  background: -moz-linear-gradient(top, #f2f6f5 0%, #cbd5d6 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f2f6f5), color-stop(100%, #cbd5d6));
  background: -webkit-linear-gradient(top, #f2f6f5 0%, #cbd5d6 100%);
  background: -o-linear-gradient(top, #f2f6f5 0%, #cbd5d6 100%);
  background-image: url("compass.png");
  background-position: center;
  background-size: 110%;
  border-radius: 100%;
}
.compass .direction p {
  text-align: center;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  line-height: 80px;
  display: block;
  margin-top: -45px;
  font-size: 35px;
  font-weight: bold;
  color: #e60000;
}
.compass .direction p span {
  display: block;
  line-height: normal;
  margin-top: -24px;
  font-size: 22px;
  font-weight: bold;
}
.compass .arrow {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
}
.compass .arrow:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 22px solid #e60000;
  position: absolute;
  top: -6px;
  left: 50%;
  margin-left: -5px;
  z-index: 99;
}
.compass .arrow.NNE {
  transform: rotate(22.5deg);
}
.compass .arrow.NE {
  transform: rotate(45deg);
}
.compass .arrow.ENE {
  transform: rotate(67.5deg);
}
.compass .arrow.E {
  transform: rotate(90deg);
}
.compass .arrow.ESE {
  transform: rotate(112.5deg);
}
.compass .arrow.SE {
  transform: rotate(135deg);
}
.compass .arrow.SSE {
  transform: rotate(157.5deg);
}
.compass .arrow.S {
  transform: rotate(180deg);
}
.compass .arrow.SSW {
  transform: rotate(202.5deg);
}
.compass .arrow.SW {
  transform: rotate(-135deg);
}
.compass .arrow.WSW {
  transform: rotate(-114.5deg);
}
.compass .arrow.W {
  transform: rotate(-90deg);
}
.compass .arrow.WNW {
  transform: rotate(-69.5deg);
}
.compass .arrow.NW {
  transform: rotate(-45deg);
}
.compass .arrow.NNW {
  transform: rotate(-24.5deg);
}
