:root {
  font-size: calc(1rem + 0.6vw);
}

html, body {
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #191c17;
  background-image: linear-gradient(to bottom right, #a5845c, #d1c09f);
  background-attachment: fixed;
}

h1,h2 {
  font-size: 2.4rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.2rem;
}

h1>img{
  filter: brightness(0) saturate(100%) invert(7%) sepia(32%) saturate(258%) hue-rotate(52deg) brightness(99%) contrast(93%);
  height: .8em;
  cursor: pointer;
}

small {
  font-size: .7em;
}

em {
  font-style: italic;
}

p {
  margin-bottom: .5em;
}

ol {
  list-style: decimal-leading-zero;
  list-style-position: inside;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  align-items: inherit;
  overflow:auto;
  scrollbar-color: #64695a #0000;
  scrollbar-width: thin;
}

.album-container {
  position: relative;
  display: grid;
  margin: 20px;
  justify-content: center;
  align-items: center;
}

.album {
  position: relative;
  margin: auto;
  padding: 0px 100px;
  overflow: hidden;
  width: 300px;
  height: 300px;
}

.cover {
  width: 300px;
  height: 300px;
  position: inherit;
  z-index: 1;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.cd-container {
  transition: transform 0.5s ease;
  width: 300px;
  height: 300px;
  position: absolute;
  top: 0px;
}

.cd {
  position: absolute;
  bottom: 0;
  z-index: 0;
  width: 300px;
  height: 300px;
  animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.info-container {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0px 20px 150px 20px;
}

/**
* Tabbed view
**/
.tabs {
  background-color: #e8d6bc;
  min-height: 400px;
  border-radius: 15px;
  flex-grow: 1;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
}

.tabs__list {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.tabs__label {
  border-bottom: 2px solid #2c2f24;
  display: inline-block;
  padding: 1rem 1.3rem 1rem 1.3rem;
  height: calc(100% - 2rem);
}

.tabs__tab:first-child>.tabs__label {
  border-radius: 15px 0px 0px 0px;
}

.tabs__tab:last-child {
  flex-grow: 1;
  display: flex;
}

.tabs__tab:last-child>.tabs__label {
  flex-grow: 1;
  border-radius: 0px 15px 0px 0px;
}

.tabs__content {
  display: none;
  left: 0;
  padding: 0.5rem;
  top: 100%;
  place-self: stretch;
  overflow: auto;
  scrollbar-color: #64695a #0000;
  scrollbar-width: thin;
  border: 2px solid #2c2f24;
  border-width: 0px 2px;
}

.tabs__bumper {
  height: 15px;
  border: 2px solid #2c2f24;
  border-top: 0px;
  border-radius: 0px 0px 15px 15px;
}

.tabs__input {
  position: fixed;
  top:-100px;
}

label {
  cursor: pointer;
}

.tabs__label:hover{
  background-color: #b6b39e;
}

.tabs__input:focus + label {
  background-color: #fafafa;
}

.tabs:has(>.tabs__content:nth-child(2)> .tabs__input:checked)>ul>li:nth-child(1)>label,
.tabs:has(>.tabs__content:nth-child(3)> .tabs__input:checked)>ul>li:nth-child(2)>label,
.tabs:has(>.tabs__content:nth-child(4)> .tabs__input:checked)>ul>li:nth-child(3)>label,
.tabs:has(>.tabs__content:nth-child(5)> .tabs__input:checked)>ul>li:nth-child(4)>label {
  border: 2px solid #2c2f24;
  border-bottom: 0px;
}

.tabs__content:has(> .tabs__input:checked) {
  display: block;
}

/**
* Bigger Screen = left to right
**/

@media (min-width: 1079px) {
  :root {
    font-size: calc(1rem + 0.4vw);
  }
  .container {
    flex-direction: row;
    justify-content: inherit;
    align-items: center;
  }

  .album-container {
    min-width: 350px;
    max-width: 700px;
    width: 100%;
  }

  .info-container {
    min-width: 350px;
    height: 80vh;
    padding: 20px;
    width: 100%;
  }
}

/**
* Big Screen = Big cover
**/

@media (min-width: 1480px) {
  .cd-container,.album,.cover,.cd {
    width: 500px;
    height: 500px;
  }
  .tabs__content {
    padding: 0.5rem 1.5rem;
  }
}
