* {
    box-sizing: border-box;
}

/* Niente scroll-behavior: smooth, va in conflitto con ScrollTrigger:
   lo scroll morbido dei link lo gestisce main.js */
html {
    scroll-padding-top: 100px;
}

/* Particelle della banda AI */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 10%;
    animation-delay: 3s;
    animation-duration: 5s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Titoli delle card piu' piccoli su mobile; da 769px si torna agli 1.02rem
   di .card-title in blueprint.css (h5.card-title lo supererebbe) */
h5.card-title {
    font-size: 0.90rem;
}

@media (min-width: 769px) {
    h5.card-title {
        font-size: 1.02rem;
    }
}
