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

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

html {
  background-image: url(../images/aboutbg.jpg);
  background-position: center;
  background-size: cover;
}

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: 20%;
  font-size: 2.8rem;
  margin: 0px;
  margin-bottom: -5px;
}

@keyframes fall {
  from {
    transform: translate(0px, 0px);
  }
  to {
    transform: translate(-4px, 8px);
  }
}

#gelatin3 {
  position: absolute;
  right: 205px;
  top: 25px;
  z-index: 2;
  animation: fall 2.2s infinite alternate;
}

#wings {
  position: absolute;
  right: 205px;
  top: 115px;
  z-index: 1;
  animation: fall 2.2s infinite alternate;
}

#stars {
  position: absolute;
  left: 470px;
  top: 215px;
}

.container {
  display: flex;
}

/* .nav {
  width: 20%;
  padding-left: 30px;
  color: white;
  border-radius: 50px;
  margin-right: 10px;
  background-color: rgba(0, 0, 0, 0.646);
  font-family: "vhs_gothicregular";
  font-size: 1rem;
  line-height: 36px;
  list-style: none;
} */

#navigation {
  width: 20%;
  padding-left: 30px;
  color: white;
  border-radius: 50px;
  margin-right: 10px;
  background-color: rgba(0, 0, 0, 0.646);
  font-family: "vhs_gothicregular";
  font-size: 1rem;
  line-height: 36px;
  list-style: none;
}

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

main {
  flex: 1;
  box-sizing: content-box;
  border: 2px solid black;
  padding: 50px;
  border-radius: 50px;
  color: white;
  background-color: rgb(90, 0, 0);
  font-family: "erica_typeregular";
  /* line-height: 30px; */
  font-size: 1.1rem;
}

main p {
  margin-top: 10px;
}

.right {
  width: 20%;
  text-align: center;
  color: white;
  border-radius: 50px;
  margin-left: 10px;
  background-color: rgba(0, 0, 0, 0.489);
}

.right p {
  font-family: "vhs_gothicregular";
  font-size: 1rem;
  line-height: 36px;
  position: relative;
  top: 30%;
  padding: 15px;
}

#redmoon {
  position: absolute;
  right: 15px;
}

#wraith {
  position: absolute;
  right: 0px;
  bottom: -510px;
}

#bonfire {
  position: absolute;
  bottom: -490px;
  right: 200px;
}

.alina-wrapper {
  position: absolute;
  left: 0px;
  bottom: 0px;
}

#alina {
  position: fixed;
  left: -55px;
  bottom: -40px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.alina-text {
  position: fixed;
  bottom: 400px;
  left: 95px;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-family: "erica_typeregular";
  padding: 6px 12px;
  border-radius: 20px;
  pointer-events: none;
}

.alina-wrapper:hover #alina {
  transform: scale(1.1);
}

.alina-wrapper:hover .alina-text {
  opacity: 1;
}

.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 */
  #wings,
  #gelatin3,
  #stars,
  #redmoon,
  #bonfire,
  #wraith,
  #alina {
    display: none;
  }

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