
/* HTML */
html {
  font-size: 14px;
  font-family: "Open Sans", Verdana, sans-serif;
}

/* ELEMENTS */

h2 {
  color: #399bd1;
  font-size: 1.7rem;
  font-weight: bold;
  margin-bottom: 20px;
  margin-left: 15px;
}


h3 {
  font-size: 1.3rem;
  font-weight: bold;
}

picture {
  display: block;
}

/* CLASSES */

.btn {
  background-color: #399bd1;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  display: block;
  margin: 0 auto;
  padding: 1.3rem;
  text-align: center;
  transition: box-shadow 0.4s ease 0.15s,
              background-color 0.4s ease 0.15s;
  width: 11.4rem;
}

.btn:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
}

.btn:active {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.5);
}

.btn:hover,
.btn:focus,
.btn:active {
  outline: 0;
}

.featured {
  color: #399bd1;
}

.image-container {
  overflow: hidden;
}

.image-container img {
  opacity: 0.7;
  transition: opacity 0.5s ease 0.15s,
              transform 0.5s ease 0.15s;
  width: 100%;
}

.image-container img:focus,
.image-container img:hover {
  opacity: 1;
  transform: scale(1.3);
}

/* HEADER */
nav {
  position: relative;
  margin-bottom: 0;
}

#active-link {
  background-color: inherit;
  color: #399bd1;
}

nav a:hover {
  color: black;
}

@media only screen and (max-width: 800px) {
  nav img {
    display: none;
  }
}


/* MAIN */

main {
  position: relative;
}

@media only screen and (max-width: 767px) {

  main {
    top: 135px;
  }
}


/* Jumbotron */

.carousel {
  margin-bottom: 30px;
}

.jumbotron {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin: 0;
  padding-bottom: 11.85rem;
  padding-top: 11.85rem;
}

.jumbotron-bike {
  background-image: url('../images/jumbotron-bike.jpg');
}

.jumbotron-beer {
  background-image: url('../images/jumbotron-beer.jpg');
}

.jumbotron-flowers {
  background-image: url('../images/jumbotron-flowers.jpg');
}

.jumbotron-duffel {
  background-image: url('../images/jumbotron-duffel.jpg');
}

.jumbotron .container {
  color: white;
  min-height: 15rem;
  text-align: center;
  text-shadow: -1px -1px 0 #000,
                1px -1px 0 #000,
               -1px  1px 0 #000,
                1px  1px 0 #000;
}

h1 {
  font-family: "Monoton";
  font-size: 7.1rem;
}

@media only screen and (max-width: 800px) {

  .jumbotron .container {
    min-height: 22rem;
  }

  h1 {
    font-size: 5.7rem;
  }
}

@media only screen and (max-width: 600px) {

  .jumbotron {
    padding: 4rem 0;
  }

  .jumbotron .container {
    min-height: 26rem;
    padding: 0;
  }
}


/* Featured Project */

#featured-project h3 {
  margin-top: 0;
}

#featured-project li {
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.7);
}

@media only screen and (max-width: 991px) {
  .col-xs-6 {
    margin-top: 1.5rem;
  }
}


/* Projects */

#projects {
  padding-bottom: 5.85rem;
}


/* Footer */

#footer {
  background-color: #f3f3f3;
  padding: 5.2rem 0;
  width: 100%;
}

#footer .container {
  text-align: center;
}

#footer strong {
  font-size: 2.5rem;
}

#footer p {
  font-size: 14px;
  margin: auto;
  margin-top: 1.4rem;
  max-width: 100%;
  width: 42rem;
}

#footer button {
  margin-top: 2.8rem;
}
