/*! Matt Laurence home page v4.0                                   */
/*           with special thanks to                                */
/*!      HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
/* SASS file */
/* =====================================================
//    Custom variables
//    ===================================================== */
/*@import url(http://fonts.googleapis.com/css?family=Droid+Serif);
@import url(http://fonts.googleapis.com/css?family=Sorts+Mill+Goudy);*/
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@200;300;400;600;700&display=swap");
@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700,300|Nunito:400,700);
/* this is ALL nav bar colors */
/*$navItemHover: $tan;
*/
html,
button,
input,
select,
textarea {
  color: #222;
}

html {
  font-size: 1em;
  line-height: 1.2em;
  background: url(../img/me_sm.jpg) no-repeat top center fixed;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
}

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

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

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

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

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

textarea {
  resize: vertical;
}

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

/* ===== Main style based on Initializr defaults ======= */
body {
  /*font-family: 'myriad-pro', MyriadPro, 'Myriad Pro', 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;*/
  /*font-family: Nunito, 'myriad-pro', MyriadPro, 'Myriad Pro', 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif;*/
  font-family: "Raleway", "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6rem;
  color: #121212;
  /*background-color: $pageColor;*/
}

.wrapper {
  width: 90%;
  margin: 0 5%;
}

/* ===================
    ALL: Variable color Theme
    =================== */
.main-container {
  padding: 0;
  margin: 0;
}

.footer-container,
.main aside {
  border-top: 1px solid #ffffff;
  background: #ffffff;
}

/* Main header container */
.header-container {
  /*background: $navBarColor;*/
  /*position: fixed;*/
  background: none;
}

/* ==============
    MOBILE: Menu
    ============== */
/*  In mobile mode, hide the footer and put the nav at the bottom   */
.footer-container {
  background: #ffffff;
  height: 3em;
}

.credit {
  display: none;
}

nav {
  /*@include mainFont;*/
  position: fixed;
  left: 14vw;
  z-index: 1;
  bottom: 0;
  width: 100%;
  font-size: 1.2rem;
}

nav ul {
  color: #5a1522;
  margin: 0;
  padding: 0;
}

nav a, a:visited {
  color: #5a1522;
  float: left;
  width: 20%;
  transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  text-align: center;
  padding: 13px 0 7px 0;
  margin: 0 auto;
  background: #ffffff;
  /*background: none;*/
  text-decoration: none;
}

nav a:hover {
  transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  color: #b34d36;
}

nav li:first-child a {
  margin-left: 0;
}

nav li:last-child a {
  margin-right: 0;
}

.hideMobile {
  display: none;
}

/* ========================
    INTERMEDIATE: IE Fixes
    ======================== */
nav ul li {
  display: inline;
}

.oldie nav a {
  margin: 0 0.7%;
}

/* ==============
    MOBILE: Main
    ============== */
.main {
  color: #121212;
  padding: 30px 0;
}

.main a {
  transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  text-decoration: none;
  color: #b34d36;
}

.main aside {
  color: white;
  padding: 0px 5% 10px;
}

.bigSpacer {
  after: " ";
  margin: 6em 0;
}

/* ===============
    ALL: IE Fixes
    =============== */
.ie7 .title {
  padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
h1 {
  color: #5a1522;
  font-size: 6rem;
  letter-spacing: -0.05em;
  text-align: left;
  font-weight: bold;
  line-height: 1.5em;
  /*letter-spacing: .05rem;*/
  margin: 0 auto;
  margin: 0 0 0 -0.09em;
}

.title {
  text-align: center;
  margin: 0 auto;
  padding: 1em 0 0 0;
  font-size: 1.2rem;
  font-weight: 600;
}
.title a {
  color: #5a1522;
  font-size: 2rem;
  font-weight: 500;
  text-decoration: none;
}
.title img {
  position: relative;
  top: 0;
  padding-right: 0.5em;
}

.intro {
  width: 98%;
}

.fullWidth {
  clear: both;
  margin: 0px auto;
  width: 98%;
}
.fullWidth p {
  color: #121212;
  font-size: 1.1rem;
  line-height: 1.7rem;
  padding: 0;
  margin: 0 0 1em 0;
}
.fullWidth p a {
  color: #9b5d44;
  text-decoration: none;
}
.fullWidth p b {
  color: #5a1522;
  font-weight: 500;
}
.fullWidth p a:hover {
  text-decoration: underline;
}

.fa {
  padding-right: 5px;
}

footer h3 {
  font-weight: normal;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

.footer-container {
  width: 100%;
  position: fixed;
  bottom: 0px;
}

h2 {
  color: #121212;
  font-weight: bold;
  font-size: 1.5rem;
  margin: 1em 0 0.5em 0;
}

h3 {
  color: #07666a;
  font-weight: bold;
  font-size: 1rem;
  margin: 0.5em 0 0 0;
}

.header-container {
  padding-bottom: 20px;
}

/* ===============
    Main link and list style definitions for small size
    =============== */
.linkList {
  text-align: center;
  font-size: 1.1rem;
}
.linkList ul {
  padding: 0;
  display: table;
  width: 90%;
  margin: 1em 0;
}
.linkList li {
  display: block;
  list-style: none;
  margin-bottom: 0.3em;
  margin-right: 0;
  font-weight: 500;
}
.linkList a, .linkList a:visited {
  display: block;
  width: 90%;
  background-color: #dad4ce50;
  color: #121212;
  text-decoration: none;
  padding: 0.5em 0.8em;
  margin: 0.3em auto;
}
.linkList a img, .linkList a:visited img {
  transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  width: 95%;
  margin: 0.5em auto;
  padding: 0;
  /*opacity: 100%;*/
}
.linkList a a:hover, .linkList a:visited a:hover {
  background-color: #dad4ce;
  text-decoration: none;
}
.linkList a a:hover img, .linkList a:visited a:hover img {
  transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  /*opacity: 80%;*/
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (min-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  .linkList {
    font-size: 2rem;
  }
}
@media only screen and (min-width: 480px) {
  /* ====================
      INTERMEDIATE: Menu
      ==================== */
  html {
    /*background: url(../img/me.jpg) no-repeat center center fixed;*/
    background-size: 100%;
  }

  .bigSpacer {
    margin: 0;
  }

  .footer-container {
    display: block;
  }

  .linkList {
    font-size: 1rem;
  }
  .linkList li {
    display: inline-block;
    list-style: none;
    margin-bottom: 0.3em;
    margin-right: 0;
    font-weight: 500;
    width: 50%;
  }
  .linkList a, .linkList a:visited {
    display: inline-block;
    padding: 0.5em 0;
    margin: 0.3em 0.3em;
  }
  .linkList a img, .linkList a:visited img {
    transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    margin: 0.5em auto;
    padding: 0;
    width: 90%;
    /*opacity: 50%;*/
  }
  .linkList a:hover {
    background-color: #dad4ce;
    /*color: $caseItemHover;*/
    text-decoration: none;
  }
  .linkList a:hover img {
    transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    /*opacity: 80%;*/
  }
}
/* ================================================================================================================== */
@media only screen and (min-width: 980px) {
  /* ============
      WIDE: Menu
      ============ */
  html {
    background: url(../img/me.jpg) no-repeat center center fixed;
  }

  .hideMobile {
    display: inline;
  }

  .header-container {
    padding-bottom: 0px;
  }

  .intro {
    width: 80%;
  }

  .fullWidth {
    width: 100%;
  }
  .fullWidth p {
    color: #121212;
    font-size: 1.3rem;
    line-height: 1.3em;
    margin: 0 0 1em 0;
    padding: 0;
  }
  .fullWidth p b {
    color: #5a1522;
  }
  .fullWidth p a {
    color: #9b5d44;
    text-decoration: none;
  }
  .fullWidth p a:hover {
    text-decoration: underline;
  }

  nav {
    transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    margin: 0 auto;
    position: relative;
    padding-top: 0.35em;
    float: right;
    width: 50%;
    line-height: 2em;
    font-size: 1rem;
  }

  nav a, a:visited {
    width: 23%;
    transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    text-align: center;
    padding: 13px 0 7px 0;
    margin: 0 1%;
    /*background: $navItemColors;*/
    background: none;
    text-decoration: none;
    color: #5a1522;
  }

  nav a:hover {
    color: #b34d36;
    text-decoration: none;
  }

  .title {
    float: left;
    padding-top: 0.8em;
    font-size: 1.5rem;
  }
  .title a {
    color: #5a1522;
    font-size: 1.5rem;
    font-weight: 400;
  }

  .credit {
    font-size: 0.8rem;
    color: #5a1522;
    display: inline;
    position: absolute;
    right: 0px;
    margin-right: 2em;
    padding-top: 0.7em;
  }
  .credit a {
    text-decoration: none;
    color: #024446;
  }
  .credit a:hover {
    text-decoration: underline;
  }

  h1 {
    font-size: 8rem;
    margin: 0 0 0 -0.09em;
    padding: 0;
  }

  .linkList {
    margin: 1em auto 2em;
  }
  .linkList ul {
    display: block;
    margin: 0;
    padding: 0;
  }
  .linkList li {
    list-style: none;
    margin: 1em 0;
    display: inline;
  }
  .linkList a {
    display: inline-block;
    width: 205px;
    padding: 0.5em 0;
    margin: 0.3em 0.3em;
  }
  .linkList a img {
    margin: 0.5em auto;
    padding: 0;
    width: 175px;
  }
}
/* ================================================================================================================== */
@media only screen and (min-width: 1440px) {
  /* ===============
      Maximal Width
      =============== */
  html {
    background: url(../img/me_copyA.jpg) no-repeat center center fixed;
    width: 100%;
  }

  .fullWidth {
    width: 100%;
  }
  .fullWidth p {
    color: #121212;
    font-size: 1.3rem;
    line-height: 1.3em;
    margin: 0 0 1em 0;
    padding: 0;
  }
  .fullWidth p a {
    color: #9b5d44;
    text-decoration: none;
  }
  .fullWidth p a:hover {
    text-decoration: underline;
  }

  .wrapper {
    margin: 0 auto;
  }

  nav {
    color: #5a1522;
    padding-top: 0.4em;
    font-size: 1rem;
    width: 40%;
  }

  nav a, a:visited {
    margin: 0 1.2%;
    padding-top: 0.8em;
    width: 23%;
  }

  nav a:hover {
    color: #b34d36;
    text-decoration: none;
  }

  .linkList a {
    display: inline-block;
    width: 255px;
    padding: 0.5em 0;
    margin: 0.3em 0.5em;
  }
  .linkList a img {
    margin: 0.5em auto;
    padding: 0;
    width: 220px;
  }

  .normalSpacer {
    /*after: " ";*/
    margin: 1em 0;
  }
}
/* ================================================================================================================== */
/* ==========================================================================
   Helper classes
   ========================================================================== */
.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

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

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

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */
@media print {
  * {
    background: transparent !important;
    color: #000 !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) ")";
  }

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

  pre,
blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

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

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }
  p,
h2,
h3 {
    orphans: 3;
    widows: 3;
  }

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