/* -------------------------------------------- */
/* WReDGe Cascading Style Sheets (Version 4.25) */
/* -------------------------------------------- */

/* ------------------------------------------------------------- GLOBAL ----- */

@media (orientation: portrait) {
  body {
    height: 100%;
    width: 100%;
  }
}
@media (orientation: landscape) {
  body {
    height: 100vh;    
    width: 50vh;
  }
}
@font-face {
  font-family:"digital";
  src: url("digitaldismay.otf") format("opentype");
}
@font-face {
  font-family:"happytimes";
  src: url("happytimes.ttf") format("opentype");
}
@font-face {
  font-family:"quicksand";
  src: url("quicksand.ttf") format("opentype");
}
HTML {

/* Pumpkin : */
/*
  --blue1: #E0B000;
  --blue2: #B04000;
  --blue3: #800000;
*/
/* Denim */
  --blue1: #00A0FF;
  --blue2: #0060A0;
  --blue3: #004080;

  --halo: 0.5vh;
  height: 100%;
  background: gainsboro;
  text-align: center;
}

/* ---------------------------------------------------------- STRUCTURE ----- */

BODY {
  background: radial-gradient(var(--blue1),var(--blue2));
  box-shadow: 0 0 1.5vh black;
  color: white;
  display: flex;
  flex-direction: column;
  font-family: quicksand;
  font-size: 1.5vh;
  margin: auto;
}
HEADER {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
MAIN {
  align-items: center;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}
FOOTER {
  padding: 2vh;
}

/* ---------------------------------------------------------- DIVISIONS ----- */

.system {
  position: relative;
}
DIV.music {
  padding: 4vh 0 5vh;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
DIV.progress {
  position: relative;
  top: -13vh;
}
DIV.frame {
  width: 100%;
}
DIV.layout {
  height: 50vh;
}
DIV#about {
  background-color: var(--blue2);
  border-radius: 1vh;
  box-shadow: 0 0.5vh 1.5vh rgba(0,0,0,0.5);
  cursor: default;
  display: none;
  padding: 3vh;
  position: absolute;
  right: 1vh;
  z-index: 10;
}
DIV#face,
DIV#logo {
  position: relative;
}
DIV#face {
  display: block;
}
DIV#logo {
  display: none;
}
DIV#circle {
  height: 10vh;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 10vh;
}
DIV#circle::before {
  background: conic-gradient(white calc(var(--progress)*1%),var(--blue2) calc(var(--progress)*1%));
  border-radius: 50%;
  bottom: 0;
  content: "";
  left: -0.1px;
  mask-image: radial-gradient(transparent 63%,var(--blue2) calc(63% + 0.3px));
  position: absolute;
  top: -0.1px;
  right: 0;
}
SPAN.display {
  background-color: var(--blue2);
  border: 1px inset var(--blue1);
  border-radius: 0.5vh;
  cursor: default;
  box-shadow: inset 0 0.5vh 1vh rgba(0,0,0,0.5);
  font-family: digital;
  font-size: 2.5vh;
  padding: 0.25vh 0.5vh 0 0.6vh;
  white-space: nowrap;
}

/* --------------------------------------------------------- NAVIGATION ----- */

NAV UL#menu {
  background: var(--blue2);
  border-radius: 1vh;
  box-shadow: 0 0.5vh 1.5vh rgba(0,0,0,0.5);
  display: none;
  list-style: none;
  left: 1vh;
  margin: 0;
  padding: 0.5vh;
  position: absolute;
  z-index: 10;
}
NAV UL LI {
  cursor: pointer;
  font-family: happytimes;
  font-size: 2.5vh;
  padding: 1vh 4vh;
  touch-action: manipulation;
  white-space: nowrap;
}
NAV UL LI:hover {
  background: var(--blue3);
  border-radius: 0.65vh;
  text-shadow: 0 0 var(--halo) white;
}

/* -------------------------------------------------------------- LINKS ----- */

A {
  color: white;
}
A:hover {
  text-decoration: none;
  text-shadow: 0 0 1.5vh white;
}
A.search {
  font-family: happytimes;
  text-decoration: none;
  white-space: nowrap;
}
A.search:hover {
  text-shadow: 0 0 var(--halo) white;
}
A#artist {
  font-size: 3.5vh;
}
A#song {
  font-size: 2.5vh;
  font-style: italic;
}
A.meaning {
  font-family: happytimes;
  font-size: 2.5vh;
  font-style: italic;
  position: absolute;
  left: 50%;
  text-decoration: none;
  text-shadow: 0 0 var(--halo) white;
  top: 11.5vh;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
A.share {
  cursor: default;
}
A.download {
  background: var(--blue3);
  border-radius: 3vh;
  padding: 1vh 1.5vh 1vh 1vh;
  text-decoration: none;
  touch-action: manipulation;
}
A.download:hover {
  background: var(--blue1);
  box-shadow: inset 0 0 1vh rgba(0,0,0,0.5);
}

/* --------------------------------------------------------- PARAGRAPHS ----- */

P {
  cursor: default;
  margin: 0;
  white-space: nowrap;
}
P.simple {
  margin-top: 1vh;
}
P.double {
  margin-top: 1.5vh;
}
P.mood {
  font-family: happytimes;
  font-size: 3.5vh;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 0 0 var(--halo) white;
}
P.face {
  top: 20.5vh;
}
P.logo {
  top: 9.5vh;
}
P#playlist {
  background-color: var(--blue2);
  border: 1px inset var(--blue1);
  border-radius: 1vh;
  box-shadow: inset 0 0 2vh rgba(0,0,0,0.5);
  height: 33.6vh;
  margin: 0 1.5vh;
  overflow: auto;
  padding: 0.5vh 1vh;
  text-align: left;
}
P.copyright {
  color: var(--blue3);
  text-shadow: 1px 1px 1px var(--blue1);
}

/* ------------------------------------------------------------- IMAGES ----- */

IMG.button,
IMG.control,
IMG.share {
  touch-action: manipulation;
}
IMG.button {
  cursor: pointer;
  height: 2.5vh;
  margin: 1.5vh 1.5vh 0;
  width: 2.5vh;
}
IMG.face {
  width: 50vh;
}
IMG.logo {
  display: block;
  margin: 0 auto;
  padding-bottom: 3.5vh;
  width: 90%;
}
IMG.wredge {
  width: 40vh;
}
IMG.control {
  height: 6vh;
  width: 6vh;
  cursor: pointer;
}
IMG#audio {
  z-index: 5;
}
IMG.share {
  background: var(--blue3);
  border-radius: 2vh;
  height: 4vh;
  margin: 0 0.5vh;
  width: 4vh;
}
IMG.share:hover {
  background: var(--blue1);
  box-shadow: inset 0 0 1vh rgba(0,0,0,0.5);
  cursor: pointer;
}
IMG.android {
  height: 3vh;
  margin: -0.5vh 1vh 0 0;
  width: 3vh;
  vertical-align: middle;
}