@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


html, body {
    font-family: 'Lato', sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #ff0081;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4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em, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/*-----------------------------Balloon-----------------------------*/
:root {
    --x-offset: 25px;
    --y-offset: 25px;
    --animation-duration: 3s;
    --fade-in-delay: 0s;
}

.x {
    --name: horizontal;
    --duration: var(--animation-duration);
    --delay: calc(-0.25 * var(--animation-duration));
}

.y {
    --name: vertical;
    --duration: calc(0.5 * var(--animation-duration));
    --delay: 0s;
}

.x, .y {
    --animation: var(--duration) ease-in-out var(--delay) alternate infinite var(--name);
}

@keyframes vertical {
    from {
        transform: translateY(calc(-1 * var(--y-offset)));
    }

    to {
        transform: translateY(var(--y-offset));
    }
}

@keyframes horizontal {
    from {
        transform: translateX(calc(-1 * var(--x-offset)));
    }

    to {
        transform: translateX(var(--x-offset));
    }
}

@keyframes fade-in-details {
    from {
        opacity: 0
    }

    to {
        opacity: 1;
    }
}

.player-balloon {
    width: 100px;
    position: relative;
    font-weight: bold;
    text-transform: uppercase;
    color: #ff0081;
}

.player-balloon img{
    width: 100px;
    height: 100px;
    border-radius: 50%;

}

    .player-balloon.small {
        width: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: -20px;
    }
    
    .player-balloon.small img{
        width: 60px;
        height: 60px;
    }

.x, .y {
    box-sizing: border-box;
    text-align: center;
    animation: var(--animation), 1s var(--fade-in-delay) cubic-bezier(0.75, 0, 0.55, 0.95) forwards fade-in-details
}


/*-----------------------------Quiz-----------------------------*/
.quiz-wrap {
    
}
.quiz-wrap .image-wrap{
    text-align: center;
}
    .quiz-wrap .image-wrap .quiz-image {
        max-height: 40vh;
        width: auto;
        max-width: 80vw;
        object-fit: cover;
    }
.quiz-title {
    text-transform: uppercase;
    font-size: 2em;
    font-weight: bold;
}
.quiz-content {
    text-transform: uppercase;
    font-size: 2em;
    font-weight: bold;
}
.quiz-answer {
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    font-size: 2em;
    font-weight: bold;
}

.quiz-answer-button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    font-size: 2em;
    font-weight: bold;
    background: #eee;
    cursor: pointer;
}

    .quiz-answer-button.selected {
        background: purple;
        color: white;
    }

.feedback {
    font-weight: bold;
    font-size: 2em;
    text-transform: uppercase;
    padding: 10px 20px;
    color: #ff0081;
    margin: 10px auto;
    border-radius: 5px;
}

/*-------------------------PHONE UI---------------------------------*/
.bubbly-button {
    font-family: 'Lato', sans-serif;
    display: inline-block;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    padding: 1em 2em;
    -webkit-appearance: none;
    appearance: none;
    background-color: #ccc;
    color: #333;
    border-radius: 4px;
    width: 100%;
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform ease-in 0.1s, box-shadow ease-in 0.25s;
    box-shadow: 0 2px 5px rgba(10, 10, 10, 0.5);
}

    .bubbly-button.selected {
        background-color: #ff0081;
        color: #fff;
        box-shadow: 0 2px 5px rgba(255, 0, 130, 0.5);
    }

    .bubbly-button:focus {
        outline: 0;
    }

    .bubbly-button:before, .bubbly-button:after {
        position: absolute;
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        left: 0%;
        z-index: -1000;
        transition: all ease-in-out 0.5s;
        background-repeat: no-repeat;
    }

    .bubbly-button:before {
        display: none;
        top: -75%;
        background-image: radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, transparent 20%, #ff0081 20%, transparent 30%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, transparent 10%, #ff0081 15%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%);
        background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
    }

    .bubbly-button:after {
        display: none;
        bottom: -75%;
        background-image: radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, transparent 10%, #ff0081 15%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%);
        background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%;
    }

    .bubbly-button:active {
        transform: scale(0.9);
        background-color: #e60074;
        box-shadow: 0 2px 25px rgba(255, 0, 130, 0.2);
    }

    .bubbly-button.animate:before {
        display: block;
        animation: topBubbles ease-in-out 0.75s forwards;
    }

    .bubbly-button.animate:after {
        display: block;
        animation: bottomBubbles ease-in-out 0.75s forwards;
    }

@keyframes topBubbles {
    0% {
        background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%;
    }

    50% {
        background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%;
    }

    100% {
        background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

@keyframes bottomBubbles {
    0% {
        background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%;
    }

    50% {
        background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%;
    }

    100% {
        background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%;
        background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
}

/*--------------------------TEXT ANIMATIONS----------------------*/
.reveal {
    color: #0000;
    --g: no-repeat linear-gradient(#ff0081 0 0) 0 0;
    background: var(--g), var(--g);
    background-size: 0 100%;
    -webkit-background-clip: padding-box,text;
    background-clip: padding-box,text;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    animation: t 1.2s .5s both, b 1.2s 1.3s both;
    text-align: center;
}

@keyframes t {
    to {
        background-size: 150% 100%
    }
}

@keyframes b {
    to {
        background-position: -200% 0,0 0
    }
}

.mud-progress-linear.mud-progress-linear-color-primary:not(.mud-progress-linear-buffer) .mud-progress-linear-bar {
    background-color: #ff0081;
}
.mud-progress-linear.horizontal.mud-progress-linear-small {
    height: 14px;
}