@font-face {
    font-family: LHF_Billhead_1890;
    src: url(../../media/fonts/lhf_billhead_18901.ttf);
}

@font-face {
    font-family: Cruickshank;
    src: url(../../media/fonts/CRUICKSH.TTF);
}

@font-face {
    font-family: CherrySwash-Regular;
    src: url(../../media/fonts/GoogleFonts/Cherry_Swash/CherrySwash-Regular.ttf);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    color: #e8ecf1;
    font-family: CherrySwash-Regular;
    background-color: #0e0f12;
    background-image: url(../../media/img/backgrounds/dead_bad_hand.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0b0c0f;
    border-bottom: 1px solid #20232a;
}

header h1 {
    margin: 0;
    font-family: Cruickshank;
    font-size: 35px;
    font-weight: normal;
}

.right-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

button {
    margin: 1px;
    border: 0.125rem solid black;
    font-family: LHF_Billhead_1890;
    font-size: 30px;
    color: wheat;
    background-color: rgba(31, 4, 93, 0.9);
}

button:hover {
    color: white;
    background: rgba(67, 47, 109, 0.8);
}

#index_holder_1 {
    position: relative;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 72px);
    margin: 1rem;
    overflow: visible;
}

#index_holder_2 {
    position: relative;
    width: min(100%, calc((100vh - 72px) * 16 / 9));
    height: 100%;
    overflow: visible;
}

#index_holder_1 img {
    cursor: pointer;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.small_map {
    margin: 0;
    text-align: center;
    backface-visibility: hidden;
    transform: scale(1);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.small_map:hover {
    transform: scale(1.1);
}

.small_map img {
    display: block;
    width: 100%;
    height: auto;
    will-change: transform;
    filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.45));
}

.start-card {
    position: absolute;
    z-index: 2;
}

.start-card-multi {
    left: 0;
    top: 3%;
    width: 15%;
}

.start-card-single {
    left: 8%;
    top: 47%;
    width: 15%;
}

.start-card-editor {
    right: 2%;
    top: 1%;
    width: 14%;
}
