/*
Website for Paul Hultin by Big Swing
http://bigswing.us
Like reading code? Perhaps you should apply for an engineering position at Big Swing.
*/

@import url(https://fonts.googleapis.com/css?family=Open+Sans:700,400);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i&display=swap);

.main-contain {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 100;
  line-height: 1.7em;
}

h2 {
  line-height: 28px;
  margin: 2em 0 1em 0;
}

p {
  margin-bottom: 1em;
  font-family: 'Source Sans Pro', sans-serif;
}

a {
  color: #59737d;
}

a:hover {
  text-decoration: none;
}

i {
    font-style: italic;
}

.top-carousel-1 {
  background: url('../img/hero.jpg') no-repeat;
  background-size: cover;
  background-position: center;
  height: 25em;
  width:100%;
  margin-bottom: 3.625em;
}

.top-carousel-2 {
  background: url('../img/ROJA-PARA-GABI.jpg') no-repeat;
  background-size: cover;
  background-position: center;
  height: 25em;
  width:100%;
  margin-bottom: 3.625em;
}

.top-carousel-3 {
  background-image: url('../img/jumbies_8_08-0647_by_frank_veronsky-2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 25em;
  margin-bottom: 3.625em;
  -webkit-transform: translateZ(0);
}

.top-carousel-4 {
  background-image: url('../img/Peter-Tablet-2314_7333.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 25em;
  margin-bottom: 3.625em;
  -webkit-transform: translateZ(0);
}

.top-carousel-5 {
  background-image: url('../img/Norman-Mauskopf-2.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 25em;
  margin-bottom: 3.625em;
  -webkit-transform: translateZ(0);
}

.m-about h1 {
  font-size: 3.125em;
  color: #59737d;
  margin-bottom: 46px;
  letter-spacing: 2px;
}

.m-about h2 {
  font-size: 1.5625em;
  color: #565656;
  line-height: 28px;
}

.m-about p {
  font-size: 1.15em;
  color: #565656;
}

 .m-about p:last-child {
  margin-bottom: 4em;
}

.m-mid-photo {
  float: right;
  margin-left: 2em;
  margin-bottom: .5em;
}

.about-top-header {
  display: none;
}

footer {
  color: white;
  display: block;
  width: 100%;
  background-color: #59737d;
  text-align: center;
  padding-bottom: 1em;
}

footer h1 {
  font-size: 3.125em;
  padding-top: 39px;
  margin-bottom: 46px;
}

footer h2 {
  font-size: 1.15em;
  line-height: 1.7em;
  font-family: 'Source Sans Pro', sans-serif;
  margin: 0;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 2em;
}

footer .social-icons a {
  text-decoration: none;
}

.linkedin {
  font-size: 2.5em;
  margin-right: .3em;
  text-decoration: none;
  color: white;
}

.vcard {
  font-size: 3em;
  margin-left: .3em;
  vertical-align: sub;
}

/*This is the Carousel*/
.slide-container {
  display: block;
  margin-bottom: 3em;
  position: relative;
  width: 100%;
}

#wrapper {
  display: block;
  width: 100%;
  /*min-width: 960px;
  margin: -250px 0 0 0;
  position: absolute;
  top: 50%;
  left: 0;*/
}

#carousel div {
  /*height: 31.25em;*/
  float: left;
  display: inline-block;
}

#carousel img {
  height: 100%;
  width: 100%;
}

#title {
  position: absolute;
  left: 50%;
  top: 20%;
  -webkit-transform: translate(-50%,0);
          transform: translate(-50%,0);
  width: 75%;
}

#title h1 {
  font-family: 'Open Sans', sans-serif;
  font-size: 3.75em;
  line-height: 50px;
  color: #fff;
  margin: 0;
  text-align: center;
  margin-bottom: 46px;
}

#title h3 {
  font-size: 30px;
  color: white;
  text-align: center;
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 1.3em;
  max-width: 790px;
  margin: 0 auto;
}

#title a:hover {
  background: rgba( 0, 0, 0, 0.5 );
  padding: 2px 5px;
}

/*.caroufredsel_wrapper {
  height: 20em !important;
  width: 100% !important;
}*/

  /* Smaller than standard 960 (devices and browsers) */
  @media only screen and (max-width: 959px) {}

  /* Tablet Portrait size to standard 960 (devices and browsers) */
  @media only screen and (min-width: 768px) and (max-width: 959px) {}

  /* All Mobile Sizes (devices and browser) */
  @media only screen and (max-width: 767px) {
    .about-top-header {
      display: inline-block;
    }
    .about-bottom-header {
      display: none;
    }

    .m-mid-photo {
      margin-bottom: 48px;
    }
  }

  /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
  @media only screen and (min-width: 480px) and (max-width: 767px) {
    .m-mid-photo {
      float: none;
      margin-left: 0;
    }

    .desktop-content {
      display: none;
    }
  }

  /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
  @media only screen and (max-width: 479px) {
    #title h1 {
      font-size: 2.43em;
      margin-bottom: .3em;
   }

   #title h3 {
    font-size: 22px;
  }
    .m-mid-photo {
      float: none;
      margin-left: 0;
    }
    .m-mid-photo img {
      /*height: ;*/
      width: 100%;
    }
    h1.about-top-header {
      font-size: 2.4em;
    }

    footer h1 {
      margin-bottom: 23px;
    }

/*    footer h2 {
      font-size: .7em;
    }*/

    footer h2:nth-child(4n) {
      margin-bottom: 1em;
    }

    .desktop-content {
      display: none;
    }
  }


