
body {
  background-color: black;
  color: #353b3a;
  font-family: sans-serif;
  font-size: 11px;
  text-shadow: 1px 1px 0 #b1c3c4;
}

img {
  transform: scale(2);
  height: auto;
  image-rendering: pixelated;
  transform-origin: bottom left;
}




b1 {
  background-image: url("tile2.png");
  background-size: 32px 32px;
  padding: 10px;
  position: absolute;
  left: 44px;
  width: 200px;
  height: 555px;
  border-style: solid;
  text-align: center;
}

b2 {
  background-image: url("tile.png");
  background-size: 32px 32px;
  padding: 10px;
  position: absolute;
  left: 300px;
  width: 333px;
  height: 210px;
  border-style: solid;
  text-align: center;
  top: 100px;
}




.top-links {
  display: flex;
  gap: 3px;
  margin-bottom: 30px;
  margin-left: 300px;
  margin-top: 3px;
}

.top-links .link {
  display: inline-block;
  width: 50px;
  height: 70px;
  background-size: cover;
  background-position: center;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.top-links .link:hover {
  transform: scale(1.2);
}

.top-links .tumblr { background-image: url('tumblr.png'); }
.top-links .instagram { background-image: url('gram.png'); }
.top-links .twitter { background-image: url('poop.png'); }




.projects {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 273px;
  margin-left: 265px;
  width: 477px;
  height: 333px;
}

.project-card {
  position: relative;
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: white;
  border: 2px solid #444;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.project-content {
  position: relative;
  z-index: 2;
  padding: 10px;
}

.project-card h3,
.project-card p {
  margin: 5px 0;
  text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}

a.project-card:hover {
  border-color: white;
  transform: scale(1.02);
  transition: 0.15s ease;
}


.project-a { background: url("a.png") center/cover; }
.project-f { background: url("f.png") center/cover; }
.project-joke { background: url("worlddomination-bg.png") center/cover; }
.project-com { background: url("com.png") center/cover; }





.pinfo {
  background-image: url("tile2.png");
  background-size: 32px 32px;
  position: absolute;
  left: 45px;
  top: 180px;
  width: 420px;
  height: 250px;
  padding: 15px;
  border-style: solid;
  text-align: center;
}


.pshots {
  position: absolute;
  left: 540px;
  top: 100px;
  width: 580px;
  height: 435px;
  border-style: solid;
  background-image: url("tile.png");
  background-size: 32px 32px;
  overflow: hidden;
}


.pshots input {
  display: none;
}


.shot {
  position: absolute;
  inset: 0;
  display: none;
}


#s1:checked ~ .s1,
#s2:checked ~ .s2,
#s3:checked ~ .s3 {
  display: block;
}


.shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  transform: none;
}


.shot-buttons {
  position: absolute;
  bottom: 5px;
  left: 5px;
}

.shot-buttons label {
  cursor: pointer;
  margin-right: 5px;
  padding: 2px 5px;
  background: rgba(0,0,0,0.6);
  border: 1px solid #777;
  color: white;
}



.characters {
  position: absolute;
  left: 44px;
  top: 555px;
  display: flex;
  gap: 15px;
}


.characters2 {
  position: absolute;
  left: 44px;
  top: 950px;
  display: flex;
  gap: 15px;
}

.charbox {
  width: 250px;
  height: 350px;
  border-style: solid;
  padding: 5px;
  text-align: left;
  background-image: url("tile.png");
  background-size: 32px 32px;
}

.char-images {
  display: flex;
  justify-content: right;
  gap: 50px;
  align-items: flex-end;
}


.charbox .portrait {
  width: 50px;
  height: 50px;
  position: relative;
  top: -10px;   
  right: 15px;
}


.charbox .sprite {
  width: 25px;
  height: 50px;
  position: relative;
  top: -10px;   
  right: 15px;
}

.charbox p {
  margin: 3px 0;
}




.back-button {
  position: absolute;
  top: 100px;
  left: 180px;

  width: 140px;
  height: 69px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: white;

  border: 2px solid #444;
  overflow: hidden;

  background: url("tile.png");
  background-size: 32px 32px;
}


.back-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}


.back-button span {
  position: relative;
  z-index: 2;

  text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}


.back-button:hover {
  border-color: white;
  transform: scale(1.05);
  transition: 0.15s ease;
}



a {
  color: #5c6566;
}

a:hover {
  color: white;
}