/* setup stuff */


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

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

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

#backbutton {
  position: fixed;
  margin: 20px;
  width: 176px;
  height: 62px;
  background: url(Buttons/Back.png) left top no-repeat;
  background-size: 176px, 62px;
  z-index: 3;
  border: 0;
}
#backbutton:active {
  background: url(Buttons/backpressed.png) left top no-repeat;
  background-size: 176px, 62px;
}

#container1 {
  position: absolute;
  left: calc(50vw - calc(var(--con-size) / 2));
  top: 50px;
  width: var(--con-size); 
  height: calc(var(--con-size)*2.5);
  display: grid;
  grid-template-columns: 25vw 25vw;
  grid-template-rows: 25vw 25vw 25vw 25vw 25vw;
  background: url(midshadevertical.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 {
  left: 10px;
  top: 10px;
  position: relative;
  filter: drop-shadow(6px 6px 6px black);
  max-width: calc(var(--half-con-size) - 20px);
  max-height: calc(var(--half-con-size) - 20px);
  z-index: 1;
  border: 0;
}

.refs {
  position: relative;
  background-color: pink;
  left: 10px;
  top: 10px;
  width: 5px;
  height: 5px;
  z-index: 3;
  visibility: hidden;
} 

#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;
}
#niftyref{
  grid-area: 1 / 1;
}

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

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

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

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

#babyArtwork {
  left: 2.69vw;
  width: calc(calc(var(--half-con-size) - 20px)*0.784);
  height: calc(var(--half-con-size) - 20px);
  background: url(Artwork/babyArtwork.jpg) left top no-repeat;
  background-size: calc(calc(var(--half-con-size) - 20px)*0.784) calc(var(--half-con-size) - 20px);
  grid-area: 3 / 2;
}
#babyArtworkref {
  left: 2.69vw;
  grid-area: 3 / 2;
}

#rollinArtwork {
  left: 2.69vw;
  width: calc(calc(var(--half-con-size) - 20px)*0.75);
  height:calc(var(--half-con-size) - 20px);
  background: url(Artwork/rollinArtwork.jpg) left top no-repeat;
  background-size: calc(calc(var(--half-con-size) - 20px)*0.75) calc(var(--half-con-size) - 20px);
  grid-area: 4 / 1;
}
#rollinArtworkref {
  left: 2.69vw;
  grid-area: 4 / 1;
}

#jollyArtwork {
  left: 2.69vw;
  width: calc(calc(var(--half-con-size) - 20px)*0.75);
  height:calc(var(--half-con-size) - 20px);
  background: url(Artwork/jollyArtwork.jpg) left top no-repeat;
  background-size: calc(calc(var(--half-con-size) - 20px)*0.75) calc(var(--half-con-size) - 20px);
  grid-area: 4 / 2;
}
#jollyArtworkref {
  left: 2.69vw;
  grid-area: 4 / 2;
}

#headphonesArtwork {
  left: 2.69vw;
  width: calc(calc(var(--half-con-size) - 20px)*0.75);
  height:calc(var(--half-con-size) - 20px);
  background: url(Artwork/headphonesArtwork.jpg) left top no-repeat;
  background-size: calc(calc(var(--half-con-size) - 20px)*0.75) calc(var(--half-con-size) - 20px);
  grid-area: 5 / 1;
}
#headphonesArtworkref {
  left: 2.69vw;
  grid-area: 5 / 1;
}

