a {
    color: #c28939;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #6e4e21;
}

p {
    overflow-wrap: break-word;
}

.one-way-variant {
    position: relative;
}

.one-way-variant:not(.blocked):not(.selected) {
    cursor: pointer;
}

.one-way-variant::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background: #c28939;
    transition: all 0.3s ease;
    opacity: 0;
}

.one-way-variant:not(.blocked):hover::after,
.one-way-variant.selected::after {
    left: 0;
    right: 0;
    opacity: 1;
}

.members-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.member-card {
    display: flex;
    flex-direction: column;
    border: 3px solid #c28939;
    border-radius: 20px;
    padding: 1.25rem;
}

.member-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    background: none;
    cursor: pointer;
}

.member-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.member-avatar {
    width: 70px;
    height: 70px;
    border: 3px solid #c28939;
    border-radius: 50%;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    color: #c28939;
    font-size: 2rem;
}

.member-avatar img {
    width: 100%;
    height: 100%;
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: #c28939;
}

.member-name {
    font-size: 1.6rem;
    font-weight: 550;
    text-align: left;
}

.member-role {
    font-size: 1rem;
    text-align: left;
}

.expand-indicator {
    width: 42px;
    height: 42px;
    transition: all 0.5s ease;
}

.expand-indicator.active {
    rotate: 180deg;
}

.member-extra {
    color: #c28939;
    text-align: justify;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

hr {
    border: none;
    border-top: 2px solid #c28939;
    margin: 1rem 0 1rem;
}

.member-details {
    padding: 0 4px;
}

.member-details p {
    line-height: 1.6;
    margin: 10px 0px;
}

.member-details p:last-child {
    margin-bottom: 0;
}

.socials-container {
    margin-top: 20px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.socials-container::before {
    content: "[";
    font-size: 1.75rem;
    align-self: center;
    margin-right: -6px;
}

.socials-container::after {
    content: "]";
    font-size: 1.75rem;
    align-self: center;
    margin-left: -6px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icon {
    width: 24px;
    height: 24px;
}

.marrald-description {
    position: relative;
    width: 100%;
    height: 100%;
}

.marrald-description-img {
    width: 100%;
    height: auto;
}

.book {
    position: absolute;
    left: 70.25%;
    top: 42%;
    width: 20.75%;
    min-height: 40.5%;
    max-height: 40.5%;
    display: flex;
    flex-direction: column;
    font-family: "Minecraft";
    color: #000000;
}

.page-progress {
    text-align: right;
    font-size: 1em;
}

.book-content {
    text-align: left;
    margin-top: 7.5%;
    flex-grow: 1;
    overflow: hidden;
}

.book-page {
    display: none;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

.book-page.active {
    display: flex;
    flex-direction: column;
}

.book-nav-btns {
    display: flex;
    justify-content: space-between;
    margin: 3% 7.5% 0;
}

.prev-btn,
.next-btn {
    width: 27.5%;
}

.prev-btn:hover,
.next-btn:hover {
    cursor: pointer;
}

.prev-btn:hover {
    content: url("/img/members/marrald/page-prev-hover.png");
}

.next-btn:hover {
    content: url("/img/members/marrald/page-next-hover.png");
}

.tooltip-hitbox {
    position: absolute;
}

#music-disk-tooltip-hitbox {
    width: 10%;
    height: 15%;
    top: 50.75%;
    left: 16.25%;
    cursor: pointer;
}

#axe-tooltip-hitbox {
    width: 6%;
    height: 9%;
    top: 79%;
    left: 27.5%;
}

#fish-tooltip-hitbox {
    width: 6%;
    height: 9%;
    top: 79%;
    left: 39.5%;
}

#book-tooltip-hitbox {
    width: 6%;
    height: 9%;
    top: 79%;
    left: 45.625%;
}

#flower-tooltip-hitbox {
    width: 6%;
    height: 9%;
    top: 79%;
    left: 51.75%;
}

#bottle-tooltip-hitbox {
    width: 6%;
    height: 9%;
    top: 67.625%;
    left: 57.625%;
}

#cake-tooltip-hitbox {
    width: 6%;
    height: 9%;
    top: 58.5%;
    left: 39.5%;
}

#candle-tooltip-hitbox {
    width: 6%;
    height: 9%;
    top: 49.375%;
    left: 51.75%;
}

.tooltip {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    pointer-events: none;
    background-image: url("/img/members/marrald/tooltip-bg.png");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    font-family: "Minecraft";
    padding: 10px;
    flex-direction: column;
    gap: 0.5rem;
}

.rarity-common {
    color: #ffffff;
}

.rarity-uncommon {
    color: #ffff55;
}

.rarity-rare {
    color: #55ffff;
}

.rarity-epic {
    color: #ff55ff;
}

.tooltip-item-description {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: #aaaaaa;
}

.hidden {
    display: none;
}
