.bg-lightpurple {
    background-color: #aa8aee;
    color: white;
    font-size: 1em;
    padding: 15px !important;
    margin: 10px !important;
}

.bg-lightgreen {
    position: relative; /* Aby umożliwić pozycjonowanie absolutne tła */
    font-size: 1em;
    padding: 5px !important;
    margin: 5px !important;
}

.bg-lightgreen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: lightgreen;
    opacity: 0.2;
    z-index: 1; /* Ustawienie warstwy tła */
}

.bg-lightgreen > * {
    position: relative;
    z-index: 2; /* Ustawienie warstwy tekstu nad tłem */
    color: #0a67b0 !important; /* Kolor tekstu */
}

.bg-lightblue {
    position: relative; /* Aby umożliwić pozycjonowanie absolutne tła */
    font-size: 1em;
    padding: 15px !important;
    margin: 5px !important;
}

.bg-lightblue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3bb0e5;
    opacity: 0.2;
    z-index: 1; /* Ustawienie warstwy tła */
}

.bg-lightblue > * {
    position: relative;
    z-index: 2; /* Ustawienie warstwy tekstu nad tłem */
    color: #0a67b0 !important; /* Kolor tekstu */
}

.bg-lightgreenYellow {
    background-color: #e3d57b;
    color: white;
    font-size: 1em;
    padding: 15px !important;
    margin: 10px !important;
}


.text-black {
    color: black !important;
}

.text-white {
    color: white !important;
}

.hidden {
    display: none;
}

.equal-height-card, .equal-height-map {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card {
    margin-bottom: 20px;
}

@media (max-width: 767.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .card-header, .card-body, .card-footer {
        text-align: center;
    }

    .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .h4 {
        font-size: 1.2em;
    }

    .pt-4, .pb-10 {
        padding-top: 1rem;
        padding-bottom: 2.5rem;
    }

    #map {
        height: 300px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 960px;
    }

    .equal-height-card {
        height: 100%;
    }

    .equal-height-map {
        height: 600px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .row > .col-md-8, .row > .col-md-4 {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
}

/* Dodane nowe klasy CSS */
.no-margin-padding {
    margin: 0;
    padding: 0;
}

.card-container {
    display: none;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999; /* Wysoki z-index, aby karta była na wierzchu */
    width: 90%; /* Dopasowanie szerokości kontenera kart */
    max-width: 500px; /* Maksymalna szerokość karty */
}

.ivory-background {
    background-color: ivory; /* Tło koloru kości słoniowej */
    padding: 20px; /* Opcjonalnie: dodanie odstępu wewnętrznego */
    border-radius: 10px; /* Opcjonalnie: zaokrąglenie rogów */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Opcjonalnie: dodanie cienia */
}

.ivory-background .card,
.ivory-background .card-header,
.ivory-background .card-body,
.ivory-background .card-footer {
    background-color: ivory;
}

.ivory2-background {
    background-color: #f1f1ee; /* Tło koloru kości słoniowej */
    padding: 20px; /* Opcjonalnie: dodanie odstępu wewnętrznego */
    border-radius: 10px; /* Opcjonalnie: zaokrąglenie rogów */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Opcjonalnie: dodanie cienia */
}

.ivory2-background .card,
.ivory2-background .card-header,
.ivory2-background .card-body,
.ivory2-background .card-footer {
    background-color: #f6f6f2;
}