* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  border: none;
  transition: all 0.3s;
  list-style: none;
  text-decoration: none;
  outline: none;
  font-family: "Poppins";
}

:root {
  color-scheme: light dark;
}

@font-face {
  font-family: "Poppins";
  src: url("../typography/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
}
.important-text {
  color: #00ffb7;
}

.important-text-2 {
  color: #1c1f23;
}

.bold {
  font-weight: 600;
}

.italic {
  font-style: italic;
}

.underline {
  text-decoration: underline;
}

hr {
  width: 100%;
  height: 1px;
  background-color: #00ffb7;
}

/* .section {
	margin-bottom: 2rem;
} */
.hidden {
  display: none;
}

.shown {
  display: flex;
  opacity: 1;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 25px;
  background-color: #00ffb7;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: black;
}
.btn:hover {
  opacity: 0.9;
}
.btn:active {
  transform: scale(0.9);
}

.ghost-btn {
  background: rgb(39.15625, 43.3515625, 50.34375);
  border: solid 1px #00ffb7;
  color: #00ffb7;
}
.ghost-btn a {
  color: #00ffb7;
}
.ghost-btn:hover {
  background-color: #00ffb7;
  box-shadow: none;
  opacity: 1;
  color: black;
}

.warning-text {
  color: red;
}

body {
  background-color: #1c1f23;
}

.body-container {
  padding: 1rem;
  max-width: 1000px;
  min-height: 100vh;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion {
  width: 100%;
  max-width: 400px;
}

.accordion-item {
  border-radius: 25px;
  border: 1px solid #00ffb7;
  background: rgb(39.15625, 43.3515625, 50.34375);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding-inline: 1rem;
}
.accordion-header .accordion-title {
  color: #00ffb7;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 1rem 2rem;
}
.accordion-header .accordion-toggle.turned {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0px;
  overflow: hidden;
  transition: 0.5s;
  box-shadow: 0 2px 12px #0f0f0f;
}
.accordion-content.active {
  max-height: 1000vh;
  padding-bottom: 0;
  transition: 2s;
}

.stations-section,
.favs-section {
  display: flex;
  flex-direction: column;
  background: rgb(39.15625, 43.3515625, 50.34375);
  border-radius: 0 0 25px 25px;
}

.station-item {
  padding: 1rem;
  min-height: 10px;
  font-weight: bold;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.station-item:hover {
  cursor: pointer;
  background-color: #00ffb7;
  color: black;
}
.station-item:last-child {
  border-radius: 0 0 25px 25px;
}
.station-item.selected {
  background-color: #00ffb7;
  color: black;
  filter: drop-shadow(0 2px 12px #0f0f0f);
}
.station-item.selected .audio-waves {
  display: flex;
}

.station-item-title {
  font-weight: 400;
}

.station-item-img {
  border-radius: 15px;
  width: 60px;
  box-shadow: 0 2px 12px #0f0f0f;
}

.station-item-info {
  display: flex;
  flex-direction: column;
  height: 60px;
  font-weight: 200;
}

.station-item-genre {
  background: #00ffb7;
  color: black;
  border-radius: 8px;
  text-align: center;
  padding: 0.1rem 0.3rem;
}

.station-item:first-child {
  border-top: solid 1px #00ffb7;
}

.audio-waves {
  display: none;
  gap: 3px;
}
.audio-waves .line {
  background-color: black;
  border-radius: 25px;
  width: 4px;
  height: 5px;
  animation: audioWaveEnabled 1s infinite;
  place-self: end;
}
.audio-waves .line:nth-child(1) {
  animation-delay: 0.3s;
}
.audio-waves .line:nth-child(2) {
  animation-delay: 0.5s;
}
.audio-waves .line:nth-child(3) {
  animation-delay: 0.1s;
}

@keyframes liveFirstAnimation {
  from {
    max-width: 35px;
    transform: scale(0);
  }
  50% {
    transform: scale(1);
  }
  55% {
    max-width: 35px;
  }
  to {
    max-width: 100%;
  }
}
@keyframes liveTextShow {
  from {
    opacity: 0;
    translate: 100%;
    filter: blur(20px);
  }
  50% {
    opacity: 0;
  }
  60% {
    translate: 20%;
  }
  to {
    opacity: 1;
    translate: 0%;
    filter: blur(0px);
  }
}
@keyframes infiniteRotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes audioWaveEnabled {
  from {
    height: 5px;
  }
  50% {
    height: 10px;
  }
  to {
    height: 5px;
  }
}
@keyframes svgDraw {
  0% {
    stroke-dashoffset: 50;
  }
  10% {
    fill: transparent;
  }
  25% {
    stroke-dashoffset: 0;
    fill: #00ffb7;
  }
  50% {
    fill: #00ffb7;
  }
  70% {
    fill: transparent;
  }
  100% {
    stroke-dashoffset: 50;
  }
}
.slogan {
  width: 90%;
  align-self: center;
}

.slogan path {
  fill: transparent;
  stroke: #00ffb7;
  stroke-width: 0.3;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: svgDraw 15s ease-in-out infinite;
}

.station-item.selected .line {
  display: flex;
}

.section-title {
  color: #00ffb7;
}

.audio-player {
  border-radius: 25px;
  color: #00ffb7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 300px;
  width: 100%;
  gap: 20px;
  padding: 1.5rem;
  padding-block: 2rem;
  background: rgb(39.15625, 43.3515625, 50.34375);
  border: solid 1px #00ffb7;
  backdrop-filter: blur(30px);
  max-width: 400px;
  box-shadow: 0 2px 12px #0f0f0f;
}

.cover-container {
  position: relative;
}

.live-flag {
  position: absolute;
  top: 5%;
  right: 5%;
  display: flex;
  align-items: center;
  background-color: red;
  padding: 0.1rem 0.5rem;
  border-radius: 25px;
  color: white;
  animation: liveFirstAnimation 2s ease-in-out;
}
.live-flag p {
  animation: liveTextShow 2s ease-in-out;
}

.live-icon {
  width: 20px;
  animation: infiniteRotation 8s infinite ease-in-out;
}

.radio-cover {
  width: 250px;
  border-radius: 10px;
  box-shadow: 0 2px 12px #0f0f0f;
}

.name-line {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.name-line .fav-icon {
  width: 50px;
  fill: transparent;
  stroke: #00ffb7;
  stroke-width: 15px;
}
.name-line .fav-icon:hover {
  cursor: pointer;
  transform: scale(1.2);
}
.name-line .fav-icon:active {
  transform: scale(0.9);
}
.name-line .fav-icon.active {
  fill: #00ffb7;
}

.radio-name {
  text-transform: capitalize;
}

.radio-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.player-inputs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.btn-container {
  display: flex;
  gap: 20px;
}

.control-btn {
  width: 40px;
  border-radius: 25px;
}
.control-btn:hover {
  cursor: pointer;
  transform: scale(1.1);
}
.control-btn:active {
  transform: scale(0.8);
  background-color: #1c1f23;
}

footer {
  padding: 1rem;
  background-color: rgb(39.15625, 43.3515625, 50.34375);
}
footer .footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .footer-links a {
  color: white;
}
footer .footer-links a:hover {
  color: #00ffb7;
}

@media screen and (min-width: 500px) {
  .body-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
  .slogan {
    grid-column: span 2;
    width: 70%;
  }
  .audio-player {
    grid-column: span 2;
    width: 100%;
    max-width: 890px;
    flex-direction: row;
    justify-content: space-around;
  }
  .radio-name {
    font-size: 1.3rem;
  }
  .control-btn {
    width: 65px;
  }
}

/*# sourceMappingURL=style.css.map */
