/* 1. Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2. Root defaults */
html {
  font-size: 100%; /* 16px default */
  scroll-behavior: smooth;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  color: #111;
  background-color: #435c70;
}

/* 3. Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 1rem;
  padding: 0;
}

p {
  margin-bottom: 1rem;
}

/* 4. Links */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* 5. Images */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Forms */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Layout helper */
.container {
  display: flex;
  position: fixed;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: center;
}
#header {
  display: flex;
  width: 100%;
  height: 60px;
  background: linear-gradient(to right, #29455b, #015ba0, #29455b);
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
}
#title-wrap {
  display: flex;
  width: 300px;
  height: 60px;
  align-items: center;
  justify-content: center;
}
#body-main {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
#album-wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 200px;
  padding: 20px 0;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  background-color: #303a42;
  z-index: 10;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  scrollbar-width: none;
  scroll-snap-type: none;
}
#album-wrap::-webkit-scrollbar {
  display: none;
}
#album-wrap.dragging {
  cursor: grabbing;
  user-select: none;
}
.album-cover {
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  transition: 0.6s;
}
.album-cover img {
  display: block;
  width: 150px;
  height: 150px;
}
.album-cover:hover {
  transform: scale(1.18);
  cursor: pointer;
}
#album-focus-wrap {
  display: flex;
  width: 800px;
  height: 70%;
  align-items: end;
  justify-content: center;
}
/*--ALBUM FOCUS-------------------------*/
#album-display {
  display: flex;
  flex-direction: row;
  width: 500px;
  height: auto;
  background-color: #303a42;
  overflow: hidden;
  margin-bottom: 10px;
  background-color: none;
}
#album-display-img {
  width: 500px;
  height: auto;
  object-fit: contain;
}
/*
#album-info {
  width: 400px;
  font-size: 15px;
  line-height: 1.4;
  color: #ffffff;
  padding: 10px;
  background: none;
}
*/
/*--END ALBUM FOCUS---------------------------*/
#controls-wrap {
  display: flex;
  width: 100%;
  height: 124px;
  justify-content: center;
  padding-bottom: 10px;
}
#info-display {
  display: flex;
  position: absolute;
  top: 5px;
  left: 5px;
  width: 490px;
  height: 39px;
  font-size: 18px;
  font-weight: bold;
  color: rgb(1, 137, 1);
  background-color: #111;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
#controls {
  display: flex;
  position: relative;
  width: 500px;
  height: 110px;
  background-color: #303a42;
  justify-content: center;
  align-items: end;
  border-radius: 12px;
}
#controls-inner-wrap {
  display: flex;
  width: 500px;
  height: auto;
  justify-content: center;
  align-items: center;
  padding-bottom: 3px;
}
.back10sec {
  display: flex;
  width: 40px;
  height: 40px;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  border: none;
  transition: 0.5s;
}
.back10sec:hover {
  opacity: 1;
  transform: scale(1.05);
}
.prev-track {
  display: flex;
  width: 60px;
  height: 60px;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  border: none;
  transition: 0.5s;
}
.prev-track:hover {
  opacity: 1;
  transform: scale(1.05);
}
.play {
  display: flex;
  width: 60px;
  height: 60px;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  border: none;
  transition: 0.5s;
}
.play:hover {
  opacity: 1;
  transform: scale(1.05);
}
.next-track {
  display: flex;
  width: 60px;
  height: 60px;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  border: none;
  transition: 0.5s;
}
.next-track:hover {
  opacity: 1;
  transform: scale(1.05);
}
.fwd10sec {
  display: flex;
  width: 40px;
  height: 40px;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  border: none;
  transition: 0.5s;
}
.fwd10sec:hover {
  opacity: 1;
  transform: scale(1.05);
}
.repeat {
  display: flex;
  width: 53px;
  height: 40px;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  border: none;
  transition: 0.5s;
}
.repeat:hover {
  opacity: 1;
  transform: scale(1.05);
}
.repeat.active {
  opacity: 1;
  transform: scale(1.05);
}
.shuffle {
  display: flex;
  width: 53px;
  height: 40px;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  border: none;
  transition: 0.5s;
}
.shuffle:hover {
  opacity: 1;
  transform: scale(1.05);
}
.shuffle.active {
  opacity: 1;
  transform: scale(1.05);
}
