@font-face {
  font-family: "Spoopy";
  src: url("./spoopy.ttf");
}

body {
  background-color: black;
  background-image: url('./media/stars.png');
  color: rgb(233, 233, 233);
  font-smooth: never;
  -webkit-font-smoothing: none;
  text-align: center;
  margin: 0;
  cursor: url('./media/cursor.png'), auto;
}

audio {
  position: fixed;
  right: -1000px;
}

p {
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
}

.skull-container {
  position: relative;
}

.skull {
  position: absolute;
  right: 10px;
}

.lighting {
  animation: flash ease-out 15s infinite;
  animation-delay: -11s;
  min-width: fit-content;
}

@keyframes flash {
  from { background-color: transparent; } 
  93% { background-color: transparent; }
  93.5% { background-color: rgb(118, 141, 131); }
  94% { background-color: rgb(63, 71, 67); }
  94.5% { background-color: rgb(204, 230, 219); }
  to { background-color: transparent; }
}

.all-container {
  max-width: 1200px;
  min-width: min-content;
  margin: auto;
}

.intro {
  width: fit-content;
  text-align: center;
  margin: auto;
  font-size: clamp(0.5rem, 3.5vw, 1rem);
}

.intro > h1 {
  font-size: 2.5em;
  max-width: 700px;
  text-decoration: underline;
  color: rgb(121, 255, 121);
  margin: auto;
  padding: 26px 12px;
}

.top-imgs {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.clarissa {
  max-width: calc(100% - 16px);
  margin: 0 16px;
}

.fast-skull {
  opacity: 0.5;
}

.ca {
  font-size: 1.3rem;
  margin: 12px 0;
  padding: 0 8px;
  box-sizing: border-box;
  max-width: 100vw;
  overflow-wrap: break-word;
}

.green-glow {
  -webkit-animation: green-glow 0.5s ease-in-out infinite alternate;
  -moz-animation: green-glow 0.5s ease-in-out infinite alternate;
  animation: green-glow 0.5s ease-in-out infinite alternate;
  font-size: 1.3rem;
}

@keyframes green-glow {
  from {
    text-shadow: 0 0 1px rgb(0, 142, 2), 0 0 2px rgb(0, 142, 2), 0 0 3px rgb(0, 142, 2), 0 0 4px rgb(0, 142, 2), 0 0 5px rgb(0, 142, 2), 0 0 6px rgb(0, 142, 2), 0 0 7px rgb(0, 142, 2);
  }
  to {
    text-shadow: 0 0 3px rgb(0, 142, 2), 0 0 5px rgb(0, 142, 2), 0 0 7px rgb(0, 142, 2), 0 0 9px rgb(0, 142, 2), 0 0 11px rgb(0, 142, 2), 0 0 13px rgb(0, 142, 2), 0 0 15px rgb(0, 142, 2);
  }
}

@media (max-width: 900px) {
  .deco {
    display: none;
  }
}

.pair {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}

.pair:visited {
  color: inherit;
}

.pair:hover {
  color: red;
}

.pair > div {
  max-width: 200px;
}

.flexy {
  display: flex;
  justify-content: center;
}

.links {
  font-size: 1.2rem;
  background-color: #3d0000;
  display: flex;
  gap: clamp(12px, 10vw, 25px) 50px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 30px 12px 0;
  padding: 12px;
  box-shadow: 0 0 2px 3px rgba(255, 0, 0, 0.6);
  width: fit-content;
}

.links img {
  width: clamp(40px, 10vw, 60px);
}

#marquee {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  margin: 30px 0;

  width: 100%;
  height: 50px;
  text-align: left;
  overflow: hidden;
  position: relative;
}

#marquee > div {
  min-width: max-content;
  position: absolute;
  overflow: hidden;

  height: 100%;
  margin: 0;
  line-height: 50px;
  transform: translateX(0%);
  animation: scroll-left 60s linear infinite;

  display: flex;
  gap: 128px;
}

@keyframes scroll-left {
  0% {
      transform: translateX(8%);
  }
  100% {
      transform: translateX(-100%);
  }
}

.prevent {
  margin: 0;

  display: flex;
  gap: 8px;
  align-items: center;

  font-family: "Spoopy", serif;
  font-size: 4.4em;
  color: red;
}

.prevent img {
  max-width: 100px;
  opacity: 0.6;
}

.prevent > span {
  padding: 0 12px;
}

.true-scary-story {
  margin: 0 12px;
}

.para, .list {
  background-color: rgba(86, 4, 103, 0.6);
  padding: 8px;
}

.warong {
  background-color: rgba(0, 0, 0, 0.5);
}

.para2 {
  background-color: rgba(75, 0, 0, 0.7);
}

.para {
  height: fit-content;
  margin-bottom: 30px;
}

@media (max-width: 600px) {
  .intro > h1 {
    padding: 13px 0;
  }

  .para, .list, #warong {
    padding: 3px;
  }

  .para {
    margin-bottom: 16px;
  }

  .true-scary-story {
    margin: 0 4px;
  }

  .skull {
    width: 30px;
  }
}

.para, .list {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.para::after {
  content: "";
  display: table;
  clear: both;
}

.lefty, .righty {
  width: clamp(130px, 25vw, 200px);
  height: auto;
}

.lefty {
  float: left;
  margin-right: 8px;
}

.righty {
  float: right;
  margin-left: 8px;
}

.zero {
  font-style: italic;
  font-weight: bold;
  color: red;
}

.glow {
  -webkit-animation: glow 0.5s ease-in-out infinite alternate;
  -moz-animation: glow 0.5s ease-in-out infinite alternate;
  animation: glow 0.5s ease-in-out infinite alternate;
  font-size: 1.3rem;
}

@media (max-width: 600px) {
  .glow {
    font-size: 1.1rem;
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 1px red, 0 0 2px red, 0 0 3px red, 0 0 4px red, 0 0 5px red, 0 0 6px red, 0 0 7px red;
  }
  to {
    text-shadow: 0 0 3px red, 0 0 5px red, 0 0 7px red, 0 0 9px red, 0 0 11px red, 0 0 13px red, 0 0 15px red;
  }
}


.exapmle {
  color: rgb(255, 199, 199);
}

.list > div {
  margin-bottom: 12px;
  text-align: left;
  margin-left: 32px;
}

.dontbuy {
  margin: 0;
  font-style: italic;
}

.buyordie, .buyordie:visited {
  color: rgb(198, 198, 255);
  font-size: 1.8rem;
  margin: 32px 0 8px;
  display: block;
}

@media (max-width: 600px) {
  .buyordie {
    margin: 8px;
  }
}

.spider {
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shrinky-spider {
  max-width: 100%;
}

.counter-container {
  display: flex;
  gap: 8px;
}
