/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    scroll-behavior: smooth;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */
img {
  width: 100%;
  height: auto;
}

body {
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

h2 {
  font-family: "Work Sans", sans-serif;
}


/****HEADER-NAV****/
.container {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 1px solid #d9d9d9;
}

header  {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 3;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.694, 0.048, 0.335, 1), background 0.3s, -webkit-transform 0.5s cubic-bezier(0.694, 0.048, 0.335, 1);
  transform: translateY(0);
  -webkit-transform: translateY(0);
}

#logo img {
  width: 6%;
  padding-top: 3px;
  padding-left: 4px;
}

.nav-toggle {
  display: block;
  border-radius: 5px;
  background-color: transparent;
  float: right;
  height: 20px;
  width: 20px;
  cursor: pointer;
  padding-top: 4px;
  padding-right: 4px;
  margin-right: 4px;
}

.nav-toggle span {
  position: relative;
  display: block;
  height: 2px;
  width: 100%;
  margin-top: 4px;
  background-color: #000;
  transition: all .25s;
}

.nav-toggle.open span:first-child { 
  transform: rotate(45deg) translate(4.4px, 4.4px); 
}

.nav-toggle.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.nav-toggle.open span:last-child { 
  transform: rotate(-45deg) translate(4.4px, -4.4px); 
}

ul.menu-left {
  display: block;
  max-height: 0;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  z-index: 10;
}

ul.menu-left:before {
  content: '';
  display: table;
  clear: both;
}

header nav ul li {
  float: none;
  margin-left: 0;
  list-style: none;
  text-align: center;
  padding-bottom: 6px;
}

header nav ul li a { 
  display: block;  
  padding: .425rem 0rem;
}

header nav ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

ul.menu-left.collapse { 
  max-height: 15em !important;
  padding: 0;
}

.menu-left a {
  display: inline-block;
  position: relative;
  padding-bottom: 0px;
  transition: color .35s ease;
}

.menu-left a:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  transition: width 0s ease, background .35s ease;
}

.menu-left a:after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: rgb(0, 0, 0);
  transition: width .35s ease;
}

.menu-left a:hover:before {
  width: 100%;
  background: rgb(0, 0, 0);
  transition: width .35s ease;
}

.menu-left a:hover:after {
  width: 100%;
  background: transparent;
  transition: all 0s ease;
}

.menu-left a {
  font-family: 'Work Sans';
  font-size: 1.4rem;
  font-variant: small-caps;
  text-decoration: none;
  color: #222;
}

.menu-left a:hover, a:focus { 
  color: #222;
}

hide-nav {
  transform: translateY(-120% !important); 
  -webkit-transform: translateY(-120%) !important; 
}

/****HEADER****/
.header-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: url('../img/header-img.gif');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 500px;
  margin: auto;
}

.header h1 {
  color:#e7b521;
  font-family: "Work Sans", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  padding-bottom: 10px;
  margin-bottom: 0;
  text-align: center;
}


/****MAIN****/
main {
  width: 100%;
  margin: auto;
}

h2 {
  /*color: #db8402;*/
  color: #818AA3;
  font-size: 1.7rem;
  margin-top: .5em;
  padding-left: 34px;
  text-align: left;
}

.content-wrapper {
  padding-bottom: 30px;
  padding-top: 10px;
}

p {
  padding-left: 34px;
  padding-right: 34px;
}


/****ABOUT****/
.about {
  display: flex;
  justify-content: center;
}

.about .content-wrapper {
  padding: 0;
}

.about h3 {
  font-size: 1.3rem;
  font-weight: 300;
  padding: 16px 28px;
  text-align:left
}

.about span {
  font-family: "Work Sans", sans-serif;
  font-size: 1.2em;
  font-weight: 600;
}


/****SERVICES****/
.services {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.services .content-wrapper {
  background: #eff5f2;
  /*border-radius: 25px;
  width: 96%;*/
}

.services p {
  font-size: 1.1rem;
  font-weight: 300;
  text-align: left;
  margin-bottom: 0;
  padding-bottom: 4px;
  padding-top: 0;
}

.services span {
  font-weight: 500;
  font-variant: small-caps;
}

/*.services-items p {
  background-color: #fff;
}*/


/****REVIEWS****/
.reviews {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

/*.reviews .content-wrapper {
  background: #FAC8CD;
  /*border-radius: 25px;
  width: 96%;
}*/

.reviews p {
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  text-align: left;
  margin-bottom: 0;
}

.reviews span {
  font-style: normal;
  font-variant: small-caps;
}


/****CONTACT****/
.contact .content-wrapper {
  /*background: #eff5f2;*/
  background: #495D63;
  padding-bottom: 16px;
}

.contact h2 {
  font-size: 1.5rem;
  color:#fff;
}

.contact p {
  color: #fff;
  margin: 0;
  padding-bottom: 6px;
  text-align: left;
}

.contact img {
  color: #222;
  margin-bottom: 4px;
  padding-bottom: 2px;
  width: 5.5%;
}

.contact .instagram p {
  padding-left: 32px;
  padding-top: 16px
}

.contact .instagram img {
  width: 6%;
}

.contact a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 400;
  padding-left: 2px;
  text-decoration: none;
}

.contact a:hover {
  opacity: .5;
}

.contact h4 {
  color: #fff;
  font-size: .8rem;
  font-weight: 400;
  margin-top: 2px;
  padding-top: 12px;
  padding-left: 34px;
  text-align:left;
}




 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media (hover: none) {
}

/*@media (pointer: coarse) {
  li a {
    display: none;
  }

  li a:hover {
    display: inline-block;
  }
}*/

@media (min-width: 768px) {
  /****Tablet (portrait) styles here****/


  /****HEADER-NAV****/
  .container {
    padding-bottom: 10px;
  }

  .nav-toggle { 
    display: none;
  }
  
  #logo img {
    padding-left: 6px;
    padding-top: 6px;
    width: 4%;
  }

  header nav ul li {
    float: left;
    margin-left: 1rem;
  }

  header nav ul li a { 
    display: block; 
  }

  ul.menu-left {
    display: block !important;
    float: right;
    max-height: none;
    padding-right: 6px;
  }

  .menu-left a:after {
    content: '';
    opacity: 0;
  }

  .menu-left a:hover:after {
    opacity: 1;
  }


  /****HEADER-IMAGE****/
  .header-image {
    height: 500px;
  }

  .header-image h1 {
    font-size: 2.5rem;
    /*margin-bottom: 1em;*/
    letter-spacing: 3px;
  }

  /****MAIN****/
main {
  width: 100%;
  margin: auto;
}

h2 {
  text-align: center;
  padding-left: 0;
}

  /****ABOUT****/
  .about h3 {
    font-size: 1.5rem;
    padding: 24px 40px;
  }


  /****SERVICES****/
  .services {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column wrap;
  }

  .services .services-items {
    display: flex;
    justify-content: space-evenly;
    padding-left: 1.5em;
    padding-right: 1.5em;
  }

  .services p {
    margin: 0;
    padding-left: 14px;
    padding-right: 14px;
  }


  /****REVIEWS****/
  /*.reviews .content-wrapper{
    padding-left: 1.5em;
    padding-right: 1.5em;
  }*/

  .reviews p {
    font-size: 1.1rem;
    padding-left: 80px;
    padding-right: 80px;
  }


  /****CONTACT****/
  /*.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
  }*/

  .contact .content-wrapper {
    width: 100%;
  }

  .contact p {
    text-align: center;
  }

  .contact img {
    width: 2.5%;
  }

  .contact .instagram img {
    padding-bottom: 16px;
    width: 3%;
  }

  .contact .instagram p {
    padding-top: 20px;
  }

  .contact .button {
    font-size: 1rem;
    padding: 4px 34px;
    width: 90%;
  }

  .contact a {
    font-size: 1.2em;
  }

  .contact h4 {
    margin-bottom: 14px;
    padding-left: 0;
    padding-top: 0;
    text-align: center;
  }


@media (min-width: 1024px) {
  /****Tablet (landscape) styles here****/

  /****HEADER****/
  #logo img {
    width: 3%;
  }

  /****HEADER-NAV****/  
  .menu-left a {
    padding-top: 10px;
  }


  /****HEADER-IMAGE****/
  .header-image {
    height: 700px;
  }

  .header-image h1 {
    font-size: 3.2rem;
    letter-spacing: 4px;
    /*margin-bottom: 1.5em;*/
  }

  /*****MAIN****/
  .content-wrapper {
    padding-bottom: 60px;
    padding-top: 40px;
  }

  h2 {
    font-size: 1.9rem;
  }  


  /****ABOUT****/
  .about h3 {
    font-size: 1.7rem;
    padding: 30px 80px;
  }


  /****SERVICES****/
  /*.services .content-wrapper {
    padding-left: 30px;
    padding-right: 30px;
  }*/

  .services p {
    font-size: 1.2rem;
  }


  /****REVIEWS****/
  /*.reviews .content-wrapper {
    padding-left: 30px;
    padding-right: 30px;
  }*/

  .reviews p {
    font-size: 1.2rem;
    padding-left: 100px;
    padding-right: 100px;
  }


  /****CONTACT****/
  /*.contact {
    padding-bottom: .6em;
  }*/

  /*#contact-icons {
    margin-top: 7em;
  }*/

  .contact a {
    font-size: 1.2rem;
  }

  .contact img {
    width: 2%;
  }

  .contact .instagram img {
    width: 2.5%;
  }

  .contact h4 {
    font-size: 1rem;
  }
}




@media (min-width: 1200px) {
  /****Small desktop styles here****/


  /****HEADER****/
  #logo img {
    width: 2.5%;
  }


  /****HEADER-NAV****/
  .header-image {
    height: 820px;
  }

  /*.header-container {
    background: rgba(51, 51, 51, 0.5);
    margin-bottom: 5em;
  }*/

  .header-image h1 {
    font-size: 3.5rem;
    letter-spacing: 8px;
    margin: 0;
    padding-left: .5em;
    padding-right: .5em;
  }

  /*****MAIN****/
  h2 {
    font-size: 1.8rem;
  }  


  /****ABOUT****/
  .about h3 {
    font-size: 1.9rem;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 220px;
    padding-right: 220px;
  }

  /****SERVICES****/
  .services p {
    font-size: 1.5rem;
  }


  /****REVIEWS****/
  .reviews p {
    font-size: 1.5rem;
    padding-left: 120px;
    padding-right: 120px;
  }


  /****CONTACT****/
  .contact .instagram img {
    width: 2%;
  }
} 


@media (min-width: 1440px) {
  /****Medium desktop styles here****/

  /****HEADER-NAV****/
  #logo img {
    width: 1.5%;
  }

  /*.menu-left a {
    font-size: 1.2em;
  }*/


  /****HEADER****/
  /*.header-image h1 {
    margin-bottom: 1.2em;
  }*/


  /****ABOUT****/
  .about h3 {
    padding-left: 240px;
    padding-right: 240px;
  }
  

  /****SERVICES****/
  .services .content-wrapper {
  padding-left: 60px;
  padding-right: 60px;
  }


  /****REVIEWS****/
  .reviews p {
    padding-left: 280px;
    padding-right: 280px;
  }


  /****CONTACT****/
  /*.contact img {
    width: 1%;
  }*/
}




   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


