/* -----------------------------  */
/* REUSABLE COMPONENTS */
/* -----------------------------  */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html {
  background-color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-size: 20px;  
  text-rendering: optimizeLegibility;
}

.row {
  max-width: 1140px;
  margin: 0 auto;
}

section {
  /*padding: 80px;*/
  padding-top: 10px;
}

a {
  color: #fff
}

a:link, a:visited {
  text-decoration: none;
  color: #fff;
}

a:active, a:hover {
  color: #3498DB;
}

.btn {
  display: inline-block;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  border: 1px solid transparent;
  padding: 0.2rem 1rem;
  font-size: .8rem;
  line-height: 1.25;
  border-radius: 0.50rem;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}


.btn-info {
  color: #fff;
  background-color: #3498DB;
  border-color: #3498DB;
}

.btn-info:hover {
  color: #fff;
  background-color: #31b0d5;
  border-color: #2aabd2;
}


/* -----------------------------  */
/* HEADER */
/* -----------------------------  */

header {
background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/IMG_3920-min.jpeg);
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/IMG_3920-min.jpeg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    background-attachment: fixed; 
}

header .row {
    color: white;
    padding-left: 2%;        
}

/*#header-type {
  font-size: 300%;
  color:#fff;
  font-weight: 100;
  margin: 0;
  letter-spacing: 4px;
  word-spacing: 3px; 
}*/

.name {
  float: left;
  text-transform: uppercase;
}

.hero-text {
  position: absolute;
  line-height: 130%;
  top: 50%;
  font-size: 250%;
  text-transform: uppercase;
}

.image-caption {
    position: absolute;
    margin-bottom: 3px;
    bottom: 0;
    font-size: 70%;
}

/* MAIN NAV */
.nav {
  float: right;
  list-style: none;  
  margin-top: 40px;
  text-transform: uppercase;
}

.nav li {  
  display: inline-block;
  padding: 5px;
}

/* STICKY NAV */
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 2px #efefef;
  z-index: 9999;
}

.sticky.row {
  height: 55px;
}

.sticky .nav {
  color: black;
  margin-top: 5px;
}

.sticky .name {
  color: black;
  font-size: 100%;
  padding-top: 10px;
  /*display: none;*/
}

.sticky .nav li a {
  color: black;  
  display: inline-block;
  padding: 10px;
}


 /*MAIN NAV 
.mobile-nav-icon {
  float: right;
  margin-top: 30px;
  cursor: pointer;
  display: none;
}

.mobile-nav-icon i {
  font-size: 200%;
  color: #fff;
}*/

/* -----------------------------  */
/* services */
/* -----------------------------  */

.services {
  padding-top: 50px;
  padding-bottom: 30px;
  background-color: #D2D7D3;
}


.long {
  line-height: 150%;
  text-align: left;
  /*padding-right: 2%;
  padding-left: 2%;*/

}

.profile {    
  padding-top: 50px;
  padding-bottom: 30px;
}

.profile img {
  border-radius: 50%;
  /*height: 300px*/
}

.img-box {
  padding-left: 50px;
  padding-bottom: 30px;
}

.image-text {
  /*margin-top: 0%;*/
  /*margin-right: 20%;*/
  /*margin-left: 0;*/
  line-height: 150%;
  padding-left: 10%
}


/* -----------------------------  */
/* FORM */
/* -----------------------------  */


.contact-form {
    width: 60%;
    margin: 0 auto;
    padding-bottom: 10px;
    padding-top: 50px;
}

input[type=text],
input[type=email],
select,
textarea {
    width: 100%;
    padding: 7px;
    border-radius: 3px;
    border: 1px solid #ccc;
    font-size: 100%;
    font-weight: 100;
}

textarea {
    height: 100px;
}

input[type=submit] {
    background-color: #6BB9F0;
    font-size: 90%;
    display: inline-block;
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    /*-webkit-transition: background-color 0.2s, border 0.2s, color 0.2s;
    transition: background-color 0.2s, border 0.2s, color 0.2s;*/
}

input[type=submit]:hover {
  border-color: #22313F;
  transition: background-color 0.2s, border 0.2s, color 0.2s;
}

.form-messages {
  width: 70%;
  margin: 0 auto;
  padding: 15px;
  border-radius: 3px;
  margin-bottom: 30px;
}

.success {
  background-color: #26bf44;
}

.error {
  background-color: red;
}

.designed {
  padding-bottom: 10px;
  margin-top: 5%;
  font-size: 70%;
}

a.designed {
  color: black;
}

a:hover, a:active.designed  {
  color: #6BB9F0;  
}

/* -----------------------------  */
/* MEDIA QUERIES */
/* -----------------------------  */

@media only screen and (min-width: 1200px) {
   .long { 
      padding-right: 1.5%;
      padding-left: 1.5%;
    }

    .profile img {
      height: 300px;
    }
}

/* Big tablet to 1200px (widths smaller than the 1140px row) */
@media only screen and (max-width: 1200px) {
  
    .services {
      padding-top: 25px;
      background-color: #D2D7D3;
    }

    img { height: 250px; }

    .long { 
    padding-left: 1.5%;
    padding-right: 1.5%;
    }
}


/* Small tablet to big tablet: from 768px to 1023px */
@media only screen and (max-width: 1023px) {
   .services {
     padding-right: 10px;
     padding-left: 10px;
    }

   img { height: 200px; }
  
  .image-text { margin: 0% }
}




/* Small phones to small tablets: from 481px to 767px */
@media only screen and (max-width: 779px) {
    /*.span-1-of-3 {
      width: 100%     
    }*/
    
    .hero-text { font-size: 200%}

    .sticky { display: none}

    .nav { 
      /*float: left;
      margin-top: 25px;
      margin-left: 25px;*/
      display: none 
      }
    .nav li {
      display: block;
      padding: 5px 0;
    }
    

    /*.mobile-nav-icon { 
      display: inline-block;
    }*/

    .long {
      font-size: 80%;
    }

    .image-text {
      font-size: 80%;
    }

    .services { padding: 0}

    .services .row { 
      padding-top: 5%;
      padding-bottom: 5%;
      padding-left: 5%;
      }

    img {
      height: 150px;
    }

    .image-text { margin: 0 }

}


@media only screen and (max-width: 551px) {
  .hero-text { font-size: 150% }
}


/* Small phones: from 0 to 480px */
@media only screen and (max-width: 480px) {
  /*nav ul { display: none }*/

  .name { font-size: 120% }

  .hero-text { 
    font-size: 140%;
    top: 35%;
    }

  .profile { padding-bottom: 0;}

  .long {
    padding-bottom: 30px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .img-box {
    padding-bottom: 0;
  }

  img {
    height: 200px;    
  }

  .image-text { 
    margin: 5% 10%
    }

  .form-messages {
    width: 100%;
  }
}
