img + em {
    display: flex;
    justify-content: center;
    margin-top: 0.1em;
    margin-bottom: 0.8em;
    font-size: 0.9em;
    width: 100%;
    opacity: 0.7;
}

summary {
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    transition: background-color 0.3s ease;
    border-radius: 0.2em;
    text-decoration: underline;
}

summary:hover {
    cursor: pointer;
}

table {
    width: 100%;
}

.codeblock_filename_container {
    margin-top: 1.5rem;
}

.mdbook-callouts p:nth-of-type(2) {
    margin-top: 0;
    padding-top: 0;
}

.mdbook-callouts-title {
    margin-bottom: 1.0rem;
    text-transform: uppercase !important;
    font-size: 1.05em;
}

span.mdbook-callouts-icon {
    margin-right: 10px;
}

pre.mermaid {
    display: flex;
    justify-content: center;
}

img {
    width: 100%;
}

img.cc {
    all: unset;
    margin-left: 3px;
    vertical-align: text-bottom;
    height: 22px;
}

#license-page-block {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5em;
    text-align: center;
    font-size: 1.3rem;

    a {
        text-decoration: none;
    }
}

#index-title {
    display: flex;
    justify-content: center;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

@media (max-width: 1080px) {
    .menu-title {
        font-size: 1.1em;
        margin: 0;
        padding: 0;
    }
}

#cc0-note {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5em;
}

#h1-index {
    @media (max-width: 1080px) {
        font-size: 1.6em;
    }
}

#ymir-img {
    position: relative;
    border-radius: 0.5em;
    opacity: 0.9;
    filter: grayscale(20%);
    filter: sepia(20%);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    padding: 0;
    animation: 1.5s ease-in-out 0s 1 fadeIn;

    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2);
    width: 95%;
}

#ymir-gif {
    width: 70%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0.5em;

    @media (max-width: 1080px) {
        width: 95%;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.9;
    }
}

.nav-wide-wrapper {
    @media (min-width: 1080px) {
        display: none;
    }
}

.menu-title a {
    text-decoration: none;
    color: var(--icons);

    &:hover {
        color: var(--icons-hover);
        transition: 0.3s ease-out;
    }
}
