/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*,
*:after,
*:before {
  box-sizing: border-box;
}

.no-boxsizing,
.no-boxsizing *,
.no-boxsizing *:after,
.no-boxsizing *:before {
  box-sizing: content-box;
}

:root {
  --primary: #00a1ec;
  --hover: #bc45f8;
  --gray: #999;
  --body: #aaa;
}

body {
  font-family: sans-serif;
  line-height: 1.4;
  background: #161616;
  color: #aaa;
  padding: 16px;
  margin: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:visited, a:hover {
  color: var(--hover);
}

img {
  max-width: 100%;
}

main {
  padding: 16px;
}

header nav ul {
  list-style: none;
  display: flex;
  margin: 0 -8px;
  padding: 0 0 24px 8px;
  flex-wrap: wrap;
}

header nav ul li {
  margin: 0 8px;
}

.flash {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.flash.notice, .flash.success {
  background-color: #0e8157;
  color: #85efc8;
}

.flash.alert, .flash.error {
  background-color: #721c24;
  color: #f8d7da;
}

.albums {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -16px;
  padding: 8px;
}

.albums > .album {
  width: 50%;
  padding: 0 8px;
}
@media screen and (min-width: 600px) {
  .albums > .album {
    width: 33.333333%;
  }
}
@media screen and (min-width: 800px) {
  .albums > .album {
    width: 25%;
  }
}
@media screen and (min-width: 1000px) {
  .albums > .album {
    width: 20%;
  }
}
.albums > .album img {
  width: 100%;
}

.album h1 {
  font-size: 16px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}
@media screen and (min-width: 481px) {
  .album h1 {
    font-size: 19px;
  }
}
.album h1 a {
  color: #eee;
}
.album h1 a:hover {
  color: var(--hover);
}

.album h2 {
  margin: 0;
  font-size: 13px;
}
@media screen and (min-width: 481px) {
  .album h2 {
    font-size: 16px;
  }
}
.album h2 a {
  color: var(--body);
}
.album h2 a:hover {
  color: var(--hover);
}

.album .loved {
  color: rgb(255, 0, 191);
}

.track-row {
  display: flex;
  margin: 0 -8px 8px;
  align-items: center;
  padding: 0 8px 8px;
  border-bottom: 1px solid #333;
}
.track-row .col {
  margin: 0 4px;
}
.track-row .number-col {
  width: 23px;
  text-align: right;
}
.track-row .disc-number-col {
  width: 40px;
  text-align: right;
}
.track-row .wide {
  flex-grow: 1;
  flex-shrink: 1;
}

.album-track-row {
  display: flex;
  margin: 0 -8px 0;
  align-items: center;
}

.album-track-row .col {
  margin: 0 4px;
}

.sort-album {
  margin-bottom: 24px;
  padding: 8px;
  max-width: 600px;
}

.inline-forms form {
  display: inline-block;
}

.requests {
  position: fixed;
  top: 0;
  right: 0;
  font-size: 14px;
  display: flex;
  padding-right: 8px;
}

.requests > div {
  margin-left: 16px;
}

.btn {
  padding: 4px 8px;
  font-size: 14px;
  font-weight: bold;
  background: rebeccapurple;
  color: white;
  border: 0;
  appearance: none;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
  margin-bottom: 4px;
}
.btn:visited, .btn:hover {
  color: white;
}
.btn:hover {
  background: var(--hover);
}

.btn-icon {
  line-height: 1;
  padding: 0;
  background: transparent;
}
.btn-icon:hover {
  background: transparent;
}
.btn-icon.btn-gray {
  background: transparent;
  color: var(--gray);
}
.btn-icon.btn-gray:visited, .btn-icon.btn-gray:hover {
  background: transparent;
  color: var(--gray);
}

.btn-block {
  display: block;
  text-align: center;
  width: 100%;
}

.btn-red {
  background-color: red;
}

form {
  display: inline-block;
}

.form {
  display: block;
}

.flex-row-all {
  display: flex;
  align-items: center;
}
.flex-row-all > .flex-col-1 {
  width: 8.3333333333%;
}
.flex-row-all > .flex-col-2 {
  width: 16.6666666667%;
}
.flex-row-all > .flex-col-3 {
  width: 25%;
}
.flex-row-all > .flex-col-4 {
  width: 33.3333333333%;
}
.flex-row-all > .flex-col-5 {
  width: 41.6666666667%;
}
.flex-row-all > .flex-col-6 {
  width: 50%;
}
.flex-row-all > .flex-col-7 {
  width: 58.3333333333%;
}
.flex-row-all > .flex-col-8 {
  width: 66.6666666667%;
}
.flex-row-all > .flex-col-9 {
  width: 75%;
}
.flex-row-all > .flex-col-10 {
  width: 83.3333333333%;
}
.flex-row-all > .flex-col-11 {
  width: 91.6666666667%;
}
.flex-row-all > .flex-col-12 {
  width: 100%;
}
.flex-row-all > .flex-percent-10 {
  width: 10%;
}

@media screen and (min-width: 769px) {
  .flex-row-tablet {
    display: flex;
  }
  .flex-row-tablet > .flex-col-1 {
    width: 8.3333333333%;
  }
  .flex-row-tablet > .flex-col-2 {
    width: 16.6666666667%;
  }
  .flex-row-tablet > .flex-col-3 {
    width: 25%;
  }
  .flex-row-tablet > .flex-col-4 {
    width: 33.3333333333%;
  }
  .flex-row-tablet > .flex-col-5 {
    width: 41.6666666667%;
  }
  .flex-row-tablet > .flex-col-6 {
    width: 50%;
  }
  .flex-row-tablet > .flex-col-7 {
    width: 58.3333333333%;
  }
  .flex-row-tablet > .flex-col-8 {
    width: 66.6666666667%;
  }
  .flex-row-tablet > .flex-col-9 {
    width: 75%;
  }
  .flex-row-tablet > .flex-col-10 {
    width: 83.3333333333%;
  }
  .flex-row-tablet > .flex-col-11 {
    width: 91.6666666667%;
  }
  .flex-row-tablet > .flex-col-12 {
    width: 100%;
  }
  .flex-row-tablet > .flex-percent-10 {
    width: 10%;
  }
}

.flex-gutters-4 {
  margin-left: -4px;
  margin-right: -4px;
}
.flex-gutters-4 > [class*=flex-col] {
  padding-left: 4px;
  padding-right: 4px;
}

.flex-gutters-8 {
  margin-left: -8px;
  margin-right: -8px;
}
.flex-gutters-8 > [class*=flex-col] {
  padding-left: 8px;
  padding-right: 8px;
}

.flex-gutters-16 {
  margin-left: -16px;
  margin-right: -16px;
}
.flex-gutters-16 > [class*=flex-col] {
  padding-left: 16px;
  padding-right: 16px;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-dynamic {
  width: 100%;
  flex-grow: 1;
  flex-shrink: 1;
}

.flex-static {
  flex-grow: 0;
  flex-shrink: 0;
}

.flex-align-stretch {
  align-items: stretch;
}

.flex-align-top {
  align-items: flex-start;
}

.flex-align-bottom {
  align-items: flex-end;
}

.flex-justify-center {
  justify-content: center;
}

.flex-justify-spaced {
  justify-content: space-between;
}

.flex-justify-end {
  justify-content: flex-end;
}

.justify-self-end {
  justify-self: end;
}

.flex-direction-column {
  flex-direction: column;
}

.track-apple-music {
  color: rebeccapurple;
}

.album-header {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
.album-header .album-artwork {
  width: 250px;
}
.album-header .album-titles {
  padding-left: 16px;
}
.album-header h1 {
  font-size: 64px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 8px;
  color: #eee;
}
.album-header h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.album-slot {
  position: relative;
}
.album-slot .reroll-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  text-shadow: 0 0 5px rgb(0, 0, 0);
}
