/* WReDGe (Version 3.25) */

/* ------------------------------------------------------------- GLOBAL ----- */

@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 {
  --player-width: 50vh;
  --blue1: #00A0FF;
  --blue2: #0060A0;
  --blue3: #004080;
  height: 100%;
}

/* ---------------------------------------------------------- STRUCTURE ----- */

BODY {
  background: radial-gradient(var(--blue1), var(--blue2));
  box-shadow: 0 0 1.5vh black;
  color: white;
  display: grid;
  font-family: quicksand;
  font-size: 1.5vh;
  margin: auto;
  max-width: var(--player-width);
  min-height: 100%;
  text-align: center;
}
HEADER {
  height: 5vh;
}
MAIN {
  margin: auto 0;
  min-height: 100%;
}
FOOTER {
  margin: 0;
  padding: 3vh 0;
}
DIV#about {
  display: none;
  position: relative;
}
DIV.info {
  background-color: var(--blue2);
  border-radius: 1vh;
  box-shadow: 0 0.5vh 1.5vh rgba(0,0,0,0.5);
  cursor: default;
  padding: 3vh 3vh 4vh;
  position: absolute;
  top: 5vh;
  right: 1vh;
  z-index: 10;
}
DIV.progress {
  position: relative;
  top: -8.4vh;
}
DIV#circle {
  --percent: 0%;
  block-size: 10vh;
  inline-size: 10vh;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
DIV#circle::before {
  background: conic-gradient(white var(--percent), var(--blue2) var(--percent));
  border-radius: 50%;
  bottom: 0;
  content: "";
  left: -0.1px; /* Recenter */
  mask-image: radial-gradient(transparent 63%, var(--blue2) calc(63% + 0.25px));
  position: absolute;
  top: -0.1px; /* Recenter */
  right: 0;
}
SPAN#durations {
  background-color: var(--blue2);
  border: 1px inset var(--blue1);
  border-radius: 0.5vh;
  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;
}

/* --------------------------------------------------------- NAVIGATION ----- */

NAV#menu {
  display: none;
  position: relative;
}
NAV UL#moodslist {
  background: var(--blue2);
  border-radius: 1vh;
  box-shadow: 0 0.5vh 1.5vh rgba(0,0,0,0.5);
  position: absolute;
  top: 5vh;
  left: 1vh;
  list-style: none;
  margin: 0;
  padding: 0.5vh;
  z-index: 10;
}
NAV UL LI A {
  display: block;
  font-family: happytimes;
  font-size: 2.5vh;
  padding: 1vh 4vh;
  text-decoration: none;
}
NAV UL LI A:hover {
  background: var(--blue3);
  border-radius: 0.65vh;
  text-shadow: 0 0 0.25vh white;
}

/* -------------------------------------------------------------- LIENS ----- */

A {
  color: white;
}
A:hover {
  text-decoration: none;
  text-shadow: 0 0 0.5vh white;
}
A#moodname {
  font-family: happytimes;
  font-size: 3.5vh;
  position: relative;
  top: -31vh;
  text-decoration: none;
}
A#artist {
  font-size: 3.5vh;
  position: relative;
  top: -4vh;
}
A#song {
  font-size: 2.5vh;
  font-style: italic;
  position: relative;
  top: -4vh;
}
A.search {
  font-family: happytimes;
  text-decoration: none;
}
A.copyright {
  color: var(--blue3);
  text-decoration: none;
  text-shadow: 1px 1px 1px var(--blue1);
}
A.copyright:hover {
  color: white;
  text-shadow: 0 0 0.5vh white;
}
A.share {
  cursor: default;
}
A.download {
  background: var(--blue3);
  border-radius: 3vh;
  box-shadow: 0 0.1vh 0.5vh rgba(0,0,0,0.5);
  padding: 1vh 1.5vh 1vh 1vh;
  text-decoration: none;
}
A.download:hover {
  background: var(--blue1);
  box-shadow: inset 0 0 1vh rgba(0,0,0,0.5);
  color: white;
}

/* ---------------------------------------------------------- FORMATAGE ----- */

P {
  margin: 0;
  padding: 0;
}
P.small {
  margin-top: 0.5vh;
}
P.simple {
  margin-top: 1vh;
}
P.double {
  margin-top: 2vh;
}
P.display {
  cursor: default;
  margin: 4.5vh 0 0;
}
P#playlist {
  background-color: var(--blue2);
  border: 1px inset var(--blue1);
  border-radius: 1vh;
  box-shadow: inset 0 0.5vh 1.5vh rgba(0,0,0,0.5);
  display: none;
  margin: 4vh 1.5vh 0;
  padding: 0.5vh 1vh;
  text-align: left;
}

/* ------------------------------------------------------------- IMAGES ----- */

IMG.button {
  margin: 1.5vh 1.5vh 1vh;
  height: 3.5vh;
  top: 0;
  width: 3.5vh;
}
IMG.left {
  float: left;
}
IMG.right {
  float: right;
}
IMG.logo {
  width: 40vh;
}
IMG.face {
  height: 100%;
  width: 100%;
}
IMG.control {
  height: 6vh;
  position: relative;
  width: 6vh;
}
IMG.sound {
  margin-right: 7vh;
}
IMG.audio {
  z-index: 5;
}
IMG.list {
  margin-left: 7vh;
}
IMG.android {
  height: 3vh;
  margin: -0.5vh 1vh 0 0;
  width: 3vh;
  vertical-align: middle;
}
IMG.share {
  background: var(--blue3);
  border-radius: 2vh;
  box-shadow: 0 0.1vh 0.5vh rgba(0,0,0,0.5);
  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;
}

