body {
background: #151515;
color: #e5e5e5;
font-family: Tahoma, Arial, sans-serif;
margin: 0;
padding: 0;
}

header {
background: #000;
border-bottom: 4px solid #cc0000;
padding: 12px;
text-align: center;
}

header a {
color: #fff;
text-decoration: none;
font-weight: bold;
text-transform: lowercase;
margin: 0 15px;
font-size: 14px;
}

header a:hover {
color: #cc0000;
}

.active {
    display: inline-block;
    color: #cc0000;
    transform: rotate(-3deg);
    text-decoration: underline;
}

h1 {
    text-align: center;
    font-family: Impact, Arial Black, sans-serif;
    font-size: 3rem;
    margin: 20px 0;
    color: #dbdbdb;
    letter-spacing: -2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #880000;
    animation: jitter 0.3s ease-out 2;
}

@keyframes jitter {
    0% {
        transform: translate(0, 0);
    }

    20% {
        transform: translate(-2px, 1px);
    }

    40% {
        transform: translate(2px, -1px);
    }

    60% {
        transform: translate(-1px, -2px);
    }

    80% {
        transform: translate(1px, 2px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.blinker {
    display: inline-block;
    animation: blink 1.2s ease-in 5;
}

.profile,
.about,
.entry {
width: 700px;
max-width: 90%;
margin: 20px auto;
}

.profile {
background: #f2f2f2;
color: #111;
border: 3px solid #000;
box-shadow: 6px 6px 0 #000;
}

.stats {
padding: 15px;
}

.stats p {
margin: 8px 0;
}

.about {
background: #fff;
color: #111;
border: 3px solid #000;
box-shadow: 6px 6px 0 #000;
padding: 15px;
}

.about h3 {
margin-top: 0;
background: #880000;
color: white;
display: inline-block;
padding: 4px 8px;
text-transform: lowercase;
transform: rotate(1deg);
}

.about p {
    margin-top: 1px;
}

.entry {
background: white;
color: #111;
border: 3px solid #000;
box-shadow: 6px 6px 0 #000;
padding: 15px;
}

.date {
display: inline-block;
background: #cc0000;
color: white;
padding: 4px 8px;
font-size: 15px;
font-weight: bold;
}

.entry h3 {
margin-top: 5px;
}

.entry p {
    margin-top: 5px;
}

a {
color: #cc0000;
}

a:hover {
color: black;
}

::selection {
background: #cc0000;
color: white;
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background: #151515;
  color: #e5e5e5;
  border: 3px solid #cc0000;
  padding: 20px;
  width: 300px;
  text-align: center;
  box-shadow: 6px 6px 0 #000;
}

.popup-box button {
  margin-top: 10px;
  background: #cc0000;
  color: white;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
}

.gallery-intro {
    width: 700px;
    max-width: 90%;
    margin: 20px auto;
    text-align: center;
}

.gallery-intro p {
    margin: 5px 0;
}

.gallery {
    width: 1100px;
    max-width: 95%;
    margin: 20px auto 60px auto;

    column-width: 280px;
    column-gap: 25px;
}

.photo {
    display: inline-block;
    width: 100%;
    margin: 0 0 25px 0;
    background: white;
    color: #111;
    border: 3px solid #000;
    box-shadow: 6px 6px 0 #000;
    padding: 10px;
    box-sizing: border-box;
    transition: transform .15s ease;
    break-inside: avoid;
}

.photo:nth-child(odd) {
    transform: rotate(-1.5deg);
}

.photo:nth-child(even) {
    transform: rotate(1.5deg);
}

.photo:nth-child(3n) {
    transform: rotate(-3deg);
}

.photo:nth-child(5n) {
    transform: rotate(2.5deg);
}

.photo:hover {
    transform: rotate(0deg) scale(1.03);
    z-index: 10;
}

.photo img {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid #000;
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    background: white;
    padding: 10px;
    border: 3px solid black;
    box-shadow: 8px 8px 0 black;
    transform: rotate(-1deg);
}

#lightbox-caption {
    font-family: "Special Elite", monospace;
    font-size: 14px;
    color: white;
    text-transform: lowercase;
    text-align: center;
    max-width: 80vw;
}

.lightbox-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.phone-notes {
    background: #fff;
    color: #111;
    border: 3px solid #000;
    box-shadow: 6px 6px 0 #000;
    padding: 15px;
    width: 700px;
    max-width: 90%;
    margin: 28px auto;
}

.phone-notes h3 {
    margin-top: 0;
    background: #070000;
    color: white;
    display: inline-block;
    padding: 4px 8px;
    text-transform: lowercase;
    transform: rotate(-1deg);
}

.postits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    justify-content: center;
}

.postit {
    background: #f2efe6;
    border: 1px solid #000;
    box-shadow: 3px 3px 0 #000;
    padding: 10px;
    width: 160px;
    font-size: 14px;
    line-height: 1.2;
    transform: rotate(var(--r, 0deg));
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.long-note {
    max-width: 280px;
}

.postit:nth-child(3n) { --r: -2deg; }
.postit:nth-child(3n+1) { --r: 1.5deg; }
.postit:nth-child(3n+2) { --r: -1deg; }

.postit.quote {
    background: #f2efe6;
    font-style: italic;
}

.pit-wrap {
    width: 700px;
    max-width: 90%;
    margin: 20px auto 60px auto;
}

.pit-wrap iframe {
    width: 100%;
    display: block;
    border: 3px solid #000;
    box-shadow: 6px 6px 0 #000;
}

.rant {
  display: inline-block;
  background: #300;
  color: #ff8a8a;
  padding: 2px 8px;
  border: 1px solid #600;
  text-transform: uppercase;
  letter-spacing: 2px;
}