body,
html {
  height: 100%;
}

body {
  font-family: 'Open Sans';
  text-align: justify;
}

span {
  color: skyblue;
}

#home {
  background: url('../img/bg.jpg') no-repeat center;
  background-size: cover;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

#home h1 {
  font-size: 80px;
  padding: 0;
}

#home p {
  font-family: 'Courier New';
  font-size: 30px;
  text-shadow: 2px 2px 8px red;
  padding: 20px;
}

#home span {
  color: white;
}

#projects {
  background: #eeeeee;
}

/* JUMBOTRON */

.jumbotron {
  background: transparent;
}

.jumbotron h1 {
  text-align: center;
  padding: 30px 0;
}

.jumbotron p {
  font-size: 16px;
}

/* NAVBAR */

.navbar {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  height: 100px;
  color: white;
}

.navbar .navbar-nav > li > a {
  line-height: 68px;
  padding: 16px 20px;
  font-size: 26px;
  font-weight: bold;
  text-shadow: 2px 2px 8px red;
  color: white;
  letter-spacing: 5px;
  font-variant: small-caps;
}

.navbar-default .navbar-nav > li > a {
  background: transparent;
  color: white;
}

.navbar-default .navbar-toggle .icon-bar {
  background: white;
}

.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
  background: grey;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus {
  background: transparent;
  color: yellow;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: red;
}

/* SITE NAME */

.site {
  padding: 16px 0px;
}

.site-title {
  font-family: 'Pacifico';
}

.site-name {
  font-size: 36px;
  font-family: 'Pacifico';
}

.site-slogan {
  font-size: 16px;
}

@media (max-width: 768px) {
  .navbar {
    height: 50px;
  }
  .navbar-default .navbar-nav > li > a {
    line-height: 20px;
  }
  .site {
    display: none;
  }
  .collapsing,
  .in {
    background: rgba(0, 0, 0, 0.4);
    text-align: right;
  }
  .modal-content {
    text-align: left;
  }
}

/* FIXED HEADER */

.fixed-header-on .navbar {
  background: black;
  transition: all 0.5s ease;
  height: 60px;
}

.fixed-header-on .site {
  padding: 3px 0px;
  color: white;
}

.fixed-header-on .site-name {
  font-size: 26px;
}

.fixed-header-on .site-slogan {
  font-size: 12px;
}

.fixed-header-on .navbar-nav > li > a {
  line-height: 54px;
  padding: 3px 20px;
  font-size: 20px;
}

/* RESUME */

#resume {
  text-align: center;
}

@media (max-width: 768px) {
  #resume img {
    display: block;
    width: 100%;
  }
}

/* CONTACT */

.social-links {
  padding: 0;
  list-style: none;
  margin: 15px 0;
  text-align: center;
}

.social-links li {
  margin: 10px 25px 10px 0;
  display: inline-block;
  font-size: 36px;
}

.social-links li a {
  color: #333333;
  transition: all 0.2s ease-in-out;
}

.social-links li a:hover {
  color: skyblue;
}

/* Pills
---------------------------------- */

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus,
.nav-pills > li > a:hover {
  background: #55acee;
  border-color: #55acee;
  color: #ffffff;
}

.nav-pills > li > a {
  border-radius: 0;
  padding: 8px 20px;
  border: 1px solid #cacaca;
  color: #666666;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 300;
}

/* Modals
---------------------------------- */

.modal-content {
  border-radius: 0px;
}

.modal-header {
  background: #55acee;
  color: #ffffff;
}

.modal-header h4 {
  color: #ffffff;
}

.modal-header .close {
  font-weight: 300;
  color: #ffffff;
  text-shadow: none;
  filter: alpha(opacity=100);
  opacity: 1;
}

/* Large devices (Large desktops 1200px and up) */

@media (min-width: 1200px) {
  .modal-lg {
    width: 1140px;
  }
}

/* Isotope Items
---------------------------------- */

.filters {
  margin: 0 0 30px 0;
}

.filters .nav-pills > li {
  margin-right: 2px;
  margin-bottom: 2px;
}

.filters .nav-pills > li + li {
  margin-left: 0px;
}

.text-center.filters .nav-pills > li {
  margin-right: 2px;
  margin-left: 2px;
  margin-bottom: 2px;
  display: inline-block;
  float: none;
}

.isotope-container {
  overflow: hidden;
}

.isotope-item {
  margin-bottom: 20px;
}

.isotope-item .btn-default {
  color: #999999;
}

.isotope-item .btn-default:hover {
  color: #ffffff;
}

@media (max-width: 480px) {
  .filters .nav-pills > li {
    width: 100%;
    display: block;
  }
  .isotope-item {
    display: block;
    width: 100%;
  }
}

/* Images Overlay
----------------------------------------------------------------------------- */

.overlay-container {
  position: relative;
  display: block;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: -1px;
  left: 0;
  right: -1px;
  background: rgba(85, 172, 238, 0.9);
  cursor: pointer;
  overflow: hidden;
  opacity: 0;
  filter: alpha(opacity=0);
  transform: scale(0.8);
  transition: all linear 0.2s;
}

.overlay:hover {
  text-decoration: none;
}

.overlay span {
  position: absolute;
  display: block;
  bottom: 10px;
  text-align: center;
  width: 100%;
  color: #ffffff;
  font-size: 13px;
  font-weight: 300;
}

.overlay i {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 18px;
  line-height: 1x;
  color: #ffffff;
  margin-top: -8px;
  margin-left: -8px;
  text-align: center;
}

.overlay-container:hover .overlay {
  opacity: 1;
  filter: alpha(opacity=100);
  transform: scale(1);
}

.overlay-container img {
  width: 100%;
  height: 100%;
}

@media (max-width: 767px) {
  .modal-body img {
    display: block;
    width: 100%;
  }
}

/* Buttons
---------------------------------- */

.btn {
  padding: 8px 15px;
  font-size: 14px;
  line-height: 1.42857143;
  min-width: 160px;
  text-align: center;
  border-radius: 0;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
}

.btn-default {
  color: #55acee;
  border: 1px solid #cccccc;
}

.btn-default:hover {
  color: #ffffff;
  background: #339beb;
  border-color: #339beb;
}
