:root {
    background-color: #456798;
    color: white;
    font-family: 'Raleway';
    user-select: none;
    overflow: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes show-playing {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes remove-playing {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

.playing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
    animation: show-playing 0.3s ease-out forwards;
    &.fadeout {
        animation: remove-playing 0.3s ease-out forwards;
    }
    span {
        text-shadow: 4px 4px 4px #0000001a;
    }
    .cover {
        width: 400px;
        border-radius: 4px;
        box-shadow: 8px 8px 8px #0000003a;
        margin-bottom: 0.6rem;
    }
    .title {
        font-size: 2rem;
        font-weight: 450;
    }
    .artist {
        font-size: 1.2rem;
    }
    .album {
        font-style: italic;
    }
}
