:root {
  color-scheme: light dark;
  --accent: #bdae82;
}

html {
  width: 100%;
  background-color: #000;
  font-size: 20px;
  color: #eee;
}

@media (max-width: 750px) {
  html {
    font-size: 16px;
  }
  .rss-logo {
    width: 2.7rem;
    height: 1rem;
  }
  .logo {
    width: 2rem;
    height: 2rem;
  }
}
@media (max-width: 620px) {
  html {
    font-size: 10px;
  }
}

body {
  width: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-height: 100vh;
}

main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  background-image: url('./assets/img/forest.jpg');
}

/* Header */
header {
  box-sizing: border-box;
  width: 100%;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 2.5rem;
  height: 2.5rem;
  background-image: url('./assets/svg/logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  transition: 0.3s;
}
.logo:hover {
  filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%);
}

nav {
  margin-left: auto;
  margin-right: 0;
}
nav ul {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  list-style: none;
}
nav li {
  padding: 0 1rem;
  opacity: 1;
  transition: opacity 0.3s linear;
  cursor: pointer;
}
nav li:hover {
  opacity: 0.6;
}
nav li.active {
  color: var(--accent);
}

/* Player */
.control {
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.control:hover > .circle {
  width: 140px;
  height: 140px;
  opacity: 1;
}
.circle {
  width: 100px;
  height: 100px;
  border: 0.1rem;
  border-style: solid;
  border-radius: 50%;
  border-color: var(--accent);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease-in;
  opacity: 0.75;
}
.control button {
  font-size: 20px;
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100px;
  height: 100px;
  background-size: contain;
  background-color: transparent;
  outline: none;
  border: none;
  cursor: pointer;
}
.control button:active {
  outline: none;
  border: none;
}
audio {
  display: none;
}
.play {
  background-image: url('./assets/svg/play.svg');
}
.pause {
  background-image: url('./assets/svg/pause.svg');
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  padding: 0 4rem;
}

.author {
  display: flex;
  align-items: center;
  column-gap: 2rem;
}

a,
a:visited {
  color: inherit;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.3s linear;
}
a:hover {
  opacity: 0.6;
}

.rss-logo {
  width: 5.4rem;
  height: 2rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url('./assets/svg/rss.svg');
  transition: opacity 0.3s linear;
  opacity: 1;
}
.rss-logo:hover {
  opacity: 0.6;
  /* filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%) contrast(87%); */
}
