.container {
  max-width: 800px;
}

.header {
  margin-top: 12rem;
  text-align: center;
}

body {
  font-size: 1.55rem;
}

.profile-img {
  margin-bottom: 1rem;
  width: 15rem;
  height: auto;
}

h1 {
  letter-spacing: .2rem;
}

h2 {
  padding-top: 2rem;
  padding-bottom: 1rem;
  margin-bottom: 0;
  font-size: 2.8rem;
}

p {
  font-weight: 500;
  font-size: 1.75rem;
}

h6 {
  font-weight: 700;
  font-size: 1.8rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.detail-section {
  border-top: 1px solid lightgrey;
  padding: 2rem 0;
  margin-bottom: 0;
}

.skill-header {
  padding-bottom: 3rem;
  border-bottom: 1px solid #eee;
}

.skill-section {
  padding: 0.5rem 0;
  margin-bottom: 0;
}

h3 {
  text-transform: uppercase;
  font-size: 1.75rem;
  letter-spacing: .2rem;
  font-weight: 600;
}

h4 {
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  letter-spacing: .2rem;
  font-weight: 600;
}

h5 {
  text-transform: uppercase;
  margin-top: 0.5rem;
  font-size: 1.2rem;
  letter-spacing: .2rem;
  font-weight: 600;
}

.icon {
  color: #999;
}

.heading-font-size {
  font-size: 1.2rem;
  color: #999;
  letter-spacing: normal;
}

.navbar {
  display: none;
}

/* Larger than phone */

@media (min-width: 550px) {
  .header {
    margin-top: 12rem;
  }

  .detail-section {
    padding: 4rem 0;
  }

  .skill-section {
    padding: 1rem 0;
  }

  .send-yourself-copy {
    float: right;
    margin-top: 12px;
  }
}

/* Larger than tablet */

@media (min-width: 750px) {

  /* Navbar */
  .navbar+.detail-section {
    border-top-width: 0;
  }

  .navbar,
  .spacer {
    display: block;
    width: 100%;
    height: 6.5rem;
    background: #fff;
    z-index: 99;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  .spacer {
    display: none;
  }

  .navbar>.container {
    width: 100%;
  }

  .navbar-list {
    list-style: none;
    margin-bottom: 0;
  }

  .navbar-item {
    position: relative;
    float: left;
    margin-bottom: 0;
  }

  .navbar-link {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2rem;
    margin-right: 35px;
    text-decoration: none;
    line-height: 6.5rem;
    color: #222;
  }

  .navbar-link.active {
    color: #33C3F0;
  }

  .has-docked-nav .navbar {
    position: fixed;
    top: 0;
    left: 0;
  }

  .has-docked-nav .spacer {
    display: inline-block;
  }

  /* Re-overiding the width 100% declaration to match size of % based container */
  .has-docked-nav .navbar>.container {
    width: 80%;
  }

  /* Popover */
  .popover.open {
    display: block;
  }

  .popover {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    top: 92%;
    left: -50%;
    -webkit-filter: drop-shadow(0 0 6px rgba(0, 0, 0, .1));
    -moz-filter: drop-shadow(0 0 6px rgba(0, 0, 0, .1));
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, .1));
  }

  .popover-item:first-child .popover-link:after,
  .popover-item:first-child .popover-link:before {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
  }

  .popover-item:first-child .popover-link:after {
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #fff;
    border-width: 10px;
    margin-left: -10px;
  }

  .popover-item:first-child .popover-link:before {
    border-color: rgba(238, 238, 238, 0);
    border-bottom-color: #eee;
    border-width: 11px;
    margin-left: -11px;
  }

  .popover-list {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .popover-item {
    padding: 0;
    margin: 0;
  }

  .popover-link {
    position: relative;
    color: #222;
    display: block;
    padding: 8px 20px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.0rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: .1rem;
  }

  .popover-item:first-child .popover-link {
    border-radius: 4px 4px 0 0;
  }

  .popover-item:last-child .popover-link {
    border-radius: 0 0 4px 4px;
    border-bottom-width: 0;
  }

  .popover-link:hover {
    color: #fff;
    background: #33C3F0;
  }

  .popover-link:hover,
  .popover-item:first-child .popover-link:hover:after {
    border-bottom-color: #33C3F0;
  }
}

.proficiency-bar {
  width: 100%;
  background-color: #e0e0e0;
  padding: 2px;
  border-radius: 3px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2);
}

.proficiency-bar-fill {
  display: block;
  height: 7px;
  background-color: #7facf4;
  border-radius: 3px;
  transition: width 500ms ease-in-out;
}