* {
    padding: 0;
    margin: 0;
    overflow-y: hidden;
    overflow-x: hidden;
}

body {
    box-sizing: border-box;
}

.main {
    background: url("/img/background-game.webp") no-repeat center center fixed;
    background-size: contain;
    background-position: 50% 0%;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.main-header {
    padding-left: 10px;
    padding-right: 10px;
    display: block;
}

.first-header {
    padding: 8px 10px 10px;
}

.second-header {
    padding: 10px;
    text-align: center;
}

.last-header {
    padding: 10px;
    text-align: right;
}

.gear {
    width: 30px;
    height: 30px;
}

.level-text {
    font-size: 30px;
    font-weight: bold;
    color: white;
}

.count-text {
    font-size: 15px;
    font-weight: bold;
    color: white;
}

.status-section {
    padding: 10px;
}

.hp-container {
    width: 100%;
    height: auto;
    position: relative;
}

.hp-bar-wrapper {
    position: relative;
    width: 75%;
    height: 25px;
    left: 0;
    right: 0;
    margin: auto;
}

.hp-bar-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    overflow: hidden;
    z-index: 0;
}

.hp-bar-inner {
    height: 100%;
    width: 100%;
    background-color: orange;
}

.hp-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
    color: white;
    font-weight: bold;
    z-index: 1;
    background-color: transparent; /* agar bar belakang kelihatan */
}


.orc-display,
.mini-skeleton-display,
.goblin-forest-display {
    opacity: 0;
}

.gold-bar {
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
    font-weight: bold;
    color: gold;
}

.enemy-section {
    overflow: hidden;
}

.fade-out {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

.ally-section {
    overflow: hidden;
}

.floor-1, .floor-2, .floor-3, .floor-4, .floor-5, .floor-6 {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-height: 61px;
}

.orc-display {
    width: 100px;
    height: auto;
}

.goblin-forest-display {
    width: 100px;
    height: auto;
}

.mini-skeleton-display {
    width: 100px;
    height: auto;
}

.mc-container {
    position: relative;
}

.main-character-display {
    width: 100px;
    height: auto;
    display: block;
    left: 0;
    right: 0;
    margin: auto;
}

.skill-place {
    display: block;
}