#random,
#desc {
    display: none;
}

#random.active,
#desc.active {
    display: table;
}

body {
    font-family: arial;
}

.card-body.new-bg {
    background: #2e3338;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
}

.bg-gold {
    background-image: linear-gradient(to bottom, #ded77d, #dccd80, #a8883c, #c09a29);
    border: 1px solid #dcd07f;
}

.card-header {
    background-image: linear-gradient(to bottom, #ded77d, #dccd80, #a8883c, #c09a29);
    min-height: 30px;
}

.card.card-custom {
    box-shadow: 0px 0px 30px 0px rgba(82, 63, 105, 0.05);
    border: 0;
}

.card.card-custom>.card-header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    min-height: 70px;
    padding-top: 0;
    padding-bottom: 0;
    background-color: transparent;
}

.card.card-custom>.card-header .card-title {
    display: flex;
    align-items: center;
    margin: 0.5rem;
    margin-left: 0;
}

.card.card-custom>.card-header .card-title .card-icon {
    margin-right: 0.75rem;
    line-height: 0;
}

.card.card-custom>.card-header .card-title .card-icon i {
    font-size: 1.25rem;
    color: #7E8299;
    line-height: 0;
}

.card.card-custom>.card-header .card-title .card-icon i:after,
.card.card-custom>.card-header .card-title .card-icon i:before {
    line-height: 0;
}

.card.card-custom>.card-header .card-title .card-icon .svg-icon svg {
    height: 24px;
    width: 24px;
}

.card.card-custom>.card-header .card-title .card-icon .svg-icon svg g [fill] {
    transition: fill 0.3s ease;
    fill: #7E8299;
}

.card.card-custom>.card-header .card-title .card-icon .svg-icon svg:hover g [fill] {
    transition: fill 0.3s ease;
}

.card.card-custom>.card-header .card-title,
.card.card-custom>.card-header .card-title .card-label {
    font-weight: 500;
    font-size: 1.275rem;
    color: #181C32;
}

.card.card-custom>.card-header .card-title .card-label {
    margin: 0 0.75rem 0 0;
    flex-wrap: wrap;
}

.card.card-custom>.card-header .card-title small {
    color: #B5B5C3;
    font-size: 1rem;
}

.card.card-custom>.card-header .card-toolbar {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}

.card.card-custom>.card-header.card-header-tabs-line {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-items: stretch;
}

.card.card-custom>.card-header.card-header-tabs-line .card-toolbar {
    margin: 0;
}

.card.card-custom>.card-header.card-header-tabs-line .nav {
    border-bottom-color: transparent;
}

.card.card-custom>.card-header.card-header-tabs-line .nav .nav-item {
    align-items: stretch;
}

.card.card-custom>.card-header.card-header-tabs-line .nav .nav-link {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.card.card-custom>.card-header.card-header-right {
    justify-content: flex-end;
}

/* Sets the background image for the wheel */

/* Do some css reset on selected elements */
h1,
p {
    margin: 0;
}

div.html5_logo {
    margin-left: 70px;
}

/* Styles for the power selection controls */
table.power {
    background-color: #cccccc;
    cursor: pointer;
    border: 1px solid #333333;
}

table.power th {
    background-color: white;
    cursor: default;
}

td.pw1 {
    background-color: #6fe8f0;
}

td.pw2 {
    background-color: #86ef6f;
}

td.pw3 {
    background-color: #ef6f6f;
}

/* Style applied to the spin button once a power has been selected */
.clickable {
    cursor: pointer;
}

/* Other misc styles */
.margin_bottom {
    margin-bottom: 5px;
}

h3 {
    font-size: 1.2em;
}


@font-face {
    font-family: 'Custom';
    src: url('font/Play-Bold.ttf');

}
#history-wrapper{
    display: none;
}
#welcome-wrapper,
#history-wrapper,
#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#welcome-wrapper,
#history-wrapper {
    z-index: 9;
    background: rgba(0, 0, 0, 0.8);
}

#history{
    width: 300px;
}

#wrapper {
    position: relative;
}

#alert,
#congrats {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    transition-duration: .25s;
    z-index: 9
}

#alert-message,
#congrats-message {
    background: #194a10;
    padding: 20px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

#close-alert,
#close-congrats {
    font-size: 2em;
    position: absolute;
    right: -10px;
    top: -15px;
    background: #062b08;
    cursor: pointer;
    border-radius: 100%;
    width: 35px;
    height: 35px;
    line-height: 30px;
    text-align: center;
}

#alert.hidden,
#congrats.hidden,
.confetti.hidden {
    transition-duration: .25s;
    -webkit-transition-duration: .25s;
    -moz-transition-duration: .25s;
    opacity: 0;
    z-index: -1
}

#code-desk,
#code-mob,
#code-username,
#code-username-mob {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    text-align: center;
}

.claim {
    display: inline-block;
    margin: 10px 5px;
    margin-bottom: 0;
    border: 1px solid #ffd700;
    padding: 5px;
    background: #0a220a;
}

* {
    box-sizing: border-box
}

.hide-on-desktop {
    display: table-cell
}

.hide-on-mobile {
    display: none
}

.confetti {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

#confetti2 {
    left: initial;
    right: 0
}

@media only screen and (min-width: 1024px) {

    body,
    html {
        zoom: 1
    }

    .hide-on-desktop {
        display: none
    }

    .hide-on-mobile {
        display: table-cell
    }

    .confetti {
        width: 50%
    }

    #alert-message,
    #congrats-message {
        width: initial;
    }
}

.kedip {
    background-color: #1c87c9;
    -webkit-border-radius: 60px;
    border-radius: 60px;
    border: none;
    color: #eeeeee;
    cursor: pointer;
    display: inline-block;
    font-family: sans-serif;
    font-size: 11px;
    padding: 10px;
    width: 100%;
    text-align: center;
    text-decoration: none;
    animation: glowing 1300ms infinite;
}