html,
body {
  height: 100%;
  margin: 0;
  font-family: 'Arial', sans-serif;
  font-weight: normal;
  font-size: 100%;
}

hr {
  border: 2px solid red;
}

.base {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 3rem;
    font-size: 1.6em;
    line-height: 1.3em;
}

.base a:hover
{
  color: #FF0100;
  font-style: italic;
}

@media screen and (max-width: 900px) {
  .base {
    margin-left: 1rem;
    margin-right: 1rem;
    margin-top: 2rem;
  }
}

#small {
    font-size: 0.6em; 
    line-height: 20px; 
    font-style: italic;
}

#small a:hover {
    font-style: normal;
}

/* Create two equal columns that floats next to each other */
.pic-column {
  float: left;
  width: 49%;
  padding-right:1%;
}

/* Clear floats after the columns */
.pic-row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .pic-column {
    width: 100%;
  }
}

/* Create four equal columns that floats next to each other */
.all-column {
  float: left;
  width: 24%;
  margin-right:1%;
}

/* Clear floats after the columns */
.all-row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - makes the four columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .all-column {
    width: 100%;
  }
}

.home:after{
    content:'Home';
}
.home:hover:after{
    content:'Index';
    font-family: 'Pinyon Script', cursive;
    line-height: 0.9;
}

@-webkit-keyframes home {
  50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
}

@keyframes home {
  50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
}

.home {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
}
.home:hover, .home:focus, .home:active {
  -webkit-animation-name: home;
  animation-name: home;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.work:after{
    content:'Work';
}
.work:hover:after{
    content:'Twerk';
    font-family: 'Pinyon Script', cursive;
    line-height: 0.9;
}

@-webkit-keyframes work {
  10% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  20% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }

  30% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  40% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }

  50% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }

  60% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }

  70% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }

  80% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }

  90% {
    -webkit-transform: translateX(1px) rotate(0);
    transform: translateX(1px) rotate(0);
  }

  100% {
    -webkit-transform: translateX(-1px) rotate(0);
    transform: translateX(-1px) rotate(0);
  }
}

@keyframes work {
  10% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  20% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }

  30% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  40% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }

  50% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }

  60% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }

  70% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }

  80% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }

  90% {
    -webkit-transform: translateX(1px) rotate(0);
    transform: translateX(1px) rotate(0);
  }

  100% {
    -webkit-transform: translateX(-1px) rotate(0);
    transform: translateX(-1px) rotate(0);
  }
}

.work {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
}
.work:hover, .work:focus, .work:active {
  -webkit-animation-name: work;
  animation-name: work;
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.about:after{
    content:'About';
}
.about:hover:after{
    content:'Jahjah Studio';
    font-family: 'Pinyon Script', cursive;
    line-height: 0.9;
}

@-webkit-keyframes about {
  16.65% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }

  33.3% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }

  49.95% {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
  }

  66.6% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }

  83.25% {
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes about {
  16.65% {
    -webkit-transform: translateY(8px);
    transform: translateY(8px);
  }

  33.3% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }

  49.95% {
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
  }

  66.6% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }

  83.25% {
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.about {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
}
.about:hover, .about:focus, .about:active {
  -webkit-animation-name: about;
  animation-name: about;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.contact:after{
    content:'Contact';
}
.contact:hover:after{
    content:'Hire us!';
    font-family: 'Pinyon Script', cursive;
    line-height: 0.9;
}

.contact {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.contact:hover, .contact:focus, .contact:active {
  -webkit-transform: scale(1.5) rotate(7deg);
  transform: scale(1.5) rotate(7deg);
}

#index {
  height: 100%;
  overflow: hidden;
  margin: 0;
}

#work {
  height: 100%;
  margin: 0;
}

.Loop {
  position: relative;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}


h1 {
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  font-size: 80px;
  letter-spacing: 5px;
  color: #fff;
  text-transform: uppercase;
}


#mydiv {
  position: fixed;
  cursor: move;
  z-index: 1000;
  background: url("pic/sticker-logo-2.png") no-repeat;
  background-size: contain;
  width: 20rem;
  height: 20rem;
  text-align: center;
}


#mydiv {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
#mydiv:hover, #mydiv:focus, #mydiv:active {
  -webkit-transform: rotate(7deg);
  transform: rotate(7deg);
}

@media screen and (max-width: 900px) {
  #mydiv {
  width: 10rem;
  height: 10rem;
  text-align: center;
  left: 1vw;
  top: 2vh;
  }
}


a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

a:hover
{
  color: #FF0100;
}

#menuToggle
{
  display: block;
  position: fixed;
  top: 50px;
  right: 50px;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 45px;
  height: 4px;
  margin-bottom: 9px;
  position: relative;
  
  background: #FF0100;
  border-radius: 0px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #000 !important;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 300px;
  height: 100vh;
  margin: -100px 0 0 0;
  padding: 50px;
  padding-top: 30vh;
  right: -50px;
  
  background: #fff;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: solid;
  border-color: #FF0100;
  border-width: 4px;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 20px 0;
  font-size: 40px;
  text-align: center;
}

/*
 * And let's fade it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: scale(1.0, 1.0);
  opacity: 1;
}

.card {
  background-color: white;
  font-size: 1.5em;
  color: black;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  padding-right: 2rem;
  height: 100%;
  border-style: solid;
  border-width: 4px 0px 0px 0px;
  border-color: #FF0100;
}

@media screen and (max-width: 600px) {
  .card {
  padding-right: 0rem !important;
  }
}

.cards {
  max-width: 97%;
  margin: 0 auto;
  display: grid;
  grid-gap: 0rem;
  border-style: solid;
  border-width: 0px 0px 0px 0px;
  border-color: #FF0100;
}

/* Screen larger than 600px? 2 column */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(1, 2fr 1fr); }
}

.footer {
   position: fixed;
   font-size: 1.5em;
   left: 0;
   bottom: 0;
   width: 100%;
   background-color: white;
   color: red;
   border-style: solid;
   border-width: 4px 0px 0px 0px;
   border-color: #FF0100;
   text-align: left;
   padding: 0.5rem;
}

.footer a {
   color: red;
}

.footer a:hover {
   color: #000;
   font-style: italic;
}

@media screen and (max-width: 900px) {
  .footer {
  display: none;
  }
}

.mirror{
    display: inline-block; 
    -webkit-transform: matrix(-1, 0, 0, 1, 0, 0);
    -moz-transform: matrix(-1, 0, 0, 1, 0, 0);
    -o-transform: matrix(-1, 0, 0, 1, 0, 0);
    transform: matrix(-1, 0, 0, 1, 0, 0);
}

::selection {
  text-shadow: 2px 2px 3px #E1B6CA;
}
::-moz-selection {
  text-shadow: 2px 2px 3px #E1B6CA;
}

.hover_img a { 
  position:relative; 
}
.hover_img a span { 
  left: 40%;
  top: 30%;
  position: fixed;
  display:none; 
  z-index:99; 
}
.hover_img a:hover span { 
  display:block; 
}