/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .testo {
        width: 100%;
    }
    .pulsante {
        width: 50%;
    }
    .immagine {
        width: 100%;
    }
    .card {
        width: 260px;
    }
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .testo {
        width: 75%;
    }
    .pulsante {
        width: 25%;
    }
    .immagine {
        width: 40%;
    }
    .card {
        width: 360px;
    }
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  filter: invert(1);
}

.immagine-errore {
    max-width: 30em;
}

.video-player {
    position: relative;
    cursor: pointer;
    width: fit-content;
}
.video-player .copertina-video {
    min-width: 250px;
}
.video-player .pulsante-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.section-link:hover {
    --bs-link-underline-opacity: 100;
}