/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  font-size: 1.6rem;
  font-family: "PT Sans", sans-serif;
  transition: 0.2s right ease-in-out;
  position: relative;
  right: 0;
  line-height: 1.6;
  background: #fff;
  color: #333;
}

* {
  box-sizing: border-box;
}

a {
  color: #9D1309;
  text-decoration: none;
}

a:hover {
  color: #225271;
}

h1, h2 {
  margin: 1.3rem 0;
}

img {
  max-width: 100%;
  width: auto;
  height: auto;
}

figure {
  margin-left: 0;
  margin-right: 0;
}

::selection {
  color: #fff;
  background-color: #2d658a;
}

.page-wrap {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.page-header {
  background: #155368;
  border-bottom: 5px solid #043e54;
}
.page-header.is-transparent {
  background: none;
  border: 0;
}

.home .page-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9;
}

.home.is-wide .page-content {
  padding-top: 0;
}

.page-header-inner {
  display: flex;
  max-width: 1150px;
  width: 100%;
  height: 90px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.page-logo {
  display: block;
  align-self: center;
  border: 3px solid #fff;
  width: 60px;
  height: 60px;
  padding: 1rem;
  color: #fff;
  text-align: center;
  font-size: 2rem;
  transition: transform 0.3s linear;
}
.page-logo:hover {
  color: #fff;
  transform: rotate(-45deg);
}

.page-container {
  flex: 1;
}

.page-container-inner {
  max-width: 1150px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.is-wide .page-container-inner {
  max-width: none;
}

.is-wide .page-content {
  padding: 0;
  padding-top: 2rem;
}

.page-footer {
  background: #333;
}

.page-footer-inner {
  max-width: 1150px;
  width: 100%;
  min-height: 100px;
  margin: 0 auto;
  padding: 1.5rem 2.5rem;
  text-align: center;
}

.copyright {
  color: #fff;
  font-size: 1.5rem;
  margin-top: 1rem;
}

.social-media-links {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 1rem;
}
.social-media-links li {
  font-size: 3rem;
  display: inline-block;
}
.social-media-links a {
  color: #ccc;
  padding: 0.8rem;
  display: block;
  text-decoration: none;
}
.social-media-links a svg path {
  fill: #ccc;
}
.social-media-links a:hover svg path {
  fill: #fff;
}
.social-media-links .menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-block-wrapper {
  overflow: auto;
  padding: 7rem 2rem;
}

.content-block {
  margin: 0 auto;
  max-width: 1150px;
  padding-bottom: 7rem;
}

.content-block-wrapper .content-block:last-child {
  padding-bottom: 0;
}

.content-no-borders {
  overflow: hidden;
  padding: 0;
}

.page-content {
  background: #fff;
  padding: 2rem;
  height: 100%;
}

@media (max-width: 800px) {
  body {
    background: #fff;
  }
}
@media (max-width: 450px) {
  #copyright, #social-links {
    margin: 0.8rem 0;
  }
}
.page-nav {
  flex: 1;
  align-self: flex-end;
  justify-self: flex-end;
  margin-bottom: 1rem;
  position: relative;
  text-align: right;
}

.page-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-nav ul {
  padding: 0;
}

.page-nav li {
  font-size: 1.7rem;
  display: inline-block;
  text-align: left;
}

.page-nav a {
  color: #fff;
  padding: 5px;
  margin-right: 25px;
  display: block;
  text-decoration: none;
  position: relative;
}
.page-nav a:before, .page-nav a:after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #fff;
}
.page-nav a:before {
  opacity: 0;
  transform: translateY(-8px);
  transition: transform 0s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0s;
}
.page-nav a:after {
  opacity: 0;
  transform: translateY(4px);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
}
.page-nav a:hover:before, .page-nav a:hover:after, .page-nav a:focus:before, .page-nav a:focus:after {
  opacity: 1;
  transform: translateY(0);
}
.page-nav a:hover:before, .page-nav a:focus:before {
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
}
.page-nav a:hover:after, .page-nav a:focus:after {
  transition: transform 0s 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0s 0.2s;
}

.page-nav a:hover,
.page-nav .current-menu-item a,
.page-nav .current-menu-parent a {
  color: #fff;
}

.page-nav .menu > li:hover .sub-menu {
  display: block;
}

.page-nav .sub-menu {
  display: none;
  position: absolute;
  background: #2b2d32;
  margin-left: -1.5rem;
  z-index: 99;
}

.page-nav .sub-menu li {
  width: 100%;
}

.page-nav .sub-menu a {
  padding: 1.5rem 1.5rem;
  width: 100%;
  font-weight: normal;
}

.page-nav .sub-menu a:hover {
  background: #eee;
  color: #333;
}

.page-nav .sub-menu a {
  margin: 0;
  border: 0;
}

.page-nav-toggle {
  display: none;
  background: none;
  border: 0;
  outline: none;
  z-index: 99;
  position: absolute;
  right: 2.5rem;
  top: 3.5rem;
  cursor: pointer;
  font: normal normal normal 1em/1 "LineIcons";
  color: inherit;
  flex-shrink: 0;
  speak: none;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-nav-toggle:before {
  content: "\eb2a";
  font-size: 3rem;
  color: #fff;
}

.page-nav-cover {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.75;
  background: #111;
  z-index: 98;
  visibility: hidden;
  transition: 0.2s right ease-in-out;
}

@media (max-width: 800px) {
  .page-nav-toggle {
    display: block;
  }
  .page-nav {
    position: unset;
  }
  .page-nav .menu {
    visibility: hidden;
    position: fixed;
    right: -250px;
    top: 0;
    bottom: 0;
    background: #2b2d32;
    transition: 0.2s right ease-in-out;
    width: 250px;
    z-index: 99;
  }
  .page-nav li {
    display: block;
    text-align: right;
  }
  .page-nav a {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid #414347;
    margin: 0;
    text-align: left;
  }
  .page-nav .sub-menu {
    display: block;
    margin: 0;
    position: relative;
  }
  .page-nav .sub-menu a {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid #414347;
  }
  .page-nav .current-menu-item a,
  .page-nav a:hover,
  .page-nav .sub-menu a:hover {
    color: #fff;
    font-weight: bold;
    border-color: #414347;
    background: inherit;
  }
  .menu-active {
    overflow-y: hidden;
    right: 250px;
  }
  .menu-active .page-nav-cover {
    visibility: visible;
    right: 250px;
  }
  .menu-active .page-nav .menu {
    right: 0;
    visibility: visible;
  }
  .menu-active .page-nav-toggle:before {
    content: "\ea6a";
    color: #fff;
  }
}
.section-header {
  font-size: 4rem;
  text-transform: uppercase;
}

.section-header-meta {
  font-size: 1.8rem;
  margin-top: -1rem;
  display: block;
}

.is-wide .page-title {
  margin: 1.3rem auto 2rem auto;
  max-width: 1200px;
}

.jumbo-header-block {
  background: #333;
  min-height: 100vh;
  min-width: 100vw;
  position: relative;
}
.jumbo-header-block .jumbo-cover-image {
  min-height: 100vh;
  min-width: 100vw;
  background-image: url("../half-dome.jpg");
  background-size: cover;
  filter: brightness(85%);
}
.jumbo-header-block .jumbo-callout {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: "Titillium Web", sans-serif;
}
.jumbo-header-block .jumbo-callout-title {
  font-size: 5rem;
}
.jumbo-header-block .jumbo-callout-meta {
  font-size: 2rem;
}

@media screen and (min-width: 850px) and (min-height: 500px) {
  .jumbo-header-block .jumbo-callout-title {
    font-size: 6rem;
  }
  .jumbo-header-block .jumbo-callout-meta {
    font-size: 2.5rem;
  }
}
.profile-block {
  display: flex;
  margin: 0 2rem;
}
@media (max-width: 800px) {
  .profile-block {
    display: block;
  }
}
.profile-block .profile-photo {
  min-width: 225px;
  margin-right: 5rem;
  text-align: center;
}
@media (max-width: 800px) {
  .profile-block .profile-photo {
    margin-right: 0;
    width: 100%;
  }
}
.profile-block .profile-photo img {
  margin: 0 auto;
  width: 225px;
  height: 225px;
  border-radius: 50%;
}
.profile-block .profile-bio {
  flex-grow: 1;
  font-size: 1.8rem;
}
@media (max-width: 800px) {
  .profile-block .profile-bio {
    margin-top: 3rem;
  }
}

.skills-block {
  margin-top: 8rem;
}

.skill-break-sm {
  display: none;
}

.skill-break {
  width: 100%;
  height: 0;
  display: block;
}

.skill {
  margin-bottom: 3rem;
  height: 105px;
  display: inline-block;
}

.skills-block .skill {
  margin-bottom: 4rem;
  margin-right: 2rem;
}

.skill-name {
  font-size: 2.4rem;
  line-height: 8.4rem;
  display: block;
}

.contactme-block {
  color: #eee;
  max-width: 600px;
  margin: 0 auto;
}
.contactme-block input,
.contactme-block textarea,
.contactme-block button {
  margin-top: 1.8rem;
}

@media screen and (max-width: 750px) {
  .skill-break {
    display: none;
  }
  .skill-break-sm {
    width: 100%;
    height: 0;
    display: block;
  }
  .skills-block .skill {
    margin-bottom: 0.5rem;
  }
  .skill-name {
    font-size: 2rem;
    line-height: 6.5rem;
  }
  .skill .hexagon-md {
    width: 120px;
    height: 66px;
  }
  .skill .hexagon-md::before {
    top: -30px;
    border-left-width: 60px;
    border-right-width: 60px;
    border-bottom-width: 30px;
  }
  .skill .hexagon-md::after {
    bottom: -30px;
    border-left-width: 60px;
    border-right-width: 60px;
    border-top-width: 30px;
  }
}
.hexagon-md {
  width: 150px;
  height: 83px;
  position: relative;
  margin: 0 auto 45px auto;
  transition: background 0.15s linear;
}

.hexagon-md:before {
  content: "";
  position: absolute;
  top: -38px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 75px solid transparent;
  border-right: 75px solid transparent;
  border-bottom: 38px solid transparent;
  transition: border 0.15s linear;
}

.hexagon-md:after {
  content: "";
  position: absolute;
  bottom: -38px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 75px solid transparent;
  border-right: 75px solid transparent;
  border-top: 38px solid transparent;
  transition: border 0.15s linear;
}

.hexagon-md:hover {
  z-index: 99;
  background: #e84c3e;
  background: #225271;
}

.hexagon-md:hover::before {
  border-bottom-color: #e84c3e;
  border-bottom-color: #225271;
}

.hexagon-md:hover::after {
  border-top-color: #e84c3e;
  border-top-color: #225271;
}

.hexagon-blue {
  background: #2d658a;
  color: #fff;
}

.hexagon-blue:before {
  border-bottom-color: #2d658a;
}

.hexagon-blue::after {
  border-top-color: #2d658a;
}

.btn-bluegray {
  border-radius: 0.5rem;
  padding: 1.4rem 2rem;
  color: #fff;
  background: #3d4f74;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
}
.btn-bluegray:hover {
  background: #304777;
}

input[type=text],
input[type=email],
input[type=password],
input[type=search],
textarea {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1.5rem;
  line-height: 1.25;
  color: #464a4c;
  background-color: #fff;
  background-image: none;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

input[type=submit] {
  display: inline-block;
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 1rem 1.25rem;
  font-size: 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  color: #fff;
  background-color: #2d658a;
  border-color: #2d658a;
}

input[type=submit]:hover {
  background-color: #225271;
  border-color: #225271;
}

.sr {
  font-size: 0;
  height: 1px;
  overflow: hidden;
  display: block;
}

.rsp-video {
  position: relative;
  padding-bottom: 67.5%;
  height: 0;
  margin: 10px 0;
  overflow: hidden;
}

.rsp-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.is-hidden {
  display: none;
}

.is-invisible {
  visibility: hidden;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

.aligncenter {
  margin: 0 auto;
}

.block-header {
  text-transform: uppercase;
  font-weight: normal;
}

.text-align-center {
  text-align: center;
}

.wp-block-code {
  background: #3f3f3f;
  color: #dcdcdc;
  padding: 2rem;
  width: 100%;
}

.text-white {
  color: #fff;
}

.bg-white {
  background-color: #fff;
}

.text-black {
  color: #000;
}

.bg-black {
  background-color: #000;
}

.text-light-gray {
  color: #eee;
}

.bg-light-gray {
  background-color: #eee;
}

.text-dark-gray {
  color: #333;
}

.bg-dark-gray {
  background-color: #333;
}

.text-red {
  color: #d24d57;
}

.bg-red {
  background-color: #d24d57;
}

.text-blue {
  color: #2d658a;
}

.bg-blue {
  background-color: #2d658a;
}

.projects-block {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.projects-block .project {
  margin: 10px;
  width: 340px;
  margin-bottom: 3rem;
  border: 1px solid #eee;
  border-radius: 1.5rem;
  overflow: hidden;
}
.projects-block .project.empty {
  border: 0;
}
.projects-block .project:hover img {
  transform: scale(1.1);
}
.projects-block .project:hover .project-name {
  color: #225271;
}
.projects-block .project .img-cont {
  overflow: hidden;
}
.projects-block .project img {
  width: 340px;
  border-top-right-radius: 1.5rem;
  border-top-left-radius: 1.5rem;
  transition: transform 0.5s;
  height: auto;
  overflow: hidden;
}
.projects-block .project .project-name {
  display: block;
  font-size: 2.1rem;
  padding: 0 2rem;
  text-align: left;
  color: #333;
  font-weight: bold;
  margin-top: 1rem;
}
.projects-block .project .project-description {
  display: block;
  padding: 0 2rem;
  text-align: left;
  color: #333;
}
.projects-block .project .techs {
  text-align: left;
  padding: 1rem 2rem;
}
.projects-block .project .tech {
  border: 1px solid #333;
  border-radius: 1.6rem;
  color: #fff;
  background: #354f69;
  font-weight: bold;
  padding: 0.2rem 0.7rem;
  margin-right: 0.6rem;
}
