body {
    background-color: #FAFAFB; /* Replace with your grey color */
    margin: 0;
    padding: 0;
    height: 100%; /* Ensure the background covers the full height */
}

/* Make sure your content container takes up full height */
html, body {
    height: 100%;
}

textarea:focus, input:focus {
    outline: none;
}

.btn-primary {
    background-color: white;
    color: lightgrey;
    font-size: 1.25em;
    font-weight: 600;
    padding: 8px;
    border: 0;
    position: absolute;
    top: 6px;
    right: 6px;
    border-radius: 64px;
}

.btn-primary:hover {
    background-color: white;
    color: #0f0f32;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}

.hidden {
    display: none;
}

.entry-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 8px;
    margin-bottom: 8px;
}

.entry-list {
    display: flex;
    flex-flow: row wrap;
    padding: 0;
    column-gap: 4px;
    row-gap: 4px;
}

.entry-tag {
    list-style: none;
    background-color: #ececee;
    font-size: 0.875em;
    padding: 2px 4px;
    border-radius: 2px;
    color: inherit;
    text-decoration: none;
}

.entry-tag a {
    color: inherit;
    text-decoration: none;
}

.field-heading {
    font-weight: 600;
}



.glossary-entry {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 16px;
    border-radius: 6px;
    list-style: none;
    margin-bottom: 16px;
}

.glossary-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.glossary-list {
    padding: 0;
    margin-top: 24px;
    flex-direction: column;
}

.search-bar {
    display: flex;
    flex-direction: row;
    position: relative;
    min-width: 300px;
}

.term {
    font-size: 1.5em;
}

.text-field {
    font-family: 'Plus Jakarta Sans', 'Inter', 'Helvetica', sans-serif;
    font-size: 1em;
    padding: 15px 60px 15px 24px;
    border: 1px solid #ececee;
    border-radius: 64px;
    min-width: 400px;
}

.glossary-icon {
    width: 80px;
}

div.glossary-field p {
    margin-bottom: 0;
}

.navbar {
    grid-column-gap: 0;
    grid-row-gap: 0;
    background-color: #0f0f32;
    flex-direction: column;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    min-height: 72px;
    margin-top: 0;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    inset: 0% 0% auto;
    box-shadow: 0 2px 4px #0003;
    color: white;
}

.nav-link {
    color: white;
}

.primary-button {
    grid-column-gap: 4px;
    grid-row-gap: 4px;
    background-color: #3dc661;
    color: #0f0f1f;
    text-align: center;
    text-transform: none;
    border-radius: 32px;
    flex-direction: row;
    flex: 0 auto;
    justify-content: center;
    align-self: center;
    align-items: center;
    padding: 14px 28px !important;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1em;
    font-weight: 700;
    display: flex;
    box-shadow: 0 2px 2px #0003;
}

.navbar-nav {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    flex: 0 auto;
    justify-content: flex-start;
    align-items: center;
    display: flex;
}

a:active, a:hover {
    outline: 0;
}

.navbar .container {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: none;
    display: flex;
}

@media screen and (min-width: 1280px) {
    .primary-button {
        background-color: #3dc661;
        color: #0f0f1f;
        -webkit-text-stroke-color: #0f0f1f;
        font-size: 1em;
    }
}

header {
    background-color: #0f0f32;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: fixed;
    width: 100%;
}

.header-content {
    width: 100%;
    margin: 16px 32px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header-link {
    border: 1px none #fff;
    color: #fff;
    text-align: center;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1em;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
}

.header-logo {
    height: 32px;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

.material-symbols-rounded {
    font-variation-settings: 'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

.nav-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 16px;
}

.go-back {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

header .button-link {
    background-color: #3dc661;
    color: #0f0f32;
    text-align: center;
    text-transform: none;
    border-radius: 32px;
    flex-direction: row;
    flex: 0 auto;
    justify-content: center;
    align-self: center;
    align-items: center;
    padding: 14px 28px;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1em;
    font-weight: 700;
    display: flex;
    box-shadow: 0 2px 2px #0003;
    border: none;
}

header .button-link.secondary-filled {
    background-color: #723dff;
    color: #fff;
}

.header-link:hover {
    text-decoration: none;
}

.glossary-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Plus Jakarta Sans', 'Inter', 'Helvetica', sans-serif;
    background-color: #fafafb;
    height: 100vh;
    box-sizing: border-box;
}

.glossary-container {
    margin: 5rem auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    max-width: 1200px;
    align-items: center;
}

.header-link.desktop {
    display: block;
}
.header-link.mobile {
    display: none;
}

@media screen and (min-width: 320px) and (max-width: 480px) {
    .header-link.desktop {
        display: none;
    }
    .header-link.mobile {
        display: block;
    }
    .nav-group{
        column-gap: 0;
    }
    .go-back {
        gap: 0;
    }
    .header-content {
        margin: 16px 20px;
    }
}

