/* CSS Document */
/* Overall Style */
html, body {
  font-family: "azo-sans-web", sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #ECF0F1;
}

#mobileTitle {
  display: none;
}

/* Left Sideabar */
.sidebar {
  display: block;
  position: absolute;
  width: 400px;
  height: 100%;
  color: #fff;
  background-color: #061825;
  overflow: hidden;
  z-index: 9999999;
}

.sidebar .nav {
  background-color: #123E5A;
}

.sidebar .header {
  width: 100%;
  padding: 10% 0;
  background-color: #1E608A;
  text-align: center;
}

.sidebar .header .badge {
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.badge {
  display: block;
  position: relative;
  width: 100px;
  height: 100px;
  overflow: hidden;
  z-index: 9999;
}

.badge img {
  display: block;
  margin: auto;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 100%;
  overflow: hidden;
}

.title {
  padding: 20px 0;
}

.title h3 {
  font-weight: 300;
  padding-top: 7px;
}

.nav {
  padding: 5% 0 5% 15%;
}

.nav ul li {
  padding: 6px;
}

.nav ul a {
  font-weight: 300;
  color: white;
  text-decoration: none;
}

.footer {
  text-align: center;
  padding: 20px;
}

.footer p {
  padding: 10px 0;
}

.footer img {
  height: 40px;
  width: 40px;
}

/* Right Content */
.content {
  position: absolute;
  padding: 20px 30px 0 10px;
  top: 0;
  bottom: 0;
  left: 415px;
  right: 0;
  overflow: auto;
  text-align: center;
}

.content #contentTitle h1 {
  padding: 15px 0;
}

#contentTitle h1 {
  font-size: 3.5em;
}

#contentTitle {
  font-size: 166%;
}

.content p {
  line-height: 1.33;
}

.content #arrowBox img {
  width: 350px;
  height: auto;
}

/* Assignment 1 */
.calc .content h1 {
  padding: 15px 0;
}

/* Responsive */
@media screen and (max-width: 1200px) {
  .sidebar {
    width: 320px;
  }
  .sidebar .nav {
    font-size: 0.8em;
  }
  .sidebar .nav a {
    width: 80px;
  }
  .content {
    left: 315px;
  }
  #contentTitle {
    font-size: 133%;
  }
  .content #arrowBox img {
    width: 300px;
  }
}

@media screen and (max-width: 800px) {
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    max-width: none;
    background-size: auto auto;
  }
  .header {
    padding: 20px 0;
    min-height: auto;
  }
  .header .badge {
    width: 100px;
    height: 100px;
    margin: 10px auto 20px;
  }
  .content {
    position: relative;
    left: 0;
    padding: 0 10px;
    overflow: hidden;
  }
  #mobileTitle {
    display: block;
  }
  #contentTitle {
    display: none;
  }
  .content #arrowBox img {
    transform: rotate(90deg);
  }
}
