@import url("style.css");
@import url("musicmodal.css");

/* NPCs (same as items but without the filter stuff) */

summary {
    margin-bottom: .5em;
    margin-top: .5em;
    font-weight: 500;
    font-family: "Oswald";
    display: hidden;
}

details summary { font-size: 2em }
details details summary { font-size: 1.5em }
details details details summary { font-size: 1em }
details details details details summary { font-size: .5em }

/* Item Previews */
.hover {
    display: table;
    position: relative;
    color: var(--link-dark);
    text-decoration: none;
    cursor: pointer;
}

.hover img {
    width: 16px;
}

.hover:hover, .hover:focus {
    color: hsl(from var(--link-dark) h s 80%);
}

.tooltip {
    z-index: 1;
    top: 105%;
    opacity: 0;
    position: absolute;
    transition: 0.25s;
    pointer-events: none;

    background-color: var(--bg-dark);
    border: 1px var(--text-dark) solid;

    width: max-content;
    text-align: left;
    color: var(--text-dark);

    padding: 25px;
}

.hover:hover .tooltip, .hover:focus .tooltip {
    opacity:1;
    top: 100%;
}

.hover:focus .tooltip {
    pointer-events: all;
    cursor:auto;
}

/* Audio */
#music_title {
    text-transform: capitalize;
}

.audio {
    text-transform: capitalize;
    display: flex;
    align-items: center;
    padding: 5px;
    cursor: pointer;
    width:fit-content;
}

.audio img {
    height: 16px;
    width: auto;
    margin-right: 5px;
}

.audio:hover {
    background-color: rgba(255,255,255,0.5);
    color: var(--ivory);
}

audio {
    margin-top: 10px;
}
