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

.format-btn:hover {
    border: none !important;
    box-shadow: none !important;
    background-color: rgba(106, 255, 192, 0.5) !important;
}

.active-style {
    background-color: rgba(106, 255, 192, 0.97) !important;
    border: none !important;
}

.icon-circle {
    width: 30px;
    height: 30px;
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.icon-circle i {
    font-size: 16px;
    color: #6c757d; /* text-muted styled */
    transition: all 0.2s ease;
}

/* Hover efekt */
.icon-circle:hover {
    border-color: var(--bs-primary);
}

.icon-circle:hover i {
    color: var(--bs-primary);
    transform: scale(1.1);
}

.has-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.5s ease;
    opacity: 0;
    font-size: 10px;
    width: 150%;
    background-color: rgba(11, 11, 11, 0.1);
    padding: 8px;
    border-radius: 16px;
}

.has-tooltip:hover::after { opacity: 1; }
