h1, h2, h3, h4, h5, h6 {
    font-family: Play, monospace;
    margin-top: 1.5rem;
    margin-bottom: 1.125rem;
}

h1:first-child, h2:first-child, h3:first-child {
    margin-top: 0;
}

h1 a {
    font-size: 100% !important;
    text-decoration: underline !important;
    --bs-btn-active-bg: transparent !important;
    --bs-btn-active-color: var(--bs-btn-border-color) !important;
}

img {
    margin-right: 0.5em;
    vertical-align: middle;
}

pre {
    background-color: #1c1c1c;
    color: #dcdcdc;
    font-family: "Atkinson Hyperlegible Mono", "Courier New", monospace;
    padding: 1em;
    position: relative;
}

tt {
    color: #dcdcdc;
    font-family: "Atkinson Hyperlegible Mono", "Courier New", monospace;
}

h4 tt:has(+ tt) {
    margin-right: 0.2em;
}

.btn {
    border-radius: 2px;
    text-decoration: none;
}

/* .btn-warning {
    border-color: var(--bs-warning);
    color: var(--bs-warning);
} */

.btn-no-hover {
    --bs-btn-hover-bg: var(--bs-btn-bg);
    --bs-btn-hover-border-color: var(--bs-btn-border-color);
    --bs-btn-hover-color: var(--bs-btn-color);
}

.pre-wrapper {
    position: relative;
}

.copy-btn {
    cursor: pointer;
    font-size: 0.75rem;
    opacity: 0.9;
    padding: 0.25rem 0.5rem;
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    z-index: 1;
}

.copy-btn:hover {
    opacity: 1;
}

.anime {
    max-height: 200px;
    max-width: 200px;
}
