
body {
    background-color: #1f1f1f;
    max-width: 1024px;
    margin: auto;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Rubik';
    font-size: 1.2rem;
    margin: 0 1rem;
}


h1, h2, h3, h4, h5, h6, p {
    color: #ffffff;
    font-family: 'Rubik';
    max-width: fit-content;
}

h1 {
    font-size: 4rem;
    font-weight: lighter;
    margin: 0;
    padding: 0;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items:center;
    gap: 1%;
}


/*.flex-item {
}
*/

.fancy-box {
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
}

.track-thumb {
    margin-top: 1rem;
    width: 400px;
    height: 200px;
    background-color: #333;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.track-thumb:hover {
    transform: scale(1.05);
}

.track-thumb-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.track-thumb-waveform {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 450px;
    height: 150px;
    overflow: hidden;
}

.track-thumb-title {
    font-size: 1.2rem;
    margin: 0.5rem 0 0 0;
    color: #fff;
    position: absolute;
    bottom: 20px;
    right: 20px;
    text-align: right;
}

.track-content {
    position: relative;
    margin-top: 1rem;
    background-color: #333;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 2em;
}

.track-waveform {
    margin-top: 1rem;
    width: 100%;
    overflow: hidden;
    background-color: whitesmoke;
}

.track-button {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 10;
    padding: 0.5rem 1rem;
    background-color: #ff5722;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.track-button:hover {
    background-color: #e64a19;
}

.spiller-audio-player {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    text-align: left;
    z-index: 11;
}

.spiller-audio-player-title  {
    position: relative;
}

.spiller-audio-player audio {
    max-width: 1024px;
    width: 100%;
    transform: translateX(-20px);
}