@import url("https://fonts.googleapis.com/css2?family=Bangers&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Source+Code+Pro:wght@400;500&display=swap");

* {
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #44475a;
  display: flex;
  justify-content: center;
  height: 100%;
}

a {
  text-decoration: none;
}

/* make animations wait */
.js-still-loading *,
.js-still-loading *:before,
.js-still-loading *:after {
  animation-play-state: paused !important;
}

/* loading screen */
#loader {
  background-image: url(../images/matrix-3109378_1280.jpg);
  width: 100%;
  height: 5000px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: auto;
  background-position: 0 0;
  background-repeat: repeat-y;
  animation-name: woah;
  animation-timing-function: linear;
  animation-duration: 40s;
  animation-iteration-count: infinite;
  animation-play-state: running !important;
}

@keyframes woah {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 5000px;
  }
}

.rabbit {
  font-size: 6vw;
  width: 75%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 0 0 10px #008f11;
  position: fixed;
  background-color: #282a36;
  justify-content: center;
  margin: 0 auto;
  border: solid 1px #77c468;
  box-shadow: inset 1px 0px 6px 2px #77c468;
  border-radius: 7px;
  font-family: "Source Code Pro";
  z-index: 5;
}

.page-heading {
  text-align: center;
}

/* typewriter headers */
.typewriter h1 {
  width: 85%;
  font-family: "Source Code Pro", monospace;
  font-size: 8vw;
  overflow: hidden;
  border-right: 0.12em solid transparent;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.1em;
  animation: typingHome 3s steps(30, end), blink-caret 0.7s step-end 6;
}

@keyframes typingHome {
  from {
    width: 0;
  }
  to {
    width: 90%;
  }
}

.typewriter-about h1 {
  width: 79%;
  font-family: "Source Code Pro", monospace;
  font-size: 8vw;
  overflow: hidden;
  border-right: 0.12em solid transparent;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.1em;
  animation: typingAbout 3s steps(30, end), blink-caret 0.7s step-end 6;
}

@keyframes typingAbout {
  from {
    width: 0;
  }
  to {
    width: 84%;
  }
}
.typewriter-work h1 {
  width: 92%;
  font-family: "Source Code Pro", monospace;
  font-size: 7.5vw;
  overflow: hidden;
  border-right: 0.12em solid transparent;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.1em;
  animation: typingContact 3s steps(30, end), blink-caret 0.7s step-end 6;
}

@keyframes typingContact {
  from {
    width: 0;
  }
  to {
    width: 97%;
  }
}
.typewriter-props h1 {
  width: 85%;
  font-family: "Source Code Pro", monospace;
  font-size: 8vw;
  overflow: hidden;
  border-right: 0.12em solid transparent;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.1em;
  animation: typingProps 3s steps(30, end), blink-caret 0.7s step-end 6;
}

@keyframes typingProps {
  from {
    width: 0;
  }
  to {
    width: 90%;
  }
}
.typewriter-games h1 {
  width: 80%;
  font-family: "Source Code Pro", monospace;
  font-size: 8vw;
  overflow: hidden;
  border-right: 0.12em solid transparent;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.1em;
  animation: typingGames 3s steps(30, end), blink-caret 0.7s step-end 6;
}

@keyframes typingGames {
  from {
    width: 0;
  }
  to {
    width: 85%;
  }
}

.typewriter-web-design h1 {
  width: 96%;
  font-family: "Source Code Pro", monospace;
  font-size: 6.25vw;
  overflow: hidden;
  border-right: 0.12em solid transparent;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.1em;
  animation: typingContact 3s steps(30, end), blink-caret 0.7s step-end 6;
}

.typewriter-contact h1 {
  width: 91%;
  font-family: "Source Code Pro", monospace;
  font-size: 6.5vw;
  overflow: hidden;
  border-right: 0.12em solid transparent;
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: 0.1em;
  animation: typingContact 3s steps(30, end), blink-caret 0.7s step-end 6;
}

@keyframes typingContact {
  from {
    width: 0;
  }
  to {
    width: 96%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: #f8f8f2;
  }
}

/* main container */
.container {
  margin: 0 auto;
  background: #282a36;
  width: 95%;
  background: #282a36;
  box-shadow: 1px 1px 5px 5px;
}

/* responsive navbar w/animated hamburger */
#menu {
  height: 35px;
  background: #44475a;
  width: 100%;
  z-index: 100;
}

#menu a {
  padding: 7.5px 8px;
  font-family: "Source Code Pro", monospace;
  font-size: 16px;
  font-weight: bolder;
  color: #f1fa8c;
  text-decoration: none;
  z-index: 101;
}

#menu a:hover {
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;
  background-color: #3b3d4d;
  padding: 8px 14px;
  border-radius: 7px;
}

.topnav a.home {
  background-color: #bd93f9;
  color: #f1fa8c;
}

.topnav a {
  float: left;
}
.topnav .icon {
  display: none;
  background-color: #bd93f9;
}

#menu.topnav.responsive a.link:hover {
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;
  background-color: #d9c1fa;
  padding: 8px 8px;
  border-radius: 0px;
}

#menu.topnav.responsive a.home:hover {
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;
  background-color: #d9c1fa;
  padding: 8px 8px;
  border-radius: 0px;
  width: 30%;
}

.topnav a {
  float: left;
}

.topnav .icon {
  display: none;
  background-color: #bd93f9;
}

#menu.topnav.responsive a.link:hover {
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;
  background-color: #d9c1fa;
  padding: 8px 8px;
  border-radius: 0px;
}

#menu.topnav.responsive a.home:hover {
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;
  background-color: #d9c1fa;
  padding: 8px 8px;
  border-radius: 0px;
  width: 30%;
}

/* animate menu */
#menu.topnav.responsive a.about {
  animation: menubars 1s ease 0.5s forwards;
  transform: translateX(-110%);
}

#menu.topnav.responsive a.work {
  animation: menubars 1s ease 0.6s forwards;
  transform: translateX(-110%);
}

#menu.topnav.responsive a.props {
  animation: menubars 1s ease 0.7s forwards;
  transform: translateX(-110%);
}

#menu.topnav.responsive a.contact {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  animation: menubars 1s ease 0.8s forwards;
  transform: translateX(-110%);
}

@keyframes menubars {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(10%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* navbar hovers */
#menu.topnav.responsive a.contact:hover {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

#menu.topnav .icon:hover {
  background-color: #d9c1fa;
  padding: 8px 8px;
}

#menu.topnav .home:hover {
  background-color: #d9c1fa;
  padding: 8px 8px;
}

/*hamburger*/
.menu-btn {
  display: flex;
  visibility: hidden;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 19px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.menu-btn_burger {
  width: 25px;
  height: 4px;
  background: #f1fa8c;
  border-radius: 10px;
  transition: all 0.5s ease-in-out;
}

.menu-btn_burger::before,
.menu-btn_burger::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 4px;
  background: #f1fa8c;
  border-radius: 10px;
  transition: all 0.5s ease-in-out;
}

.menu-btn_burger::before {
  transform: translateY(-8px);
}

.menu-btn_burger::after {
  transform: translateY(8px);
}

/*animation for hamburger*/
.menu-btn.open .menu-btn_burger {
  transform: translateX(-80vw);
  background: transparent;
  box-shadow: none;
}

.menu-btn.open .menu-btn_burger::before {
  transform: rotate(45deg) translate(56.5vw, -56.5vw);
}

.menu-btn.open .menu-btn_burger::after {
  transform: rotate(-45deg) translate(56.5vw, 56.5vw);
}

/* sticky */
.sticky {
  position: sticky;
  top: -1px;
  width: 100%;
  z-index: 99;
}

#menu.topnav + .main {
  position: sticky;
  padding-top: 17.5px;
}

.sticky + .main {
  padding-top: 17.5px;
}

#menu.topnav.responsive + .main {
  padding-top: 17.5px;
}

/* navbar queries */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: sticky;
  }
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  #menu.topnav.responsive a.link {
    width: 30%;
    margin: -9.5px 0px;
    background-color: #bd93f9e8;
    color: #f1fa8c;
  }
  #menu.topnav.responsive a.link.about {
    margin-top: -19px;
  }
  #menu.topnav.responsive {
    background-color: #bd93f9;
    color: #f1fa8c;
  }
}

@media screen and (min-width: 600px) {
  #menu.topnav.responsive a.home:hover {
    width: fit-content;
  }
  #menu.topnav.responsive a.contact:hover {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }
  .topnav a.home {
    background-color: #44475a;
  }
  #menu.topnav.responsive a.home {
    background-color: #44475a;
  }
  #menu.topnav a.home:hover {
    background-color: #3b3d4d;
  }
}

/* comic book styles */
.comic {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 1vmin;
  min-width: 300px;
  max-width: 100%;
  overflow-x: hidden;
}

.panel {
  background-color: #fff;
  border: solid 10px #fff;
  box-shadow: 0 6px 6px -6px #000;
  display: inline-block;
  flex: 1 1;
  margin: 1vmin;
  overflow: hidden;
  position: relative;
  min-height: 130px;
  max-height: 100%;
  margin: 0.25rem;
}

.panel-in-panel {
  background-color: #fff;
  border: solid 10px #fff;
  box-shadow: 0 6px 6px -6px #000;
  display: inline-block;
  flex: 1 1;
  margin: 1vmin;
  overflow: hidden;
  position: relative;
  min-height: 130px;
  max-height: 100%;
  margin: 0.25rem;
}

.text {
  background-color: #fff;
  border: solid 2px #000;
  margin: 0;
  padding: 3px 10px;
}

.top-left {
  margin-right: 1rem;
  left: -1rem;
  position: absolute;
  top: -1rem;
  transform: skew(-20deg);
  color: #000;
  font-family: "Bangers";
  font-size: 1.25rem;
  letter-spacing: 0.1rem;
  padding-left: 2rem;
  padding-top: 1.25rem;
  z-index: 1;
}

.bottom-right {
  bottom: -2px;
  position: absolute;
  right: -6px;
  transform: skew(-20deg);
  color: #000;
  font-family: "Bangers";
  font-size: 1.25rem;
  letter-spacing: 0.1rem;
  padding-right: 1rem;
}

.main {
  padding: 30px 10px;
  color: #f8f8f2;
  font-family: "Source Code Pro", monospace;
  text-emphasis: justify;
  height: auto;
}

.main a:hover {
  color: #444444;
}

.scroll {
  background-image: url(../images/matrix-3109378_1280.jpg);
  /* min-height: 900px; */
  /*height: 100%;*/
  /*height: -webkit-fill-available;*/
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 05px solid #44475a;
  border-color: #adafbc;
  border-top-color: #5f6168;
  border-left-color: #5f6168;
  padding: 5px 5px;
  box-shadow: inset white 1px 0px 20px 0;
  /*overflow: auto;*/
  position: relative;
}

footer {
  padding: 6px 10px 6px 0px;
  background: #44475a;
  font-family: "Source Code Pro", monospace;
  font-size: 10px;
  text-align: right;
  color: #f8f8f2;
  overflow: auto;
  position: relative;
  left: 0;
  bottom: 0;
  width: -webkit-fill-available;
  z-index: 100;
}

footer a {
  text-decoration: none;
  color: #f8f8f2;
}

.separator {
  font-size: 11px;
}

/*********************Contact********************/
h1 {
  text-align: center;
  padding: 5px 0px 5px 0px;
}

#contact #form {
  position: relative;
  background-color: #282a36;
  justify-content: center;
  min-width: 180px;
  max-width: 350px;
  width: 240px;
  height: 610px;
  margin: 0 auto;
  border: solid 1px #77c468;
  box-shadow: inset 1px 0px 6px 2px #77c468;
  border-radius: 7px;
  padding: 1% 8% 4%;
  transform: translateY(20px);
  margin-bottom: 2%;
  font-family: "Source Code Pro";
  z-index: 5;
  opacity: 0;
  animation: formFadeIn 1s ease 5.5s forwards;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#contact #form input {
  justify-content: center;
  color: #f1fa8c;
  min-width: 180px;
  width: -webkit-fill-available;
  border-radius: 5px;
  height: 20px;
  background-color: #44475a;
  border-color: #adafbc;
  padding: 2px 2px 2px 2px;
  margin: 0 auto;
}

#contact #form #message {
  color: #f1fa8c;
  min-width: 180px;
  width: -webkit-fill-available;
  border-radius: 5px;
  border-width: 2px;
  background-color: #44475a;
  border-color: #adafbc;
  border-top-color: #5f6168;
  border-left-color: #5f6168;
  padding: 2px 2px 2px 2px;
  margin: 0 auto;
}

#contact #form #submit {
  justify-content: center;
  font-family: "Source Code Pro";
  color: black;
  font-style: bold;
  font-weight: 700;
  width: 200px;
  border-radius: 5px;
  height: 40px;
  background: linear-gradient(#f1fa8c, yellow);
  border-color: yellow;
  padding: 2px 2px 2px 2px;
  cursor: pointer;
  box-shadow: 0 1px gold;
}

#contact #form #submit:hover {
  background: linear-gradient(yellow, gold);
}

#contact #form #submit:active {
  background-color: #3e8e41;
  box-shadow: 0 0.5px gold;
  transform: translateY(3px);
}
