* {
    font-family: "Poppins", sans-serif;

}

#loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    color: #000;
    z-index: 1000;
    /* Ustaw wysoką wartość, aby upewnić się, że loader jest na wierzchu */
}

.visualization {
    position: relative;
    width: 100%;
    height: 65vh;
    background: transparent;
    /* Ustaw przezroczyste tło */

}

/* .controls {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.controls button {
    display: block;
    margin: 5px 0;
} */
.fullscreen-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}

#tooltip {
    z-index: 2000;
    /* Bardzo wysoki z-index */
    position: absolute;
    background: white;
    color: black;
    border: 1px solid black;
    padding: 5px;
    border-radius: 3px;
}

@keyframes handAnimation {
    0% {
        transform: translateX(-50%) scale(1);
    }

    10% {
        transform: translateX(-50%) scale(0.9);
    }

    20% {
        transform: translateX(-90%) scale(0.9);
        /* Zdecydowanie większe przesunięcie w lewo */
    }

    30% {
        transform: translateX(-50%) scale(0.9);
    }

    40% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(0.9);
    }

    60% {
        transform: translateX(-10%) scale(0.9);
        /* Zdecydowanie większe przesunięcie w prawo */
    }

    70% {
        transform: translateX(-50%) scale(0.9);
    }

    80% {
        transform: translateX(-50%) scale(1);
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}


#hand-icon {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    /* Możesz dostosować rozmiar do swoich potrzeb */
    height: auto;
    z-index: 20;
    /* Upewnij się, że z-index jest odpowiednio wysoki */
    animation: handAnimation 4s infinite;

}

.sidebar {
    background-color: #e0e0e0;
    color: #555;
    /* Jasnoszare tło dla kolumny */
    height: 65vh;
    /* Pełna wysokość ekranu */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.sidebar .text {
    font-size: 20px;
}

.sidebar .count {
    font-size: 48px;
    font-weight: bold;
}

.img-fluid {

    display: block;
    max-width: 100%;
    height: auto;

}

.img-container {
    text-align: -webkit-right !important;
    /* Przesunięcie zawartości do prawej strony */
}

#czapla_biala img {

    max-width: 100%;
    height: auto;
    /* Zachowanie proporcji obrazu */
    max-height: 841px;
    /* Ustawienie maksymalnej wysokości obrazu */
    width: auto;
    /* Zapewnienie, że obraz nie wykracza poza szerokość kontenera */
    object-fit: contain;


}

#czapla_szara img {

    max-width: 100%;
    height: auto;
    /* Zachowanie proporcji obrazu */
    max-height: 790px;
    /* Ustawienie maksymalnej wysokości obrazu */
    width: auto;
    /* Zapewnienie, że obraz nie wykracza poza szerokość kontenera */
    object-fit: contain;


}

.czapla-mob {
    display: none;
}

#zuraw img {
    max-width: 100%;
    height: auto;
    /* Zachowanie proporcji obrazu */
    max-height: 868.13px;
    /* Ustawienie maksymalnej wysokości obrazu */
    width: auto;
    /* Zapewnienie, że obraz nie wykracza poza szerokość kontenera */
    object-fit: contain;
}

canvas {
    background: white;
}

#czapla_biala,
#czapla_szara,
#zuraw {
    padding-top: 20vh;
    padding-bottom: 5vh;
    height: auto;
}

#czapla_biala h1,
#czapla_szara h1,
#zuraw h1 {
    font-size: 1.5625vw;
    color: #8D9B69;
    margin-bottom: 8px;
}

#czapla_biala h2,
#czapla_szara h2,
#zuraw h2 {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 3.6458vw;
    color: #102A4F;
}

#czapla_biala p,
#czapla_szara p,
#zuraw p {
    margin-top: 4vh;
    font-weight: 300;
    font-size: 1.0417vw;
    color: #102A4F;
}

.text-container {
    padding-left: 10vw;
}

.text-container2 {
    padding-right: 7vw;
}

#czapla_biala .row,
#czapla_szara .row,
#zuraw .row {
    align-items: center;
}

#czapla_biala h1 {
    color: #CEA88A;
}

#czapla_biala #see_apartment_btn {
    background-color: #CEA88A;
}



#see_apartment_btn {
    margin-top: 5vh;
    border: none;
    border-radius: 48px;
    height: 3.6458vw;
    width: 25vw;
    font-size: 1.5625vw;
}

#czapla_szara h1 {
    color: #415072;
}

#czapla_szara #see_apartment_btn {
    background-color: #415072;
}



#zuraw h1 {
    color: #8D9B69;
}

#zuraw #see_apartment_btn {
    background-color: #8D9B69;
}



/* Style dla telefonów */
@media (max-width: 768px) {
    .czapla-kom {
        display: none;
    }

    .czapla-mob {
        display: block;
    }

    canvas {
        height: 33vh;
    }

    .visualization {
        height: 50vh;
        /* background-size: cover;
        background-position: center; */
        /* background-image: url('../images/photos/Apartamenty/main.png'); */
    }


    #czapla_biala,
    #czapla_szara,
    #zuraw {
        padding-top: 5vh;
        padding-bottom: 5vh;
        height: auto;
    }

    .text-container {
        padding-left: 5vw;
    }

    .text-container2 {
        padding-left: 5vw;
    }


    .button-container2 {
        text-align: center;
    }

    #czapla_biala p,
    #czapla_szara p,
    #zuraw p {
        font-size: 18px !important;

    }

    #czapla_biala h1,
    #czapla_szara h1,
    #zuraw h1 {
        font-size: 20px;

    }

    #czapla_biala h2,
    #czapla_szara h2,
    #zuraw h2 {
        font-size: 30px;

    }

    /* #czapla_biala .col-md-7,
    #zuraw .col-md-7 {
        padding-left: 5vh;
        margin-top: 5vh;
    } */

    #see_apartment_btn {
        width: 100%;
        margin-top: 5vh;
        height: auto;
        /* margin-bottom: 5vh; */
        font-weight: 500;
        padding: 10px 25px 10px 25px;
        border: none;
        border-radius: 48px;
        font-size: 18px;
    }

    #czapla_biala #see_apartment_btn,
    #zuraw #see_apartment_btn,
    #czapla_szara #see_apartment_btn {
        margin-bottom: 5vh;
    }


}