.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;*/
/*}*/

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

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

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

#study-carousel .text-slide {
    font-size: 24px;
}

/* SM */
@media (max-width: 767px) {
    #study-carousel .text-slide {
        font-size: 16px;
    }

    #study-carousel .text-slide h1 {
        font-size: 20px;
    }

    #study-carousel .display-1 {
        font-size: 36px;
    }

    #study-carousel .display-5 {
        font-size: 26px;
    }
}





.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;
}
