@import url('https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&display=swap');

.content-warp {
    width:100%;
    height: auto;
    z-index: 0;
}

.background-img {
    position: absolute;
    /* max-width: 720px;
    max-height: 432px; */
    max-width: 600px;
    max-height: 360px;
    width: 100%;
    height: 100vh;
    background-image: url("./src/cherryblossom.gif");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.lyrics {
    position: absolute;
    color: black;
    font-size: 0.8rem;
    transition: 1s;
    text-align: justify;
    top:22%;
    left: 40%;
    z-index: 3;
    opacity: 0;
    font-family: 'Hachi Maru Pop', cursive;
}

.visible {
    transform: translateY(2rem);
    opacity: 1;
}

.lyrics-bar {
    position: absolute;
    top: calc(40% + -0.5rem);
    left: 40%;
    width: 2%;
    height: 0.3rem;
    border-radius: 0.5rem;
    background-color: gray;
    transition: 2s;
}

.playing-text {
    position: absolute;
    top: calc(40%);
    left: 40%;
    font-size: 0.7rem;
    font-family: 'Hachi Maru Pop', cursive;

    animation-name:cursor;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

@keyframes cursor { 
    0%{border-right: 1px solid #fff} 
    50%{border-right: 1px solid #000} 
    100%{border-right: 1px solid #fff} 
}

.disk {
    position: absolute;
    background-image: url(./src/disk.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 50px;
    height: 50px;
    top: 32%;
    left: calc(40% - 55px);
    z-index: 4;
}

.disk.playing{
    animation-name:spinner;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spinner {
    100%{transform: rotate(360deg);}
}