/* setup stuff */


@font-face {
    font-family:'vt323';
    src: url('vt323-regular.woff') format('woff');
    src: url('vt323-regular.ttf') format('truetype');
}

:root {
  --con-size:50vw;
  --half-con-size: calc(var(--con-size)/2);
  --zoom-scale:2;
}

@media screen and (max-width: 600px){
  :root{
    --con-size:76vw;
  }
  .artwork{
    --zoom-scale:3;
  }
}

@keyframes zoomanimation{
  from {}
  to {left: calc(50vw - 300px); top: calc(50vh - 300px); width: 600px; height: 600px;}
}
/*left: 25vw; top: 25vh; width: 300px; height: 300px;*/

#doggy{
  position: relative;
  left: 25vw; 
  top: 25vh;
}

#doggy:hover{
  position: relative;
  left: calc(50vh - 300px); 
  top: calc(50vh - 300px);
  animation: zoomanimation 2s linear 0s 1 normal forwards;
}

body {
  background: black url(spacebackground.gif) repeat top left;
  background-size: 456px 351px;
  color: white;
  font-family: "vt323";
  width: 100vw;
  height: 100vh;
}

/* Relative positions */
.container {
  position: relative;
  margin: 0 auto;
  width: var(--con-size); 
  display: grid;
  grid-template-columns: auto auto;
  background-color: #ababab;
  background: url(midshade.png) center repeat, url(topshade.png) left top no-repeat, url(bottomshade.png) left bottom no-repeat, #ababab;
  background-size: var(--con-size) var(--con-size), var(--con-size) var(--con-size), var(--con-size) var(--con-size);
}

.artwork {
  position: relative;
  filter: drop-shadow(6px 6px 6px black);
  margin: 10px;
  max-width: calc(var(--half-con-size) - 20px);
  max-height: calc(var(--half-con-size) - 20px);
  z-index: 1;
  border: 0;
}

.artwork:active{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--zoom-scale)); 
  z-index: 2;
  cursor: none; 
  border: 0;
} 

#nifty {
  width:calc(var(--half-con-size) - 20px);
  height:calc(var(--half-con-size) - 20px);
  background: url(Artwork/nifty.png) left top no-repeat;
  background-size: calc(var(--half-con-size) - 20px) calc(var(--half-con-size) - 20px);
  grid-area: 1 / 1;
}

#pd {
  width:calc(var(--half-con-size) - 20px);
  height:calc(var(--half-con-size) - 20px);
  background: url(Artwork/plaguedoctor.png) left top no-repeat;
  background-size: calc(var(--half-con-size) - 20px) calc(var(--half-con-size) - 20px);
  grid-area: 1 / 2;
}

#scraptrap {
  width:calc(var(--half-con-size) - 20px);
  height:calc(var(--half-con-size) - 20px);
  background: url(Artwork/scrappytrappy.png) left top no-repeat;
  background-size: calc(var(--half-con-size) - 20px) auto;
  grid-area: 2 / 1;
}

#snatcher {
  width: calc(var(--half-con-size) - 20px);
  height:calc(var(--half-con-size) - 20px);
  background: url(Artwork/dasnatcher.png) left top no-repeat;
  background-size: calc(var(--half-con-size) - 20px) calc(var(--half-con-size) - 20px);
  grid-area: 2 / 2;
}

