body {
    background: linear-gradient(95.2deg, rgba(13, 110, 253, .25) 26.8%, rgba(192, 229, 246, 1) 64%)
}

.capitalize {
    text-transform: capitalize;
}

.bubble-name {
    border-radius: 50px;
    /* Gives the bubble shape */
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: float 3s infinite ease-in-out alternate, wiggle 4s infinite linear;
}

.bubble-name.my-bubble {
    border: 3px solid rgba(52, 206, 87, 1);
}

.bubble-name:nth-child(odd) {
    animation-delay: 0.2s, 0.5s;
}

.bubble-name:nth-child(even) {
    animation-delay: 0.6s, 1s;
}

/* Floating animation */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5px);
    }
}

/* Subtle random movement in different directions */
@keyframes wiggle {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    25% {
        transform: translate(-1px, 2px) rotate(1deg);
    }

    50% {
        transform: translate(2px, -1px) rotate(-1deg);
    }

    75% {
        transform: translate(-1px, -2px) rotate(1deg);
    }

    100% {
        transform: translate(1px, 1px) rotate(0deg);
    }
}

.runningQuizCustomAnswerButton.square-yellow .span-icon-wrapper {
    background-color: rgb(255, 201, 71);
    border: 1px solid rgb(255, 201, 71);
}

.runningQuizCustomAnswerButton.square-yellow .custom-answer-text {
    border: 1px solid rgb(255, 201, 71);
    color: rgb(255, 201, 71);
}

.runningQuizCustomAnswerButton.square-yellow:not(.currently-clicked):hover .custom-answer-text,
.runningQuizCustomAnswerButton.square-yellow.clicked .custom-answer-text {
    background-color: rgb(255, 201, 71);
}

.runningQuizCustomAnswerButton.circle-green .span-icon-wrapper {
    background-color: rgb(56, 202, 124);
    border: 1px solid rgb(56, 202, 124);
}

.runningQuizCustomAnswerButton.circle-green .custom-answer-text {
    border: 1px solid rgb(56, 202, 124);
    color: rgb(56, 202, 124);
}

.runningQuizCustomAnswerButton.circle-green:not(.currently-clicked):hover .custom-answer-text,
.runningQuizCustomAnswerButton.circle-green.clicked .custom-answer-text {
    background-color: rgb(56, 202, 124);
}


.runningQuizCustomAnswerButton.star-sky .span-icon-wrapper {
    background-color: rgb(102, 195, 225);
    border: 1px solid rgb(102, 195, 225);
}

.runningQuizCustomAnswerButton.star-sky .custom-answer-text {
    border: 1px solid rgb(102, 195, 225);
    color: rgb(102, 195, 225);
}


.runningQuizCustomAnswerButton.star-sky:not(.currently-clicked):hover .custom-answer-text,
.runningQuizCustomAnswerButton.star-sky.clicked .custom-answer-text {
    background-color: rgb(102, 195, 225);
}

.runningQuizCustomAnswerButton.heart-red .span-icon-wrapper {
    background-color: rgb(235, 87, 87);
    border: 1px solid rgb(235, 87, 87);
}

.runningQuizCustomAnswerButton.heart-red .custom-answer-text {
    border: 1px solid rgb(235, 87, 87);
    color: rgb(235, 87, 87);
}

.runningQuizCustomAnswerButton.heart-red.clicked .custom-answer-text,
.runningQuizCustomAnswerButton.heart-red:not(.currently-clicked):hover .custom-answer-text {
    background-color: rgb(235, 87, 87);
}

.runningQuizCustomAnswerButton .custom-answer-text {
    background-color: white;
    font-weight: bold;
    transition: all 200ms;
}

.runningQuizCustomAnswerButton:not(.currently-clicked):hover .custom-answer-text,
.runningQuizCustomAnswerButton.clicked .custom-answer-text {
    color: white;
}


.runningQuizCustomAnswerButton {
    transition: all 200ms;
    cursor: pointer;
}

.runningQuizCustomAnswerButton:not(.currently-clicked):hover {
    transform: scale(1.03);
}

.runningQuizCustomAnswerButton:active {
    transform: scale(0.95);
}


.glossy-block {
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glossy-table-wrapper {
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.69);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}


#runningBreakSection .interractiveElement {
    pointer-events: none;
}

.interractiveElement.disabled {
    pointer-events: none;
}

.correct-answer {
    pointer-events: none;
    color: #34ce57 !important;
    font-weight: bold;
    border-color: rgba(52, 206, 87, 1) !important;
    box-shadow: 0 0 0 .4rem rgba(52, 206, 87, .5);
}

.incorrect-answer {
    pointer-events: none;
    color: #dc3545 !important;
    font-weight: bold;
    border-color: rgba(220, 53, 69, 1) !important;
    box-shadow: 0 0 0 .4rem rgba(220, 53, 69, .5);
}

.runningQuestionNumberAnswerInputGroup {
    width: 25% !important;
}

.runningQuestionNumberAnswerInputGroup input::-webkit-outer-spin-button,
.runningQuestionNumberAnswerInputGroup input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.runningQuestionNumberAnswerInputGroup input {
    -moz-appearance: textfield;
}

.runningQuizCustomAnswersSection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem
}

.pollAnswers {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: max-content 1fr;
    grid-auto-rows: minmax(2rem, auto); /* Sets a minimum height of 50px for each row */

    align-items: center;
}

.pollAnswerStat {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    z-index: 35;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
}

.pollAnswerStatVisual {
    height: 100%;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.61);
    backdrop-filter: blur(5.4px);
    -webkit-backdrop-filter: blur(5.4px);
    border-radius: 1rem;

}

.pollAnswerStatWrapper {
    width: 100%;
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
}


@media (max-width: 768px) {

    .runningQuestionNumberAnswerInputGroup {
        width: 100% !important;
    }

    .runningQuizCustomAnswersSection {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}