html, body {
    font-size: 14px;
    height: 100%;
}

@media (min-width: 768px) {
    html, body {
        font-size: 16px;
        height: 100%;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin-bottom: 0; 
    background-image: url('https://www.radiobutler.com/swaboo_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.text-white {
    color: #efd7d7; 
}

main {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    width: 100%;
}

    .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

.footer-content {
    position: relative;
    z-index: 1;
    padding: 20px 0;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    color: #ff9999;
}

.card {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
}

.card-header {
    background-color: rgba(0, 130, 200, 0.5);
    border-bottom: none;
}

.coming-soon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

body.loading {
    pointer-events: none;
    opacity: 0.7;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.navbar .container-fluid {
    min-height: 60px; 
}

#loadingText {
    margin-top: 20px;
    color: white;
    font-size: 18px;
    font-family: 'Kalam', cursive;
}

#currentTrackContainer {
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

#currentTrack {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
    display: inline-block;
    animation: fadeInOut 2s ease-in-out;
}

.navbar-brand, .nav-link {
    position: relative;
    z-index: 2;
}

#featuresSelection .row {
    align-items: center;
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 5px; /* Abstand zwischen Radiobutton und Label */
}