/* 

    Ignore the unknown property: 'text-stroke' error. VSC does that here because it's an upcoming standard
    but VSC doesn't have too much support for it yet. Just leave it in, or take it away if you want. I don't care lol
    
*/

/* ---------- SECTION DIVS TO MAKE CODE EASY TO READ! ---------- */
/* 

Intro,
OST, 
OST Teasers, 
Coding Struggles pt. 1,
Coding Struggles pt. 2,
Playable Characters

/*

/* ---------- Font ---------- */
@font-face {
  font-family: 'undertail';
  src: url('../fonts/Funkertale.ttf');
}

/* ---------- Global Styles ---------- */

body {
  margin: 0;
  background-color: black;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  overflow-x: hidden;
}

/* ---------- Cursor ---------- */

* {
  font-family: 'undertail';
  cursor: url("../images/mouse/fmCurs_heart.png"), auto;
}

.button,
.link-item,
.link-yellow {
  cursor: url("../images/mouse/fmCurs_heart_Hover.png"), pointer;
}

/* ---------- Utility Classes ---------- */
.centered-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.image-center {
  display: block;
  max-width: 90vw;
  height: auto;
  margin-inline: auto;
  padding-top: 10px;
  padding-bottom: 20px;
}

.video-center {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

audio {
  display: block;
  max-width: 90vw;
  margin-inline: auto;
  padding-top: 0px;
  padding-bottom: 20px;
  align-items: center;
}

.pad-top-2 { padding-top: 2rem; }
.pad-bottom-2 { padding-bottom: 2rem; }
.pad-top-4 { padding-top: 4rem; }
.pad-bottom-4 { padding-bottom: 4rem; }

/* ---------- Outlined Text ---------- */
.outlined-text {
  display: block;
  text-align: center;
  margin: 0 auto;
  paint-order: stroke fill;
  font-size: 40px;
  -webkit-text-stroke: 6px;
  text-stroke: 6px;
}

.outlined-yellow {
  color: yellow;
  -webkit-text-stroke-color: rgb(64, 64, 0);
  text-stroke-color: rgb(64, 64, 0);
}

.outlined-red {
  color: red;
  -webkit-text-stroke-color: rgb(80, 0, 0);
  text-stroke-color: rgb(80, 0, 0);
}

.outlined-darkred {
  color: darkred;
  -webkit-text-stroke-color: rgb(70, 0, 0);
  text-stroke-color: rgb(70, 0, 0);
}

.outlined-magenta {
  color: magenta;
  -webkit-text-stroke-color: rgb(139, 0, 139);
  text-stroke-color: rgb(139, 0, 139);
}

.outlined-froggit {
  color: white;
  -webkit-text-stroke-color: rgb(83, 83, 83);
  text-stroke-color: rgb(83, 83, 83);
}

.outlined-snowdrake {
  color: #B7D0E3; 
  -webkit-text-stroke-color: #362C61;
  text-stroke-color: #362C61;
}

.outlined-spunkyreq1 {
  color: #BE8873;
  -webkit-text-stroke-color: #613535;
  text-stroke-color: #613535;
}

.outlined-spunkyreq2 {
  color: #00B3FF;
  -webkit-text-stroke-color: #004586;
  text-stroke-color: #004586;
}

.outlined-zachdk {
  color: #800080;
  -webkit-text-stroke-color: #500050;
  text-stroke-color: #500050;
}

.outlined-sobanoodles {
  color: #955855;
  -webkit-text-stroke-color: #642F2F;
  text-stroke-color: #642F2F;
}

.outlined-glint {
  color: #9ADCD6;
  -webkit-text-stroke-color: rgb(66, 90, 90);
  text-stroke-color: rgb(66, 90, 90);
}

/* ---------- Paragraphs ---------- */
p {
  color: white;
}

.paragraph {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  max-width: 60ch;
  text-align: center;
  font-size: 21px;
  padding-bottom: 2rem;
  padding-left: 1.8rem;
  padding-right: 1.8rem;
}

/* ---------- Links ---------- */
#LINKS {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 0;
  list-style: none;
  padding: 0;
}

#LINKS li {
  display: inline-block;
  cursor: pointer;
}

#LINKS li img {
  display: block;
  max-width: 100px;
  height: auto;
  object-fit: contain;
  transition: filter 0.3s ease;
}

#LINKS li:hover img {
  filter: brightness(1.5);
}

.hidden-link {
  color: inherit;
  text-decoration: none;
  /* cursor: text; */
}
.hidden-link:hover {
  cursor: pointer;          /* Shows it's clickable */
}

/* ---------- Beachgoers ---------- */
.beachgoers-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.6);
  transform-origin: center;
  max-width: 100%;
}

.beachgoers-image img {
  height: auto;
  display: block;
}

/* ---------- Froggif ---------- */
#froggif {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  margin-top: -2.5rem;
  padding-bottom: 5.5rem;
}

/* ---------- Background Animation ---------- */
@keyframes scroll {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-64px, -128px); }
}

#fmBgAnim {
  position: fixed;
  width: 200%;
  height: 200%;
  display: flex;
  background-image: url("../images/anim/slidingSoul.png");
  background-attachment: fixed;
  background-position: center;
  filter: opacity(0.1);
  transform: translate(-32px, -32px);
  animation: scroll 15s linear infinite forwards;
  z-index: -9999;
}

/* ---------- Logo ---------- */
#logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 35vw;
}

/* ---------- Accessibility ---------- */
@media (orientation: landscape) and (min-width: 900px) {
  #logo,
  #beachgoers {
    display: block;
    width: 100%;
    max-width: 90vw;
    height: auto;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .paragraph { font-size: 16px; }
  .outlined-text { font-size: 21px; }
  .image-center {
    display: block;
    width: 100%;
    max-width: 90vw;
    height: auto;
    margin-inline: auto;
  }
  .beachgoers-image {
    transform: none;
    overflow-x: hidden;
    margin-top: -5rem;
    margin-bottom: -5rem;
    padding-top: 4rem;
    padding-bottom: 5rem;
  }
  .video-center {
    display: block;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    margin-inline: auto;
    padding: 0 10px;
  }
}

.link-yellow {
  color: yellow;
  text-decoration: none;
}

/* DEBUG CODE! */

/*
    * {
      outline: 2px dashed red;
    }
*/