.content-box .stack-h {
    margin-top: 7em;
    margin-bottom: 1em;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.content-box .stack-h > div {
    margin-left: -10em;
}
.content-box .stack-h > div:first-child {
    margin-left: 0;
}

.content-box .stack-h > div:nth-child(1) {
    transform: rotate(-10deg);
    margin-top: 3em;
}
.content-box .stack-h > div:nth-child(2) {
    transform: rotate(-7deg);
    margin-top: 1em;
}
.content-box .stack-h > div:nth-child(3) {
    transform: rotate(-4deg);
}
.content-box .stack-h > div:nth-child(4) {
    transform: rotate(-8deg);
    margin-top: -15em;
}
.content-box .stack-h > div:nth-child(5) {
    transform: rotate(3deg);
    margin-top: -0em;
}
.content-box .stack-h > div.card-foresight:nth-child(4) {
    margin-top: -12em;
}

.content-box .stack-hv {
    margin-top: 7em;
    margin-bottom: 4em;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.content-box .stack-hv > div {
    margin-left: -38em;
}
.content-box .stack-hv > div:first-child {
    margin-left: 0;
}

.content-box .stack-hv > div:nth-child(1) {
    transform: rotate(-10deg);
    margin-top: 3em;
}
.content-box .stack-hv > div:nth-child(2) {
    transform: rotate(-7deg);
    margin-top: 1em;
}
.content-box .stack-hv > div:nth-child(3) {
    transform: rotate(-4deg);
}
.content-box .stack-hv > div:nth-child(4) {
    transform: rotate(-4deg);
    margin-top: -15em;
    margin-left: -30em;
}
.content-box .stack-hv > div:nth-child(5) {
    transform: rotate(3deg);
    margin-left: -52em;
}


.content-box .stack-v {
    margin-top: 1em;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.content-box .stack-v > div {
    transform: rotate(-2deg);
    margin-top: -28em;
}
.content-box .stack-v > div:first-child {
    margin-top: 0;
}
.content-box .stack-v > .card:nth-child(1) {
    transform: rotate(2deg);
}
.content-box .stack-v > .card:nth-child(2) {
    transform: rotate(-3deg);
}
.content-box .stack-v > .card:nth-child(3) {
    transform: rotate(-4deg);
}
.content-box .stack-v > .card:nth-child(5) {
    margin-left: -5em;
    transform: rotate(1deg);
}

/* BOX */

.content-box .box {
    width: 100%;
    height: 33em;
    position: relative;
    pointer-events: none;
}
.content-box .box::before {
    content: "";
    position: absolute;
    left: -20em;
    top: -21em;
    width: 170%;
    height: 200%;
    background: transparent url("../images/open_box.png") no-repeat center center / contain;
}

.content-box .block-sub {
    font-size: 2.2em;
    font-family: "Title";
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0.2em black;
    padding: 0.7em 1em;
    border-radius: 0.35em;
    text-align: right;
}

.content-box .cards-show {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.content-box .cards-show-even .stack-h {
    margin-right: -12em;
}
.content-box .cards-show-odd .stack-h {
    margin-left: -11em;
}

.content-box .cards-show-even,
.content-box .cards-show-odd {
    display: flex;
    flex-direction: row;
}

.content-box .cards-show-odd {
    flex-direction: row-reverse;
}
.content-box .cards-show-odd .block-sub {
    text-align: left;
}
.content-box .cards-show-even .block-sub {
    margin-top: 5em;
}
.content-box .cards-show-even {
    margin-top: -5em;
}

.card-show-catastrophes .block-sub,
.card-show-achievements .block-sub {
    text-align: center;
}

.card-show-catastrophes,
.card-show-achievements {
    margin-top: 5em;
}

/* PROGRESS DECKS */

.content-box .card-show-progress {
    margin-top: 4em;
    gap: 2em;
}
.content-box .card-show-progress .stack-h {
    margin-top: 0em;
}
.content-box .card-show-progress .stack-h > div:nth-child(4) {
    transform: rotate(1deg);
    margin-top: 0;
}

.content-box .stack-topsecret {
    position: relative;
}

.content-box .topsecret {
    position: absolute;
    left: -3em;
    bottom: 2em;

    --width: 38em;

    width: var(--width);
    height: 8em;
    background: #1c1c1c;
    box-shadow: 0 0 0.5em black;

    border-radius: 1em;
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;

    text-shadow: none;
    padding: 1em 3em;
    box-sizing: border-box;
}
.content-box .topsecret::before {
    content: "TOP SECRET";
    color: #555;
    font-size: 1.5em;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
}
