
.section {
    padding: 1.5rem;
}

#battle-container {
    text-align: center;
}

.charms-item:last-child {
    margin-right: 0;
}

.avatar-container {
    position: relative;
    width: 128px;
    height: 128px;
}

.avatar-image, .border-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    object-fit: cover;
}

.avatar-image {
    transform: translate(-50%, -50%) scale(0.65);
    z-index: 1;
}

.border-image {
    z-index: 2;
    transform: translate(-50%, -50%) scale(1);
}

.last-updated {
    font-size: 0.75rem;
    margin: -10px 0 -10px 0;
}

.profile-link-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center {
    text-align: center;
}

.vstar-delta-container {
    display: inline-block;
    position: relative;
}

.vstar-delta {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.replay-link {
    align-self: center;
    color: #3498db;
}

.replay-link:visited {
    color: #70288d;
}

.analytics-team-row {
    background-color: var(--bulma-background-analytics-team);
    margin-top: calc(1.5rem - 1rem);
}

.battle-team {
    margin-left: -10px;
    margin-right: -10px;
}
.battle {
    padding-bottom: 10px;
    padding-top: 10px;
    margin-bottom: 10px;
    background-color: var(--bulma-background-analytics-battle);
    border: solid var(--bulma-border-analytics-battle);
}
.team-analytics-container {
    text-align: center;
}
#section-content-container {
    margin-top: 20px;
}

.need-premium {
    margin: 20px;
}

.left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-analytics-container .right-column {
    display: flex;
    flex-direction: row;
    overflow: overlay;
    margin-top: 20px;
}

.tag.name-tag {
    cursor: pointer;
    border-radius: 0;
}

.total-tag {
    width: clamp(2.2rem, 4vw, 3rem);
}

.winrate-tag {
    cursor: pointer;
    width: clamp(2.2rem, 4vw, 3rem);
}

.tag.name-tag:hover,
.tag.name-tag.active {
    box-shadow: inset 0 0 0 2px;
    box-sizing: border-box;
}
.winrate-tag:hover{
    border: solid;
}
.winrate-vs .tags {
    flex-direction: column;
}
.winrate-vs .tags .tag {
    font-size: clamp(0.75rem, 2vw, 1rem);
}

.winrate-vs {
    display: flex;
    flex-direction: column;
    width: fit-content;
}
#load-more {
    margin: 20px;
}

.section-buttons {
    justify-content: center;
    margin-bottom: 10px;
}

.filter-buttons-container {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.filter-buttons-container .button {
    font-size: clamp(0.57rem, 2vw, 0.75rem) !important;
}

.buttons.static-button {
    margin-bottom: 5px;
    justify-content: end;
}

.column.padding-left {
    padding-left: 0.15rem;
    padding-right: 0;
}
.column.static-buttons {
    flex: none;
    width: fit-content;
    padding-right: 0.15rem;
    padding-left: 0;
}

.buttons.game-mode-buttons,
.buttons.era-buttons,
.buttons.result-fight-buttons {
    margin-bottom: 5px;
    gap: 7px;
}

/*AXIE BATTLE CONTAINER*/

.axie-battle-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 auto;
}

.axie-analytics-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    width: calc(clamp(100px, 12vw, 280px));
    transform: translate(-20%);
}

.axie-battle-image {
    transform: scale(1.2) translate(-5%, -3%);
}

.rune-battle-image {
    width: clamp(12px, 5vw, 34px);
    height: clamp(12px, 5vw, 34px);
}

.rune-battle-image {
    object-fit: contain;
    position: relative;
}

.axie-info {
    position: relative;
    display: flex;
    flex-direction: row;
    top: 10px;
}

.axie-info.reverse {
    flex-direction: row-reverse;
}


.flip-horizontal {
      transform: scaleX(-1) scale(1.2) translate(-5%, -3%);
}

.battle-mid-column {
    align-self: center;
    display: flex;
    flex-direction: row;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.battle-mid-column .block {
    margin-bottom: 0;
}

/*=====*/

/* CHARMS BATTLE*/

@media (min-width: 769px) {

    .battle-mid-column {
        flex-direction: column;
    }

    .battle-mid-column .block {
        margin-bottom: 2rem;
    }

    .battle-team {
        margin-left: 0;
        margin-right: 0;
    }
    .rune-battle-image {
        width: clamp(12px, 2.5vw, 34px);
        height: clamp(12px, 2.5vw, 34px);
    }
    .hexagon-border {
        --hex-width: clamp(12px, 2.5vw, 34px);
        width: var(--hex-width);
        height: var(--hex-width);
    }
    .hexagon-text {
        font-size: clamp(6px, 1.5vw, 16px);
    }
    .axie-info {
        top: 10px;
    }

    .part-battle-image {
        display: block;
        object-fit: contain;
        width: clamp(12px, 1.65vw, 23px);
        height: clamp(12px, 1.65vw, 23px);
    }

    .charm-battle-image {
        object-fit: contain;
        width: clamp(14px, 1.65vw, 23px);
        height: clamp(14px, 1.65vw, 23px);
    }
}

@media screen and (max-width: 768px) {

    #battle-container {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
    }

    .axie-analytics-container {
        align-items: center;
        display: flex;
        flex-direction: column;
        width: calc(clamp(100px, 30vw, 280px));
    }

    .box {
        margin-left: -1rem;
        margin-right: -1rem;
    }

}





.charms-battle-container {
    position: relative;
    z-index: 4;
    display: flex;
}

.charms-battle-container.left {
    left: 2%;
}
.charms-battle-container.right {
    right: 5%;
}

.part-battle-image {
    display: block;
    object-fit: contain;
    width: clamp(12px, 3vw, 23px);
    height: clamp(12px, 3vw, 23px);
}

.charm-battle-image {
    object-fit: contain;
    width: clamp(14px, 3vw, 23px);
    height: clamp(14px, 3vw, 23px);
}

.charms-battle-item {
    position: relative;
    flex: 1;
}

.charms-battle-item:last-child {
    margin-right: 0;
}

