* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #3d3d3d;
}

.container {
    min-height: 100vh;
    background: url(rain.svg);
    animation: rain 0.3s linear infinite;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

@keyframes rain {
    from {background-position: 0 0;}
    to {background-position: 0 500px;}
}

#sprite-image {
    width: 26%;
    height: 0;
    padding-bottom: 26%;
    background: url("spritesheet.png");
    background-size: 700%;
    animation: play 1s steps(6) infinite;
    animation-play-state: paused;
}

@keyframes play {
    from { background-position: 0% 0; }
    to { background-position: 100% 0; }
}

@media (max-width: 768px) {
    #sprite-image {
        width: 80%;
        height: 0;
        padding-bottom: 80%;
    }
}

.music-container {
    background-color: #222225;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 20px 20px;
    /* position: relative; */
    margin: 50px 0;
    z-index: 10;
}
  
.action-btn {
    border: 0;
    height: 30px;
    width: 30px;
    cursor: pointer;
}
  
.action-btn.play {
    background: url("play.svg");
}
  
.action-btn.pause {
    background: url("pause.svg");
}
  
.action-btn:focus {
    outline: 0;
}
  
.slider {
    -webkit-appearance: none;
    width: 100px;
    height: 12px;
    border-radius: 10px;
    background: #dfdbdf;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin-left: 10px;
}
  
.slider:hover {
    opacity: 1;
}
  
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #cdc2d0;
    cursor: pointer;
}

.credit {
    display: flex;
    width: 100%;
    justify-content: right;
    align-items: center;
    margin-top: 2rem;
}