html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background-color: transparent !important;
}
body {
    /*background-color: #ccc !important;*/
}

.pokemon__slot {
    float: left;
    width: 120px;
    margin-left: 1.5vw;
    color: black;
    min-height: 180px;
    margin-top: 50px;
}

.pokemon__image {
    height: 111px;
    position: relative;
    white-space: nowrap;
    z-index: 10;
}

.pokemon__image.pokemon__egg img{
    max-height: 80px;
}

.pokemon__image img{
    filter: grayscale(0);
    transition: grayscale 0.5s;
}

.pokemon__image img {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: 111px;
    margin-top: 5px;
}

.pokemon__nick-shiny {
    color: red;
}

.pokemon__nick {
    font-size: 1.5rem;
    font-family: 'Rubik Mono One', sans-serif;
    letter-spacing: 0px;
    text-align: center;
    -webkit-text-stroke: .5px white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pokemon__level {
    font-family: 'Rubik Mono One', sans-serif;
    font-size: 2rem;
    -webkit-text-stroke: 1px white;
    position: relative;
    margin-bottom: -25px;
}

.progress-bar, .progress {
    border-radius: 0px;
    margin-bottom: 0;
}
.progress{
    background-color:#cecece;
    border-radius: 14px;
    border-style: solid;
    border-color: #000000;
    border-width: 2px;
}
.progress-bar.grey { background: #646464; }
.progress-bar.green { background-image: linear-gradient(to right, #00ff14 , #1cc121); }
.progress-bar.yellow { background: #d9bc19; }
.progress-bar.red { background: #c02020; }

.pokemon__bar {
    display: flex;
    justify-content: center;
    padding: 4px 0px;
    min-height: 20px;
}

.pokemon__bar > span {
    font-family: 'Rubik Mono One', sans-serif;
    -webkit-text-stroke: 1px black;
    font-size: 1rem;
    color: white;
    text-shadow: 2px 2px 1px rgba(0,0,0,0.5);
    border-radius: 14px;
    padding: 0px;
    width:100%;
    text-align: center;
    border-style: solid;
    border-color: #000000;
    border-width: 2px;
}

.pokemon__hp {
    font-family: 'Rubik Mono One', sans-serif;
    text-align: center;
    text-align: center;
    margin-top: -15.01px;
    font-size: 1.1rem;
    -webkit-text-stroke: .5px white;
}

.badges {}
.badge__slot {
    display: block;
    float: left;
}

.badge__slot img {
    width: 100px;
}
.badge__slot--inactive img {
    -webkit-filter: grayscale(100%) brightness(0);
    filter: grayscale(100%) brightness(0);
    opacity: 0.6;
}

.pokemon__types {}
.pokemon__types span, .pokemon__gender span {
    font-family: "PT Sans Condensed", "Roboto Condensed", sans-serif;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 19px;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3), 1px -1px 1px rgba(0, 0, 0, 0.3), -1px 1px 0 rgba(0, 0, 0, 0.5), 1px 1px 1px rgba(0, 0, 0, 0.5), 0 1px 1px rgba(0, 0, 0, 0.9), 0 2px 1px rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 6px;
    box-shadow: 0px 2px 0px 1px rgba(0, 0, 0, 0.6);
    border-top: 1px rgba(255, 255, 255, 0.5) solid;
    border-bottom: 4px rgba(0, 0, 0, 0.5) solid;
    margin: 2px;
    font-weight: normal;
    text-transform: uppercase;
    min-width: 65px;
    text-align: center;
    padding: 5px 8px;
}
.pokemon__bar span:has(+ span) {
    border-radius: 14px 0 0 14px;
}
.pokemon__bar span + span {
    border-radius: 0 14px 14px 0;
    margin-left: -2px;
}

/* transitions stuffs */
.switchSlow-move {
    transition: transform 2s;
}

.switchMedium-move {
    transition: transform 1s;
}

.switchFast-move {
    transition: transform 0.5s;
}

.no-connection {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    z-index: 999;
    display: table-cell;
    text-align: center;
    font-size: 5rem;
    color: #fff;
    vertical-align: middle;
    word-break: break-all;
}

.browser-connected {
    display: block !important;
}
