@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Regular.ttf");
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Bold.ttf");
  font-weight: bold;
}

:root {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p {
  margin-bottom: 1em;
}

a {
  color: #004c57;
}

a:hover {
  color: #006570;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header img {
    max-width: 100%;
}

main {
    padding: 2em;
}

footer {
  background-color:#00cbb6;
  padding: 2em;
}

button {
    background-color: #f9e600;
    font-size: 16px;
    border: 0;
    border-radius: 8px;
    padding: 10px;
    margin: 1em;
}

button:hover {
    background-color: #e5d200;
}

input[type="range"] {
  width:400px;
  max-width: 90%;
}

select {
  background-color: #00cbb6;
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  padding: 10px;
  margin-bottom: 1em;
  border: solid 1px;
  border-radius: 8px;
}

select:hover {
  background-color: #00bba9;
}

label {
  margin-top: 1em;
  margin-bottom: 0.6em;
}

:popover-open {
  background-color: #f9e600;
  font-size: 16px;
  width: 1000px;
  max-width: 90%;
  position: absolute;
  inset: unset;
  bottom: 5px;
  left: 5px;
  margin: 1em;
  padding: 1em;
}

.music-player {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 600px;
  max-width: 100%;
  margin: 3em auto;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.track-title, .track-credits, .time {
    margin-bottom: 1em;
    text-align: center;
}
