/**** GLOBAL STYLES ****/
:root {
    --tier1-color: #4caf50;
    --tier2-color: #3498db;
    --tier3-color: #9b59b6;
    --common-color: #f0f0f0;
    --uncommon-color: #00d0df;
    --rare-color: #d400ff;
    --ultra-rare-color: #ff9900;
    --default-text-color: #d0d0d0;
    --exchange-gold-color: #ffb900;
    --grey-basic: #333333;
    --grey-lite: #939393;
    --size-color: hsl(0, 0%, 100%);
    --danger-color: hsl(0, 80%, 50%);
    --vibe-color: hsl(60, 100%, 50%);
}
@font-face {
    font-family: 'Typewriter Inked';
    src: url('/public/assets/fonts/TypewriterInkedRegular-lgwPZ.ttf');
}
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    height: 100%;
}
body {
    background-color: #411b5d;
    color: #fff;
    font-family: 'Typewriter Inked', 'Courier New', Courier, monospace;
    font-size: 30px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* header */
#header-image {
    max-width: 1920px;
    margin: 0;
}
#header-image * {
    flex: 1 1 auto;
    max-width: 100%;
    height: auto;
}


footer {
    margin-top: 20px;
    padding: 1em 0em;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#body-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    max-width: 100%;
    flex-grow: 1;
}

h1 {
    margin-bottom: 10px;
    font-size: 2em;
    text-align: center;
}
h2 {
    margin: 10px 0px;
    font-size: 1.6em;
}
h3 {
    margin: 0px 0px 5px 0px;
    font-size: 1.2em;
}
p {
    font-size: 1.1em;
    margin: 0 auto;
    font-family:Arial, Helvetica, sans-serif;
}
.subhead {
    font-size: 1em;
    margin: 15px 0;
    text-transform:uppercase;
}
.fine-print {
    font-size: .9rem;
    line-height: 1.1rem;
}

a, a:visited {
    color:#9b59b6;
    font-weight:bold;
}
a:hover {
    color:#860000;
}

/* utility - layout */ 
.space-top {
    margin-top: 1.5rem;
}
.space-bottom {
    margin-bottom: 1.5rem;
}

/* utility - FX */
.hover-pop {
    transition: scale 0.2s ease-in-out;
}
.hover-pop:hover {
    scale: 1.05;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}
.hover-pop:active {
    scale: .95;
}
.hover-spin:hover {
    animation: spin 10s linear infinite;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* loading spinner */
.loader-anim {
    display: inline-block;
    transform: translateZ(1px);
}
.loader-anim > div {
    display: inline-block;
    width: 36px;
    height: 50px;
    margin: 8px;
    border-radius: 5px;
    background: #fff;
    animation: loader-anim 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
@keyframes loader-anim {
    0%, 100% {
        animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
    }
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(1800deg);
        animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
    }
    100% {
        transform: rotateY(3600deg);
    }
}


/**** ARBITRARIUM ****/

/* spam */
#interstitial-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 20px;
}
.interstitial {
    flex: 1 1 auto;
    max-width: 33.33%;
    padding: 10px;
    height: 375px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.interstitial a {
    display: block;
    width: 100%;
    height: 100%;
}
.interstitial a video,
.interstitial a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* back to top */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 5vw;
    background-color: #00ff00;
    color: #000000;
    border: 4px solid black;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    font-size: 1.5rem;
    height: 4rem;
    width: 4rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transform: scale(1);
    transform-origin: center;
    opacity: 0;
}
#back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    animation: popIn 0.5s ease forwards;
}
#back-to-top.hide {
    animation: popOut 0.5s ease forwards;
}
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    70% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes popOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0);
    }
}

/*--- navigation bar ---*/
#nav-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 2;
    scroll-margin-top: 80px;
    font-size: 1.2rem;
}

/* tab navigation */
#arbitrarium-tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap:nowrap;
    width: 100%;
    margin: 0 0 20px 0;
    font-size: .8em;
    z-index: 2;
    background-color: #000;
}
#arbitrarium-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px 0 0;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
    height: 100%;
    padding: 20px;
    cursor: pointer;
    text-decoration: none;
}
#arbitrarium-tabs a.active {
    border: 3px solid;
    color: var(--tier2-color);
    cursor: initial;
}
#arbitrarium-tabs a:first-child {
    color: var(--ultra-rare-color);
}
#arbitrarium-tabs a.tab:hover, #arbitrarium-tabs a.tab:first-child:hover {
    color: var(--tier1-color)
}

/* type-ahead jump menu */
#voidling-select {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap:nowrap;
    background-color: #000;
    width: 100%;
    padding: 10px;
    margin: 0 0 20px 0;
}
#voidling-jump-menu-wrapper {
    position: relative;
}
#voidling-select-clear {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-size: 20px;
}
#voidling-jump-menu {
    height: 30px;
    width: 225px;
    padding: 1em;
    margin-left: 10px;
    font-size: 1rem;
    font-family: 'Typewriter Inked', 'Courier New', Courier, monospace;
}
#suggestions {
    display:none;
    position:absolute;
    background-color:#3a3a3a;
    list-style:none;
    margin: 0 0 0 10px;
    padding: 0;
    width: 250px;
    z-index: 3;
    max-height: 300px;
    overflow-y: auto;
    font-size: .8rem;
}
#suggestions li {
    padding: 5px;
    text-align: left;
    cursor: pointer;
}
#suggestions li:hover, #suggestions li.selected {
    background-color: #56475a;
}


/*--- content area structure ---*/ 
#arbitrarium-wrapper {
    display:flex;
    flex-direction: column;
    width: 100%;
    justify-content:space-evenly;
    padding: 0 20px;
}


/**** VOIDLINGS ****/

/*--- voidling containers ---*/
.voidling-container {
    padding: 15px;
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    background-color:#000;
    position: relative;
}
.voidling-body {
    margin: 45px 20px 20px 20px;
    text-align: left;
    flex-grow: 1;
}
/* body drawer control - mobile only */
.voidling-body-drawer-toggle {
    display: none;
}

/* stats column */
.voidling-stats {
    border: 5px solid white;
    margin: 20px;
    display: flex;
    flex-direction: column;
    width: 500px;
    position: relative;
    padding: 15px;
    flex-shrink: 0;
    float: right;
}
.voidling-stats-section {
    margin-top: 15px;
    text-align: left;
}
.voidling-stat {
    display: flex;
    flex-direction: row;
    align-items:center;
    height: 50px;
}
.voidling-stat-label {
    text-transform: uppercase;
    width: 30%;
}
.stat-bar {
    position: relative;
    width: 70%;
    height: 25px;
    border-radius: 5px;
    align-items: center;
}
.stat-bar-background, .stat-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: inherit;
}
.stat-bar-background {
    background-color:hsl(0, 0%, 30%)
}
.stat-bar-fill {
    width: 0;
    transition: width 0.5s ease;
}
.size-fill {
    background-color: var(--size-color)
}
.danger-fill {
    background-color: var(--danger-color)
}
.vibe-fill {
    background-color: var(--vibe-color)
}
.svcr-toggle {
    position: relative;
    cursor: pointer;
    z-index: 1;
    background-color: #ffffff;
    box-sizing:content-box;
    margin-left: 15px;
    width: 25px;
    height: 25px;
    padding: 4px 3px 4px 5px;
    border-radius: 50%;
    top: -2px;
}
.svcr-toggle .vert {
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform-origin: center;
}
.svcr-toggle.minus .vert {
    transform: scaleY(0);
    transform-origin: center;
    opacity: 0;
}
.svcr-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    overflow: hidden;
    margin-left: 10px;
    font-size: 1.3rem;
    max-height: 0;
    transition: max-height 0.3s ease;
}
.svcr-details.expand {
    max-height:1000px;
}
.svcr-details div {
    margin: 5px 0px;
}

/* link buttons in stats */
.voidling-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    height: 70px;
    margin-top: 10px;
}
.voidling-links > :not(:last-child) {
    margin-right: 20px;
}
.voidling-links a {
    text-decoration: none;
}
.voidling-links-button {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    padding: 10px;
    background-color: white;
    border-radius: 5px;
    color: #000;
    font-size: .9rem;
    text-transform: uppercase;
    cursor: pointer;
    height: 70px;
    width: 70px;
}
.voidling-links-button img {
    height: 30px;
    width: 30px;
    margin-bottom: 5px;
}

/* media in stats (coming soon) */

/* cards image carousel */
.voidling-images-cards {
    float: left;
    margin: 0 30px 30px 0;
}
.carousel-cards {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.carousel-image-cards {
    height: auto;
    width: 300px;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 30px rgba(255, 255, 255, 0.5);
    border-radius: 22px;
}
.carousel-image-cards img {
    height: auto;
    width: auto;
    display: block;
}

/* alt image carousel */
.carousel-alts {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
}
.carousel-image-alts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction:column;
    margin: 20px auto;
    height: 300px;
    width: 300px;
}
.carousel-image-alts img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* alt image (no carousel - fallback) */
.voidling-images-alts-fallback {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction:column;
    margin: 20px auto;
    height: 300px;
    width: 300px;
}
.voidling-images-alts-fallback img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* carousel controls */
.carousel-prev,
.carousel-next {
    cursor: pointer;
    z-index: 1;
    margin: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ddd;
    color: #000000;
    border: 4px solid black;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    opacity: 50%;
    transition: opacity 0.5s ease-in-out;
}
.carousel-prev {
    left: 10px;
    padding: 2px 3px 2px 0px;
}
.carousel-next {
    right: 10px;
    padding: 2px 0px 2px 3px;
}
.carousel-prev:hover, .carousel-next:hover {
    opacity: 100%;
}
.carousel-dots {
    text-align: center;
    margin-top: 10px;
}
.carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #4e4e4e;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}
.carousel-dot.active {
    background: #e4e4e4;
}


/**** MY COLLECTIONS ****/

/* twitch connect panel */
#twitch-connect-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}
#twitch-connect {
    background-color: #9146FF;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
    padding: 20px;
    margin: 20px 0;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-align: left;
    cursor: pointer;
}
#twitch-connect-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 40px;
    object-fit: contain;
    margin-right: 10px;
}
#twitch-connect-label {
    flex: 1;
}

/* logged in user header */
#user-info-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    text-transform: uppercase;
    align-items: center;
    justify-content: flex-start;
    padding: 15px;
}
#user-info-nameplate {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
#user-info-img {
    height: 75px;
    width: 75px;
    margin-right: 15px;
}
#user-info-logout {
    font-size: 1rem;
}

/* collection area */
#collection-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    background-color: #000;
}

/* card global */
.card {
    position: relative;
    perspective: 1000px;
    width: 90px;
    height: 125px;
    margin: 5px;
    border-radius: 5px;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* collection filter controls */
#collection-header {
    color: #ddd;
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    font-size: 1rem;
    align-items: center;
    width: 100%;
}
#collection-filters {
    width:100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-family: 'Typewriter Inked', 'Courier New', Courier, monospace;
}
select {
    font-family: 'Typewriter Inked', 'Courier New', Courier, monospace;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    outline: none;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
select option {
    padding: 10px;
    font-family: 'Typewriter Inked', 'Courier New', Courier, monospace;
}
input[type="checkbox"] {    /* hide the default checkbox */
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
input[type="checkbox"] + label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}
input[type="checkbox"] + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #9e9e9e;
    border-radius: 2px;
    background-color: transparent;
}
input[type="checkbox"]:checked + label:before {
    background-color: #9e9e9e;
    border-color: #9e9e9e;
}
input[type="checkbox"]:checked + label:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
#collection-select-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
}
#collection-select {
    display: none;
    margin-top: 5px;
    flex: 1;
}

/* collection view */ 
#collection-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    padding-bottom: 10px;
}
#collection-progress {
    width: 100%;
    height: 30px;
    font-family: 'Typewriter Inked', 'Courier New', Courier, monospace;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    color: var(--default-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;              
}
.quantity {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px; 
    background-color: rgba(113, 113, 113, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
}

/* popup positioning wrapper */ 
#popup-wrapper {
    display: none;
    background-color: #0000003f;
    height: 100%;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    position: fixed;
    top: 0;
    left: 0;
}

/* card detail popup */
#card-detail-popup {
    display: none;
    position: relative;
    width: 90vw;
    height: auto;
    max-width: 600px;
    background-color: rgba(150, 150, 150, 0.8);
    border: 5px solid black;
    border-top: 0;
    flex-wrap: wrap;
    flex-direction: column;
    transition: opacity 0.4s;
}
#card-detail-header {
    font-family: 'Typewriter Inked', 'Courier New', Courier, monospace;
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #000;
    padding: 10px;
}
#card-detail-nameplate {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#card-detail-rarity {
    text-transform: uppercase;
    color: #ddd;
    font-size: .8em;
}
#card-detail-name {
    color: #ddd;
    font-size: 1.3em;
    font-weight: bold;
    flex-grow: 1;
    text-align: left;
    hyphens: auto;
    align-self: flex-start;
}
#card-detail-header-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
}
#card-view-details-button {
    background-color: #ddd;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}
#card-view-details-button img {
    width: 100%;
    height: 100%;
    color:#000;
}
#card-detail-close {
    cursor: pointer;
    position: relative;
    background-color: #ddd;
    padding: 4px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}
#card-detail-body {
    display: flex;
    flex-direction: column;
    padding: 10px;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}
#card-detail-info {
    display: none;
    background-color:#353535;
    width: 272;
    height: 380px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    color: var(--common-color);
    position: relative;
    flex-direction: column;
}
#card-detail-info-description-shadow {
    content: "";
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 30px;
    height: 15px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(53, 53, 53, 0), rgb(53, 53, 53, 1));
    z-index: 1;
}
#card-detail-info-description {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    margin: 25px 20px 25px 25px;
    scrollbar-width: thin;
    position: relative;
}
#card-detail-info-description p {
    margin: 0;
    margin-bottom: 5px;
    padding-right: 5px;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
}
#card-detail-image {
    width: 272px;
    height: 380px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}
#card-detail-previous, #card-detail-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    z-index: 1;
    opacity: 50%;
    background-color: #ddd;
    margin: 5px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    border: 4px solid black;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
    display: none;
    transition: opacity 0.5s ease-in-out;
}
#card-detail-previous{
    left: 0;
    padding: 2px 3px 2px 0px;
}
#card-detail-next {
    right: 0;
    padding: 2px 0px 2px 3px;
}
#card-detail-previous:hover, #card-detail-next:hover {
    opacity: 100%;
}
#card-detail-footer {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #000;
    padding: 10px 5px 5px 5px;
}
#card-detail-count {
    font-size: .9em;
    text-align: left;
}
#card-exchange-options {
    display: flex;
    flex-direction: row;
}
#card-exchange-message {
    display: none;
    font-size: .9em;
}
#card-exchange-button, #card-exchange-max-button {
    display: none;
    background-color: var(--exchange-gold-color);
    color: #000;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
    min-width: 120px;
    margin-left: 10px;
}


/* card exchange confirmation popup */
#exchange-confirmation-message {
    z-index: 100;
    width: 100%;
    position: absolute;
    bottom: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    background-color: #333;
    color: var(--default-text-color);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
    font-family: 'Typewriter Inked', 'Courier New', Courier, monospace;
}
#exchange-confirmation-message p {
    font-size: .8em;
    margin-bottom: 10px;
    font-family: 'Typewriter Inked', 'Courier New', Courier, monospace;
}
#exchange-confirmation-message-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    margin: 10px 0;
}
#exchange-confirmation-message-buttons div {
    min-width: 100px;
}
#exchange-confirmation-submit-button {
    background-color: var(--exchange-gold-color);
    color: #000;
}
#exchange-confirmation-cancel-button {
    background-color: var(--default-text-color);
    color: #000;
}
#exchange-confirmation-done-button {
    background-color: var(--exchange-gold-color);
    color: #000;
    min-width: 100px;
}

/* collection unlock popup */
#collection-unlock-popup {
    z-index: 99;
    display: none;
    position: fixed;
    width: 90vw;
    height: auto;
    max-width: 600px;
    background-color: rgba(150, 150, 150, 0.8);
    border: 5px solid black;    
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 2s;
    opacity: 0;
}
#collection-unlock-close {
    cursor: pointer;
    background-color: #ddd;
    padding: 3px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#collection-unlock-header {
    font-family: 'Typewriter Inked', 'Courier New', Courier, monospace;
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    background-color: #000;
    padding: 10px;
}
#collection-unlock-byline {
    text-transform: uppercase;
    color: #ddd;
    font-size: .8em;
}
#collection-unlock-title {
    color: #ddd;
    font-size: 1.3em;
    font-weight: bold;
    flex-grow: 1;
    text-align: left;
    hyphens: auto;
    align-self: flex-start;
}
#collection-unlock-feature {
    min-width: 275px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    min-height: 380px;
    margin-top: 10px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    position: relative;
}
#collection-unlock-description {
    font-family: 'Typewriter Inked', 'Courier New', Courier, monospace;
    font-size: .9em;
    text-align: center;
    color: #000;
    line-height: 1.2;
    font-weight: bold;
    padding: 10px 0;
}

/* utility - collections */
.button {
    font-family: 'Typewriter Inked', 'Courier New', Courier, monospace;
    text-transform: uppercase;
    font-size: .9em;
    padding: 13px 6px 10px 6px;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}
.center {
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    text-align: center;
}
.tier1 {
    background-color: var(--tier1-color);
}
.tier2 {
    background-color: var(--tier2-color);
}
.tier3 {
    background-color: var(--tier3-color);
}
.tier1-text {
    color: var(--tier1-color);
}
.tier2-text {
    color: var(--tier2-color);
}
.tier3-text {
    color: var(--tier3-color);
}
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/**** BREAKPOINTS ****/

/* lil bit bigger screens */
@media (max-width: 1220px) {
    body {
        font-size: 24px;
    }
    
    #nav-bar {
        flex-direction: column;
        font-size: 1rem;
    }

    #arbitrarium-tabs {
        justify-content: stretch;
        margin: 0;
    }
    #arbitrarium-tabs a {
        padding: 20px 10px;
        flex-grow: 1;
        margin: 0;
    }

    .voidling-images-cards {
        float: none;
        margin: 30px 0 15px 0;
    }
}

/* medium screens */
@media (max-width: 950px) {
    #back-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
    }

    .interstitial {
        max-width: 50%;
    }
    .interstitial:nth-child(3) {
        display: none;
    }
    
    .voidling-container {
        flex-direction: column-reverse;
        padding: 0;
    }

    /* body drawer control - mobile only */
    .voidling-body {
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .voidling-body.expand {
        max-height: 3000px;
        margin: 0 20px 20px 20px;
    }
    .voidling-body-drawer-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        margin: 20px 0;
    }
    .voidling-body-drawer-toggle-label {
        padding-top: 2px;
        font-size: 1.1rem;
        font-weight: bold;
    }
    .voidling-body-drawer-toggle-icon {
        box-sizing: content-box;
        width: 25px;
        height: 25px;
        padding: 4px 3px 4px 5px;
        color: #fff;
        transition: transform 0.3s ease;
    }
    .voidling-body-drawer-toggle-icon.rotate {
        transform: rotate(90deg);
        transition: transform 0.3s ease;
    }

    .voidling-stats {
        margin: 0;
        width: 100%;
        flex-shrink: 1;
        float: none;
    }
    .voidling-stats-section {
        width: 100%;
    }

}

/* little screens */
@media (max-width: 500px) {
    body {
        font-size: 16px;
    } 
    .interstitial {
        max-width: 100%;
    }
    .interstitial:nth-child(2) {
        display: none;
    }
    #collection-unlock-popup, #card-detail-popup {
        width: 100%;
        height: 100%;
        max-height: 600px;
    }
}