/* ================================= */
/* RESETOWANIE STYLÓW I OGÓLNE USTAWIENIA */
/* ================================= */
body {
    font-family: 'Poppins', sans-serif;
    background: #f4f4f4;
    color: #333;
    height: 100%;
    margin: 0;
    padding: 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}


a[href^="http"] {
    background-image: linear-gradient(135deg, #27d0fa,#ad44c7, #420f7e);
    color: transparent;
    background-clip: text;
}

a {
    text-decoration: none;
    color: white;
}

/* ================================= */
/* NAWIGACJA */
/* ================================= */
.navbar {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    padding: 15px;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: white !important;
}

.navbar-nav .nav-link {
    color: white !important;
    transition: 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #ffeb3b !important;
}

.przywitanie {
    color: white !important;
    display: block;
    margin-top: 6%;
}

/* ================================= */
/* FORMULARZE LOGOWANIA I REJESTRACJI */
/* ================================= */
.form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

.form-container h2 {
    color: #333;
}

/* Przycisk główny */
.btn-primary {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border: none;
    font-size: 15px;
    color: white;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

.btn-primary:active {
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(38, 143, 255, 0.7);
}

/* ================================= */
/* KARTY UTWORÓW */
/* ================================= */
.song-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 15px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    min-height: 200px;
    width: 100%;
}

/* Okładka utworu */
.song-artwork {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.song-artwork img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

/* Szczegóły utworu */
.song-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Nagłówek utworu */
.song-details h4 {
    margin-bottom: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Opis utworu */
.song-details p {
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Przycisk w karcie */
.song-card .btn {
    width: auto;
    padding: 5px 15px;
    border-radius: 5px;
    margin-top: 10px;
}

/* Efekty hover na kartach */
.song-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.song-card .audio-wrapper {
    margin-top: 10px;
}

.song-card .audio-wrapper audio {
    width: 100%;
    border-radius: 5px;
    background-color: #f4f4f4;
    padding: 10px;
}

/* ================================= */
/* TABELE */
/* ================================= */

th a {
    color: black;
}

/* ================================= */
/* STOPKA */
/* ================================= */
footer {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    text-align: center;
    padding: 20px;
    bottom: 0;
    margin-top: auto;
    width: 100%;
}

/* ================================= */
/* DODATKOWE STYLIZACJE */
/* ================================= */
.card {
    background: linear-gradient(135deg, #2ec5f5, #1a8cf0, #0a53c0);
}

.card-title, .card-text {
    font-weight: bold;
    text-align: center;
}

.card-text {
    font-size: 150%;
}

/* Stylizacja tekstu na stronie głównej */
.ql-align-right {
    text-align: right;
}

.ql-align-center {
    text-align: center;
}

.ql-align-left {
    text-align: left;
}

.ql-align-justify {
    text-align: justify;
}

#kolor {
    background-image: linear-gradient(135deg, #27d0fa,#ad44c7, #420f7e);
    color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    font-weight: 700 !important;
}

/* Stylizacja scrollbara dla przeglądarek opartych na WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 16px; /* Szerokość scrollbara */
    height: 12px; /* Wysokość scrollbara (dla poziomego scrollbar) */
}

/* Stylizacja tła scrollbara */
::-webkit-scrollbar-track {
    background: #f0f0f0; /* Jasnoszare tło scrollbara */
    border-radius: 10px; /* Zaokrąglone rogi tła */
}

/* Stylizacja uchwytu scrollbara */
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient jako tło uchwytu */
    border-radius: 10px; /* Zaokrąglone rogi uchwytu */
    border: 3px solid #f0f0f0; /* Obramowanie uchwytu (dopasowane do tła) */
}

/* Stylizacja uchwytu po najechaniu kursorem */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb); /* Zmiana gradientu na hover */
}

/* Stylizacja przycisków strzałek na górze i dole paska przewijania */
::-webkit-scrollbar-button {
    background-color: #2575fc;
    border-radius: 10px;
    height: 16px;
    width: 16px;
}

/* Strzałka w górę */
::-webkit-scrollbar-button:vertical:decrement {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath fill="%23ffffff" d="M12 7l-5 5h10z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: center;
}

/* Strzałka w dół */
::-webkit-scrollbar-button:vertical:increment {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath fill="%23ffffff" d="M12 17l5-5H7z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: center;
}   

::selection {
    background: #6a11cb; /* Fioletowy kolor */
    color: white; /* Biały tekst */
}

/* Dla Firefox */
::-moz-selection {
    background: #6a11cb;
    color: white;
}

/*Galeria*/
.swiper {
    width: 100%;
    height: 700px;
    z-index: 800 !important;
    margin-bottom: 40px;
    margin-top: 25px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px; /* Ustal minimalną szerokość slajdu */
    flex-shrink: 0; /* Zapobiega zmniejszaniu slajdu */
    overflow: hidden;
    width: 100%;
    max-width: 100% !important;
  }

  .swiper-slide img {
    display: block;
    width: auto;
    height: 100%;
    object-fit: contain;
  }

  @media (max-width: 768px) {
    .swiper {
      height: 500px; /* Dostosuj wysokość dla telefonów */
    }
    
    .swiper-slide img {
      height: 100%; 
      object-fit: contain; /* Zapobiega przycięciu obrazów */
    }
  }