html {
  -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}
/* ----Main---- */
body {
  width: 100%;
  height: 100vh;
  margin: 0;
  overflow-y: hidden;
  overflow-x: hidden;
  margin: 0; /* Removed !important */
  font-family: Lancaster;
  line-height: auto;
  background-color: #000000;
  animation: CoverFit linear 1s forwards;
  color: #ffffff;
  font-size: 1em; /* Corrected value syntax */
  z-index: 0;
  background-image: url('musicplayer/IronTexture.png');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
/* Hide scrollbar for WebKit-based browsers (Chrome, Safari, Edge) */
html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none; /* Completely hides the scrollbar */
}
/* Hide scrollbar for Firefox */
html, body {
  scrollbar-width: none; /* Firefox-specific property to hide scrollbar */
}
@font-face {
  font-family: 'Lancaster';
  src: url('raidercrusader.ttf') format('truetype');
}
:focus {
  outline: none;
}
a {
  color: #00ff00;
  text-decoration: none;
}
a:hover {
  color: #d0ff00;
  text-decoration: none;
}
hr {
  border: solid .5px #713406;
  margin-bottom: 5px;
  display: block;
}
h1 {
font-size: 30px;
line-height: auto;
}
.CoverText {
  font-size: 300px;
  padding: 1.25em;
  margin: -1.25em;
  animation: NameAtYou linear 1s forwards;
  -webkit-text-stroke-width: .05em; /* Outline width */
  -webkit-text-stroke-color: #ffffff; /* Outline color */
  color: transparent; /* Text fill color */
}
section {
  min-height: 90vh;
  height: 100%;
  width: 68vw; 
  max-width: 68vw;
}
article {
  display: flex;
}
footer {
  position: relative;
  padding: 1.5em 1.5em 1.5em 1.5em;
  height: auto; /* Automatically adjusts based on content */
  font-size: 13px;
  text-align: right;
  width: calc(100% - 3em); /* Full width */
  font-family: Helvetica;
  border-top: solid 1px #ffffff;
}
.MainNameText {      /* Standard */
  -webkit-text-stroke-width: .05em; /* Outline width */
  -webkit-text-stroke-color: #713406; /* Outline color */
  color: transparent; /* Text fill color */
  margin-left: -.4em;
}
.Title {
  font-family: Lancaster;
  font-size: 3.2em;
  height: 10vh;
  margin: 5px;
  overflow: visible;
  position: relative;
  background-color: transparent;
  text-align: center;
  width: auto;
  padding: 0;
  border-radius: 5px;
  display: flex;               /* changed from inline-block to flex */
  align-items: center;         /* vertical centering */
  justify-content: center;     /* horizontal centering */
  -webkit-text-stroke-width: .05em; /* Outline width */
  -webkit-text-stroke-color: #713406; /* Outline color */
  color: transparent; /* Text fill color */
}
header {
  height: 10vh;
  line-height: 10vh;
  font-size: 3.2em;
  opacity: 1;
  background-color: #000000;
  outline: none;
  position: fixed;
  top: 0;
  z-index: 5;
  width: 100vw;
  background-image: url('musicplayer/IronTexture.png'), url('images/FosterLancasterLogoOverlay.png');
  background-size: cover, auto 100%;
  background-position: top center, left center;
  background-repeat: no-repeat, no-repeat;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;  /* vertical centering */
  justify-content: center;  /* horizontal centering */
}
.headerspace {
  position: relative;
  height: 10vh;
}
.LancastersBoxRing {
  width: 60px;
  height: 60px;
  position: absolute;
  cursor: pointer;
  top: 0px;
  right: 0px;
  border-radius: 50%;
  border: solid 2px #713406;
  transform: scale(.7);
}
    /* Menu Icon Container */
    .LancastersBox {
      width: 60px;
      height: 60px;
      transform: scale(.6);
    }

    /* Common styles for edges */
    .edge {
      width: 34px;
      height: 2px;
      position: absolute;
      background-color: #00ff00;
      transition: all 0.7s ease;
    }
.LancastersBoxRing:hover .edge{
  background-color: #d0ff00;
}
    /* Cube lines positioned to form an isometric cube with corner in middle */
    /* Edges radiating from center (30px, 30px) */

    /*Top left*/
    .edge-1 {
      top: 13px;
      left: 1px;
      transform: rotate(-30deg);
      transform-origin: top left;
    }
    /*Top right*/
    .edge-2 {
      top: -3.5px;
      left: 31px;
      transform: rotate(30deg);
      transform-origin: top left;
    }
    /*Side right*/
    .edge-3 {
      width: 34px;
      top: 47px;
      left: 59px;
      transform: rotate(-90deg);
      transform-origin: top left;
    }
    /*bottom right*/
    .edge-4 {
      top: 63.5px;
      left: 30px;
      transform: rotate(-30deg);
      transform-origin: top left;
    }
    /*bottom left*/
    .edge-5 {
      top: 47px;
      left: 1px;
      transform: rotate(30deg);
      transform-origin: top left;
    }
    /*Side left*/
    .edge-6 {
      width: 34px;
      top: 15px;
      left: 2px;
      transform: rotate(90deg);
      transform-origin: top left;
    }
    /*Middle right*/
    .edge-7 {
      top: 31px;
      left: 29px;
      transform: rotate(-30deg);
      transform-origin: top left;
    }
    /*Middle left*/
    .edge-8 {
      top: 13px;
      left: 1px;
      transform: rotate(30deg);
      transform-origin: top left;
    }
    /*Middle*/
    .edge-9 {
      top: 31px;
      left: 31px;
      transform: rotate(90deg);
      transform-origin: top left;
    }

    /* Toggle: Cube to Cross */
    .LancastersBox.active .edge-1 {
      width: 25px;
      top: 14px;
      left: -8px;
      transform: rotate(-50deg);
      transform-origin: center center;
    }
    .LancastersBox.active .edge-2 {
      width: 25px;
      top: 14px;
      left: 43px;
      transform: rotate(50deg);
      transform-origin: center center;
  }
    .LancastersBox.active .edge-3 {
      width: 48px;
      top: 41.5px;
      left: 23px;
      transform: rotate(-45deg);
      transform-origin: center center;
    }
    .LancastersBox.active .edge-4 {
      opacity: 0;
    }
    .LancastersBox.active .edge-5 {
      width: 70px;
      top: 24px;
      left: -5px;
      transform: rotate(0deg);
      transform-origin: center center;
    }
      .LancastersBox.active .edge-6 {
      width: 48px;
      top: 42px;
      left: -10px;
      transform: rotate(45deg);
      transform-origin: center center;
  }
      .LancastersBox.active .edge-7 {
        width: 54px;
        top: 31px;
        left: 12px;
        transform: rotate(-70deg);
        transform-origin: center center;
      }
      .LancastersBox.active .edge-8 {
        width: 54px;
        top: 31px;
        left: -6px;
        transform: rotate(70deg);
        transform-origin: center center;
      }
      .LancastersBox.active .edge-9 {
        width: 35px;
        top: 6px;
        left: 10px;
        transform: rotate(0deg);
        transform-origin: center center;
      }

#Cover {
  position: fixed;
  text-align: center;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  background-image:  url('musicplayer/IronTexture.png'), url('images/FosterLancasterLogoOverlay.png');
  background-size: cover, auto 100%;
  background-position: top center, center left;
  background-repeat: no-repeat, no-repeat;
  z-index: 7;
  /* Flexbox centering */
  display: flex;
  align-items: center;  /* vertical centering */
  justify-content: center;  /* horizontal centering */
  animation: CoverLift .5s linear .5s forwards;
  }

/*----NameLetter Styling----*/
.Page {
  font-size: 3.2em;
  line-height: 3.2em;
  font-family: Lancaster;
  background-color: #000000;
  -webkit-text-stroke-width: .05em; /* Outline width */
  -webkit-text-stroke-color: #713406; /* Outline color */
  color: transparent; /* Text fill color */
  background-image: url('musicplayer/IronTexture.png'), url('images/FosterLancasterLogoOverlay.png');
  background-size: cover, auto 100%;
  background-position: top center, left center;
  background-repeat: no-repeat, no-repeat;
  line-height: 1;
  height: calc(90vh / 6);
  border: solid .5px rgba(255, 255, 255, .4);
  text-align: center;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: width 0.2s ease;
  box-sizing: border-box;
  display: block; /* FIX */
  border-radius: 0px;
}
.MiniPage {
  font-size: .5em;
  margin: .2em;
  -webkit-text-stroke-width: .05em; /* Outline width */
  -webkit-text-stroke-color: #ffffff; /* Outline color */
  color: transparent; /* Text fill color */
}
#Menu {
  position: fixed;
  display: block;
}
#Navigation {
  top: 10vh;
  width: 32vw;
  position: absolute;
  right: 0px;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Align items to the right */
  z-index: 4;
  transition: width 0.3s ease;
  overflow: hidden;
}
.Legal {
  position: fixed;
  z-index: 5;
  bottom: 0px;
  right: 0px;
  padding: 0px;
  width: auto;
  height: auto;
  background-color: rgb(255, 255, 255, .5);
  display: inline-block;
  align-items: center;
  justify-content: space-around;
  transition-duration: .5s;
}
.LegalButton {
  font-family: Arial;
  font-size: 12px;
  width: auto;
  height: auto;
  padding: 7px;
  margin: 5px;
  background-color: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 5px;
  text-decoration: none;
}
.LegalButton:hover {
  filter: invert(1);
}
.WikiProfile {
  margin: 10px; 
  padding: 5px; 
  border: solid 1px rgba(255, 255, 255, .3);
  background-color: rgba(0, 0, 0, .1);
  max-width: 300px;
  float: right;
}
.WikiProfilePic {
  width: 200px; 
}
  select { 
    outline: none; 
  }
.SocialMedia {
  margin: 1em .5em 1em .5em;
}
.SocIcon {
  height: 2em;
  width: 2em;
  overflow: visible;
}
.SocContainer {
  display: inline-block;
  height: 2em;
  width: 2em;
  padding: calc(5vw - 1.25em);
  background-color: #713406;
  border-radius: 50%;
  transition-duration: .5s;
}
.SocContainer:hover {
  background-color: #00ff00;
}
::placeholder {
  opacity: .7;
}
.CommentSection {
  padding: 10px;
  background-color: rgb(113, 52, 6, .7);
  width: 200px;
  height: auto;
  border-radius: 10px;
}
#CommentBox {
  font-size: 15px;
  background-color: #ffffff;
  width: 200px;
  height: 40px;          /* fixed height */
  color: #343434;
  line-height: 2em;
  border: none;
  text-indent: .5em;
  box-sizing: border-box;  /* so padding and border don't increase size */
  border-radius: 10px;
}
.CommentSubmit {
  font-size: 15px;
  width: 200px;
  height: 40px;           /* same fixed height */
  background-color: #00ff00;
  color: #000000;
  line-height: 2em;
  border: none; 
  box-sizing: border-box;
  border-radius: 10px;
}
.CommentSubmit:hover {
  background-color: #d0ff00;
}
button {
  font-family: Lancaster;
  background-color: #ffffff; 
  font-weight: normal;
  cursor: pointer;
  width: 100%; /* Use full width */
  border: none;
  margin: 0;
  padding: 0;
}

@media (orientation: portrait) {
  header {
    font-size: 3em;
  }
  .Page {
    width: 100vw;
    opacity: .9;
  }
  .Page:hover {
    width: 100vw; /* Width on hover */
    opacity: 1;
  }
  section {
    width: 100%;
    max-width: 100%;
  }
  #Navigation {
    position: fixed;
    width: 0px;
    z-index: 5;
  }
  #Player {
    width: 200vh;
    height: 200vw;
  }
  .Intro { 
  height: 40vh; 
  top: calc(50% - 20vh);
}
.PageIndex {
  width: 32vw;
}
.SocContainer {
  padding: calc(10vw - 1.25em);
}
}

@media (orientation: landscape) {
  .LegalButton {
    float: right;
  }
  .Page {
    width: 32vw;
    opacity: .6;
  }
  .Page:hover {
    width: 33vw;
    opacity: 1;
  }
  section {
    width: 68vw;
    max-width: 68vw;
  }
  .Segment {
    width: 50%;
    min-width: 500px;
  }
  .LancastersBoxRing{
    display: none;
    }
  #Navigation {
    width: 34vw;
  }
  #Player {
    min-width: 200vh;
    min-height: 200vw;
  }
  .Intro { 
    height: 80vh; 
    top: calc(50% - 40vh);
  }
  .PageIndex {
    width: 16vw;
  }
}

/* ----Responsive Layout---- */
@media screen and (max-height: 600px) {
    /* ----Middle---- */
  header {
    font-size: 2.5em;
  }
  .Page {
    font-size: 2.5em;
  }
    .Title {
    font-size: 2.5em;
  }
    .PageIndex {
    font-size: 2.5em;
  }
}

@media screen and (max-height: 400px) {
    /* ----Small---- */
  header {
    font-size: 1.2em;
  }
  .Page {
    font-size: 1.2em;
  }
    .Title {
    font-size: 1.2em;
  }
    .PageIndex {
    font-size: 1.2em;
  }
}

@media screen and (max-height: 200px) {
   /* ----Smallest---- */
  header {
    font-size: .7em;
  }
  .Page {
    font-size: .7em;
  }
    .Title {
    font-size: .7em;
  }
    .PageIndex {
    font-size: .7em;
  }
}

@media screen and (min-height: 500px) {
  .FosterLancasterAlbumLinks
{
  font-size: 1em; 
}
}

@media screen and (max-width: 500px) and (orientation: portrait) {
  header {
    font-size: 9vw;
  }
  #Navigation {
    position: fixed;
  }
  article {
    top: 14vw;
  }
  .Page {
    font-size: 9vw;
    line-height: 9vw;
    height: calc((90vh + 1px) / 6);
  }
  .Title {
    font-size: 9vw;
  }
  .PageIndex {
    font-size: 9vw;
  }
  .WikiProfile {
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
  }
}

/*----Ipad----*/
@media screen and (min-width: 800px) and (orientation: portrait) {
}

@keyframes NameAtYou {
  0% {
    transform: scale(.01);
  }
  50% {
    transform: scale(.3);
  }
  100% {
    transform: scale(4);
  }
}

@keyframes PW {
  0% {
    opacity: 1;
  }
  50% {
    opacity: .7;
  }
  100% {
    opacity: 1;
  }
}

@keyframes CoverLift {
  0% {
    display: flex;
    opacity: 1;
  }
  50% {
    display: flex;
    opacity: 1;
  }
  100% {
    display: none;
    opacity: 0;
  }
}

@keyframes CoverFit {
  0% {
    height: 100vh;
    overflow-y: hidden;
  }
  99% {
    height: 100vh;
    overflow-y: hidden;
  }
  100% {
    height: 100%;
    overflow-y: scroll;
  }
}


