html, * {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Maison Neue Mono Regular";
  src: url(./fonts/MaisonNeueMonoWEB-Regular.woff) format("woff")
}

@font-face {
  font-family: "Maison Neue Mono Bold";
  src: url(./fonts/MaisonNeueMonoWEB-Bold.woff) format("woff")
}

body {
  background: #F9F9FA none;
  color: #222;
  font-family: 'Maison Neue Mono Regular', monospace;
  font-size: 14px;
  letter-spacing: -1px;
}

a:link, a:visited, a:active {
  color: #222;
  text-decoration: none;
  box-shadow: inset 0 -3px 0 0 #00B2B0;
}

a:hover {
  color: #222;
  text-decoration: none;
  box-shadow: inset 0 -7px 0 0 #00B2B0;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

a.active, a.underline {
  box-shadow: inset 0 -7px 0 0 #00B2B0;
}

a.rj-link:hover {
  box-shadow: inset 0 -7px 0 0 #76FF60;
}

a.rj-link.active, a.rj-link.underline {
  box-shadow: inset 0 -7px 0 0 #76FF60;
}

a.rj-visit-website {
  color: #FFF;
}

a.underline:hover {
  /* box-shadow: inset 0 -7px 0 0 #FFF */
}

::-moz-selection {
  background: #CCC;
}

::selection {
  background: #CCC;
}

hr.clear {
  clear: both;
  border: 0 none;
}

p {
  margin: 0 0 27px;
  font-size: 1.2em;
  line-height: 29px;
}

h1, h2, h3, h4 {
  color: #444;
  letter-spacing: -3px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-family: "Maison Neue Mono Bold";
  font-size: 52px;
  margin: 0 30px 10px;
  line-height: 64px;
}

h4 {
  font-family: "Maison Neue Mono Bold";
  font-size: 36px;
  margin: 0 30px 10px;
  text-align: right;
  line-height: 64px;
}

h4.long {
  font-size: 36px;
  line-height: 46px;
  text-align: left;
  text-transform: uppercase;
}

h5.long {
  font-family: "Maison Neue Mono Bold";
  font-size: 32px;
  line-height: 36px;
  text-align: left;
  text-transform: uppercase;
}

header {
  padding: 0 40px;
  width: 100%;
  height: 100px;
  position: fixed;
  background: #FFF none;
  border-bottom: 1px solid #F9F9FA;
  box-shadow: 0 -5px 15px 0 rgba(0,0,0,.15);
}

header .logo-container {
  float: left;
  width: 25%;
  padding-right: 5%;
  padding-top: 15px;
}

header .logo-container .logo-link {
  display:block;
  width: 100px;
  box-shadow: none;
}

header .menu-container {
  float: right;
  width: 70%;
}

footer {
  padding: 50px 0;
  width: 100%;
  text-align: center;
  color: #FFF;
  background-color: #00B2B0;
}

.intro-footer {
  color: #CCC;
  background-color: #F9F9F9;
}

.intro-footer span {
  font-size: 12px;
}

footer.footer-rj {
  color: #222;
  background-color: #FFF;
}

ul.menu {
  list-style: none;
}

ul.menu li {
  display: inline-block;
}

ul.menu li a {
  display: block;
  margin: 32px 20px 0 32px;
  font-size: 22px;
  font-family: 'Maison Neue Mono Regular', monospace;
  letter-spacing: -2pt;
}

ul.menu li a.menu-link-rj:hover,
ul.menu li a.menu-link-rja {
  box-shadow: inset 0 -7px 0 0 #76FF60;
}

/* Image Modal */

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

.mySlides {
  display: none;
}

span.close {
  cursor: pointer;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Intro */

.intro-logo {
  margin: 0 auto;
}

#intro-body {
  overflow-x: hidden;
}

.intro-bg {
  margin: 0 auto;
  width: 600px;
  height: 417px;
}

.intro-content {
  margin: 0 auto;
  position: absolute;
  width: 600px;
  left: 0;
  right: 0;
}

.intro-content-pane {
  width: 260px;
  padding-top: 200px;
  float: left;
}

.intro-content-pane a {
  padding: 10px;
}

.intro-content-pane-left {
  text-align: left;
  padding-left: 40px;
}

.intro-content-pane-right {
  text-align: right;
  padding-right: 40px;
}

.content-container {
  padding-top: 120px;
  padding-bottom: 100px;
  margin: 0 auto;
  display: flex;
  flex: 1;
  flex-direction: row;
}

.work-container {
  width: 74%;
  margin: 0 auto;
}

.work-card {
  float: left;
  width: 40%;
  padding: 20px 2% 0;
  margin: 0 2%;
  max-width: 700px;
}

.content-container-rj {
  background: rgba(85,101,85,1) linear-gradient(180deg, rgba(113,131,113,1) 0%, rgba(85,101,85,1) 100%);
  height: 400px;
  padding-top: 210px;
  padding-bottom: 110px;
  padding-left: 100px;
  display: flex;
  flex: 1;
  flex-direction: row;
}

.other-content {
  padding: 50px 0;
  text-align: center;
  background-color: #FFF;
}

.preview-image {
  width: 150px;
  height: 150px;
  margin: 15px 0;
  border-radius: 80px;
  border-width: 3px;
  border-style: solid;
  border-color: #00B2B0;
  object-fit: cover;
  cursor: pointer;
}

.preview-image-cont {
  float: left;
}

.year-link-cont {
  float: left;
  padding-top: 70px;
  padding-left: 20px;
}

.content-release-example {
  width: 960px;
  height: 540px;
  object-fit: cover;
  object-position: 0;
}

.card {
  min-height: 70px;
  margin-bottom: 34px;
  padding: 40px 40px 44px;
  border-radius: 4px;
  background-color: #FFF;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

a.card:hover, a.card-image:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.10), 0 10px 10px rgba(0,0,0,0.07);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.left-container {
  width: 52%;
  max-width: 800px;
  margin-right: 2%;
  margin-left: 8%;
}

.right-container {
  width: 26%;
  max-width: 370px;
  margin-right: 8%;
  margin-left: 2%;
}

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

.skill-name-container {
  float: left;
  min-width: 140px;
}

.skill-desc-container {
  float: left;
}

.skill {
  font-family: 'Merriweather Sans', monospace;
  font-size: 16px;
  display: inline-block;
  padding: 5px 10px;
  margin: 5px 6px 5px 0;
  color: #FFF;
  border-radius: 4px;
}

.skill-type-c {
  color: #FFF;
  background-color: #555;
}

.skill-type-1 {
  background-color: salmon;
}

.skill-type-2 {
  background-color: orange;
}

.skill-type-3 {
  background-color: mediumturquoise;
}

.skill-type-4 {
  background-color: lightsteelblue;
}

.skill-type-5 {
  background-color: lightskyblue;
}

.skill-type-6 {
  background-color: lightgray;
}

.blog-card-container {
  clear: both;
  align-items: center;
  text-align: center;
}

.card-image {
  width: 370px;
  display: inline-block;
  margin: 0 12px 34px;
  border-radius: 4px;
  background-color: #FFF;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

a.card-image:hover .b-title {
  box-shadow: inset 0 -7px 0 0 #00B2B0;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.card-image-content {
  padding: 20px 30px 20px;
}

.b-image {
  width: 100%;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.b-title {
  font-size: 1.2em;
  font-family: 'Maison Neue Mono Regular', monospace;
}

.b-category {
  float: left;
  color: #999;
}

.b-date {
  float: right;
  color: #999;
}


.pers-photo {
  width: 80%;
}

@media only screen and (max-width: 960px) {
  h4 {
    font-family: "Maison Neue Mono Bold";
    font-size: 52px;
    margin: 0 30px 10px;
    line-height: 64px;
    text-align: left;
  }

  header {
    height: auto;
    padding: 0;
    position: static;
  }

  header .logo-container {
    float: none;
    width: auto;
    padding: 20px 0 5px;
  }

  header .menu-container {
    float: none;
    width: auto;
    text-align: center;
  }

  ul.menu {
    padding: 0 0 10px;
  }

  ul.menu li a {
    margin: 10px;
  }

  .content-container {
    flex: auto;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 0;
  }

  .left-container {
    width: auto;
    max-width: none;
    margin: 0 2%;
  }

  .right-container {
    width: auto;
    max-width: none;
    margin: 0 2%;
  }

  .work-card {
    width: 100%;
    float: none;
    clear: both;
  }

  .intro-footer span {
    font-size: 10px;
  }

  footer {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media only screen and (max-width: 600px) {
  .intro-bg {
    margin: 0 auto;
    width: 400px;
    height: 278px;
  }

  .intro-content {
    margin: 0 auto;
    position: absolute;
    width: 400px;
    left: 0;
    right: 0;
  }

  .intro-content-pane {
    width: 180px;
    padding-top: 130px;
    float: left;
  }

  .intro-content-pane-left {
    text-align: left;
    padding-left: 20px;
  }

  .intro-content-pane-right {
    text-align: right;
    padding-right: 20px;
  }

  .intro-content-pane a {
    font-size: 10px;
  }

  .pers-photo {
    width: 100%;
  }
}

@media only screen and (max-width: 375px) {
  .intro-bg {
    margin: 0 auto;
    width: 360px;
    height: 250px;
  }

  .intro-content {
    margin: 0 auto;
    position: absolute;
    width: 360px;
    left: 0;
    right: 0;
  }

  .intro-content-pane {
    width: 175px;
    padding-top: 110px;
    float: left;
  }

  .intro-content-pane-left {
    text-align: left;
    padding-left: 5px;
  }

  .intro-content-pane-right {
    text-align: right;
    padding-right: 5px;
  }

  .pers-photo {
    width: 100%;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: #222 none;
    color: #FFF;
  }

  h1, h2, h3, h4 {
    color: #F9F9F9;
  }

  a:link, a:visited, a:active {
    color: #FFF;
  }

  ul.menu li a {
    color: #222;
  }

  header {
    background: #FFF none;
  }

  .intro-footer {
    color: #555;
    background: #222 none;
  }

  .intro-content-pane, .intro-content-pane a {
    color: #222;
  }

  .card, .card-image {
    background-color: #555;
  }

  .skill-type-1 {
    background-color: palevioletred;
  }

  .skill-type-2 {
    background-color: lightsalmon;
  }

  .skill-type-3 {
    background-color: mediumturquoise;
  }

  .skill-type-4 {
    background-color: lightslategray;
  }

  .skill-type-6 {
    background-color: gray;
  }

  .other-content {
    background-color: #212121;
  }

  .content-release-example {
    object-position: 100% 0;
  }
}
