﻿
html {
    width: 100%;
    height: 100%;
    --blastertransformation: -12000px;
    --cardtransformation: -4950px;
}

body {
    margin: 0 0 0 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

main{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


button:hover {
    cursor: pointer;
}

#head {
    height: 50px;
    width: 100%;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    background-image: linear-gradient(3deg, white, black);
    display: flex;
}

#head > div {
    height: 100%;
}

#head img {
    height: 100%;
}

#viewswitchdiv {
    width: 320px;
    border-right-style: solid;
    border-right-width: 1px;
}

#viewswitchdiv button{
    height: 100%;
    width: 50%;
    float: left;
    font-size: 22px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    background-color: lightgray;
    border-width: 0;
    outline: none;
    overflow: hidden;
}

#viewswitchdiv button.selected{
    background-color: forestgreen;
    color: white;
}

button.suggested{
    border-width: 4px !important;
    animation: suggestion 0.7s linear 0s infinite none;
    animation-direction: alternate;
}

@keyframes suggestion{
    from {border-color: transparent;}
    to {border-color: red;}
}



#creditsdiv {
    flex-grow: 1;
    display: flex;
    justify-content: space-around;
}

#creditsdiv > a {
    height: 50px;
    width: 327px;
}

#actiondiv {
    width: auto;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    padding-left: 10px;
    justify-content: flex-end;
}

#actiondiv > button {
    height: 70%;
    position: relative;
    margin-right: 30px;
    border-radius: 7px;
    outline: none;
    border: none;
    box-shadow: 0px 0px 3px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 15px;
    
    top: 50%;
    transform: translate(0, -50%);
}



#actiondiv > button:nth-child(2) {
    margin-right: 80px;
}

#actiondiv button:hover{
    box-shadow: 0px 0px 8px;
}



#allowall {
    background-color: rgb(0, 160, 0);
    width: 100px;
}

#allowall:active {
    background-color: darkgreen;
}


#banall {
    background-color:rgb(210, 0, 0);
    width: 100px;
}

#banall:active{
    background-color: darkred;
}



button.ruleset {
    background-color: royalblue;
    width: 90px;
}

button.ruleset:active{
    background-color: rgb(30, 71, 166);
}





#content {
    background-image: linear-gradient(120deg, black, lightgrey);
    background-size: cover;
    flex-grow: 1;
}




#itemlistdiv {
    float: left;
}

#itemlistdiv > div.itemlist{
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    float: left;
}

#itemlistdiv > div.itemlist.banned > h3{
    opacity: 0.5;
}

#itemlistdiv > div > h3{
    width: auto;
    height: 45px;
    padding: 0px 0 0px 0;
    margin: 30px 0 10px 0;
    font-size: 30px;
    text-align: center;
    font-family: 'Source Sans Pro';
    text-decoration: underline;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer !important;
}

#itemlistdiv > div > ul{
    margin: 0 0 0 0;
    padding: 10px 0 0 0;
    list-style: none;
    vertical-align: top;
    width: 100%;
    height: 100%;
    align-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

#itemlistdiv > div > ul > li{
    margin: 0 0 12px 0;
    padding: 4px 0 4px 0;
    text-align: center;
    width: 170px;
    border-radius: 7px;
    font-weight: bold;
    font-size: 12px;
    color: black;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
}

#itemlistdiv > div > ul > li:hover{
    box-shadow: 0px 0px 5px;
}

#itemlistdiv > div > ul > li.allowed{
    background-color: lightgray;
}

#itemlistdiv > div > ul > li.allowed.remoteswitched{
    animation: allowitem 0.7s linear 0s forwards normal;
}

@keyframes allowitem {
    from {color: green; opacity: 0.3;}

    to {color: black; opacity: 1.0;}
}

#itemlistdiv > div > ul > li.banned {
    background-color: lightgray;
    opacity: 0.3;
}

#itemlistdiv > div > ul > li.banned.remoteswitched{
    animation: banitem 0.7s linear 0s forwards normal;
}

@keyframes banitem{
    from{color: red; opacity: 1.0;}
    to{color: black; opacity: 0.3;}
}


#credits{
    position: absolute;
    width: 350px;
    height: 400px;
    right: 0;
    bottom: -350px;
    display: flex;
    flex-direction: column;
    background-color: rgb(100, 100, 100);
    border-radius: 50px;
    transition: bottom 0.4s;
}

#credits:hover{
    bottom: -50px;
}

#credits:hover > p:first-child{
    transform: rotate(-90deg);
}

#credits > p{
    margin: 0 0 0 0;
    padding: 0px 0 0px 0;
    font-family: 'Comic Sans MS';
    font-weight: 400;
    font-size: 30px;
    white-space: nowrap;
    text-align: center;
    color: black;
}

#credits > p:first-child{
    color: white;
    font-size: 25px;
    margin-top: 10px;
    transform: rotate(90deg);
    transition: transform 0.4s;
}

#credits > p:nth-child(2){
    text-align: left;
    margin: 20px 0 20px 20px;
    font-size: 25px;
    font-weight: bold;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    
}

#credits > p:nth-child(3){
    font-size: 40px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
    margin-bottom: 40px;
    color: orange;
}

#credits > p:nth-child(4){
    text-align: left;
    margin-left: 20px;
    font-size: 25px;
    font-weight: bold;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin-bottom: 20px;
}

#credits > p:nth-child(5){
    font-size: 40px;
    color: rgb(179, 223, 255);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

#credits span.tooltip{
    position: relative;
}

#credits span.tooltip > span.tooltiptext {
    font-weight: normal;
    position: absolute;
    visibility: hidden;
    padding: 10px 10px 10px 10px;
    border-radius: 12px;
    left: 50%;
    transform: translateX(-50%);
    top: 105%;
    background-color: rgb(32, 34, 37);
    color: rgb(230, 230, 230);
    font-family: Arial;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
}

#credits span.tooltip > span.tooltiptext > img{
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

#credits span.discordid{
    font-size: 15px;
    color: rgb(170, 170, 170);
}

#credits p:nth-child(3) span.discordid{
    margin-top: 2px;
}

#credits p:nth-child(5) span.discordid {
    margin-top: 3px;
}

#credits span.tooltip:hover > span.tooltiptext{
    visibility: visible;
    opacity: 1;
}



#content > div {
    width: 50%;
    height: 100%;
    vertical-align: top;
    overflow: hidden;
}


#generatordiv {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    float: left;
}

#generatordiv > div {
    position: relative;
    width: 722px;
    height: 150px;
    background-color: dimgray;
    border-style: solid;
    border-width: 5px;
    overflow: hidden;
    cursor: pointer;
}

#generatordiv > div.empty{
    opacity: 0.0;
    cursor: default !important;
}

/*Both spinninglists and empty first divs*/
#generatordiv > div > div:first-child{
    position: absolute;
}

#generatordiv > div.spinning{
    cursor: default !important;
}


#generatordiv > div * {
    pointer-events: none !important;
}

div.spinninglist{
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

#generatordiv > div.spinned > div.spinninglist > img:not(.spinnedItem){
    filter: blur(5px);
}



#blasterspinner.spinning > div.spinninglist{
    animation: blasterspin 5s cubic-bezier(0.35, 0.78, 0.40, 1.0) 0s 1 normal;
    animation-fill-mode: forwards;
}

#blasterspinner.spinned > div.spinninglist {
    transform: translateX(var(--blastertransformation));
}



#blasterspinner > div.spinninglist > img{
    width: 240px;
}



#generatordiv > div:not(#blasterspinner).spinning > div.spinninglist{
    animation: cardspin 5s cubic-bezier(0.35, 0.78, 0.40, 1.0) 0s 1 normal;
    animation-fill-mode: forwards;
}

#generatordiv > div:not(#blasterspinner).spinned > div.spinninglist {
    transform: translateX(var(--cardtransformation));
}


#generatordiv > div:not(#blasterspinner) > div.spinninglist > img{
    height: 150px;
}





#loadoutdiv {
    float: left;
    position: relative;
}

#loadoutdiv div.banned{
    opacity: 0.0;
}

#blaster {
    position: absolute;
    top: 100px;
    left: 50%;
    width: 540px;
    height: 312px;
    border-color: green;
    border-width: 10px;
    transform: translateX(-50%);
}

#blaster > img{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 540px;
    align-self: center;
}

#cards {
    position: absolute;
    width: 750px;
    height: 280px;
    left: 50%;
    top: 500px;
    transform: translateX(-50%);
    border-width: 10px;
    border-color: brown;
}

#cards > div{
    position: absolute;
    width: 165px;
    height: 240px;
    
    border-width: 10px;
    display: flex;
    align-content: center;
    align-items: center;
}

#cards > div > img{
    width: 165px;
    height: 240px;
}

#chargecard {
    left: 180px;
    top: 0px;
    border-color: deeppink;
}

#starcard1{
    bottom: 0px;
    left: 0px;
    border-color: red;
}

#starcard2{
    left: 360px;
    bottom: 0px;
    border-color: red;
}

#trait {
    right: 0px;
    top: 0px;
    border-color: blue;
}

@keyframes blasterspin{
    from {}
    to {transform: translateX(var(--blastertransformation));}
}

@keyframes cardspin {
    from {}
    to {
        transform: translateX(var(--cardtransformation));
    }
}

.invisible {
    /*
        display: none !important;
    */
    margin: 0 0 0 0 !important;
    padding: 0 0 0 0 !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
}
.invisible *{
    /*
        display: none !important;
    */
    margin: 0 0 0 0 !important;
    padding: 0 0 0 0 !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
    
}


img, ul, li, h3, button{
    -moz-user-select: none !important;
}

img, ul, li, h3, button {
    user-select: none !important;
}

img, ul, li, h3, button {
    -webkit-user-select: none !important;
}

* {
    -moz-user-select: none !important;
}

* {
    user-select: none !important;
}

* {
    -webkit-user-select: none !important;
}

