@import url('https://fonts.googleapis.com/css2?family=Waiting+for+the+Sunrise&display=swap');


* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

#paper {
    background-color: white;
    width: 100%;
    margin: 0 auto;
    height: 100%;

}

#pattern {
    height: 100%;
}

#content {
    background-color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}

.title { 
    font-family: 'Waiting for the Sunrise';
    font-size: 5rem;
    color: #cacce7;
    position: absolute;
    width: 100%;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
}

.cassette-shelf {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55%;
}

.cassette-box {
    position: relative;
    z-index: 1;
    width: 140px; 
    height: 170%;
}

.cassette-link {
    display: block;
    width: 100%;
    height: 100%;
}

.cassette-shelf img {
    position: absolute; 
    left: -405px; 
    top: 0;
    width: 900px;
    height: auto;
    transition: top 0.4s ease;
    pointer-events: none; 
}

.cassette-box:hover {
    z-index: 2;
}

.cassette-box:hover img {
    top: -120px;
}

.hitbox {
    display: none;
}

.back-button {
  position: fixed;
  top: 30px;
  left: 30px;
  width: 50px;   /* size */
  height: auto;
  z-index: 100;  /* keep on top */
  display: block;
}

.back-button img {
  width: 100%;
  height: auto;
  display: block;
}
