body {
  background-color: #222222;
  color: #ffffff;
  font-family: "Raleway";
  font-weight: 300;
  text-align: center;
  font-size: 15pt;
}

p {
  margin: 0 auto;
  max-width: 900px;
}

#headName {
  font-size: 50pt;
}

#occupation {
  font-size: 20pt;
}

.not-selectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.navbar {
  margin-bottom: 0px;
}

.navbar-inverse {
  border-color: #222222;
}

.navbar-nav {
  width: 100%;
  text-align: center;
}
.navbar-nav > li {
  float: none;
  display: inline-block;
}

#nav.affix {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.masthead {
  color: #ffffff;
  padding-top: 80px;
  padding-bottom: 40px;
}

.navBtn {
  float: none;
  font-size: 12pt;
  text-align: center;
}

.inner {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  min-height: 1000px;
}

.about {
  background: url("https://res.cloudinary.com/ddqzltwv6/image/upload/v1479689503/background_x5hvil.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.portfolio {
  display: table;
  margin: 0 auto;
  width: 80%;
  display: flex;
  flex-flow: column;
  justify-content: center;
  padding: 100px 0;
}

.contact {
  padding: 200px 0;
  display: flex;
  flex-flow: column;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* ---- particles.js container ---- */
#particles-js {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 250px;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0px;
  margin: 0px;
}

/* portfolio boxes */
.info {
  transform: rotate3d(1, 0, 0, 90deg);
  width: 100%;
  height: 100%;
  padding: 20px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 4px;
  pointer-events: none;
  background-color: rgba(26, 188, 156, 0.9);
}

.in-top .info {
  transform-origin: 50% 0%;
  animation: in-top 300ms ease 0ms 1 forwards;
}

.in-right .info {
  transform-origin: 100% 0%;
  animation: in-right 300ms ease 0ms 1 forwards;
}

.in-bottom .info {
  transform-origin: 50% 100%;
  animation: in-bottom 300ms ease 0ms 1 forwards;
}

.in-left .info {
  transform-origin: 0% 0%;
  animation: in-left 300ms ease 0ms 1 forwards;
}

.out-top .info {
  transform-origin: 50% 0%;
  animation: out-top 300ms ease 0ms 1 forwards;
}

.out-right .info {
  transform-origin: 100% 50%;
  animation: out-right 300ms ease 0ms 1 forwards;
}

.out-bottom .info {
  transform-origin: 50% 100%;
  animation: out-bottom 300ms ease 0ms 1 forwards;
}

.out-left .info {
  transform-origin: 0% 0%;
  animation: out-left 300ms ease 0ms 1 forwards;
}

@keyframes in-top {
  from {
    transform: rotate3d(-1, 0, 0, 90deg);
  }
  to {
    transform: rotate3d(0, 0, 0, 0deg);
  }
}
@keyframes in-right {
  from {
    transform: rotate3d(0, -1, 0, 90deg);
  }
  to {
    transform: rotate3d(0, 0, 0, 0deg);
  }
}
@keyframes in-bottom {
  from {
    transform: rotate3d(1, 0, 0, 90deg);
  }
  to {
    transform: rotate3d(0, 0, 0, 0deg);
  }
}
@keyframes in-left {
  from {
    transform: rotate3d(0, 1, 0, 90deg);
  }
  to {
    transform: rotate3d(0, 0, 0, 0deg);
  }
}
@keyframes out-top {
  from {
    transform: rotate3d(0, 0, 0, 0deg);
  }
  to {
    transform: rotate3d(-1, 0, 0, 104deg);
  }
}
@keyframes out-right {
  from {
    transform: rotate3d(0, 0, 0, 0deg);
  }
  to {
    transform: rotate3d(0, -1, 0, 104deg);
  }
}
@keyframes out-bottom {
  from {
    transform: rotate3d(0, 0, 0, 0deg);
  }
  to {
    transform: rotate3d(1, 0, 0, 104deg);
  }
}
@keyframes out-left {
  from {
    transform: rotate3d(0, 0, 0, 0deg);
  }
  to {
    transform: rotate3d(0, 1, 0, 104deg);
  }
}
ul {
  padding: 0;
  margin: 0 0 50px;
}
ul:after {
  content: "";
  display: table;
  clear: both;
}

li {
  position: relative;
  float: left;
  margin: 5px;
  padding: 0;
  list-style: none;
}
li a {
  display: inline-block;
  vertical-align: top;
  text-decoration: none;
  border-radius: 4px;
}
li h3 {
  margin: 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
}
li p {
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}
li .normal {
  background-color: #ECF0F1;
  color: rgba(52, 73, 94, 0.6);
  box-shadow: inset 0 2px 20px #e6ebed;
  text-align: center;
  font-size: 50px;
  line-height: 100%;
}

/**** -- social media --- **/
#social {
  margin: 0 auto;
}

.button {
  transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -webkit-transition: all .25s ease-in-out;
  float: left;
  height: 30px;
  width: 30px;
  margin-left: 15px;
  opacity: .5;
}

.button:hover {
  transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -webkit-transition: all .25s ease-in-out;
  opacity: 1;
  margin-top: -10px;
  -webkit-box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.5);
}

.button img {
  margin-top: -10px;
  margin-left: -10px;
}

/* instagram image fix */
#img_2 {
  margin: 0;
}
