
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

article h1 {
    font-family: 'Roboto Slab', serif !important;
    font-weight: 600 !important;
}

article h2, article h3, article h4, article h5, article h6 {
    font-family: 'Roboto Slab', serif !important;
    font-weight: 500 !important;
}

[data-bs-theme=light] pre code.hljs {
  border: 1px solid #e0e1e6;
}

p code {
    padding: 1px 6px;
    border: 1px solid var(--bs-border-color);
    white-space: nowrap;
}

.alert code {
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-nav .nav-link
{
    font-family: 'Roboto Slab', serif !important;
    font-weight: 600 !important;
}

/* Header link icon */
.anchorjs-link::after {
    font-family: 'bootstrap-icons' !important;
    content: "\F470" !important;
}

/* Following a C# API reference, add a little icon to show it leads to api reference */
article a.xref:not(.external)::after, .content a.xref:not(.external)::after {
    font-family: "bootstrap-icons";
    content: "\F741"; 
    
    font-size: 0.6em;
    margin-left: 0.2em;
    
    display: inline-block;
    text-decoration: none !important;
}

/* WIP Alert */
.alert-wip {
    --bs-alert-color: var(--bs-info-text-emphasis);
    --bs-alert-bg: var(--bs-info-bg-subtle);
    --bs-alert-border-color: var(--bs-info-border-subtle);
    --bs-alert-link-color: var(--bs-info-text-emphasis);
}

.alert-wip h5::before {
    font-family: "bootstrap-icons";
    content: "\F2D2";
    margin-right: 0.5rem;
    display: inline-block;
}
/* HOME PAGE */
/* We should find some way to move this out of main.css */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: none;

    text-align: center;
    min-height: 80vh;

    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 1rem;
}

.hero h1 {
    font-size: 4rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-actions .btn {
    --bs-btn-border-width: 2px;

    padding: 0.85rem 1.75rem;
    font-size: 1.05rem;
    min-width: 140px;
}

.btn-github {
    --bs-btn-bg: #24292f;
    --bs-btn-border-color: rgba(255, 255, 255, 0.15);
    --bs-btn-color: #ffffff;
    
    --bs-btn-hover-bg: #2f363d;
    --bs-btn-hover-border-color: rgba(255, 255, 255, 0.2);
    --bs-btn-hover-color: #ffffff;

    --bs-btn-active-bg: #444d56;
    --bs-btn-focus-shadow-rgb: 36, 41, 47;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}