:root {
    --rare-color: #62c36c;
    --epic-color: #5dbdc8;
    --mystic-color: #a453f6;
    --common-color: #747474;
}


/*lottie-player {*/
/*    width: clamp(180px, 25vw, 320px);;*/
/*}*/


/*#logo svg path{*/
/*    fill: var(--bulma-logo-color);*/
/*}*/

.stay-tuned {
    display: flex;
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.stay-tuned-text {
    font-size: small;
    margin-right: 5px;
}

.stay-tuned-icons {
    font-size: larger;
}

.logo-container {
    padding: 0 0 0 5px;
    transition: color 0.4s;
}

.heading {
    display: block;
    font-size: clamp(0.55rem, 2vw, 0.9rem);
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

@media screen and (min-width: 1024px) {
    .navbar-item.has-dropdown {
         align-items: center;
    }
    .navbar-start {
        margin-inline-start: auto;
    }
}
@media screen and (max-width: 1200px) {
    .lunacian-code-block {
        flex-direction: column;
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
        line-height: 1rem;
    }
}

/*NAVBAR*/

#atia-navbar{
    display: none;
}

.atia-icon-container {
    position: relative;
    display: flex;
}

#mark {
    position: absolute;
    top: -7px;
    right: -5px;
    width: 20px;
    z-index: 5;
}
.navbar-brand {
    justify-content: space-between;
}
.navbar-brand-start,
.navbar-brand-end {
    display: flex;
}

#profile-dropdown {
    display: block;
}

#close-popup {
    position: absolute;
    right: 5px;
    top: 5px
}
#connection-stages {
    margin-bottom: 15px;
}
#wallet-box {
    position: relative;
    padding:30px;
    border-radius:10px;
    text-align:center;
}

#wallet-popup {
    display:none;
    position:fixed;
    top:0; left:0; right:0; bottom:0;
    background:rgba(0,0,0,0.5);
    z-index:1000;
    align-items:center;
    justify-content:center;
}

#wallet-address-display {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
}

#code-copied-tooltip {
    white-space: nowrap;
    bottom: -170px;
    transform: translateX(-50%);
    text-align: center;
    left: 50%;
    z-index: 1;
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 5px 0;
    border-radius: 6px;
    align-items: center;
    background-color: var(--bulma-background-code-hover);
    visibility: hidden;
    width: max-content;
}

@keyframes tilt-shaking {
    100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
    50% { transform: rotate(0); }
    0% { transform: rotate(0deg); }
}

.lunacian-code-block {
    font-size: clamp(0.7rem, 2vw, 1rem);
}

#lunacian-code {
    display: block;
    animation: tilt-shaking 1s ease-in-out infinite;
    font-weight: bold;
    cursor: pointer;
    background: var(--bulma-background-code);
    color: var(--bulma-logo-color);
}

#lunacian-code:hover {
    background: var(--bulma-background-code-hover)
}

#code-copied-tooltip img {
    margin: auto;
    width: 150px;
    height: 150px;
    max-height: none;
}

.tag.is-inverted {
    background-color: hsl(var(--bulma-tag-h), var(--bulma-tag-s), calc(var(--bulma-tag-color-l) + var(--bulma-tag-background-l-delta)));
    color: hsl(var(--bulma-tag-h), var(--bulma-tag-s), var(--bulma-tag-background-l));
}

/* HEXAGON */

.hexagon-border {
    z-index: 1;
    display: grid;
    position: relative;
    --hex-width: clamp(15px, 3vw, 26px);
    width: var(--hex-width);
    height: var(--hex-width);
    background-color: black;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon {
    position: absolute;
    display: grid;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    background-color: var(--bulma-hexagon-background);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}


.hexagon-text {
    color: var(--bulma-hexagon-text);
    display: grid;
    align-self: center;
    justify-content: center;
    font-size: clamp(8px, 1.5vw, 14px);
}

/*=====*/

/*CHARM TOOLTIP*/

.tooltip-trigger {
    z-index: 3;
}

.tooltip {
    z-index: 5;
    display: none;
    width: max-content;
    position: absolute;
    top: 0;
    left: 0;
}

.tooltip-container {
    background-color: transparent;
    font-size: clamp(0.65rem, 2vw, 0.85rem);
    font-weight: 550;
    display: flex;
    max-width: fit-content;
    border-radius: 10px;
}


.tooltip-left {
    left: 2px;
    background-color: var(--bulma-background-tooltip);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: clamp(80px, 15vw, 120px);
    border: 2px solid var(--bulma-tooltip-border);
    border-radius: 10px;
    padding: 3px;
    position: relative;
}


.tooltip-right {
    background-color: var(--bulma-background-tooltip);
    width: clamp(150px, 25vw, 200px);
    border: 2px solid var(--bulma-tooltip-border);
    border-radius: 10px;
    padding: 8px;
}

.tooltip-potential-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    position: absolute;
    top: 4px;
    left: 4px;
}

.tooltip-potential-point img {
    width: clamp(18px, 3vw, 24px);
}

.tooltip-season {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: clamp(18px, 3vw, 24px);
    height: auto;
    position: absolute;
    top: 4px;
    right: 4px;
}

.tooltip-img-container {
    width: clamp(40px, 10vw, 56px);
    height: clamp(40px, 10vw, 56px);
}

.tooltip-img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.svg-container {
    width: clamp(12px, 4vw, 20px);
    height: auto;
    display: inline-block;
    margin-bottom: -5px;
    margin-top: -2px;
}

.Epic-rune-shadow {
    filter: drop-shadow(0px 0px 2px var(--epic-color));
}
.Mystic-rune-shadow {
    filter: drop-shadow(0px 0px 2px var(--mystic-color));
}
.Rare-rune-shadow {
    filter: drop-shadow(0px 0px 2px var(--rare-color));
}
.Common-rune-shadow {
    filter: drop-shadow(0px 0px 2px var(--common-color));
}

.Epic-charm-shadow {
    filter: drop-shadow(0px 0px 1px var(--epic-color));
}
.Mystic-charm-shadow {
    filter: drop-shadow(0px 0px 1px var(--mystic-color));
}
.Rare-charm-shadow {
    filter: drop-shadow(0px 0px 1px var(--rare-color));
}
.Common-charm-shadow {
    filter: drop-shadow(0px 0px 1px var(--common-color));
}

.svg-container.Rare {
    color: var(--rare-color);
}
.svg-container.Epic {
    color: var(--epic-color);
}
.svg-container.Mystic {
    color: var(--mystic-color);
}
.svg-container.Common {
    color: var(--common-color);
}

.rune-container {
    display: flex;
    flex-direction: column;
}

.badge-container {
    margin-top: -4px;
    align-self: center;
    z-index: 3;
    position: relative;
    border-radius: 10px;
    width: fit-content;
    padding-left: 2px;
    padding-right: 2px;
}
.badge {
    justify-self: center;
    height: clamp(3px, 1vw, 9px);
}
.badge-container.Common {
    background-color: #616060;
    filter: drop-shadow(0px 0px 1px #616060);
}
.badge-container.Rare {
    background-color: #104715;
    filter: drop-shadow(0px 0px 1px #104715);
}
.badge-container.Epic {
    background-color: #0f444a;
    filter: drop-shadow(0px 0px 1px #0f444a);
}
.badge-container.Mystic {
    background-color: #310f53;
    filter: drop-shadow(0px 0px 1px #310f53);
}

.badge.Common {
    background-image: url(common-star.webp);
}
.badge.Rare {
    background-image: url(rare-star.webp);
}
.badge.Epic {
    background-image: url(epic-star.webp);
}
.badge.Mystic {
    background-image: url(mystic-star.webp);
}

/* Display one star */
.star-1 {
    background-size: clamp(3px, 1vw, 9px) clamp(3px, 1vw, 9px);
    background-repeat: repeat-x;
    width: clamp(3px, 1vw, 9px);
}

/* Display two stars */
.star-2 {
    background-size: clamp(3px, 1vw, 9px) clamp(3px, 1vw, 9px);
    background-repeat: repeat-x;
    width: clamp(6px, 2vw, 18px);
}

/* Display three stars */
.star-3 {
    background-size: clamp(3px, 1vw, 9px) clamp(3px, 1vw, 9px);
    background-repeat: repeat-x;
    width: clamp(9px, 3vw, 27px);
}

.tooltip-name {
    text-align: center;
}

/* ICON WITH TEXT*/

.icon-text {
    align-items: center;
    justify-content: center;
}

/*=======*/

/* LOADING */

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fcf;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

.loading-container {
    display: none;
}

.loading-container.htmx-request {
    display: block !important;
}