#container {
  display: none;
}
* { box-sizing: border-box; }

:root {
  --header-image: linear-gradient(180deg, #070707, #000000);
  --body-bg-image: url("ALBUM1.png");
  --content: #000000;
  --red: #ff0000;
  --dark-red: #730000;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #ffffff;
  background-color: #007373;
  background-image: var(--body-bg-image);
  background-size: 65px;
  background-attachment: fixed;
  
  cursor: url("cursor.png"), auto;
}

a { color: #ff8585; text-decoration: underline; font-weight: bold; }
a:hover { color: #ffffff; background: #ad0000; }

/* ENTRY SCREEN */
.entry-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: url("GRIMSTARTUP_1.png") center / cover fixed, #17110f;
}

.entry-screen.is-leaving {
  animation: screenFadeOut .30s ease-in forwards;
  pointer-events: none;
}

.entry-screen.is-leaving .win98 { animation: popupFadeOut .30s ease-in forwards; }

.win98 {
  width: min(640px, 94vw);
  border: 2px solid #000;
  background: #c0c0c0;
  opacity: 1;
  box-shadow: 8px 8px 0 rgba(0,0,0,.55);
  animation: popupFadeIn 1.6s ease-out .35s both;
  color: #000;
}

@keyframes popupFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes screenFadeOut {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

@keyframes popupFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-8px) scale(.98); }
}

.titlebar {
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-weight: bold;
  padding: 2px 4px 2px 8px;
  background: linear-gradient(90deg, #000080, #1084d0);
  border-bottom: 2px solid #000;
}

.window-buttons { display: flex; gap: 3px; }

.window-buttons span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #000;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  line-height: 1;
  font-size: 11px;
}

.win-body {
  padding: 16px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
}

.setup-instructions { margin: 0 0 10px; font-size: 12px; }

.eula-box {
  height: 320px;
  padding: 12px 14px;
  overflow-y: auto;
  background: #fff;
  border-top: 2px solid #777;
  border-left: 2px solid #777;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: #000;
}

.eula-box h1 { margin: 0 0 12px; font-size: 14px; text-decoration: underline; color: #000000 !important; }
.eula-box ul { margin-top: 6px; padding-left: 24px; }
.eula-box li { margin-bottom: 5px; }
.eula-box a { color: #0000ee; font-weight: normal; }
.eula-box strong { color: #000000; }

.button-separator {
  height: 1px;
  margin: 14px 0 10px;
  border-top: 1px solid #777;
  border-bottom: 1px solid #fff;
}

.button-row {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
  position: relative;
  min-height: 32px;
}

.win-button {
  min-width: 110px;
  padding: 6px 12px;
  color: #000;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  text-decoration: none;
  text-align: center;
  font-weight: normal;
}

.win-button:active {
  border-top: 2px solid #555;
  border-left: 2px solid #555;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.runaway-button { position: relative; transition: transform .12s linear; }

/* penis homepage */
#container {
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
  background-color: transparent;
}

#topBar {
  width: 100%;
  min-height: 30px;
  padding: 9px 10px;
  font-size: smaller;
  background-color: transparent;
}

#headerArea {
  background: transparent;
}

#header {
  width: 100%;
  height: 198px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid #111;
  overflow: hidden;
  position: relative;
}

#header::before,
#header::after {
  display: none;
}

#header h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(44px, 9vw, 92px);
  line-height: .85;
  letter-spacing: -3px;
  color: #ffffff;
  text-shadow:
    2px 2px 0 var(--red),
    -2px -2px 0 var(--red),
    4px 4px 0 var(--dark-red),
    0 0 8px var(--red);
  text-align: center;
}

#navbar {
  min-height: 40px;
  background-color: #90D5FF;
  width: 100%;
  margin-bottom: 10px;
}

#navbar ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style-type: none;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

#navbar li { padding: 10px 8px; }

#navbar li a {
  color: #ad0000;
  font-weight: 800;
  text-decoration: none;
}

#navbar li a:hover {
  color: #ff0000;
  text-decoration: underline;
  background: transparent;
}

#flex {
  display: flex;
  align-items: flex-start;
  background-color: transparent;
}

aside {
  background-color: #90D5FF;
  width: 200px;
  padding: 20px;
  font-size: 13px;
  line-height: 1.45;
  color: #ffffff;
}

#leftSidebar { order: 1; margin-right: 10px; }
#rightSidebar { order: 3; margin-left: 10px; }

main {
  background-color: rgba(144, 213, 255, 0.8);
  flex: 1;
  padding: 20px;
  order: 2;
  color: #ffffff;
  min-width: 0;
  font-size: 15px;
  line-height: 1.55;
}

footer {
  background-color: #000000;
  width: 100%;
  min-height: 40px;
  padding: 10px;
  text-align: center;
  margin-top: 10px;
  color: #ffffff;
}

h1, h2, h3 { color: #ffffff; }
main h1 { font-size: 30px; margin-top: 0; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
strong { color: #ffffff; }

.box {
  background-color: #ff0000;
  border: 1px solid #000000;
  padding: 10px;
  color: #ffffff;
  overflow-wrap: break-word;
}

.box img,
.sidebar-img {
  max-width: 100%;
  display: block;
  margin: 0 auto 8px;
  border: 1px solid #000;
  background: #111;
}

img:not(#vinyl-gallery img):not(.main-banner):hover,
.fake-img:hover,
.sidebar-img:hover {
  animation: shake 0.5s;
  animation-iteration-count: infinite;
}
.main-banner,
.main-banner:hover {
  animation: none !important;
  transform: none !important;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.fake-img {
  width: 100%;
  min-height: 315px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #000000;
  border: none;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 60px;
  text-align: center;
}

.founder-photo {
  width: 100%;
  height: 315px;
  object-fit: cover;
  display: block;
  border: none;
  background: #000000;
}


.blood-divider {
  height: 16px;
  margin: 8px 0 12px;
  background: #000000;
  border-bottom: 4px solid #ff0000;
}

#container ul { padding-left: 18px; }
#container li { margin-bottom: 5px; }

.audio-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 18px 0;
  padding: 8px;
  background: #000000;
  border: 1px solid #ff0000;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #fff;
}

.tiny-btn {
  color: #000;
  background: #d6d3ce;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #555;
  border-bottom: 2px solid #555;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 11px;
  padding: 4px 8px;
  cursor: pointer;
}

#vinyl-gallery {
  width: 100%;
  height: 230px;
  margin: 30px 0;
  display: flex;
  flex-direction: row;
  position: relative;
  overflow: hidden;
}

#vinyl-gallery .vinyl {
  perspective: 500px;
  width: 18px;
  transition: width 0.5s;
  flex: 0 0 auto;
}

#vinyl-gallery .vinyl:hover { width: 148px; }

#vinyl-gallery .record {
  width: 180px;
  height: 180px;
  transform: rotateX(0deg) rotateY(25deg);
  transform-style: preserve-3d;
  border-radius: 4px;
  border: 2px solid rgba(0, 0, 0, 0.4);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 40%),
    linear-gradient(45deg, #ff0000, #000000);
  transition: transform 0.5s, width 0.5s, height 0.5s, margin-top 0.5s;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  padding: 8px;
  object-fit: cover;
}

#vinyl-gallery img.record {
  object-fit: cover;
  display: block;
  padding: 0;
}

#vinyl-gallery .vinyl:nth-child(4n) .record { background: linear-gradient(45deg, #111, #ff0000); }
#vinyl-gallery .vinyl:nth-child(4n + 1) .record { background: linear-gradient(45deg, #ff0000, #650000); }
#vinyl-gallery .vinyl:nth-child(4n + 2) .record { background: linear-gradient(45deg, #000, #ff3333); }
#vinyl-gallery .vinyl:nth-child(4n + 3) .record { background: linear-gradient(45deg, #300000, #ff0000); }

#vinyl-gallery .vinyl:hover .record {
  transform: rotateX(0deg) rotateY(10deg);
  width: 188px;
  height: 188px;
  margin-top: -2px;
}

#vinyl-gallery .title {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  color: #ffffff;
  background: #000000;
  padding: 4px;
  font-size: 12px;
}

#vinyl-gallery .vinyl:hover .title { display: block; }

@media only screen and (max-width: 800px) {
  #flex { flex-wrap: wrap; }
  aside { width: 100%; }
  main { order: 1; }
  #leftSidebar { order: 2; margin-right: 0; }
  #rightSidebar { order: 3; margin-left: 0; }
  #navbar ul { flex-wrap: wrap; }
  .founders { grid-template-columns: 1fr; }
}

#vinyl-gallery img.record {
  object-fit: cover;
  display: block;
  padding: 0;
}
#header {
  width: 100%;
  height: 140px; /* or 180–220 range */
  overflow: hidden;
}

.main-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.right-image {
  position: absolute;
  right: 440px;
  top: 900px;
  width: 320px;
  z-index: 100;
  
  animation: shake 0.9s infinite;
}
.right-image-2 {
  position: fixed;
  right: 0px;
  top: 850px;
  width: 100px;
  height: auto;
  z-index: 100;

  
}

.right-image-2:hover {
  filter: invert(1);
}
.right-image-3 {
  position: absolute;
  right: 10px;
  top: 1350px;
  width: 400px;
}

/* Grim Sticker */
#grimSticker {
  position: fixed;
  left: 100px;
  top: 50%;
  width: 150px;
  height: auto;
  transform: translateY(-50%);
  z-index: 9999;
  pointer-events: none;

  animation:
    stickerFloat 3s ease-in-out infinite,
    stickerSpin 5s ease-in-out infinite;
}

/* floating up/down */
@keyframes stickerFloat {
  0% {
    transform: translateY(-50%) translateX(0px);
  }

  25% {
    transform: translateY(-60%) translateX(10px);
  }

  50% {
    transform: translateY(-50%) translateX(0px);
  }

  75% {
    transform: translateY(-40%) translateX(-10px);
  }

  100% {
    transform: translateY(-50%) translateX(0px);
  }
}

/* left/right turning */
@keyframes stickerSpin {
  0% {
    rotate: -10deg;
  }

  50% {
    rotate: 10deg;
  }

  100% {
    rotate: -10deg;
  }
}