@font-face {
  font-family: 'Decipher';
  src: url('Decipher.otf');
}

@font-face {
  font-family: 'Dociallism';
  src: url('docallismeonstreet.otf');
}

@font-face {
  font-family: 'graffiti_clean';
  src: url('graffiti-clean.otf');
}

@font-face {
  font-family: 'graffiti_regular';
  src: url('graffiti-regular.otf');
}

@font-face {
  font-family: 'NeonFuture';
  src: url('NeonFuture.otf');
}

@font-face {
  font-family: 'Mushashi';
  src: url('Musashi.ttf');
}

@font-face {
  font-family: '7LED';
  src: url('7LED.ttf');
}

@font-face {
  font-family: 'Vandor';
  src: url('the_vandor_spot.ttf');
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scaleZ(0);
  }

  50% {
    opacity: 0.3;
    transform: scaleZ(0.5);
  }

  100% {
    opacity: 1;
    transform: scaleZ(1);
  }
}

.fade-in-scale {
  animation: fadeInScale 3s ease-in-out;
}

.fade-in-cover {
  animation: fadeInScale 2s linear;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


body {
  margin: 0;
  padding: 0;
  background-image: url('body_bg_1.png');
  background-position: center;
  background-repeat: repeat-y;
  height: 100%;
  width: 100%;
  justify-content: space-between;
  animation: changeBackground 6s infinite ease-in-out alternate-reverse;
  z-index: -1;
}

.boost-container {
  display: block;
  height: 8%;
  z-index: 1;
}

.container {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  z-index: 1;
}

.title {
  grid-row: 1 / span 1;
  grid-column: 1 / span 2;
}

h1 {
  font-size: 3rem;
  font-family: 'Mushashi';
  color: white;
  -webkit-text-stroke: 1px black;
  text-shadow: 3px 3px 5px black;
  text-align: center;
}

h2 {
  margin-top: -10px;
  font-family: 'Mushashi';
  font-size: 1.8rem;
}

.cover-art {
  grid-row: 2 / span 1;
  grid-column: 1 / span 1;
  text-align: right;
}


.album-cover-img {
  width: 60%;
  border-radius: 12px;
  border: 1px solid dimgray;
  box-shadow: 3px 3px 5px black;
}

.description {
  grid-row: 2 / span 1;
  grid-column: 2 / span 1;
  padding-left: 20px;
  padding-right: 50px;
  font-family: 'Decipher';
}

#switchBtn {
  z-index: 90;
}

.switch {
  font-family: 'Vandor';
  font-weight: bold;
  text-align: center;
}

.mix-switch {
  background-color: black;
  font-family: 'Vandor';
  font-weight: normal;
  box-shadow: 2px 2px 5px black;
  padding: 6px;
  color: #00ff00;
  font-size: 1.4rem;
  border: 2px solid gray;
  border-radius: 6px;
}

.boost-marquee {
  position: absolute;
  display: inline;
  top: 15px;
  left: 30%;
  width: 300px;
  font-family: 'Vandor';
  font-weight: bold;
}

.tracklist {
  color: black;
  font-weight: normal;
}

.track-active {
  color: purple;
  font-weight: bold;
  font-size: 1.1rem;
  animation: fadeIn 2s linear;
}

.fadeFx {
  animation: fadeIn 2s linear;
}

.description.text p {
  font-family: 'Mushashi';
  font-size: 1rem;
 /* line-height: 0.5;*/
}

.boost-button {
  position: fixed;
  top: 15px;
  left: 25px;
  display: block;
  border-radius: 50%;
  width: 70px;
  height: 70px; 
}

.boost-button img {
  position: absolute;
  top: -17px;
  left: 5px;
  width: 80px;
  height: 120px;
  z-index: 10;
}

.boost-button-text {
  font-size: 2.4rem;
  position: absolute;
  -webkit-text-stroke: 1px white;
  top: 40px;
  left: 33px;
  z-index: 20;
}

.audio-player {
  grid-row: 3 / span 1;
  grid-column: 1 / span 2;
  color: khaki;
  text-align: center;
}

.track-origin {
  font-family: 'Mushashi';
  font-size: 1.2rem;
}

.pub-date {
  position: fixed;
  right: 10%; 
  bottom: 10%;
  width: 100%; 
  text-align: center;
  padding-bottom: 10px;
  background-image: url('recycle.png');
}

.triangular-background {
  position: absolute;
  top: 66%;
  left: 66%;
  width: 200px;
  height: 200px;
  background-image: url('recycle.png');
  /*clip-path: polygon(50% 0%, 100% 100%, 0% 100%);*/
  background-size: contain;
  background-repeat: no-repeat;
  
}

.pub-text {
  position: absolute;
  top: 55px;
  left: 25%;
  font-size: 2rem;
  font-family: 'Mushashi';
  color: yellow;
  -webkit-text-stroke: 1px black;
  text-shadow: 3 3 0 rgba(0, 0, 0, 1);
}

.pub-digits {
  position: absolute;
  top: 66%;
  width: 74%;
  left: 13%;
  border: 2px solid black;
  border-radius: 6px;
  font-size: 1rem;
  font-family: '7LED';
  color: #00ff00;
  background-color: black;
}

audio::-webkit-media-controls-panel {
  background-color: #fff;
}

audio {
  width: 70%;
}

.track {
  font-family: 'Mushashi';
}

@media screen and (orientation: landscape) {
  body {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
  }

  .description {
    padding-right: 20%;
  }
  
  audio {
    width: 70%;
  }
  
  .pub-date {
    display: none;
  }
  
}

@media screen and (orientation: portrait) {
  body {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
  }
    
  .pub-date {
    display: none;
  }
  
}
/* Default styles for all screen sizes */

/* Media query for screens smaller than 576px (portrait phones) */
@media (max-width: 575px) {
  body {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
  }
  
   .album-cover-img {
    max-width: 50%;
  }
}

/* Media query for screens between 576px and 767px (landscape phones and small tablets) */
@media (min-width: 576px) and (max-width: 767px) {
  body {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
  }
  
  .pub-date {
    display: none;
  }
}

/* Media query for screens between 768px and 991px (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
  body {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
  }
  
  .pub-date {
    display: none;
  }
}

@media (min-width: 340px) and (max-width: 533px) {
  body {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
  }
  
  .container {
    top: 100px;
  }
  
  .album-cover-img {
    max-width: 200px;
  }
  
  .pub-date {
    display: none; 
  }
  
}