/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.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 {
  font-size: 1em;
  line-height: 1.4;
}


/*
 * 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;
}

img {
  opacity: 0;
  max-width: 100%;
}

.lazy-loaded {
  opacity: 100%;
  transition: opacity .3s ease-out;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

   body {
      background-color: var(--colorGray10);
    }

/* --------------------------------- */
/* HERO ---------------------------- */
/* --------------------------------- */

    .me-img {
      
        background: var(--colorBlue80);
        background: url(https://res.cloudinary.com/upinthecloud/image/upload/c_scale,w_200/v1703850756/1960px_Me_portrait_ylm6b4.png);
        background-position-x: center;
        background-color: var(--colorWhite);
        border-radius: 100px;
        background-repeat: no-repeat;
/*        -webkit-filter: grayscale(100%);*/
    }

    .card {
      background: var(--colorBlue30);
      border: 1px solid var(--colorBlue40);
      padding: .5em 1.6em;
      width: fit-content;
      border-radius: 32px;
      margin: 1em 0 1.5em;
    }

    .italic {
      font-style: italic;
    }

 /*   .bg {    
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        background-image: url("https://res.cloudinary.com/upinthecloud/image/upload/q_70/v1576595327/2800_me_13_ciovn7.png");
        background-repeat: no-repeat;
        background-position: 50% 0;
        background-size: cover;
        z-index: -99;
        opacity: .8;
    }*/


    .logo {
      background: url(../img/lej_symbol_000.png);
      background-repeat: no-repeat;
      background-position: top left;
      background-size: 4.5rem;
      margin: 3rem 0 1rem;
      padding: .4rem;
      border-bottom: 1px solid var(--colorGray30);
    }

   .layout {
      display: flex;
      min-height: 100vh;
      flex-direction: column;
      overflow: visible; 
    }

    .v-height {
      /*max-width: 1200px;*/
      height: 100vh;
    }

    .img-placeholder {
      background-color: var(--colorGray10);
      max-width: 100%;
      height: 450px;
      border-radius: 20px;
    }

    .gallery {
      margin-top: 1em;
    }

    .work-process {
      padding-top: 2rem;
    }


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


/*
 * 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
 */

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

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

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

/*
 * 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: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/*GRID SYSTEM - http://flexboxgrid.com/
col-xs = -> 800
col-sm = 768px -> 1024px 
col-md = 1024 -> 1200px
col-lg = 1200 -> 
*/


@media screen and (max-width: 768px) {   
    
  /*
  * Hide visually and from screen readers
  */

  
  /*.hide-on-mobile {
    display: none !important;
  }*/

  body {
    font-size: 1.1em;
  }

  h3 {
    font-size: 1.8em;
  }

  .topbar {
    margin: 2rem 0 0 .1rem;
  }
  
  .container {
    margin: 0 1.5rem !important;
  }

  .logo {
    background-size: 3.2rem;
    height:2rem;
  }

  .wrap-around {
    margin-bottom: 1.5rem;
  }

  .me-img {
    width: 48px;
    height: 48px;
    background-size: 48px;
    margin-top: 1em;
  }
  
  .page-section {
      margin: 1.5em 0 1.5em;
  }

  .primary--button, 
  .secondary--button, 
  .tertiary--button {
    display: block;
    margin: .6em 1em;
  }

  /*h1,h2,h3,h4 {
    letter-spacing: -1px;
  }*/

  h2 {
    font-size: var(--text-xl);
  }

  p {
    margin: .5em 0 .8em 0;
    font-size: 1.1em;
    line-height: 1.5;
  }

}

/*col-sm - iphone 6,7,8 portrait*/
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) 
and (orientation : landscape) { 

    /*styles here*/

}

/*col-sm - ipad portrait*/
@media screen and (min-width : 768px) and (max-width : 1024px) {
        
    .container {
      width: 85% !important;
    }

    .logo {
      background-size: 3rem;
      height:2.5rem;
    }

    .me-img {
      width: 40px;
      height: 40px;
      background-size: 40px;
      margin-top: 1em;
    }

}

/*col-md - ipad landscape*/
@media screen and (min-width : 1024px) and (max-width : 1280px) {

    .container {
      width: 85% !important;
    }

    .logo {
      background-size: 3rem;
      height:2.5rem;
    }

    .me-img {
      width: 40px;
      height: 40px;
      background-size: 40px;
      margin-top: 1em;
    }

}

/*col-lg - desktop*/
@media screen and (min-width : 1280px) {
    
    body {
      font-size: 1.5em;
    }

    .padding {
      padding: 0 1rem;
    }

    .logo {
      background-size: 3rem;
      height:2.5rem;
    }

    .me-img {
      width: 40px;
      height: 40px;
      background-size: 40px;
      margin-top: 1em;
    }
    
    .page-section {
      margin: 4rem 0;
    }


}

@media screen and (min-width : 1440px) {

      body {
        font-size: 1.5em;
      }


      .logo {  
        background-size: 4.5rem; 
        margin: 2rem 0; 
      }

      .me-img {
        width: 54px;
        height: 54px;
        background-size: 54px;
      }

      .page-section {
        margin: 4rem 0;
      }

}

@media screen and (min-width : 1690px) {
      
      body {
        font-size: 1.5em;
      }

      .logo {  
        background-size: 4rem;
        margin: 3rem 0 2rem; 
      }

      h1,h2,h3 {
        letter-spacing: -3px;
      }
      
      .me-img {
        width: 54px;
        height: 54px;
        background-size: 54px;
      }

      .page-section {
        margin: 6rem auto 4rem;
      }
      
}

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

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    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:
   * https://web.archive.org/web/20180815150934/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;
  }
}

