:root {
    --chips: #009dff;
    --mult: #FF4C40;
    --green: #4BC292;
    --money: #f3b958;
    --gold: #eac058;
    --attention: #ff9a00;
    --spades: #403995;
    --hearts: #f03464;
    --clubs: #235955;
    --diamonds: #f06b3f;
    --tarot: #a782d1;
    --planet: #13afce;
    --spectral: #4584fa;
    --legendary: #b26cbb;
    --inactive: #b1b1b1;
    --default: #3A5055;
    --background: #3F4A4D;
}
@font-face {
    font-family: 'm6x11plus';
    src: url('m6x11plus.ttf') format('truetype');
}
@keyframes bob {
    from {bottom: 98%;}
    to {bottom: 100%;}
}
html {
    background: #4BCC54;
    /* background-image: repeating-radial-gradient(#4BCC54, #4BCC54, #009EFF, #4BCC54 50%); */
    background-image: url(fake_bg.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
h1 {
    font-weight: bold;
}
.floatingblock {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--background);
    border: 0.25rem solid #B9C2D2;
    border-radius: 1rem;
    box-shadow: 0 0.5rem #777E89;
    padding: 1rem 2rem;
    margin: 1rem 0;
}
.spinner {
    height: 8rem;
    margin: 1rem;
}
@media (max-width: 1000px) {
  .spinner {
    display: none;
  }
}
.midcontent a:link {
    color: var(--chips);
    text-decoration: none;
}
.midcontent a:visited {
    color: var(--tarot);
    text-decoration: none;
}
.midcontent {
    background: none;
    border: none;
}
.midcontent h1 {
    font-family: 'm6x11plus';
    text-shadow: 6px 6px 0 var(--bg);
}
.midcontent p {
    font-family: 'm6x11plus';
    color: #CCCCCC;
    margin: 0;
    text-shadow: 2px 2px 0 var(--bg);
    text-align: center;
    line-height: 125%;
}
.midcontent h2 {
    font-family: 'm6x11plus';
    font-size: 4rem;
    margin: -1rem 0 0 0;
}
.midcontent h3 {
    font-family: FortyFont;
    font-size: 3rem;
    color: var(--chips);
    text-shadow: 0.15rem 0.15rem 0 var(--bg);
    margin: 0;
}
.cardcontainer {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    gap: 0;
    padding: 2.5% 2.5%;
    width: 100%;
}
.card {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1rem;
    width: 207px;
    height: 279px;
    flex-grow: 0;
    flex-shrink: 1;
}
.card img {
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.card:hover .cardinfo {
    display: flex;
}
.cardinfo {
    display: none;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    min-width: 90%;
    bottom: 100%;
    flex-direction: column;
    z-index: 1;
    background-color: var(--background);
    text-align: center;
    border-radius: 1.25rem;
    align-items: center;
    animation: bob 3s ease-in-out 0s infinite alternate;
    outline: 0.35rem solid #DEE2EA;
    zoom: 110%;
}
.cardinfo h1 {
    font-weight: normal;
    font-size: 3rem;
    text-shadow: 2px 3px 0 #232A2C;
    letter-spacing: 1px;
    margin: -0.25rem 0.75rem 0 0.75rem;
    text-wrap: nowrap;
}
.cardinfo p {
    color: white;
    font-size: 2.5rem;
    letter-spacing: normal;
}
.cardability {
    display: block;
    z-index: 1;
    background-color: white;
    border-bottom: 0.35rem solid #ABABAB;
    text-align: center;
    border-radius: 1rem;
    min-width: 95%;
    margin: 0.15rem 0.75rem;
    padding: 0.25rem 0.15rem;
}
.cardability p {
    color: var(--default);
    font-size: 2rem;
    text-shadow: none;
    line-height: 1.9rem;
    text-wrap: nowrap;
}
.rarity {
    display: block;
    z-index: 1;
    text-align: center;
    border-radius: 1.25rem;
    width: 12rem;
    margin: 0.4rem 0;
}
.cardcommon {
    background-color: var(--chips);
    border-bottom: 0.35rem solid #005CAB;
}
.cardcommon p {
    text-shadow: 0 3px 0 #005EAC;
}
.carduncommon {
    background-color: var(--green);
    border-bottom: 0.35rem solid #1B7954;
}
.carduncommon p {
    text-shadow: 0 3px 0 #1C7B54;
}
.cardrare {
    background-color: var(--mult);
    border-bottom: 0.35rem solid #A92B23;
}
.cardrare p {
    text-shadow: 0 3px 0 #AB2C24;
}
.xmult {
    color: white;
    background-color: var(--mult);
    padding: 0 0.2rem 0 0.35rem;
    border-radius: 5px;
}
#demos {
    display: none;
}
#demos:target {
    display: flex;
}