/* 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/beef.jpg);
  background-size: 130%;
}

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

#rof {
  position: absolute;
  z-index: 1;
  top: -200px;
  left: 31.5%;
  pointer-events: none;
}

#pfp {
  position: absolute;
  z-index: 0;
  top: 15%;
  left: 42%;
  pointer-events: none;
}

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

#navigation {
  position: relative;
  z-index: 1;
  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;
  left: 0px;
  top: 120px;
  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;
}

h2 {
  text-align: center;
  font-family: "momstypewriterregular";
  text-decoration: dashed;
  color: rgb(0, 0, 0);
  text-shadow: rgba(152, 14, 14, 0.447) 4px 5px;
  background-size: contain;
  font-size: 2.8rem;
  margin: 0px;
  margin-bottom: -5px;
}

ul {
  list-style-type: none;
}

li {
  font-family: "vhs_gothicregular";
  line-height: 40px;
}

.vitals {
  position: absolute;
  z-index: 0;
  border: 3px solid black;
  background-color: rgb(115, 11, 11);
  top: 610px;
  left: 40%;
  width: 20%;
}

#heart {
  position: absolute;
  left: -30px;
  top: 1100px;
  pointer-events: none;
}

#syphonbg {
  position: absolute;
  z-index: 1;
  right: 0;
  pointer-events: none;
}

#hsText {
  position: absolute;
  top: 1200px;
  left: 400px;
}

/* Music Player */

#myProgress {
  width: 420px;
  background-color: #d9d9f2;
  cursor: pointer;
  border-radius: 10px;
}

#myBar {
  width: 0%;
  height: 5px;
  background-color: #580404;
  border-radius: 10px;
}

.logo {
  fill: red;
}

.btn-action {
  cursor: pointer;
  padding-top: 10px;
  width: 30px;
}

.btn-ctn,
.infos-ctn {
  display: flex;
  align-items: center;
  justify-content: center;
}
.infos-ctn {
  padding-top: 20px;
}

.btn-ctn > div {
  padding: 5px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.infos-ctn > div {
  margin-bottom: 8px;
  color: #580404;
}

.first-btn {
  margin-left: 3px;
}

.duration {
  margin-left: 10px;
}

.title {
  margin-left: 10px;
  width: 210px;
  text-align: center;
}

.player-ctn {
  border-radius: 15px;
  width: 420px;
  z-index: 0;
  padding: 10px;
  background-image: url(../images/beef2.jpg);
  background-size: 300%;
  border: 5px solid black;
  margin: auto;
  margin-top: 100px;
  position: absolute;
  bottom: -170px;
  left: 12%;
  box-shadow: #580404d2 0px 0px 50px 30px;
}

.playlist-track-ctn {
  display: flex;
  background-color: #464646;
  margin-top: 3px;
  border-radius: 5px;
  cursor: pointer;
}

.playlist-track-ctn > div {
  margin: 10px;
}
.playlist-info-track {
  width: 80%;
}
.playlist-info-track,
.playlist-duration {
  padding-top: 7px;
  padding-bottom: 7px;
  color: #580404;
  font-size: 14px;
  pointer-events: none;
}
.playlist-ctn {
  padding-bottom: 20px;
}
.active-track {
  background: #4d4d4d;
  color: #580404 !important;
  font-weight: bold;
}

.active-track > .playlist-info-track,
.active-track > .playlist-duration,
.active-track > .playlist-btn-play {
  color: #580404 !important;
}

.playlist-btn-play {
  pointer-events: none;
  padding-top: 5px;
  padding-bottom: 5px;
}
.fas {
  color: #580404;
  font-size: 20px;
}

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

  h2 {
    display: none;
  }

  html {
    background-size: 300%;
  }

  #rof,
  #pfp,
  #heart {
    display: none;
  }

  #hsText {
    position: absolute;
    width: 400px;
    left: 0px;
    top: 120vh;
  }

  #syphonbg {
    position: absolute;
    right: -130px;
    top: 80vh;
  }

  .vitals {
    position: absolute;
    width: 50%;
    top: 70vh;
    left: 0px;
  }

  #navigation,
  .center {
    transform: none;
  }

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

  .player-ctn {
    right: -200px;
  }

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