:root {
	--color-gold: goldenrod;
	--color-tan: tan;
	--color-dark-10: rgba(10, 10, 10, 0.95);
	--color-dark-20: rgba(20, 20, 20, 0.95);
	--board-height: calc(100vw * 1080 / 1920);
}

* {
   box-sizing: border-box;
   cursor: url('assets/img/icons/cursor.png'), auto;
}

html, body {
	/* eliminate whitespace */
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: visible;
	scrollbar-width: none; /* disable scrollbar for firefox */
}

/* remove spacing between html elements */
body {
	font-size: 0px;
	font-family: Arial Narrow, sans-serif;
	color: var(--color-gold);
	background-color: black;
}

/* disables scroll bar b/c it messes with % units like margins */
body::-webkit-scrollbar {
	display: none;
}

main {
	position: absolute;
	width: 100%;
	height: var(--board-height);
	background-image: url('assets/img/board.jpg');
	background-size: 100% auto;
	background-repeat: no-repeat;
}

/* makes text selection and highlighting invisible */
::selection { background: transparent; }
::-moz-selection { background: transparent; }

::-webkit-scrollbar {
  width: 1.5vw;
}
::-webkit-scrollbar-thumb {
  background: #5559;
  border-radius: .5vw;
  height: 3vw;
  border: .35vw double black;
}
::-webkit-scrollbar-track {
  background: #131313;
}

html {
	scrollbar-color: #5559 #131313; /* mozilla */
}

/* -------- ultrawide / 21:9 support -------- */
@media (min-aspect-ratio: 16/9) {
	body {
		overflow: hidden;
	}
}

#click-background {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 1;
}

#hand-op {
	position: absolute;
	height: 6.35vw;
	width: 4.45vw;
	top: -7vw;
	left: 33vw;
}

#hand-op .card { position: absolute; }

/* ----------- media player ------------------ */

#youtube {
	position: fixed;
	height: 10px;
	width: 10px;
	display: none;
	z-index: -100;
}

#toggle-music {
	position: fixed;
	bottom: 11vh;
	left: 1vw;
	width: 2vw;
	height: 3vw;
	font-size: 3vw;
	color: var(--color-gold);
    text-shadow: 0 0 2vw black;
	z-index: 86;
}

.music-customization {
	left: 48vw;
	bottom: 1vh;
}

#toggle-sfx {
	position: fixed;
	bottom: 6vh;
	left: 1vw;
	width: 2vw;
	height: 3vw;
	font-size: 3vw;
	color: var(--color-gold);
	text-shadow: 0 0 2vw black;
	z-index: 86;
}

#toggle-notifications {
	position: fixed;
	bottom: 1vh;
	left: 1vw;
	width: 2vw;
	height: 3vw;
	font-size: 2.2vw;
	color: var(--color-gold);
	text-shadow: 0 0 2vw black;
	z-index: 86;
}

/* ----------- notification bar ------------------ */

#notification-bar {
	position: absolute;
	width: 100%;
	height: 14%;
	top: 43%;
	background-color: var(--color-dark-10);
	z-index: 100;
}

#notification-bar > div {
	width: 22.1%;
	height: 207.25%;
	top: -66.6%;
	left: 22.55%;
	position: absolute;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}
#notification-bar > div::after {
	position: absolute;
	left: 100.5%;
	top: 32.1%;
	width: 205%;
	height: 47.25%;
	color: var(--color-gold);
	font-size: 1.6vw;
	text-align: left;
	font-weight: bold;
	display: flex;
	align-items: center;
	/* text comes from JS via data-notif-text attribute */
	content: attr(data-notif-text);
}

#notif-me-coin     { background-image: url('assets/img/icons/notif_me_coin.png');      }
#notif-op-coin     { background-image: url('assets/img/icons/notif_op_coin.png');      }
#notif-round-start { background-image: url('assets/img/icons/notif_round_start.png');  }
#notif-me-pass     { background-image: url('assets/img/icons/notif_round_passed.png'); }
#notif-op-pass     { background-image: url('assets/img/icons/notif_round_passed.png'); }
#notif-win-round   { background-image: url('assets/img/icons/notif_win_round.png');    }
#notif-lose-round  { background-image: url('assets/img/icons/notif_lose_round.png');   }
#notif-draw-round  { background-image: url('assets/img/icons/notif_draw_round.png');   }
#notif-me-turn     { background-image: url('assets/img/icons/notif_me_turn.png');      }
#notif-op-turn     { background-image: url('assets/img/icons/notif_op_turn.png');      }
#notif-north       { background-image: url('assets/img/icons/notif_north.png');        }
#notif-monsters    { background-image: url('assets/img/icons/notif_monsters.png');     }
#notif-scoiatael   { background-image: url('assets/img/icons/notif_scoiatael.png');    }
#notif-skellige-op,
#notif-skellige-me { background-image: url('assets/img/icons/notif_skellige.png');     }

/* ------- card preview ------------- */

.card-preview { position: relative; z-index: 80; }
.card-preview > .card-lg {
	position: absolute;
	top: 11.95vw;
	left: 80.3vw;
}
.card-preview > .card-description {
	top: 43.1vw;
	left: 67.95vw;
}

.card-lg {
	height: 30.4vw;
	width: 16.1vw;
	border-radius: 1.5vw;

	background-size: contain;
	background-position: center;
}
.card-description {
	position: absolute;

	height: 7.87vw;
	width: 29.12vw;
	background-color: rgba(20, 20, 20, 0.95);
	color: var(--color-tan);
	text-align: center;
	pointer-events: none;
	border: .1vw solid #ffffff57;
    border-width: .1vw 0;
}

.card-description > * { position: relative; }

.card-description > div {
	top: 1.0vw;
	left: 0.9vw;
	width: 1.95vw;
	height: 1.95vw;
	margin-bottom: -1.9vw;
	background-size: cover;
	background-position: center;
}

.card-description > h1 {
	font-weight: bold;

	top: 0.5vw;
	left: 16%;
	height: 16%;
	width: 70%;
	margin-bottom: -2.1vw;
	text-transform: capitalize;

	font-size: 1vw;
}

.card-description > p {
	top: 37%;
	left: 5%;
	width: 90%;
	height: 50%;

	font-size: 0.9vw;
}

/* ------- carousel ------------- */

#carousel {
	position: absolute;
	width: 100%;
	height: var(--board-height);
	z-index: 90;
}

#carousel > :nth-child(1) {
	width: 100%;
	height: 100%;

	padding: 11.5% 5%;

	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 2.5%;

	background-color: rgba(0, 0, 0, 0.75);
}

#carousel > :nth-child(1) > :nth-child(3) {
	border: .3vw solid var(--color-gold);
	box-shadow: 0 0 4vw var(--color-gold);
	background-origin: border-box;
}

#carousel > :nth-child(1) > :nth-child(2n) {
	width: 13.75vw;
	height: 25.9vw;
}

#carousel > :nth-child(1) > :nth-child(4n - 3) {
	width: 11.3vw;
	height: 21.3vw;
}

#carousel .card-lg {
	display: inline-block;
	background-size: cover;
	background-position: center;
	box-shadow: 0 0 1.5vw rgba(0, 0, 0, 0.9);
}

#carousel .card-description {
	left: 35.35%;
	top: 77%;
}

#carousel > :nth-child(3) {
	position: absolute;
    width: 100%;
    height: 7.5%;
    top: 12%;
    font-size: 1.75vw;
    line-height: 250%;
    background-color: var(--color-dark-10);
    text-align: center;
    box-shadow: 0 0 1vw #ffffff54;
}

/* --------------------- popup ---------------------------  */

#popup {
	position: absolute;
    width: 100%;
    height: var(--board-height);
    background-color: var(--color-dark-10);
    z-index: 1000;
}

#popup > div {
    margin-top: -89px;
    width: 26.5%;
    border: .2vw ridge rgb(40, 40, 40);
    padding: 0 0.5vw;
    background-color: rgb(20, 20, 20);
}

#popup h3 {
    display: block;
    font-size: 1.05vw;
    text-transform: uppercase;
    color: grey;
    text-align: center;
    line-height: 100%;
}

#popup p {
    text-align: center;
    font-size: 1.23vw;
    padding-top: .6vw;
    color: var(--color-tan);
}

#popup > div > div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .2vw;
    min-width: 10%;
    width: fit-content;
    margin: -1.4vw auto 0;
    border: .2vw ridge rgb(25, 25, 25);
    background-color: black;
    top: 1.3vw;
}

#popup button {
    display: inline-block;
    width: auto;
    height: 1.8vw;
    border: .2vw ridge rgb(20, 20, 20);
    background-color: rgb(20, 20, 20);
    font-size: 1vw;
    text-shadow: 1vw 1vw 1vw black;
	text-transform: capitalize;
	margin: 0 0.3vw;
}

#popup button:first-child { color: green; }
#popup button:last-child { color: darkred; }

/* --------------------- end screen ---------------------------  */

#end-screen {
	width: 100%;
	height: var(--board-height);
	position: absolute;
	z-index: 1000;
	background-color: var(--color-dark-10);
}

#end-screen * {
	position: relative;
}

#end-screen > :nth-child(1) {
	top: 12.6%;
	left: 32.9%;
	width: calc(100% * 656 / 1920);
	height: calc(100% * 416 / 1080);
	margin-bottom: -21.65%;
	background-size: contain;
}
.end-draw { background-image: url('assets/img/icons/end_draw.png'); }
.end-win  { background-image: url('assets/img/icons/end_win.png');  }
.end-lose { background-image: url('assets/img/icons/end_lose.png'); }

#end-screen > table {
	top: 55%;
	left: 7.6%;
	width: 74%;
	height: 22%;
	margin-bottom: -12.3%;
	table-layout: fixed;
}

#end-screen tbody :first-child th {
	font-size: .9vw;
	text-align: center;
	color: rgb(100, 100, 100);
}

#end-screen td {
	font-size: 1.7vw;
	text-align: center;
	color: rgb(180, 180, 180);
}

#end-screen tr :first-child {
	font-size: 1.2vw;
	text-align: right;
	color: darkorange;
	padding-right: 5%;
}

#end-screen > p {
	top: 80%;
	left: 30.1%;
	width: 41%;
	height: 3%;
	font-size: 1.21vw;
	color: rgb(180, 180, 180);
}

#end-screen button {
    position: absolute;
    height: 3vw;
    width: 10vw;
    top: 87%;
	font-family: Arial Narrow;
    font-size: 1.5vw;
    color: var(--color-gold);
    background-color: #4c390a66;
    border: .2vw solid #1d180b;
    border-radius: 1vw;
    box-shadow: 0 0 2vw #6d5210;
}

#end-screen button:hover {
	box-shadow: 0 0 3vw #6d5210;
}

#end-screen button:nth-of-type(1) { left: 35%; }
#end-screen button:nth-of-type(2) { left: 55%; }

/* --------------------- panels ---------------------------  */

.panel {
	display: inline-block;
	height: var(--board-height);
	box-sizing: border-box;
	overflow: visible;
	position: absolute;
}

.panel div, .panel section, .panel span {
	position: relative;
}

#panel-left {
	width: 26.5%;
}

#panel-mid {
	width: 52.5%;
	left: 26.5%;
}

#panel-right {
	width: 21%;
	left: 79%;
}

/* -------------------- left panel ----------------------- */

#weather {
	top: 41.25%;
	left: 27.9%;
	width: 54.9%;
	height: 12.75%;
	margin-bottom: -27%;
	z-index: 1;
}

.leader-box {
	left: 27.5%;
	width: 31.4%;
	height: 12.5%;
	margin-bottom: -26.25%;
}

.leader-box .card {
	pointer-events: none;
}

.leader-box > .leader-container {
	height: 100%;
	width: 63%;
	margin-bottom: -80%;

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

.leader-box > div > .card {
	position: absolute;
	height: 98%;
	width: 95%;
	border-radius: 0.6vw;
}

.leader-active {
	top: 33%;
	left: 75%;
	height: 28%;
	width: 24%;
}

.leader-active > div {
	background-image: url('assets/img/icons/icon_leader_active.png');
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	height: 100%;
}

#leader-op {
	top: 7.55%;
}

#leader-me {
	top: 77.5%;
}

.stats {
	height: 12.5%;
	width: 88.5%;
	margin-bottom: -27%;
	background-color: rgba(20, 20, 20, 0.6);
}

.current-turn {
	box-shadow: -3vw 0px 1vw 0.1vw var(--color-gold);
}

#stats-op {
	top: 24.25%;
}

#stats-me {
	top: 61.75%;
}

.profile-img {
	left: 20%;
	top: 9.6%;
	width: 21.9%;
	height: 80%;
	margin-bottom: -24%;

	background-image: url('assets/img/icons/profile.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 100%;
}

.profile-img > div {
	left: -10%;
	top: -6%;
	height: 118%;
	width: 118%;
	background-image: url('assets/img/icons/icon_player_border.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	overflow: visible;
}

.profile-img > div > div {
	width: 43%;
	height: 43%;
	left: -10.5%;
	top: .5%;

	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

#stats-me > div > div > div {
	top: 59%;
}

.score-total {
	top: 31%;
	left: 94.5%;
	height: 40%;
	width: 12%;
	margin-bottom: -12%;

	color: black;
	text-shadow: 0 0 5px white;
	font-size: 1.6vw;
	font-weight: bold;

	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.score-total > div {
	width: 100%;
	height: 100%;
}

#score-total-me {
	background-image: url('assets/img/icons/score_total_me.png');
}

#score-total-op {
	background-image: url('assets/img/icons/score_total_op.png');
}

.score-leader > div {
	background-image: url('assets/img/icons/icon_high_score.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: bottom;
	left: -46%;
	top: -32%;
	width: 195%;
	height: 170%;
}

.hand-count {
	top: 58.5%;
	left: 44%;
	height: 29.5%;
	width: 17%;
	margin-bottom: -9%;

	font-size: 1.7vw;
	font-weight: bold;
	padding-left: 7%;
	display: flex;
	align-items: center;

	background-image: url('assets/img/icons/icon_card_count.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left;
}

#hand-count-me {
	top: 18.5%;
}

.gem {
	width: 9%;
	height: 31%;
	margin-bottom: -9.25%;
	background-image: url('assets/img/icons/icon_gem_off.png');
}

.gem-on {
	background-image: url('assets/img/icons/icon_gem_on.png');
}

#gem2-op {
	top: 56.25%;
	left: 62%;
}

#gem1-op {
	top: 56%;
	left: 72%;
}

#gem2-me {
	top: 14.5%;
	left: 62%;
}

#gem1-me {
	top: 14.5%;
	left: 72%;
}

.name {
	left: 53%;
	top: 8%;
	width: 41.5%;
	height: 20%;
	margin-bottom: -6%;
	overflow: hidden;
	white-space: nowrap;
	font-size: 1.05vw;
	font-weight: bold;
	display: flex;
	align-items: center;
}

#name-me {
	top: 60%;
}

.deck-name {
	left: 53%;
	top: 28%;
	width: 41.5%;
	height: 20%;
	margin-bottom: -6%;
	overflow: hidden;
	text-transform: capitalize;

	color: var(--color-tan);
	font-size: .9vw;
	display: flex;
	align-items: center;
}

#deck-name-me {
	top: 80%;
}

.passed {
	height: 0%;
	width: 0%;
	left: 90%;
	top: 87%;

	color: var(--color-tan);
	font-size: 1.5vw;
	font-weight: bold;
	text-shadow: 1px 1px 2px black;
}
#passed-me { top: -3%; }

#pass-button {
	top: 82%;
	left: 63%;
	width: 20%;
	height: 4%;

	font-size: 2vw;
	font-weight: bold;

	border: .1vw solid var(--color-gold);
	border-radius: .5vw;
	background-color: rgba(20, 20, 20, .9);
}

/* ------------- middle panel ------------------ */

.field {
	width: 100%;
	height: 38.5%;
}

.field .hero {
	pointer-events: none;
}

#field-op {
	top: -1.1%;
}

#field-op .card {
	pointer-events: none;
}

#field-me {
	top: -1.0%;
}

#field-hand {
	width: 100%;
	height: 13%;
}

.field-row {
	height: 32%;
	top: 4%;
	display: flex;
	z-index: 1;
}

.field-row > div {
	position: absolute;
}

.row-score {
	width: 5.1%;
	top: 20%;
	height: 60%;
	margin-bottom: -12.65%;
	font-size: 1.8vw;

	color: black;
	text-shadow: 0 0 5px white;
}

#field-op .field-row:nth-child(3) .row-score,
#field-me .field-row:nth-child(3) .row-score {
	top: 23%;
}

.row-special {
	width: 14.25%;
	height: 100%;
	left: 5.1%;
	margin-bottom: -12.65%;
}

.row-cards {
	height: 100%;
	left: 20%;
	width: 79.7%;
}

.row-weather {
	position: absolute;
	top: 5%;
	left: 5.75%;
	width: 94.25%;
	height: 100%;

	pointer-events: none;

	background-size: cover;
	background-position: bottom;
	background-repeat: no-repeat;
}
.frost { background-image: url('assets/img/icons/overlay_frost.png'); }
.rain  { background-image: url('assets/img/icons/overlay_rain.png');  }
.fog   { background-image: url('assets/img/icons/overlay_fog.png');   }

#hand-row {
	top: 8%;
	height: 91%;
	left: 7.1%;
	width: 92.5%;
	z-index: 1;
}

.row-selectable {
	background-color: rgba(255, 255, 0, 0.08);
}

.row-selectable:hover {
	box-shadow: 0 0 .25vw rgba(255, 255, 0, 1);
	box-sizing: border-box;
}

.card-selectable > .card:hover {
	border: .12vw outset var(--color-gold);
	border-radius: .3vw;
	margin-bottom: 1vw;
	z-index: 1;
}

/* ---------------- right panel ------------- */

.cardpile {
	width: 27.6%;
	height: 13.5%;
	margin-bottom: -36.25%;

	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	overflow: visible;
	z-index: 1;
}

.cardpile .card {
	pointer-events: none;
}

#grave-op {
	top: 6.5%;
	left: 6.5%;
}

#deck-op {
	top: 6.5%;
	left: 51%;
}

#grave-me {
	top: 76.5%;
	left: 6.5%;
}

#deck-me {
	top: 76.5%;
	left: 51%;
}

.deck-card {
	position: relative;
	display: inline-block;

	height: 6.675vw;
	width: 4.45vw;

	background-size: contain;
	background-repeat: no-repeat;
	box-shadow: -.1vw -.1vw .5vw rgba(20, 20, 20, 0.5);
}

.deck-counter {
	position: relative;
	background-color: rgba(20, 20, 20, 0.8);

	width: 3vw;
	height: 2vw;

	z-index: 1;

	color: var(--color-tan);
	font-size: 1.3vw;
}

.cardpile .deck-card {
	top: -5%;
	margin-top: -114.5%;
}

.cardpile > .card {
	top: -5%;
	margin-top: -108.5%;
}

/* ----------- deck creation menu  ------------------*/

#deck-customization {
	position: absolute;
	width: 100%;
	height: var(--board-height);
	background-color: var(--color-dark-10);
	z-index: 85;
	pointer-events: auto;
}

#faction-title {
	position: absolute;
	height: 5%;
	width: 100%;
	top: 6%;
}

#deck-customization h1 {
    position: absolute;
    font-size: 1.45vw;
    color: #dedede;
    line-height: 220%;
    text-transform: capitalize;
    padding: 0 3%;

	top: -60%;

    background-size: contain;
    background-repeat: no-repeat;
}

#faction-description {
	position: absolute;
	font-size: 1.14vw;
	color: #ab977c;
	top: 9.45%;
	left: 20.2%;
	width: 60%;
	text-align: center;
}

.deck-options {
	position: absolute;
	font-size: 1vw;
	color: white;
	top: 15%;
}

#upload-deck {
	left: 28%;
}

#change-faction {
	left: 44%;
}

#download-deck {
	left: 60%;
}

#sort-controls {
	position: absolute;
	top: 19%;
	left: 8%;
	font-size: 0.85vw;
	color: #6a5a3a;
	user-select: none;
}

.sort-btn {
	margin-left: 0.7vw;
	color: #b09060;
	cursor: pointer;
	padding-bottom: 0.1vw;
}

.sort-btn:hover {
	color: #d4a84b;
}

.sort-btn.sort-active {
	color: var(--color-gold);
	border-bottom: 0.1vw solid var(--color-gold);
}

.card-array {
	position: absolute;
	width: 34.4%;
	height: 68%;
	overflow-y: scroll;
	padding: .1vw 1.1vw;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#card-bank {
	top: 22.5%;
	left: 8.275%;
}

#card-deck {
	top: 22.5%;
	left: 58.4%;
}

.card-array .card-lg {
    width: 9.88vw;
    height: 18.45vw;
    border-radius: 1vw;
	margin-bottom: 0.75vw;
}

.card-array .card-lg > div {
	position: relative;
	top: 82.5%;
	left: 76%;
	width: 20%;
	height: 7%;
	font-size: 1.2vw;
	color: #5f4923;
	padding-left: 1.7vw;
	background-image: url('assets/img/icons/preview_count.png');
	background-position: left;
	background-repeat: no-repeat;
	background-size: contain;
}

#card-leader {
	position: absolute;
	height: 27%;
	width: 6.9%;
	top: 20.8%;
	left: 46.6%;
}

#card-leader p {
	font-size: 1.1vw;
	text-align: center;
	color: #8f6c36;
	line-height: 0%;
	margin: 9%;
}

#card-leader > div {
	position: relative;
	height: 84.5%;
	margin-top: 24.5%;

	background-size: contain;
	border-radius: .5vw;
}

#deck-stats {
	position: absolute;
	width: 12%;
	height: 30%;
	top: 49.5%;
	left: 44.05%;
}

#deck-stats > p:nth-child(odd) {
	color: #82735f;
	font-size: 1.05vw;
	text-align: center;
	margin-bottom: -6.75%;
}

#deck-stats > p:nth-child(even) {
	font-size: 1.2vw;
	text-align: left;
	color: #9f7d3e;
	padding-left: 2.3vw;
	margin-left: 3.95vw;
	margin-bottom: -6.75%;

	background-repeat: no-repeat;
	background-position: left;
	background-size: 2.5vw;
}

#deck-stats > p:nth-child(2)  { background-image: url('assets/img/icons/deck_stats_count.png');    }
#deck-stats > p:nth-child(4)  { background-image: url('assets/img/icons/deck_stats_unit.png');     }
#deck-stats > p:nth-child(6)  { background-image: url('assets/img/icons/deck_stats_special.png');  }
#deck-stats > p:nth-child(8)  { background-image: url('assets/img/icons/deck_stats_strength.png'); }
#deck-stats > p:nth-child(10) { background-image: url('assets/img/icons/deck_stats_hero.png');     }

#start-game {
	position: absolute;
	top: 86%;
	left: 46.65%;
	width: 6%;
	height: 3%;
	font-size: 0.98vw;
	white-space: nowrap;
	color: white;
	background-color: rgb(20, 20, 20);
	border: 0.1vw ridge rgb(30, 30, 30);
}

.card-container-title {
	position: absolute;
	width: 10%;
	height: 3%;
	font-size: 1.3vw;
	color: #959595;
}

#card-bank-title {
	top: 7.45%;
	left: 8.5%;
}

#card-deck-title {
	top: 7.8%;
	left: 84.45%;
}

/* ----------- cards ------------------*/

.card {
	height: 6.35vw;
	width: 4.45vw;

	background-size: contain;
	background-repeat: no-repeat;

	box-shadow: -.1vw -.1vw .5vw rgba(20, 20, 20, 0.5);

	display: inline-block;

	position: relative;

	transition: margin-bottom 0.05s, margin-left .25s, margin-right .25s, transform 0.5s;

	z-index: 1;
}

.deck-card .card { position: absolute; }

.card > div {
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.card > div:nth-child(1) {
	top: -4%;
	left: -4%;
	width: 70%;
	height: 50%;
	margin-bottom: -71%;

	background-position: 0 0;
}

.card > div:nth-child(1) > div {
	position: absolute;
	top: 5%;
	left: 5%;
	width: 55%;
	height: 50%;
	font-size: 1vw;
	font-weight: bold;
	color: black;
	text-shadow: 0 0 .1vw white;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero > div:nth-child(1) > div {
	color: white;
	text-shadow: 0 0 .1vw black;
}

.card > div:nth-child(2) {
	top: 75%;
	left: 65%;
	width: 33%;
	height: 22%;
	margin-bottom: -32%;
}

.card > div:nth-child(3) {
	top: 75%;
	left: 31%;
	width: 33%;
	height: 22%;
	margin-bottom: -32%;

	font-size: 1vw;
}

.card > div:nth-child(4) {
	width: 100%;
	height: 100%;
	background-position: center;
	background-size: 40% auto;
	opacity: 0;
	transition: background-size 0.25s;
}

.card-container {
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.card-container .card {
	margin: 0 1px;
	flex-shrink: 0;
}

/* ----------- misc ----------------  */

.center {
	display: flex;
	justify-content: center;
	align-items: center;
}

.bg-contain {
	background-size: contain;
	background-repeat: no-repeat;
}

.visible { display: revert; }
.hide { display: none; }
.fade { opacity: 0.2; }

.noclick {
	pointer-events: none;
}
