@font-face {
    font-family: "headFont";
    src: url("fonts/panchiko.ttf");
}
@font-face {
    font-family: "headFont2";
    src: url("fonts/fot-rodin-pro-eb.ttf");
}
@font-face {
    font-family: "bodyFont";
    src: url("fonts/ms-gothic.ttf");
}
@font-face {
    font-family: "bodyFont2";
    src: url("/fonts/mplus.ttf");
}

body {
  background-color: #282e38;
  color: white;
  font-family:bodyFont;
}

#audioControls{
  position:absolute;
  top:0; left:0;
  background-color:#0eb2f4;
  border-right:1px solid #0eb2f4;
  padding:10px 0px 10px 10px;
  z-index:3;
  width:220px;
  height:32px;
}
#audioControls::before{
  content: "";
  position: absolute;
  right: -30px;
  top: 0;
  display: block;
  width: 30px;
  height:100%;
  background-color: inherit;
  clip-path: polygon(0 0, 100% 0%, 28% 100%, 0% 100%);
}
#audioExpand{
  position:absolute;
  top:0; left:0;
  background-color:#00287e;
  padding: 10px 0;
  z-index:2;
  width:180px;
  min-height:32px;
  height:32px;
  max-height:100px;
  transition:all 0.1s;
}
#audioExpand::before{
  content: "";
  position: absolute;
  right: -29px;
  top: 0;
  display: block;
  width: 30px;
  height:100%;
  background-color: inherit;
  clip-path: polygon(0 0, 100% 0%, 5% 100%, 0% 100%);
}
#audioExpand.opened{
  transform:translateY(32px);
  padding: 30px 0 5px 0;
  height:auto;
}
#audioExpand ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    display:none;
}
#audioExpand.opened ul{
  display:block;
}
  
#audioExpand ul li{
  color:white;
  width:calc(100% - 10px);
  margin-left:5px;
  margin-bottom:5px;
}
.marquee{
  height:20px;
  background:none;
  width:100%;
  border:none;
  color: white;
  font-family:bodyFont;
  font-weight:bold;
  overflow:hidden;
  white-space: nowrap;
  border-radius:3px;
  transition: all 0.2s;
}
.marquee:hover{
  background-color:rgba(255, 255, 255, 0.7);
  color:#00287e;
  cursor:pointer;
}
#selected{
  background-color:white;
  color:#00287e;
}
.innerMarq{
  padding:2px 0;
  display: inline-block;
  font-size:13.3333px;
  animation: marquee 5s linear infinite;
}
.marqueeFade{
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}
@keyframes marquee {
  from { transform: translateX(0%); }
  to   { transform: translateX(-50%); }
}
#openAudio{
  position: absolute;
  bottom: -25.6px;
  left: -5px;
  font-family: headFont2;
  font-size:16px;
  background-color: inherit;
  transform: skew(-0.05turn);
  clip-path: polygon(0px 20%, 100% 20%, 100% 90%, 0px 90%);
  padding: 0px 20px;
  transition: all 0.2s;
}
#openAudio:hover{
  color:#00287e;
  background-color:white;
  cursor:pointer;
}
#openAudio:active{
  background-color:#00287e;
  color:white;
}
#nowPlaying{color:#00287e; font-family:headFont2; font-size:10px;}
#songScroll{
  width:170px;
  font-weight:bold;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}
.audioBtns{
  height:32px;
  width:32px;
  background-color:white;
  border:none;
  border-radius:50px;
}
#play{
  cursor:pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='4' width='4' height='16' fill='%230eb2f4'/%3E%3Crect x='14' y='4' width='4' height='16' fill='%230eb2f4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 27px;
  background-position: center;
}
#play.paused{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M8 4 L8 20 L20 12 Z' fill='%230eb2f4'/%3E%3C/svg%3E");
}
nav{
  width:70%;
  background-color:#757d8a;
  height:50px;
  margin:auto;
  border-radius:12px;
  position:relative;
  overflow:hidden;
}
nav ul{
  list-style:none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  column-gap:14px;
  align-items:center;
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  overflow:hidden;
  width:100%;
}
nav ul li{
  width: calc(calc(100% / 5) - 15px);
  text-align:center;
  overflow:hidden;
  transition:filter 0.1s;
}
nav ul li:hover{filter: brightness(150%);}
nav ul li a{
  display: block;
  background-color:crimson;
  color:white;
  font-size:clamp(5px,2vw,20px);
  padding: 10px 0px;
  border-radius:12px;
  position:relative;
  overflow:hidden;
  text-align:center;
}
nav ul li a::before {
    content: "";
    width: calc(100% - 20px);
    height: calc(100% / 3);
    background: white;
    display:block;
    position:absolute;
    top:2px;
    left:10px;
    border-radius: 5px; 
    filter: opacity(30%);
}
h1 {
  color:white;
  font-size:clamp(2em, 5vw, 60px);
  font-family:headFont;
  font-weight:500;
  text-align:center;
  margin:auto;
  margin-top:10px;
  margin-bottom:20px;
  font-style:italic;
  text-transform: uppercase;
  transform: scaleY(1.3) skew(-0.03turn);
}
#me{
  float:right;
  width:150px;
  text-align:center;
  color:lightgrey;
  font-size:12px;
}
#me img, #date img{
  border-radius:5px;
  width:150px;
  margin-bottom:4px;
}
#me div{transform: scale(1.1);}

#date{
  width:150px;
  float:left;
}
#weekday{margin-top:0; margin-bottom:8px;}
.mainContent{
    margin: auto;
    margin-top:15px;
    padding:2%;
    width: 66%;
    height:auto;
    min-width:500px;
    min-height:400px;
    background-color:#434b58;
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

.mainContent p{
  text-align:center;
  
}