/* WRITING */

.form-control::placeholder {
    color: #666;
    opacity: 1;
}

.choice_title {
    width: 100%;
    padding-left: 10px;
    margin-bottom: 2px;
}

.choice_description {
    font-size: 14px;
    padding-left: 10px;
    color: #888;
    margin-bottom: 6px;
}

.choices__list--dropdown, .choices__list[aria-expanded] {
    word-break: normal;
}

.choices .choices__list--dropdown {
    background-color: #eee;
}
.choices .choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #ccc;
}


[data-bs-theme=dark] .choices .choices__list--dropdown {
    background-color: #222;
}
[data-bs-theme=dark] .choices .choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #444;
}


/* CONFETTI */

@keyframes confetti-slow {
    0% {
        transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
    }
    100% {
        transform: translate3d(25px, 105vh, 0) rotateX(360deg) rotateY(180deg);
    }
}

@keyframes confetti-medium {
    0% {
        transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
    }
    100% {
        transform: translate3d(100px, 105vh, 0) rotateX(100deg) rotateY(360deg);
    }
}

@keyframes confetti-fast {
    0% {
        transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
    }
    100% {
        transform: translate3d(-50px, 105vh, 0) rotateX(10deg) rotateY(250deg);
    }
}

.js-container {
    height: 0px;
    left: 0px;
    position: fixed !important;
    top: 0px;
    width: 0px;
    z-index: 1111;
    pointer-events: none;

}

.confetti-container {
    pointer-events: none;


    perspective: 700px;
    position: absolute;
    overflow: hidden;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.confetti {
    position: absolute;
    z-index: 1;
    top: -10px;
    border-radius: 0%;
}

.confetti--animation-slow {
    animation: confetti-slow 2.25s linear 1 forwards;
}

.confetti--animation-medium {
    animation: confetti-medium 1.75s linear 1 forwards;
}

.confetti--animation-fast {
    animation: confetti-fast 1.25s linear 1 forwards;
}
