@font-face {
  font-family: "PS2";
  src: url("../../fonts/PS2.ttf");
}

@font-face {
  font-family: "ComicSans";
  src: url("../../fonts/ComicSans.ttf");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background-image: url("../../images/homemediabackground.png");
  background-repeat: repeat;
  background-attachment: fixed;
  font-family: sans-serif;
}

.page-wrapper {
  width: 100%;
}

/* ===================== */
/* HERO                  */
/* ===================== */

.hero {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dvd {
  position: absolute;
  width: 280px;
  opacity: 0.9;
  animation: spin 25s linear infinite;
}

.hero-text {
  position: relative;
  z-index: 2;
  width: 720px;
}

.hero-subtext {
  text-align: center;
  margin-top: 10px;
  margin-left: 100px;
  margin-right: 100px;

  font-family: "ComicSans", sans-serif;
  font-size: 1.5rem; /* medium size */
  color: white;
  text-shadow:
    -1px -1px 0 black,
     1px -1px 0 black,
    -1px  1px 0 black,
     1px  1px 0 black;
}

/* ===================== */
/* LAYOUT                */
/* ===================== */

.content-row {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  gap: 30px;
}

.media-section,
.side-section {
  flex: 1;
}

/* ===================== */
/* SHARED BOX            */
/* ===================== */

.media-title {
  font-family: "PS2", sans-serif;
  font-size: 1.6em;
  margin-bottom: 12px;
  color: black;
  text-shadow:
    -1px -1px 0 white,
     1px -1px 0 white,
    -1px  1px 0 white,
     1px  1px 0 white;
}

.media-box {
  background-color: rgba(160, 120, 200, 0.25);
  border: 3px solid lavender;
  padding: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

/* ===================== */
/* VIDEO                 */
/* ===================== */

.media-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid lavender;
}

.media-playlist {
  margin-top: 16px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.media-card {
  display: flex;
  gap: 10px;
  padding: 8px;
  cursor: pointer;
  background-color: rgba(180, 140, 220, 0.35);
  border: 2px solid lavender;
  transition: transform 0.15s ease;
}

.media-card img {
  width: 130px;
}

.media-card span {
  font-family: "PS2", sans-serif;
  font-size: 1.8em;
  color: black;
  text-shadow:
    -1px -1px 0 white,
     1px -1px 0 white,
    -1px  1px 0 white,
     1px  1px 0 white;
}

.media-card:hover {
  transform: scale(1.03);
}

/* ===================== */
/* OUTLINKS              */
/* ===================== */

.outlinks-scroll {
  max-height: 420px;
  overflow-y: auto;
}

.outlinks-scroll p {
  margin-bottom: 10px;
}

.outlinks-scroll a {
  font-family: "PS2", sans-serif;
  color: black;
  text-decoration: none;
  text-shadow:
    -1px -1px 0 white,
     1px -1px 0 white,
    -1px  1px 0 white,
     1px  1px 0 white;
}

.site-desc {
  color: white;
}

/* ===================== */
/* FLOATING SOCIALS      */
/* ===================== */

.social-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.social-item img {
  width: 320px;
  height: auto;
  transition: transform 0.15s ease;
}

.social-item:hover img {
  transform: scale(1.08);
}

/* Return Home */
.return-home {
  text-align: center;
  padding: 20px
}

.return-home a {
  display: inline-block;
  padding: 12px 28px;

  background-color: rgba(180, 140, 220, 0.35);
  color: white;
  font-weight: bold;
  text-decoration: none;

  border: 3px solid lavender;
}

.return-home a:hover {
  background-color: rgba(140, 100, 180, 0.35);
}

/* ===================== */
/* ANIMATION             */
/* ===================== */

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
