.code,
code {
    border-radius: 3px;
    padding: 0 5vw;
    font-size: 85%;
    tab-size: 2;
    color: #6b6b6b;
}

pre {
    white-space: pre-wrap;
    background-color: #f4f4f4;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
    margin: 10px 5px !important;
    padding: 10px;
}

.navbar {
    background-color: transparent;
}

.navbar-item img {
    max-height: 2rem;
}

.reference {
    padding-left: 5vw;
    padding-right: 5vw;
    text-align: center;
    line-height: 0.98;
}

.authors {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 0.9rem;
}

.affiliations {
    margin-bottom: 20px;
    font-size: 0.8rem;
}

.container {
    max-width: 900px;
    margin: 1vw auto;
    padding: 20px 10vw;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 1em;
}

.container h1 {
    text-align: center;
    font-size: 24px;
}

h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

blockquote {
    font-size: 1.05rem;
    margin: 2em 6vw;
    background-color: #f1f3f4;
    border-radius: 1em;
    padding: 1em;
}

.boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.grey-box {
    background-color: #f1f3f4;
    padding: 1rem;
    border-radius: 8px;
    width: calc(33% - 1rem);
    min-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.2s ease;
}

.grey-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: #333;
}

.feature-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: "\f00c";
    font-family: 'Font Awesome 5 Free', serif;
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--bulma-success);
}

.content ul {
    list-style: none !important;
}

strong {
    color: var(--bulma-link);
}

.doc-section {
    margin-bottom: 2rem;
    padding: 0 7em;
}

.doc-section img {
    width: 90%;
    display: block;
    margin: 1rem auto;
}

ul {
    list-style: inside;
}

ol {
    list-style: decimal inside;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

h2 {
    font-size: 1.5rem !important;
    padding-top: 1.75rem;
    margin-bottom: 1rem !important;
}

h3 {
    font-size: 1.25rem !important;
    padding-top: 1.75rem;
    margin-bottom: 1rem !important;
}

h4 {
    font-size: 1.125rem !important;
    padding-top: 1.5rem;
    margin-bottom: 1rem !important;
}

h5 {
    font-size: 1rem !important;
    padding-top: 1.25rem;
    margin-bottom: 0.25rem !important;
}

.grey-box h3 {
    padding-top: .25rem !important;
}

p, ul, ol {
    padding-bottom: .75rem;
    padding-top: .75rem;
}

iframe {
    min-height: 350px;
    width: 100%;
}

.cat-icon {
    height: 2em;
    padding: 0 1em;
}

.formula {
    background-color: #f9f9f9;
    padding: .5rem;
    border-left: 3px solid #ddd;
    margin: 0.5rem 0;
    font-family: monospace;
    font-size: 0.85rem;
}

.formula p {
    margin: 0;
    padding: 0.25rem 0;
}

@media (max-width: 768px) {
    .grey-box {
        width: 100%;
    }

    .reference {
        padding-left: 3vw;
        padding-right: 3vw;
    }

    blockquote {
        margin-left: 1vw;
        margin-right: 1vw;
    }

    .container {
        padding: 20px 2vw;
    }

    .doc-section {
        padding: 0 1em;
    }

    .nav-buttons .txt {
        display: none;
    }

    iframe {
        min-height: 300px;
    }
}
