/* body {
  background-color: #d34c65;
  text-align: center;
} */

.navbar-container {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* Icons */

.navbar-link {
  color: #fff;
  background: #ffffff1b;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  font-family: fontawesome;
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
  padding-top: 12px;
  margin: 0 2px;
  -o-transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  -webkit-font-smoothing: antialiased;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 4px 0px inset;
}

.navbar-link:hover {
  background: #ffffff50;
}

.navbar-link:hover .navbar-icon-hoverable {
  display: unset !important;
}

.navbar-icon-hoverable {
  display: none !important;
}

.navbar-link:hover .navbar-icon-default {
  display: none !important;
}

.navbar-icon-default {
  display: unset !important;
}

/* pop-up text */

.navbar-link span {
  color: #666;
  position: absolute;
  font-family: sans-serif;
  bottom: 0;
  left: -25px;
  right: -25px;
  padding: 5px 7px;
  z-index: -1;
  font-size: 14px;
  border-radius: 2px;
  background: #fff;
  visibility: hidden;
  opacity: 0;
  -o-transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  -webkit-transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  -moz-transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* pop-up text arrow */

.navbar-link span:before {
  content: "";
  width: 0;
  height: 0;
  /* border-left: 5px solid transparent; */
  /* border-right: 5px solid transparent; */
  border-top: 5px solid #fff;
  position: absolute;
  bottom: -5px;
  left: 40px;
}

/* text pops up when icon is in hover state */

.navbar-link:hover span {
  bottom: -50px;
  visibility: visible;
  opacity: 1;
}
