#foto-principal {
    position: sticky;
    top: 60px;
}

/* .foto-active {
    opacity: 0.3;
    transition: opacity 0.7s ease 0.3s;
}

.foto-deactive {
    opacity: 1;
    transition: opacity 0.7s ease 0.3s;
} */

#data-elenco {
    max-width: 100%;
}

@media (max-width: 575px) {
    #data-elenco {
        overflow-x: hidden;
    }

    .titulo-elenco {
        opacity: 0;
    }

    #foto-principal {
        top: 0;
        margin-bottom: 20px;
    }
}

#lista-elenco {
    padding-top: 20px !important;
    width: 100%;
    padding: 0;
    overflow: scroll;
    user-select: none;
    scrollbar-width: none;
}

    #lista-elenco::-webkit-scrollbar {
        display: none;
    }

.lista-elenco-foto {
    min-height: 5rem;
    max-height: 5rem;
    min-width: 5rem;
    max-width: 5rem;
    margin: 0 15px;
    border-radius: 50%;
    display: inline-block;
    list-style-type: none;
    cursor: pointer;
    filter: grayscale(100%);
}

    .lista-elenco-foto img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 50%;
    }


.gradient-border-mask-m {
    position: relative;
    padding: 0.3rem;
    backdrop-filter: blur(10px);
  }
  
    .gradient-border-mask-m::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 3px solid transparent;
        background: linear-gradient(140deg, rgba(215,19,19,1) 0%, rgb(255 139 139) 30%, rgba(125,125,125,1) 100%) border-box;
        mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
        mask-composite: exclude;
    }


.caret {
    text-align: center;
    position: absolute;
    font-size: 3rem;
    width: 50px;
    height: 6rem;
    color: rgba(0, 0, 0, 0.288);
    cursor: pointer;
    user-select: none;  
    transform: translateY(-10%);
    padding-top: 10px;
}

#caret-left {
    background: linear-gradient(90deg, rgba(109, 109, 109, 0.250) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 50;
    left: 0px;
}

#caret-right {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(109, 109, 109, 0.250) 100%);
    z-index: 50;
    right: 0px;
}

