@import url("https://fonts.googleapis.com/css2?family=Arimo:wght@400;500;700&family=Indie+Flower&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

ul,
li {
  list-style: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes turn {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes scale-one {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes scale-two {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-50%, -50%) scale(0.5);
  }
}
html {
  font-size: clamp(16%, 1.1vw, 45%);
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  line-height: 1;
  font-family: "Arimo", sans-serif;
  background-color: gainsboro;
  overflow: overlay;
  background-color: gainsboro;
  background-image: radial-gradient(gainsboro 60%, rgba(42, 9, 9, 0.16));
  box-shadow: inset 0 0 10rem rgba(42, 9, 9, 0.36);
}

main {
  padding: 4em 0;
}
main .tape {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #474747;
  border-radius: 2rem;
  box-shadow: inset 0 0 1rem rgba(0, 0, 0, 0.3), 0 0 2rem rgba(0, 0, 0, 0.36);
  width: 82rem;
  height: 52.4rem;
  position: relative;
}
main .tape::before {
  position: absolute;
  content: "";
  width: 83.5rem;
  height: 15.5rem;
  bottom: 4rem;
  background-color: #474747;
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.36);
  z-index: -1;
  border-radius: 1rem;
}
main .tape span {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  background-color: #404040;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0.3rem rgba(0, 0, 0, 0.2);
}
main .tape span::before {
  position: absolute;
  content: "+";
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-weight: 400;
  color: #393939;
  transform: rotate(45deg);
}
main .tape span:nth-child(1) {
  top: 1rem;
  left: 1rem;
}
main .tape span:nth-child(2) {
  top: 1rem;
  right: 1rem;
}
main .tape span:nth-child(3) {
  bottom: 1rem;
  left: 1rem;
}
main .tape span:nth-child(4) {
  bottom: 1rem;
  right: 1rem;
}
main .tape .tape-inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
main .tape .tape-inner .tape-upper {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #414141;
  width: 74rem;
  height: 35.5rem;
  clip-path: polygon(5% 0, 95% 0, 100% 10%, 100% 100%, 0 100%, 0 10%);
}
main .tape .tape-inner .tape-upper .label {
  width: 96%;
  height: 92%;
  clip-path: polygon(4% 0, 96% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
}
main .tape .tape-inner .tape-upper .label .top {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-bottom: 1rem solid #8c6238;
  height: 11rem;
}
main .tape .tape-inner .tape-upper .label .top p {
  font-family: "Indie Flower", cursive;
  font-size: 5rem;
  color: steelblue;
  animation: fadeIn 1s forwards ease;
}
main .tape .tape-inner .tape-upper .label .center {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  background-color: #fbb03a;
  box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.3);
  height: 16rem;
  padding-top: 1.5rem;
  position: relative;
}
main .tape .tape-inner .tape-upper .label .center p {
  position: absolute;
  font-size: 6rem;
  font-weight: 600;
}
main .tape .tape-inner .tape-upper .label .center p:first-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
  left: 2.4rem;
  top: 2.4rem;
  background-color: #474747;
  color: #fbb03a;
  border-radius: 0.6rem;
  width: 6.4rem;
  height: 6.4rem;
}
main .tape .tape-inner .tape-upper .label .center p:last-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  right: 2.4rem;
  top: 1.6rem;
  color: #474747;
  font-size: 6rem;
}
main .tape .tape-inner .tape-upper .label .center p:last-of-type b {
  font-weight: 400;
  font-size: 3.4rem;
}
main .tape .tape-inner .tape-upper .label .center .audio-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #474747;
  border: 1.6rem solid #474747;
  width: 49rem;
  height: 13rem;
  border-radius: 100vh;
  overflow: hidden;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape {
  display: grid;
  grid-template-areas: "one one tape-center tape-center tape-center two two" "one one count count count two two";
  grid-auto-columns: 1fr;
  align-items: end;
  width: 100%;
  height: 100%;
  z-index: 0;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-one,
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-two {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #474747;
  width: 9.8rem;
  height: 9.8rem;
  position: relative;
  outline: 3.3rem solid #474747;
  transform-origin: center;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-one ul,
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-two ul {
  width: 9.8rem;
  height: 9.8rem;
  position: absolute;
  z-index: 1;
  animation: turn linear infinite 24s;
  animation-iteration-count: 75;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-one ul li,
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-two ul li {
  position: absolute;
  background-color: white;
  width: 1rem;
  height: 1rem;
  top: calc(50% - 0.5rem);
  left: calc(50% - 0.5rem);
  transform: translate(-50%, -50%);
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-one ul li:nth-child(1),
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-two ul li:nth-child(1) {
  transform: rotate(calc(-1 * -60deg)) translate(4.11em);
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-one ul li:nth-child(2),
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-two ul li:nth-child(2) {
  transform: rotate(calc(-1 * -120deg)) translate(4.11em);
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-one ul li:nth-child(3),
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-two ul li:nth-child(3) {
  transform: rotate(calc(-1 * -180deg)) translate(4.11em);
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-one ul li:nth-child(4),
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-two ul li:nth-child(4) {
  transform: rotate(calc(-1 * -240deg)) translate(4.11em);
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-one ul li:nth-child(5),
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-two ul li:nth-child(5) {
  transform: rotate(calc(-1 * -300deg)) translate(4.11em);
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-one ul li:nth-child(6),
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-two ul li:nth-child(6) {
  transform: rotate(calc(-1 * -360deg)) translate(4.11em);
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-one::before,
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-two::before {
  position: absolute;
  content: "";
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background-color: #716357;
  box-shadow: 0 0 1.6rem rgba(0, 0, 0, 0.36);
  z-index: -1;
  margin: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: scale-one 1800s infinite linear;
  animation-iteration-count: 1;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-one::after,
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-two::after {
  position: absolute;
  content: "";
  width: 9.8rem;
  height: 9.8rem;
  border-radius: 50%;
  background-color: gainsboro;
  border: 0.3rem solid white;
  box-shadow: inset 0 0 0 0.1rem white, inset 0 0 1.6rem 0.3rem rgba(0, 0, 0, 0.3);
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-one {
  grid-area: one;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-two {
  grid-area: two;
  justify-self: end;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-two::before {
  width: 40rem;
  height: 40rem;
  transform: translate(-50%, -50%) scale(0.5);
  animation: scale-two 1800s infinite linear;
  animation-iteration-count: 1;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-center {
  background-color: transparent;
  width: 19.6rem;
  height: 5rem;
  grid-area: tape-center;
  position: relative;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .tape-center::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: gainsboro;
  z-index: -2;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .count {
  display: flex;
  justify-content: space-between;
  background-color: #474747;
  width: 19.6rem;
  height: 4.8rem;
  grid-area: count;
  position: relative;
  outline: 4px solid #474747;
  outline-offset: -2px;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .count .line {
  background-color: #5d5d5d;
  width: 2px;
  height: 1.3rem;
  position: relative;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .count .line:nth-child(1), main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .count .line:nth-child(6), main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .count .line:nth-child(11) {
  height: 2.4rem;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .count .line:nth-child(1)::before, main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .count .line:nth-child(6)::before, main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .count .line:nth-child(11)::before {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  font-weight: 400;
  left: -1.9rem;
  bottom: -2.4rem;
  z-index: 11;
  width: 4rem;
  color: #6c6c6c;
  font-size: 1.8rem;
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .count .line:nth-child(1)::before {
  content: "0";
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .count .line:nth-child(6)::before {
  content: "50";
}
main .tape .tape-inner .tape-upper .label .center .audio-container .audio-tape .count .line:nth-child(11)::before {
  content: "1000";
}
main .tape .tape-inner .tape-upper .label .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-between;
  padding: 0 2.6rem;
  flex-grow: 1;
  background-color: #8c6238;
  height: 5.7rem;
  box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.1);
}
main .tape .tape-inner .tape-upper .label .logo > * {
  flex: 1;
}
main .tape .tape-inner .tape-upper .label .logo p {
  font-size: 2rem;
  color: #fbb03a;
}
main .tape .tape-inner .tape-upper .label .logo p:last-of-type {
  text-align: right;
}
main .tape .tape-inner .tape-upper .label .logo svg {
  height: 3rem;
  width: auto;
}
main .tape .tape-inner .tape-lower {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #393939;
  width: 58rem;
  height: 13rem;
  clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%);
  position: relative;
  filter: blur(1rem);
  z-index: 1;
}
main .tape .tape-inner .tape-lower .pseudo-shadow {
  background-color: #474747;
  border-radius: 0;
  width: 96%;
  height: 96%;
  clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%);
  position: relative;
}
main .tape .tape-inner .tape-lower-layer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58rem;
  height: 13rem;
  clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%);
  position: absolute;
  z-index: 3;
}
main .tape .tape-inner .tape-lower-layer span {
  position: absolute;
  content: "";
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
}
main .tape .tape-inner .tape-lower-layer div {
  position: absolute;
  content: "";
  background-color: gainsboro;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.6rem;
  box-shadow: inset 0 0 0.6rem rgba(0, 0, 0, 0.6);
}
main .tape .tape-inner .tape-lower-layer div:nth-child(2), main .tape .tape-inner .tape-lower-layer div:nth-child(5) {
  border-radius: 50%;
  bottom: 2rem;
}
main .tape .tape-inner .tape-lower-layer div:nth-child(3), main .tape .tape-inner .tape-lower-layer div:nth-child(4) {
  width: 3rem;
  height: 3rem;
  bottom: 4rem;
}
main .tape .tape-inner .tape-lower-layer div:nth-child(3) {
  left: 16rem;
}
main .tape .tape-inner .tape-lower-layer div:nth-child(4) {
  right: 16rem;
}
main .tape .tape-inner .tape-lower-layer div:nth-child(2) {
  left: 8rem;
}
main .tape .tape-inner .tape-lower-layer div:nth-child(5) {
  right: 8rem;
}

.player-ctrl {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #569ef7;
  height: 100vh;
  width: 100%;
}
i {
  font-size: 50px;
  color: white;
  line-height: 50px;
  padding: 13px;
}
h1 {
  font-family: sans-serif;
  padding-left: 20px;
  color: #222;
  font-weight: 300;
}
a {
  background-color: #fb5f70;
  border-radius: 5px;
  padding: 20px;
  width: 50px;
  height: 50px;
  cursor: pointer;
}
