@import "./normalize.css";
/* main.css 2.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.
 */
/* VARIABLES */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  font-family: "Lato", sans-serif;
  font-weight: 400;
}
html, html * {
  box-sizing: border-box;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: rgba(46, 183, 127, 0.2);
  text-shadow: none;
}

::selection {
  background: rgba(46, 183, 127, 0.2);
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-radius: 2px;
  border-top: 2px solid #2EB77F;
  margin: 1rem 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.5em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.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
*/
.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: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/*
==========================================================================
  Custom Styles
  ========================================================================== */
body {
  font-size: 16px;
  padding: 1rem;
  margin: 0;
  transition: all 0.2s ease-in-out;
}

.mt {
  margin-top: 2rem !important;
}

.mb {
  margin-bottom: 2rem !important;
}

abbr[title] {
  text-decoration: none;
}

header, main.content, .container {
  width: 60rem;
  max-width: 100%;
  margin: auto;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
}

main.content {
  padding-bottom: 5rem;
}

header {
  font-size: 1.125em;
}
header p.intro {
  font-size: 1.4em;
}

footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(46, 183, 127, 0.8);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  padding: 1rem;
  color: #f4f4f4;
  text-align: center;
  font-weight: 900;
}

strong {
  font-weight: 900;
}

a {
  color: rgb(25.5109170306, 101.4890829694, 70.4323144105);
  position: relative;
  text-decoration: none;
  transition: all 0.1s;
}
a:hover {
  color: rgb(15.2663755459, 60.7336244541, 42.1484716157);
}
a:hover:after {
  opacity: 0;
  left: 50%;
}
a:after {
  content: "";
  background-color: rgba(46, 183, 127, 0.35);
  height: 1px;
  position: absolute;
  left: 0%;
  width: 100%;
  bottom: -0.1em;
  opacity: 1;
  z-index: -1;
  pointer-events: none;
  transition: all 0.2s ease-in-out;
}
a.invert {
  color: #f4f4f4;
}
a.invert:after {
  background-color: rgba(255, 255, 255, 0.5);
}
a.invert:hover {
  color: rgba(255, 255, 255, 0.9);
}

p {
  margin: 0 0 1rem 0;
  line-height: 1.5em;
}
p.intro {
  font-size: 1.25em;
  line-height: 1.4em;
}
p:last-child {
  margin-bottom: 0;
}
p.notice {
  color: #222;
  font-weight: 400;
  background-color: rgb(from #2EB77F r g b/0.15);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  border-radius: 3px;
  padding: 2px 1rem;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  text-transform: uppercase;
}

hr.sabre {
  box-shadow: -20px 0px 1px 0px rgba(46, 183, 127, 0.2), 20px 0px 1px 0px rgba(46, 183, 127, 0.2);
  animation: pulse 5s linear infinite 250ms;
}
hr.sabre:nth-of-type(1) {
  animation-delay: 1358ms;
}
hr.sabre:nth-of-type(2) {
  animation-delay: 3310ms;
}
hr.sabre:nth-of-type(3) {
  animation-delay: 1864ms;
}
hr.sabre:nth-of-type(4) {
  animation-delay: 4012ms;
}
hr.sabre:nth-of-type(5) {
  animation-delay: 3251ms;
}
hr.sabre:nth-of-type(6) {
  animation-delay: 4159ms;
}
hr.sabre:nth-of-type(7) {
  animation-delay: 5696ms;
}
hr.sabre:nth-of-type(8) {
  animation-delay: 4986ms;
}
hr.sabre:nth-of-type(9) {
  animation-delay: 6197ms;
}
hr.sabre:nth-of-type(10) {
  animation-delay: 6804ms;
}

.grainbg, .highlight:after, .graininess:before {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 182px;
  opacity: 0.16;
}

.graininess:before {
  content: "";
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@keyframes pulse {
  0% {
    box-shadow: -20px 0px 1px 0px rgba(46, 183, 127, 0.25), 20px 0px 1px 0px rgba(46, 183, 127, 0.25);
  }
  2% {
    box-shadow: -12px 0px 0px 0px rgba(46, 183, 127, 0.2), 12px 0px 0px 0px rgba(46, 183, 127, 0.2);
  }
  3% {
    box-shadow: -24px 0px 0px 0px rgba(46, 183, 127, 0.2), 24px 0px 0px 0px rgba(46, 183, 127, 0.2);
  }
  4% {
    box-shadow: -18px 0px 1px 0px rgba(46, 183, 127, 0.2), 18px 0px 1px 0px rgba(46, 183, 127, 0.2);
  }
  7% {
    box-shadow: -35px 0px 2px 0px rgba(46, 183, 127, 0.35), 35px 0px 2px 0px rgba(46, 183, 127, 0.35);
  }
  8% {
    box-shadow: -30px 0px 1px 0px rgba(46, 183, 127, 0.1), 30px 0px 1px 0px rgba(46, 183, 127, 0.1);
  }
  10% {
    box-shadow: -20px 0px 1px 0px rgba(46, 183, 127, 0.2), 20px 0px 1px 0px rgba(46, 183, 127, 0.2);
  }
  14% {
    box-shadow: -6px 0px 0px 0px rgba(46, 183, 127, 0.1), 6px 0px 0px 0px rgba(46, 183, 127, 0.1);
  }
  16% {
    box-shadow: -9px 0px 0px 0px rgba(46, 183, 127, 0.15), 9px 0px 0px 0px rgba(46, 183, 127, 0.15);
  }
  18% {
    box-shadow: -20px 0px 2px 0px rgba(46, 183, 127, 0.2), 20px 0px 2px 0px rgba(46, 183, 127, 0.2);
  }
  20% {
    box-shadow: -16px 0px 2px 0px rgba(46, 183, 127, 0.25), 16px 0px 2px 0px rgba(46, 183, 127, 0.25);
  }
  22% {
    box-shadow: -20px 0px 1px 0px rgba(46, 183, 127, 0.2), 20px 0px 1px 0px rgba(46, 183, 127, 0.2);
  }
  100% {
    box-shadow: -20px 0px 1px 0px rgba(46, 183, 127, 0.2), 20px 0px 1px 0px rgba(46, 183, 127, 0.2);
  }
}
ul.nostyle {
  list-style-type: none;
  padding: 0;
  margin: 1rem 0;
}

ul.social {
  margin: 0 0 -1rem 0.1rem;
}
ul.social li {
  display: inline-block;
  margin: 0 1rem 1rem 0;
  vertical-align: middle;
}
ul.social a:after {
  display: none;
}
ul.social img {
  position: relative;
  top: 0;
  opacity: 0.8;
  width: 2.4rem;
  transition: all 0.2s ease-in-out;
}
ul.social img:hover {
  top: -0.2rem;
  opacity: 1;
}

ul.bolts {
  margin: 1rem 0 1rem 0.1rem;
}
ul.bolts li {
  background-image: url(../img/Bolt.svg);
  background-repeat: no-repeat;
  background-size: 1rem auto;
  background-position: 0 0;
  padding: 0 0 0 1.6rem;
  margin: 0 0 0.6rem 0;
}

ul.skills {
  padding: 0 0.1rem;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-content: space-between;
  width: 100%;
}
ul.skills li {
  flex: 1;
  display: block;
  flex-basis: 100%;
  width: 100%;
  margin: 0 0 1rem 0;
}
ul.skills li h4 {
  position: relative;
  background-color: #2EB77F;
  border-radius: 4px;
  color: #fff;
  font-size: 1.1em;
  font-weight: 900;
  float: left;
  margin: 0 0.6rem 0 0;
  padding: 0.3rem 0.5rem;
  text-align: center;
}
ul.skills li em {
  line-height: 1em;
  display: block;
  font-size: 0.9em;
  font-weight: 900;
  opacity: 0.5;
}
ul.skills li span {
  display: block;
  text-transform: uppercase;
}

ul.playlists {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  flex-wrap: wrap;
  container-type: inline-size;
}
ul.playlists li {
  display: block;
  min-width: 90%;
  flex-grow: 1;
}
ul.playlists li a {
  position: relative;
  display: block;
  height: 7rem;
  background-size: 102%;
  background-position: center center;
  background-blend-mode: luminosity;
  background-color: #222;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgb(from #fff r g b/0.25);
  transition: all 200ms ease-in;
}
ul.playlists li a::after {
  display: none;
}
ul.playlists li a:hover {
  border-color: rgb(from #2EB77F r g b/0.35);
  outline: 1px solid rgb(from #2EB77F r g b/0.35);
  background-size: 106%;
}
ul.playlists li a:hover span {
  background-color: rgb(from #2EB77F r g b/0.1);
}
ul.playlists li a span {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: -1px;
  display: block;
  padding: 0.2em 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  text-shadow: 0px 1px 0px rgb(from #333 r g b/0.15);
  color: #fff;
  background: rgb(from #fff r g b/0.1);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  transition: background-color 100ms 100ms ease-in;
}

@container (min-width: 18rem) {
  ul.playlists li {
    min-width: 40%;
  }
}
@container (min-width: 40rem) {
  ul.playlists li {
    min-width: 20%;
  }
}
#lights {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  cursor: pointer;
  padding: 0.8rem 1rem;
  background-color: rgba(46, 183, 127, 0.2);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  border-bottom-left-radius: 0.5rem;
  transition: background-color 0.2s ease-in;
}
#lights:hover {
  background-color: rgba(46, 183, 127, 0.3);
}
#lights:hover img {
  opacity: 1;
}
#lights img {
  width: 1rem;
  opacity: 0.8;
  transition: opacity 0.2s ease-in;
}
#lights img.on {
  display: none;
}

#logo {
  display: block;
  margin: 0.5rem 0 1.25rem 0;
}
#logo img, #logo svg {
  height: 100% !important;
  width: auto !important;
  max-height: 6rem;
  max-width: 100%;
  margin: 0;
  font-size: 3rem;
}
#logo:hover #logo-tl {
  opacity: 1;
  transform: scale(0.9);
}
#logo:hover #logo-br {
  opacity: 1;
  transform: scaleY(0.98);
}
#logo::after {
  display: none !important;
}

#logo-text path {
  transition: fill 0.2s ease-in-out;
}

#logo-tl {
  transform-origin: top left;
}

#logo-br {
  transform-origin: bottom;
}

#logo-tl, #logo-br {
  opacity: 0.75;
  transition: all 0.2s ease-in-out;
}

.highlight {
  display: inline-block;
  position: relative;
  padding: 0 0.3em;
  transform-style: preserve-3d;
}
.highlight:before, .highlight:after {
  content: "";
  position: absolute;
  display: block;
  top: 1px;
  left: -0.1em;
  right: -0.1em;
  bottom: 0;
  border-radius: 0.5em;
  pointer-events: none;
  transform-style: preserve-3d;
}
.highlight:before {
  background-color: rgb(from #2EB77F r g b/0.25);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  transform: translateZ(-1px);
}
.green-angle {
  height: 12vh;
  background-color: #2EB77F;
  opacity: 0.1;
  transform: rotate(-10deg);
  z-index: -1;
  position: fixed;
  left: -10rem;
  right: -10rem;
  bottom: -6vh;
  pointer-events: none;
}

/* DARK MODE */
/* Only allow switching to dark mode if they support SVG */
html.svg.dark-mode {
  font-weight: 300;
}
html.svg.dark-mode body {
  background-color: #222;
  color: #f4f4f4;
}
html.svg.dark-mode a {
  color: rgb(152.711790393, 229.288209607, 197.9868995633);
}
html.svg.dark-mode a:hover {
  color: rgb(111.9563318777, 219.0436681223, 175.2707423581);
}
html.svg.dark-mode a.invert {
  color: rgb(193.4672489083, 239.5327510917, 220.7030567686);
}
html.svg.dark-mode p.notice {
  color: rgba(255, 255, 255, 0.75);
}
html.svg.dark-mode #logo-text path {
  fill: #f4f4f4 !important;
}
html.svg.dark-mode #lights img.on {
  display: inline-block;
}
html.svg.dark-mode #lights img.off {
  display: none;
}

/* ==========================================================================
   These Media Queries override the primary ('mobile first') styles for Responsive Design.
   ========================================================================== */
@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
  body {
    font-size: 18px;
    padding: 4rem;
  }
  abbr[title] {
    border-bottom: 1px dotted #2EB77F;
  }
  html.svg #lights {
    display: block;
  }
  #logo {
    margin-top: 0;
  }
  .green-angle {
    height: 26vh;
    bottom: -12vh;
  }
  ul.skills li {
    flex-basis: 50%;
    width: 50%;
  }
}
@media only screen and (min-width: 65em) {
  /* Style adjustments for viewports that meet the condition */
  ul.skills li {
    flex-basis: 25%;
    width: 25%;
  }
}
@media print, (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !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;
  }
}/*# sourceMappingURL=main.css.map */