
/**
 * Reset CSS
 * This file resets the default styles of HTML elements to ensure consistency across different browsers.
 * It is based on the popular reset.css by Eric Meyer.
 */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}




/**
* Defaults CSS
* This file sets default styles for common HTML elements to provide a consistent look and feel across the website.
*/

/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.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 {
    font-size: 1em;
    line-height: 1.4;
  }
  
  /*
   * Remove text-shadow in selection highlight:
   * https://twitter.com/miketaylr/status/12228805301
   *
   * 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;
  }
  
  /* ==========================================================================
     Author's custom styles
     ========================================================================== */
  
  * {
    box-sizing: inherit;
  }
  
  /* ==========================================================================
     Helper classes
     ========================================================================== */
  
  /*
   * Hide visually and from screen readers
   */
  
  .hidden,
  [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
   */
  
  .visually-hidden {
    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 .visually-hidden class to allow the element
   * to be focusable when navigated to via the keyboard:
   * https://www.drupal.org/node/897638
   */
  
  .visually-hidden.focusable:active,
  .visually-hidden.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
   *
   * 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;
  }
  
  
  /* ==========================================================================
     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;
    }
  
    tr,
    img {
      page-break-inside: avoid;
    }
  
    p,
    h2,
    h3 {
      orphans: 3;
      widows: 3;
    }
  
    h2,
    h3 {
      page-break-after: avoid;
    }
  }





  /**
   * Style CSS
   * This file contains custom styles for the website, including layout, typography, and other visual elements.
   */   

   html {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	height: 100%;
}
body {
	margin: 0;
	padding: 2em;

	height: 100%;

	font-size: 62.5%;

	font-family: "Source Sans 3", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	line-height: 1.25;
	letter-spacing: -0.035em;
}

h1, h2 {
	width: 100%;
}

h1 {
	font-weight: 700;
	font-size: 1.7rem;

	margin-bottom: 1rem;
	padding-bottom: 0.25rem;

	border-bottom: 1px solid #4498D3;
}

h2 {
	font-weight: 700;
	font-size: 1.4rem;

	margin-top: 1.5rem;
	margin-bottom: 1rem;
	padding-bottom: 0.25rem;

	border-bottom: 1px solid #4498D3;
}

img {
	display: block;
	width: 100%;
}

#page {
	padding: 1.5rem;
	background-color: #F5F5F5;
	display: flex;
  	flex-direction: column;
	min-height: 100%;
}

p {
    font-size: 1rem;
}
p:not(:last-of-type) {
    margin-bottom: 1rem;
}

header {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 3rem;
	flex-shrink: 0;
}

main {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	flex: 1 0 auto;
}

	main .portfolio-item {
		margin-top: 4rem;
	}

footer {
	display: flex;
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 2em;
	padding-bottom: 1em;
	flex-shrink: 0;
	font-size: 0.8rem;
	justify-content: center;
}

h1 span {
	font-weight: 400;
}



@media screen and (min-width: 550px) {
	h1 {
		font-size: 2rem;
	}
	h2 {
		font-size: 1.6rem;
	}
	p {
		font-size: 1.1rem;
	}
    p:not(:last-of-type) {
        margin-bottom: 1.6rem;
    }
	header {
		padding-top: 4rem;
	}
}


@media screen and (min-width: 768px) {
	h1 {
		font-size: 2.4rem;
	}
	h2 {
		font-size: 1.8rem;
	}
    p {
        font-size: 1.3rem;
    }
    p:not(:last-of-type) {
        margin-bottom: 1.8rem;
    }
	body {
		padding: 2rem;
		line-height: 1.35;
	}
	#page {
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
	header {
		padding-top: 5rem;
	}
	main {
		padding-top: 2rem;
	}
}


body,
#page,
header,
main {
	transition: padding 0.25s ease-out;
}