.blurred-background {
    position: relative;
    background: rgba(255, 255, 255, 0.0);
    overflow: hidden;
}

.blurred-background::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;

    background: inherit;

    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);

    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 33%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 33%);
    z-index: -1;
}

/*!* Dark mode *!*/
/*@media (prefers-color-scheme: dark) {*/
/*    .blurred-background {*/
/*        background: rgba(255, 255, 255, 0.0);*/
/*    }*/

/*    .blurred-background::before {*/
/*        -webkit-backdrop-filter: blur(10px);*/
/*        backdrop-filter: blur(10px);*/

/*        -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 33%);*/
/*        mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 33%);*/
/*    }*/
/*}*/

.rounded-20 {
    border-radius: 20px
}

.text-justify {
    text-align: justify !important;
}

.image-with-mask {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-size: cover;
    mask-size: cover;
}

.video-container {
    display: flex;
    justify-content: end;
    align-items: center;
    height: 400px; /* Nastavte výšku kontajnera */
    width: 100%; /* Zabezpečuje, že kontajner bude flexibilný */
}

.video-wrapper {
    display: flex;
    justify-content: end;
    align-items: center;
    max-width: 100%;
    max-height: 400px;
}

.video {
    border-radius: 50%;
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
}

.text-c-primary {
    color: rgb(39, 54, 83) !important;
}

 .slide-wrapper {
     background-size: cover; /* Obrázok pokryje celý element */
     background-position: center; /* Obrázok bude centrovaný */
     background-repeat: no-repeat; /* Obrázok sa nebude opakovať */
     height: 100vh; /* Celá výška obrazovky */
     width: 100%; /* Šírka na 100% elementu */
 }

.content {
    position: relative; /* Obsah bude nad pozadím */
    z-index: 1; /* Obsah bude nad obrázkom */
}

.carousel-item > h2 {
    font-size: clamp(1.5rem, 5vw, 3rem);
}

.carousel-item > p {
    font-size: 14px !important;
}

/* Fixovanie šípok v Bootstrap carousel */
#prev-button, #next-button {
    position: absolute;
    top: 40vh; /* Umiestnime šípky na 45% výšky obrazovky */
    transform: translateY(-50%); /* Vertikálne zarovnanie šípok na stred */
    z-index: 10; /* Zabezpečí, že šípky budú nad obsahom */
}

.carousel-control-prev, .carousel-control-next {
    width: 48px !important;
}

#prev-button {
    left: 10px; /* Odsadenie šípky zľava */
}

#next-button {
    right: 10px; /* Odsadenie šípky sprava */
}

.span-bottom-left {
    bottom: 6px; /* Odsadenie od spodného okraja */
    right: 6px; /* Odsadenie od ľavého okraja */
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.span-bottom-center {
    bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.btn-animate {
    position: relative;
    overflow: hidden; /* skryje všetko, čo je mimo tlačidla */
    display: inline-block;
}

.btn-animate .btn-txt {
    display: block;
    transition: transform 0.4s ease;
    position: relative;
}

.btn-animate .btn-txt::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 150%;
    width: 100%;
    text-align: center;
    transition: transform 0.4s ease;
}

.btn-animate:hover .btn-txt {
    transform: translateY(-150%); /* pôvodný text ide hore */
}

.btn-animate:hover .btn-txt::after {
    transform: translateY(0%); /* nový text príde zospodu */
}


@media (max-width: 992px) {
    .color-point-boxes .border-end {
        border-right: none !important;
    }
}
@media (min-width: 991px) {
    .color-point-boxes .border-end.border-bottom:not(:first-of-type) {
        border-bottom: none !important;
    }
}

.review-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.review-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 1.5em; /* výška riadka */
    background: linear-gradient(to right, transparent, rgba(250, 250, 250, 1) 50%);
}

.see-more-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 12px;
    background: rgba(250, 250, 250, 1);
    padding-left: 4px;
    color: var(--bs-heading-color);
    cursor: pointer;
    z-index: 2;
}
