@font-face {
  font-family: "blackletterhplhs";
  src: url("../fonts/blach___-webfont.woff2") format("woff2"),
    url("../fonts/blach___-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "tfu_tfuregular";
  src: url("../fonts/tfutfu__-webfont.woff2") format("woff2"),
    url("../fonts/tfutfu__-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "vhs_gothicregular";
  src: url("../fonts/vhs-gothic-webfont.woff2") format("woff2"),
    url("../fonts/vhs-gothic-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "black_forestregular";
  src: url("../fonts/black_forest-webfont.woff2") format("woff2"),
    url("../fonts/black_forest-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "momstypewriterregular";
  src: url("../fonts/momt___-webfont.woff2") format("woff2"),
    url("../fonts/momt___-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

h1 {
  font-family: "blackletterhplhs";
  text-align: center;
  text-shadow: rgba(197, 197, 197, 0.447) 2px 3px;
  background-color: rgba(115, 8, 8, 0);
  background-image: url(../images/scratches2.png);
  background-size: 79%;
  font-size: 5rem;
  margin-top: 5px;
  padding: 5px;
  margin-bottom: 0;
}

h2 {
  text-align: center;
  font-family: "tfu_tfuregular";
  text-decoration: dashed;
  color: rgb(0, 0, 0);
  text-shadow: rgba(152, 14, 14, 0.447) 4px 5px;
  background-image: url(../images/cross.png);
  background-size: contain;
  font-size: 2.8rem;
  margin: 0px;
  margin-bottom: -5px;
}

h3 {
  text-decoration: underline;
}

html {
  background-image: url(../images/musicbg2.gif);
  background-size: cover;
}

#navigation {
  width: 10%;
  color: white;
  border: 10px double white;
  margin-right: 10px;
  background-color: rgba(124, 12, 12, 0.79);
  font-family: "vhs_gothicregular";
  font-size: 1rem;
  line-height: 36px;
  list-style: none;
  padding-left: 50px;
  padding-bottom: 10px;
  transform: skew(-15deg);
  position: absolute;
  top: 25vh;
  left: 12.1vw;
}

.nav {
  list-style: none;
  padding-left: 0px;
}

a {
  color: rgb(205, 205, 205);
  text-decoration: none;
}

.underline-link {
  position: relative;
  color: rgb(205, 205, 205);
  text-decoration: none;
}

.underline-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease, left 0.3s ease;
}

.underline-link:hover::after {
  width: 100%;
  left: 0;
}

#music {
  position: absolute;
  left: 18vw;
}

#lightning {
  position: absolute;
  bottom: -30px;
  right: 60px;
  rotate: -10deg;
}

#demon {
  position: absolute;
  bottom: -111px;
}

#gelatin {
  position: absolute;
  bottom: -80px;
  right: 0px;
  rotate: 9deg;
}

.container {
  padding-top: 5px;
  padding-bottom: 5px;
}

.center {
  background-color: rgb(124, 12, 12);
  border: 10px double white;
  transform: skew(-15deg);
  padding: 30px;
  height: 90%;
  width: 50vw;
  position: relative;
  left: 25%;
}

p {
  font-family: "vhs_gothicregular";
  font-size: 1.2rem;
  padding: 5px;
}

/* GENERIC SCALING / CONTAINER FOR BETTER MOBILE */

.contContainer {
  all: unset; /* Remove any default styles */
  display: contents; /* Makes it disappear in layout flow */
}

@media (max-width: 768px) {
  body {
    transform: scale(0.95);
    transform-origin: top center;
  }

  /* Optional tweaks */
  #demon,
  #gelatin,
  #music,
  #lightning {
    display: none;
  }

  #navigation,
  .center {
    transform: none;
  }

  #navigation {
    position: absolute;
    left: 0px;
    width: 130px;
  }

  main,
  section,
  article {
    padding: 1rem;
  }

  img,
  video {
    max-width: 100%;
    height: auto;
  }
}

.contContainer {
  max-width: 100%;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}
