/* FONTS */

@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;
}

html {
  background-image: url(../images/abstractRed.png);
  background-size: 100%;
  background-position: center;
  border: 3px double red;
}

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;
}

#ag {
  position: fixed;
  width: 37%;
  height: 100%;
  top: 0;
  left: -5px;
  pointer-events: none;
}

#hand {
  position: absolute;
  top: -40px;
  right: 5px;
  pointer-events: none;
}

#holy {
  position: fixed;
  bottom: -50px;
  right: -50px;
  pointer-events: none;
}

h3 {
  text-decoration: underline;
  margin: 0%;
  font-size: 2em;
  padding-left: 30px;
  padding-top: 10px;
}

#navigation {
  position: absolute;
  font-family: "vhs_gothicregular";
  font-size: 1rem;
  color: rgb(205, 205, 205);
  line-height: 36px;
  list-style: none;
  background-color: rgba(83, 6, 6, 0.982);
  width: 215px;
  right: 15px;
  bottom: 15px;
  margin: 0 0 10px 0;
  border: 5px solid rgb(0, 0, 0);
  box-sizing: border-box;
}

.nav {
  list-style: none;
}

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;
}

/* GENERIC SCALING / CONTAINER FOR BETTER MOBILE */

.container {
  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 */
  #hand,
  #ag,
  #holy {
    display: none;
  }

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

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

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