@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: #3A5055;
    border: 0.25rem solid #B9C2D2;
    border-radius: 1rem;
    box-shadow: 0 0.5rem #777E89;
    padding: 1rem;
    margin: 1rem 0;
}
.spinner {
    height: 8rem;
    margin: 1rem;
}
@media (max-width: 1000px) {
  .spinner {
    display: none;
  }
}
.horizontal {
    display: flex;
    align-items: center;
}
.midcontent a:link {
    color: #0093FF;
    text-decoration: none;
}
.midcontent a:visited {
    color: #9E74CE;
    text-decoration: none;
}
.midcontent {
    background: none;
    border: none;
}
.midcontent h1 {
    font-family: 'm6x11plus';
    text-shadow: 6px 6px 0 #180820;
}
.midcontent p {
    font-family: 'm6x11plus';
    color: #CCCCCC;
    margin: -0.5rem 0;
    text-shadow: 2px 2px 0 #180820;
}
.midcontent h2 {
    font-family: 'm6x11plus';
    font-size: 4rem;
    margin: -1rem 0 0 0;
}
.midcontent h3 {
    font-family: FortyFont;
    font-size: 3rem;
    color: #0093FF;
    text-shadow: 0.15rem 0.15rem 0 #180820;
    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;
    max-width: 276px;
    max-height: 372px;
    flex-grow: 0;
    flex-shrink: 1;
}
.card img {
    margin: 0;
}
.card:hover .cardinfo {
    display: flex;
}
.cardinfo {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    bottom: 100%;
    flex-direction: column;
    z-index: 1;
    background-color: #3F4A4D;
    border: 0.25rem solid #DEE2EA;
    text-align: center;
    border-radius: 1rem;
    align-items: center;
    animation: bob 3s ease-in-out 0s infinite alternate;
}
.cardinfo h1 {
    font-weight: normal;
    font-size: 2.5rem;
    text-shadow: 0 4px 0 #232A2C;
    letter-spacing: 0.2rem;
}
.cardinfo p {
    color: #FFFFFF;
    font-size: 1.8rem;
    letter-spacing: normal;
}
.cardability {
    display: block;
    z-index: 1;
    background-color: #FFFFFF;
    border-bottom: 0.25rem solid #ABABAB;
    text-align: center;
    border-radius: 1rem;
    width: 95%;
    margin: 0.5rem 0;
    padding: 0.8rem 0;
}
.cardability p {
    color: #3A5055;
    font-size: 1.6rem;
    text-shadow: none;
    line-height: 1.5rem;
}
.cardcommon {
    display: block;
    z-index: 1;
    background-color: #0093FF;
    border-bottom: 0.25rem solid #005CAB;
    text-align: center;
    border-radius: 1rem;
    width: 70%;
    margin: 0.5rem 0;
}
.cardcommon p {
    text-shadow: 0 3px 0 #005EAC;
}
.carduncommon {
    display: block;
    z-index: 1;
    background-color: #35BD86;
    border-bottom: 0.25rem solid #1B7954;
    text-align: center;
    border-radius: 1rem;
    width: 70%;
    margin: 0.5rem 0;
}
.carduncommon p {
    text-shadow: 0 3px 0 #1C7B54;
}
.cardrare {
    display: block;
    z-index: 1;
    background-color: #FF4C40;
    border-bottom: 0.25rem solid #A92B23;
    text-align: center;
    border-radius: 1rem;
    width: 70%;
    margin: 0.5rem 0;
}
.cardrare p {
    text-shadow: 0 3px 0 #AB2C24;
}
#demos {
    display: none;
}
#demos:target {
    display: flex;
}