@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:100,100i,300,300i,400,400i,500,500i,700,700i');

:root {
  --main: #000;
  --bg-color: #1a1b1f;
  --text: #fff;
  --text2: rgba(255,255,255,.8);
  --text3: rgba(255,255,255,.5);
  --text4: rgba(255,255,255,.3);
  --text5: #A5A6F6;
  --bg1: rgba(255,255,255,0.05);
  --bg2: rgba(255,255,255,0.03);
}

/* themes */

.theme-dark {
  background-color: var(--bg-color);
  color: var(--text);
}

body {
  transition: ease-in-out background 700ms;
  cursor: url('../maple.cur'), auto;
}

html.transition,
html.transition *,
html.transition *:before,
html.transition *:after {
  transition: all 750ms !important;
  transition-delay: 0 !important;
}

/* overall layout */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  line-height: 36px !important;
  font-family: "Roboto Mono" !important;
  /* background: #1a1b1f !important; */
  /* color: #eee !important; */
}

.whitespace {
  width: 100%;
  height: 100px;
}

@media(max-width: 768px) {
  .whitespace {
    display: none;
  }
}

a {
  color: var(--text5) !important;
}

a, li:hover, label {
  cursor: url('../maplegrab.cur'), pointer;
}

a:active:hover, li:active:hover, label:active:hover, body:active:hover {
  cursor: url('../mapleclick.cur'), pointer;
}

/* overall layout */

.menu li:hover {
  font-weight: bolder;
  /* color: #eee; */
  transform: scale(1.25);
}

h4, h3 {
  /* color: #fff; */
  color: var(--text);
}

/* typewriter intro */
.line {
  width: 24em;
  top: 50%;
  margin: auto;
  /* border-right: 2px solid rgba(255, 255, 255, 0.75); */
  border-right: 2px solid var(--text4);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transform: translateY(-50%);
}

/* scrolling progress */
h2 {
  position: absolute;
  font-size: 16px;
  font-weight: 100;
  /* color: white !important; */
  color: var(--text) !important;
  margin: 20px;
}

.percent {
  position: fixed;
  display: flex;
  flex-direction: column;
  /* background: rgba(255, 255, 255, 0.2); */
  height: 140px;
  width: 1px;
  margin: -60px 0 0 40px;
}

.fill {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 100%;
  /* background: #fff; */
  background: var(--text) !important;
  transition: background 0.15s ease;
}

/* start mockup hover */
*, *:before, *:after{
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing:border-box;
  box-sizing: border-box;
}

.main-title {
  color: #2d2d2d;
  text-align: center;
  text-transform: capitalize;
  padding: 0.7em 0;
}

.mocktainer {
  padding: 1em 0;
  float: left;
  width: 50%;
}
@media screen and (max-width: 640px){
  .mocktainer {
    display: block;
    width: 100%;
  }
}

@media screen and (min-width: 900px){
  .mocktainer {
    width: 33.33333%;
  }
}

.mocktainer {
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

.mocktainer .content-overlay {
  background: rgba(15,15,15,0.8);
  position: absolute;
  height: 99%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  -moz-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.mocktent:hover .content-overlay {
  opacity: 1;
}

.content-image {
  width: 100%;
}

.content-details {
  position: absolute;
  text-align: center;
  padding-left: 1em;
  padding-right: 1em;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -moz-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.mocktent:hover .content-details {
  top: 50%;
  left: 50%;
  opacity: 1;
}

.content-details h3 {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

.content-details p {
  color: #fff;
  font-size: 0.8em;
}

.fadeIn-top {
  top: 50%;
}
/* end mockup hover */

.anim-typewriter h1:nth-child(1) {
  width: 12em;
  /* takes X seconds to do 40 steps */
  -webkit-animation: type 1s steps(40, end);
  animation: type 1s steps(40, end);
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.anim-typewriter h1:nth-child(2) {
  width: 18em;
  opacity: 0;
  -webkit-animation: type2 1.25s steps(40, end);
  animation: type2 1.25s steps(40, end);
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

/* was for systems@wish */
/* .anim-typewriter h1:nth-child(3) {
  width: 12.5em;
  opacity: 0;
  -webkit-animation: type3 1.5s steps(40, end), blink .5s step-end infinite alternate;
  animation: type3 1.5s steps(40, end), blink .5s step-end infinite alternate;
  -webkit-animation-delay: 2.25s;
  animation-delay: 2.25s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
} */

/* updated to be 3rd child */
.anim-typewriter h1:nth-child(3) {
  width: 17.5em;
  opacity: 0;
  -webkit-animation: type3 1.5s steps(40, end), blink .5s step-end infinite alternate;
  animation: type3 1.5s steps(40, end), blink .5s step-end infinite alternate;
  -webkit-animation-delay: 2.25s;
  animation-delay: 2.25s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

/* updated for a 4th child (Madeira Friends) */
.anim-typewriter h1:nth-child(4) {
  width: 16.5em;
  opacity: 0;
  -webkit-animation: type3 1.5s steps(40, end), blink .5s step-end infinite alternate;
  animation: type3 1.5s steps(40, end), blink .5s step-end infinite alternate;
  -webkit-animation-delay: 2.25s;
  animation-delay: 2.25s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@keyframes type {
  0% {
    width: 0;
  }
  99.9% {
    border-right-color: rgba(255, 255, 255, 0.75);
  }
  100% { 
    border: none;
  }
}

@-webkit-keyframes type {
  0% {
    width: 0;
  }
  99.9% {
    border-right-color: rgba(255, 255, 255, 0.75);
  }
  100% { 
    border: none;
  }
}

@keyframes type2 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  99.9% {
    border-right-color: rgba(255, 255, 255, 0.75);
  }
  100% {
    opacity: 1;
    border: none;
  }
}

@-webkit-keyframes type2 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  99.9% {
    border-right-color: rgba(255, 255, 255, 0.75);  }
  100% {
    opacity: 1;
    border: none;
  }
}

@keyframes type3 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes type3 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

@-webkit-keyframes blink {
  50% {
    border-color: transparent;
  }
}
/* typewriter intro */

/* nav */
#logo {
  width: 3em;
  height: auto;
  border-radius: 50%;
}

nav {
  width: 100%;
  /* background: #1a1b1f; */
  height: 80px;
  position: fixed;
  z-index: 1;
}

nav #brand {
  float: left;
  display: block;
  margin-left: 82px;
  line-height: 80px;
  font-weight: bold;
}

nav #brand a {
  color: #fff;
  transition: all 0.3s ease-out;
}

nav #brand a:hover {
  text-decoration: none;
}

nav .menu {
  float: left;
  right: 80px;
  position: fixed;
}

nav .menu li {
  padding-left: 40px;
  padding-right: 40px;
  display: inline-block;
  /* cursor: pointer; */
  font-weight: 300;
  line-height: 80px;
  position: relative;
  transition: all 0.3s ease-out;
}

nav .menu li span {
  font-weight: 700;
}

nav .menu li a {
  color: var(--text) !important;
}

nav .menu li a:hover {
  text-decoration: none;
}

#toggle {
  position: absolute;
  right: 30px;
  top: 20px;
  font-weight: 300;
  z-index: 2;
  width: 30px;
  height: 30px;
  cursor: pointer;
  float: right;
  transition: all 0.3s ease-out;
  visibility: hidden;
  opacity: 0;
}

.close-btn {
  position: absolute;
  right: 16px;
  font-weight: 300;
  z-index: 2;
  cursor: pointer;
  top: -2px;
  line-height: 80px;
}

#resize {
  z-index: 1;
  top: 0px;
  position: fixed;
  background: #1a1b1f;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  transition: all 1s ease-out;
}

#resize .menu {
  height: 90px;
  position: absolute;
  left: 45%;
  transform: translateX(-40%);
  text-align: center;
  display: table-cell;
  vertical-align: center;
}

#resize .menu li {
  display: block;
  text-align: center;
  padding: 10px 0;
  font-size: 50px;
  min-height: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

#resize li:nth-child(1) {
  margin-top: 140px;
}

#resize .menu li a {
  color: #fff !important;
}

#resize .menu li a:hover {
  text-decoration: none;
}

#resize.active {
  visibility: visible;
  opacity: 1;
}

@media(max-width: 768px) {
  #toggle {
    visibility: visible;
    opacity: 1;
    margin-top: 6px;
    margin-right: 4px;
  }

  nav #brand {
    margin-left: 24px;
  }

  .menu a {
    font-size: 20px;
    font-weight: 300;
  }

  #resize li span {
    font-weight: bolder;
  }

  nav .menu {
    display: none;
  }

  ol {
    margin-left: 5%;
  }
}

@media(min-width: 768px) {
  #resize {
    visibility: hidden !important;
  }
}
/* nav */

/* hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-weight: 200;
  text-align: center;
  letter-spacing: -2px;
  line-height: 58px;
}

@media(max-width: 768px) {
  .header h1 {
    font-size: 26px;
  }
}
/* hero */

/* scroll anim */
.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 100px;
  display: block;
  text-align: center;
  font-size: 20px;
  z-index: 0;
  text-decoration: none;
  text-shadow: 0;
  width: 13px;
  height: 13px;
  /* border-bottom: 2px solid #fff;
  border-right: 2px solid #fff; */
  border-bottom: 2px solid var(--text);
  border-right: 2px solid var(--text);
  -webkit-transform: translate(-50%, 0) rotate(45deg);
  animation: fade_move_down 3s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

@keyframes fade_move_down {
  0% {
    transform: translate(0, -20px) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(0, 20px) rotate(45deg);
    opacity: 0;
  }
}
/* scroll anim */

/* proj */
.sltn-prv {
  margin: auto;
  width: 50%;
  padding: 10px;
  font-weight: normal;
}

.sltn-prv > h4, .sltn-prv > h5 {
  font-weight: normal;
  line-height: 150%;
}

.work {
  text-align: center;
  width: 100%;
}

.mocktent img {
  margin: 1%;
  width: 75%;
  max-width: fit-content;
}

.sketch {
  max-width: 50%;
  height: auto;
  margin-bottom: 3vh;
}

.exp-mg {
  min-width: 50vw;
  height: 100%;
}

/* proj */

/* footer */
.collab {
  text-align: right;
}

.collab p {
  /* font-weight: lighter !important; */
  margin-bottom: 20px;
}

.hr {
  /* background: rgba(255, 255, 255, 0.2); */
  background: var(--text4);
  height: 1px;
}

.info h4 {
  font-size: 18px;
}

.info p, .collab {
  /* color: #c9c9c9; */
  color: var(--text2) !important
}

.info li {
  color: #fff;
  font-size: 18px;
  padding-left: 20px;
}

#medium::before {
  display: inline-block;
  content: '';
  border-radius: 100%;
  height: 10px;
  width: 10px;
  margin-right: 6px;
  background: var(--text);
}


#ig::before {
  display: inline-block;
  content: '';
  border-radius: 100%;
  height: 10px;
  width: 10px;
  margin-right: 6px;
  background: #833ab4;
}


#li::before {
  display: inline-block;
  content: '';
  border-radius: 100%;
  height: 10px;
  width: 10px;
  margin-right: 6px;
  background: #0e76a8;
}

#beli::before {
  display: inline-block;
  content: '';
  border-radius: 100%;
  height: 10px;
  width: 10px;
  margin-right: 6px;
  background: #7de08e;
}

#git::before {
  display: inline-block;
  content: '';
  border-radius: 100%;
  height: 10px;
  width: 10px;
  margin-right: 6px;
  background: #7dbbe6;
}

#media, #code {
  text-align: right;
}

#media ul {
  list-style: none;
}

#media ul li {
  display: inline-block;
}

@media(max-width: 768px) {
  .collab, #personal, #media, #code {
    text-align: center;
  }

  .info ul {
    margin: 0 0 0 -22px;
    padding: 0;
  }
}
/* footer */

/* work page */
.space {
  margin-bottom: 5vh;
}

.hero-content {
  margin-left: 0%;
}

.hero-content p {
  font-weight: 400;
  line-height: 36px;
  /* color: rgb(201, 201, 201); */
  /* color: #eee; */
  color: var(--text);
  margin-bottom: 0; /* for better project overview formatting on mobile devices */
}

.hero-content h6 {
  text-align: left;
}

@media(max-width: 768px) {
  .hero-content {
    padding-top: 25px;
    width: 96%;
    margin: 0 auto;
  }
}
/* work page */

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

/* about page */
/* #talapus {
  padding-top: 2%;
  padding-bottom: 5%;
  width: 50%;
} */

.about-space > p {
  margin-top: 3vh;
}

.about-intro {
  align-items: center;
}

.about-photo {
  width: 100%;
  border-radius: 16px;
  display: block;
}

@media(max-width: 768px) {
  .about-photo {
    max-width: 220px;
    margin: 0 auto 3vh auto;
  }
}

.roles {
  margin-top: 10%;
}

/* skills / languages as chips so they distribute evenly */
.tag-list {
  list-style: none;
  padding: 0;
  margin: 3vh 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 12px;
}

.tag-list li {
  line-height: 1.4;
  color: var(--text2);
}

.tag-list .tag {
  border: 1px solid var(--text4);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 15px;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tag-list .tag:hover {
  border-color: var(--text2);
  color: var(--text);
}

.lang-list {
  flex-direction: column;
  gap: 14px;
}

.position {
  margin-top: 3vh;
}

#colchuck {
  padding-top: 2%;
  padding-bottom: 2%;
  margin-bottom: 3%;
  border-top-left-radius: 30% 30%;
}

.page-top-content {
  padding-top: 25%;
}

.caption {
  margin-top: 1%;
  height: 15%;
  width: 75%;
}
/* about page */

/* project page */
.prev, .next p {
  /* color: #c9c9c9; */
  color: var(--text2)
}

.prev p {
  text-align: left;
}

.next p {
  text-align: right;
}
/* project page */
/* logo tiles — fill the tile like the others but never crop the logo.
   `contain` shows the whole logo; a matching background-color makes the
   letterbox area blend into the logo's own canvas so it reads full-bleed. */
.tiles article.logo-tile {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* canvas color behind the logo */
.tiles article.logo-tile.logo-light {
  background-color: #ffffff !important;
}

.tiles article.logo-tile.logo-dark {
  background-color: #000000 !important;
}

/* shrink the logo a touch instead of spanning the full tile width */
.tiles article.logo-tile.logo-sm {
  background-size: 70% auto !important;
}

.tiles article.logo-tile.logo-md {
  background-size: 85% auto !important;
}

/* larger logo that takes up most of the tile width */
.tiles article.logo-tile.logo-lg {
  background-size: 92% auto !important;
}

/* logo art that ships with its own canvas/gradient — fill the whole tile
   edge-to-edge (no letterbox bands) instead of being contained. */
.tiles article.logo-tile.logo-cover {
  background-size: cover !important;
}
