@media(min-width: 768px) {
  .flex-container {
    display: flex;
    justify-content: space-around;
  }
}

body {
  /*font-family: "Lato", "Helvetica Neue", Arial, Helvetica, sans-serif;*/
}

body {
  font-family: 'Quicksand', sans-serif;
  font-weight: 300;
 }
 
 h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
 }

.container {
  text-align: center;
}

.bg-image-full {
  background: no-repeat center center scroll;
}

section {
  padding-top: 56px;
}

.btn-group .btn {
  border-radius: 3px !important;
}

.btn {
  transition: background-color 0.5s ease;
  background-color: #343a40;
  color: white;
}

.btn:hover {
  background-color: black;
  color: white;
}

.row {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Space between buttons in button groups*/
.btn-group button { 
  margin: 0 7px; 
}

/* Navbar */
.navbar-nav > li {
  float: left;
  position: relative;
}
.navbar-nav .active a::after, .navbar-nav a:hover::after {
  border-bottom: 2px solid #fff;
  bottom: 5px;
  content: " ";
  left: 0;
  position: absolute;
  right: 0;
  margin-left: 10%;
  margin-right: 10%;
}

/* Home section */
#home {
  height: 97vh;
  background-image: url("../img/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  color: white;
}

#welcome-text {
  padding-bottom: 2rem;
}

/* Contact me section */
.contact-form{
  background: #fff;
}
.contact-form .form-control {
  /*border-radius:1rem;*/
}
.contact-image {
  text-align: center;
}
.contact-image img {
  width: 120px;
  border-radius: 6rem;
  transform: rotate(29deg);
  
}

/* Animation */
blockquote {
  font-size: 3rem;
}
blockquote h1 {
  opacity: 1;
  transition: 1s opacity;
  font-family: Georgia, serif;
  font-style: italic;
  letter-spacing: .1rem;
}
blockquote h1 span { 
  will-change: opacity, filter;
  opacity: 0;
  filter: blur(0px);
}

/* Services section */
.showcase-img {
  width: 80%;
  height: auto;
}

/* Footer */
footer {
  padding-top: 56px;
  background-color: black;
}

.footer-copyright {
  text-align: center;  
}

.white-text {
  color: white;
}

/* Backgrounds */
.bg-gray {
  background: #F1F1F1;
}

/* */

.flex-container div {
  border: 1px #ccc solid;
  padding: 10px;
}

.box {
  flex-basis: 20%;
}

.card {
  height: 100%;
  margin-bottom: 25px;
}

.card-col {
  padding-bottom: 20px;
}

.card-img-top {
  /*width: 85%;*/
  height: auto;
  margin-top: 10px;
}

.card-text {
  margin-top: 15px;
  color: #777;
}

.card-body {
  padding-bottom: 0px;
}

.equal-height {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
}

.tech {
  background: #ffffff none repeat scroll 0 0;
  border-radius: 4px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

@media(max-width: 576px) {
  .hidden-xs {
    display: none;
  }

  /* Hamburger menu-item underline */
  .navbar-nav .active a::after, .navbar-nav a:hover::after {
    border-bottom: 2px solid #fff;
    bottom: 5px;
    content: " ";
    left: 0;
    position: absolute;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 5%;
  }
}

.card:hover {
  color: #428bca
}

#welcome-text .btn {
  margin-top: 40vh;
  background-color: floralwhite;
  color: black;
}

.icon-container i {
  margin-left: 0px;
  margin-right: 0px !important;
}

.ic-li {
  margin-left: 60px;
  margin-right: 60px !important;
}

/* Projects */
.portfolio-item {
  margin-bottom: 25px;
  height: 450px;
}

.img-responsive {
  max-height: 300px;
}

.image-box {
  max-width: 100%;
  height: auto;
  overflow: hidden;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.card-box {
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,.125);
  padding: 15px;
  transition: all .4s;
  overflow: hidden;
  box-sizing: border-box;
}

img.grayscale {
  filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
  filter: gray; /* Firefox 3.5+, IE10 */
  -webkit-filter: grayscale(0%); /* IE6-9 */
  -webkit-transition: all .6s ease; /* Chrome 19+ & Safari 6+ */
  -webkit-backface-visibility: hidden; /* Fade to color for Chrome and Sa$
  /* Fix for transition flickering */
  transition: all .6s ease;
}
img.grayscale:hover {
  filter: none;
  -webkit-filter: grayscale(100%);
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.view-btn {
  border: 1px solid #333;
  color: #333;
  display: inline-block;
  font-weight: 600;
  padding: 5px 25px;
}

.image-box img {
  width: 100%;
}

a {
  color: black;
  text-decoration: none !important;
}

.card-box:hover h5 a {
  color: #428bca;
}