/* Custom styling */
@import url("https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@import url("https://fonts.googleapis.com/css2?family=VT323&display=swap");

:root {
  --font-1: "Press Start 2P";
  --font-2: "VT323", monospace;
  --font-3: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-4: "Silkscreen";
  --background-color-2: #d4ff00; /* bash blue screen */
  --background-color-3: #00d0ff;
  --background-color-4: #2287fa;
  --background-color-5: #04f404; /* terminal green screen */
}

.light {
  --main-bg-color: #5200ff;
  --main-bg-color-alt: #5200ff;
  --main-tx-color: #fff;
  --main-border-color: #fff;
}

.dark {
  --main-bg-color: #24292e;
  --main-bg-color-alt: #24292e;
  --main-tx-color: #eee;
  --main-border-color: #17191c;
}

body {
  font: 1.3rem "VT323", monospace;
  text-shadow: 0 0 5px #c8c8c8;
}

body::selection {
  background: #0080ff !important;
  text-shadow: none;
}
#wrapper {
  margin: 0;
}

body > #content {
  margin: 0px;
  max-width: 900px;
  border: 1px solid #e1e4e8;
  border: none !important;
  padding: 10px 40px;
  padding-bottom: 20px;
  border-radius: 2px;
  margin-left: auto;
  margin-right: auto;
}

button {
  background-color: var(--main-bg-color);
  margin-bottom: 30px;
  border: none;
  padding: 0;
  position: relative;
}

button > a {
  color: var(--background-color-5);
  font-family: var(--font-1);
  font-weight: 500;
}

.badge {
  position: absolute;
  top: -0.25em;
  left: -0.5em;
  width: 100%;
  color: #fff;
  text-align: center;
  background-color: var(--main-bg-color-alt);
  box-shadow: 0 0.25em var(--main-bg-color-alt),
    0 -0.25em var(--main-bg-color-alt), 0.25em 0 var(--main-bg-color-alt),
    -0.25em 0 var(--main-bg-color-alt);
  z-index: 3;
}

.button-inner {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-inline: 1em;
  z-index: 2;
  position: relative;
}

.dark button {
  box-shadow: 0 0.25em var(--background-color-5),
    0 -0.25em var(--background-color-5), 0.25em 0 var(--background-color-5),
    -0.25em 0 var(--background-color-5);
}

.dark .button-inner:hover {
  background-color: var(--background-color-5);
}

.dark .button-inner:hover > a,
.dark .button-inner:hover > .icon {
  color: var(--main-bg-color);
}

.light button {
  box-shadow: 0 0.25em var(--background-color-2),
    0 -0.25em var(--background-color-2), 0.25em 0 var(--background-color-2),
    -0.25em 0 var(--background-color-2);
}

.light .button-inner:hover {
  background-color: var(--background-color-2);
}

.light .button-inner:hover > a,
.light .button-inner:hover > .icon {
  color: var(--main-bg-color);
}

code {
  color: var(--main-tx-color);
}

.dark pre {
  background-color: slategray;
}

.dark a {
  color: var(--background-color-5);
}

.light pre {
  background-color: var(--main-bg-color-alt);
}

.light a {
  color: var(--background-color-2);
}

.light #title-description {
}

.light {
}

a {
  font-family: var(--font-2);
}

a:visited {
  color: rgb(255, 255, 255);
}

.anchor-link {
  border-bottom: none;
  margin: 0;
  padding-top: 100px;
  margin-top: -100px;
}

.header-title {
  border-bottom: none;
  margin: 0;
}

p {
  color: var(--main-tx-color) !important;
  font-family: var(--font-2);
  font-size: 1em;
  font-weight: 400;
  text-transform: uppercase;
}

strong {
  font-family: var(--font-2);
  font-weight: 600;
  color: var(--main-bg-color);
  background-color: var(--main-tx-color);
}

.anchor {
  display: block;
  position: relative;
  top: -10px;
  visibility: hidden;
}

header {
  align-items: center;
  border-bottom: 3px solid var(--main-border-color);
  background-color: var(--main-bg-color);
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 1em 0 1em;
  width: 100%;
  height: 100px;
  display: flex;
  z-index: 4;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
}

header > .header-left {
  flex: 1;
  display: flex;
}

header > .header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row;
  margin-right: 2em;
}

header > .right > img {
  width: 100px;
  border-radius: 50%;
  padding: 0.25em;
}

.filters {
  list-style-type: none;
  padding: 0;
}

.filter {
  cursor: pointer;
  display: inline-block;
  font-family: var(--font-4);
  text-transform: uppercase;
  font-size: .8em;
  padding: 0 1em 0 1em;
  margin: 0.25em 0.5em 0.5em 0.5em;
  color: #fff;
  text-align: center;
  background-color: var(--main-bg-color);
  box-shadow: 0 0.2em var(--main-border-color),
    0 -0.2em var(--main-border-color), 0.2em 0 var(--main-border-color),
    -0.2em 0 var(--main-border-color);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
}

.dark .filter:hover,
.dark .selected {
  background-color: var(--background-color-5);
  color: #212529;
  box-shadow: 0 0.2em var(--background-color-5),
    0 -0.2em var(--background-color-5), 0.2em 0 var(--background-color-5),
    -0.2em 0 var(--background-color-5);
}

.light .filter:hover,
.light .selected {
  background-color: var(--background-color-2);
  box-shadow: 0 0.2em var(--background-color-2),
    0 -0.2em var(--background-color-2), 0.2em 0 var(--background-color-2),
    -0.2em 0 var(--background-color-2);
}

.title-larger,
.title-larger > #title-description {
  color: var(--main-tx-color);
  font-family: var(--font-1);
  font-size: 2em;
  font-weight: 600;
  line-height: 1em;
  margin: 1em 0 1em 0em;
  display: block;
  text-transform: uppercase;
  flex: 1;
}

.title-large {
  font-size: 1.25em !important;
}

.dark .title-larger > a,
.dark .title-larger > #title-description > a {
  font-family: var(--font-1);
  color: var(--background-color-5);
}

.light .title-larger > a,
.light .title-larger > #title-description > a {
  font-family: var(--font-1);
  color: var(--background-color-2);
}

.title-small > a {
  font-family: var(--font-1);
  font-size: 24px;
  color: var(--main-tx-color);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
}

.title-links {
  font-weight: 300;
  text-transform: uppercase;
  margin-top: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.dark .title-links > a,
.dark .title-links > span {
  color: var(--background-color-5);
}

.light .title-links > a,
.light .title-links > span {
  color: var(--background-color-2);
}

.title-larger > ul {
  margin: 1em 0 0 0;
  list-style-type: none;
}

.title-larger > ul > li {
  list-style-type: none;
  margin-bottom: 1rem;
  padding-left: 44px;
  padding-top: 5px;
  background-position: left 4px;
}

.title-links > a {
  font-family: var(--font-1);
  font-size: 0.65em;
  margin-left: 0.5em;
}

#about > p,
#about > blockquote > p {
  font-size: 1em;
}

.section-header {
  display: flex;
  align-items: center;
  height: 4em;
  border-bottom: 3px solid var(--main-tx-color);
}

.section-header-with-margins {
  margin: 4em 0 1em 0;
}

/* Container around content */
.container {
  /* padding: 10px 30px; */
  position: relative;
  background-color: inherit;
  width: 100%;
}

.hidden {
  display: none;
}

.visuallyhidden {
  opacity: 0;
}

/* The actual content */
.project {
  background-color: var(--main-bg-color);
  box-shadow: 0 0 11px rgb(33 33 33 / 5%);
  margin-bottom: 30px;
  border-style: solid;
  border-width: 0;
  box-shadow: 0 0.25em var(--main-border-color),
    0 -0.25em var(--main-border-color), 0.25em 0 var(--main-border-color),
    -0.25em 0 var(--main-border-color);
  position: relative;
  transition: all 0.1s linear;
}

.project-inner {
  padding: 20px 30px 20 20px;
  background-color: var(--main-bg-color);
  z-index: 2;
  position: relative;
  height: 120px;
}

#project {
  margin: 2.5em 0 0 0;
}

.section-header :first-child {
  display: flex;
}

.section-header :last-child {
  display: flex;
  flex: 1;
  padding: 0 0 0 0.5em;
}

.section-title {
  font-family: var(--font-1);
  font-weight: 600;
  font-size: 1.5em;
  border: none;
  color: var(--main-tx-color);
  text-transform: uppercase;
}

.icon-name {
  font-family: var(--font-1);
  font-size: 1em;
  text-transform: uppercase;
  border: none;
  color: var(--main-tx-color);
  text-transform: uppercase;
}

.screenshot-viewer-horizontal {
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: auto;
  padding-top: 10px;
  z-index: 2;
  position: relative;
  scrollbar-color: var(--background-color-5) var(--main-bg-color-alt);
}
.screenshot-viewer-horizontal > img {
  height: 220px;
  border-radius: 15px;
  margin: 5px;
  border: 1px solid slategrey;
}

.screenshot-viewer-horizontal > img:hover {
  box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
}

.screenshot-viewer-vertical {
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: auto;
  padding-top: 10px;
  z-index: 2;
  position: relative;
  scrollbar-color: var(--background-color-5) var(--main-bg-color-alt);
}
.screenshot-viewer-vertical > img {
  width: 220px;
  border-radius: 15px;
  margin: 5px;
  border: 1px solid #ccc;
  z-index: 2;
  position: relative;
}

.screenshot-viewer-vertical > img:hover {
  box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
}

#projects {
  font-size: 3em;
  font-family: var(--font-1);
  font-weight: 700;
  border-bottom: none !important;
  margin: 1em 0 0em 0;
}

.project-expandable {
  position: absolute;
  top: 1em;
  padding: 0.05em;
  margin-left: 1em;
}

.expand {
  right: 1em;
}

.project-expandable > a {
  font-size: 1.5em;
  cursor: pointer;
}

.project-date {
  position: absolute;
  top: 1em;
  right: 1em;
  padding: 0.05em;
  border-style: solid;
  border-width: 4px;
  border-image-slice: 2;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-source: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='6' height='6'><path d='M0 2h2v2H0zM2 0h2v2H2zM4 2h2v2H4zM2 4h2v2H2z' fill='%23eee' /></svg>");
}

.project-date > p {
  letter-spacing: 0.1em;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  margin-inline-start: 0.5em;
  margin-inline-end: 0.5em;
  font-family: var(--font-1);
  font-size: 2em;
}

.project-subtitle {
  border-bottom: none;
  margin: 0;
  align-items: center;
  display: flex;
  color: var(--main-tx-color);
}

.project-header-right > h3 {
  font-size: 1.1em;
  font-weight: 400;
  margin-top: 10px;
  font-family: var(--font-2);
  text-transform: uppercase;
  border-bottom: 2px dashed var(--txt-color-alt);
}

.project-text {
  border-bottom: none;
  color: var(--main-tx-color);
  margin: 1em 0 1em 0em;
}

.project-title {
  font-size: 3em;
  line-height: 0.9em;
  border-bottom: none;
}

.project-header,
.profile-header {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.project-header-right > h2,
h3 {
  color: var(--main-tx-color);
  font-weight: 600;
  letter-spacing: 1px;
  font-family: var(--font-2);
}
.project-header-right > h2 {
  text-transform: uppercase;
  font-size: 1.25em;
}
.project-header-right > h2,
h3 {
  color: var(--main-tx-color);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 1px;
  font-family: var(--font-1);
}

.profile-header-left {
  flex: 4;
}

.profile-header-right {
  flex: 1;
  padding-left: 25px;
}

.profile-header-right > img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.project-header-left {
}

.project-header-left > img {
  width: 100%;
  max-width: 100px;
  border-radius: 22.5%;
  box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
  z-index: 2;
  position: relative;
}

.project-header-right {
  flex: 3;
  padding-left: 25px;
}

.project-header-bottom {
  flex: 1;
}

.project-body {
  opacity: 0;
  display: none;
}

.project-pinpoints {
  border-style: solid;
  border-width: 4px;
  border-image-slice: 2;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-source: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='6' height='6'><path d='M0 2h2v2H0zM2 0h2v2H2zM4 2h2v2H4zM2 4h2v2H2z' fill='%23e8e8e8' /></svg>");
  position: relative;
  display: flex;
  padding: 1em;
  flex-direction: column;
}

.project-pinpoint {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.2em;
}

.project-pinpoint-text {
  color: var(--main-tx-color);
  font-family: var(--font-2);
}

.project-row {
  display: flex;
  justify-content: flex-end;
}

.project-row > button > .button-inner {
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  padding-inline: 0.5em;
  z-index: 2;
  position: relative;
}

.project-row > button > .button-inner > a {
  font-size: 1em;
  font-family: var(--font-4);
}

.smooth {
  transition: height 0.5s;
}

/* Icons */

@font-face {
  font-family: "fontello";
  src: url("./font/fontello.eot?3915510");
  src: url("./font/fontello.eot?3915510#iefix") format("embedded-opentype"),
    url("./font/fontello.woff?3915510") format("woff"),
    url("./font/fontello.ttf?3915510") format("truetype"),
    url("./font/fontello.svg?3915510#fontello") format("svg");
  font-weight: normal;
  font-style: normal;
}

.icon {
  color: var(--main-tx-color);
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
}

#stickyHeader > div.header-right > a.icon.big {
  text-align: center;
}

.big {
  font-size: 5em;
}

.small {
  font-size: 2em;
  margin-right: 0.2em;
}

.smaller {
  font-size: 1.5em;
  margin-right: 0.2em;
}

.blinker {
  color: var(--main-tx-color);
  animation: blinker 1s linear infinite;
  font-size: 1.85em;
}

.darkmode,
.lightmode {
  display: none;
  cursor: pointer;
}

@media only screen and (max-device-width: 1024px) and (orientation: portrait) {
  header {
    height: 50px !important;
  }

  .icon {
    font-size: 2em !important;
  }

  .title-small > a {
    font-size: 1em !important;
  }

  .project-header,
  .profile-header {
    flex-direction: column;
  }

  .project-header-left {
    display: flex;
    justify-content: center;
  }

  .project-inner {
    height: 440px;
  }

  .project-header-left > img {
    width: 100%;
    max-width: 300px;
    border-radius: 22.5%;
    box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
    z-index: 2;
    position: relative;
    display: none;
  }

  .header-right:nth-child() {
    font-size: 1em !important;
  }
}
