:root {
    --spruce: #0f2a1e;
    --spruce-ink: #123527;
    --leaf: #1e9e66;
    --gold: #f0c24b;
    --cloud: #f5f3ef;
    --muted: #6b7a6f;
    --card: #ffffff;
    --shadow: 0 16px 40px rgba(15, 42, 30, 0.08);
}

html {
    overflow-x: hidden;
}

body {
    color: var(--spruce);
    background-color: var(--cloud);
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    font-family: 'Inter', 'Montserrat', sans-serif;
}

h1,
h2,
h3,
h4 {
    font-family: 'Space Grotesk', 'Inter', 'Montserrat', sans-serif;
    color: var(--spruce);
    text-transform: none;
}

.container-fluid {
    border-top: .5em solid var(--leaf);
    max-width: 75%;
    background: linear-gradient(180deg, #0f2a1e 0%, #123527 35%, #f5f3ef 35%);
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: var(--shadow);
}

.brand-shell {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.brand-body {
    background-color: var(--cloud);
}

.brand-header .brand-topbar {
    color: var(--cloud);
}

.brand-logo {
    max-height: 10rem;
}

.brand-tagline-col .brand-tagline {
    color: var(--cloud);
    font-size: 1.05rem;
}

.brand-pill {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background-color: rgba(30, 158, 102, 0.16);
    color: var(--cloud);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    font-size: .85rem;
}

.brand-privacy {
    color: var(--gold);
    font-weight: 600;
}

.brand-nav {
    background: var(--cloud);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    padding: 0.5rem 0.5rem;
}

.brand-hero {
    margin-top: 1.5rem;
}

.brand-hero-card {
    background: var(--card);
    border: 2px solid var(--spruce);
    border-radius: 1.5rem;
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow);
}

.brand-headline {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--spruce);
}

.brand-subhead {
    color: var(--muted);
    font-size: 1rem;
}

.brand-value-chips {
    gap: .75rem;
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--leaf);
    background-color: rgba(30, 158, 102, 0.08);
    color: var(--spruce);
    font-weight: 600;
    font-size: .95rem;
}

.brand-chip-icon {
    height: 1.6rem;
    width: 1.6rem;
}

.brand-footer {
    border-top: 2px solid var(--leaf);
    margin-top: 2rem;
    color: var(--spruce);
}

.brand-footer-title {
    font-weight: 700;
}

.brand-footer-copy {
    color: var(--muted);
}

.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

@supports(padding:max(0px)) {

    body,
    header,
    footer {
        padding-left: min(0vmin, env(safe-area-inset-left));
        padding-right: min(0vmin, env(safe-area-inset-right));
    }
}

@media only screen and (max-width: 448px) {
    .container-fluid {
        max-width: 100% !important;
    }
}

@media only screen and (min-width: 449px) {
    .container-fluid {
        max-width: 88% !important;
    }
}

@media only screen and (min-width: 569px) {
    .container-fluid {
        max-width: 75% !important;
    }
}

@media only screen and (min-width: 639px) {
    .container-fluid {
        max-width: 75% !important;
    }
}

@media only screen and (min-width: 789px) {
    .container-fluid {
        max-width: 90% !important;
    }
}

label {
    font-weight: 500;
    color: var(--muted);
}

input,
textarea,
select {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--spruce);
    font-weight: 500;
    display: block;
    padding: 7px 15px;
    border-left: solid 2px var(--leaf);
    margin: 20px 0;
    transition: all .3s ease-in-out;
    outline: none;
    background-color: var(--card);
    border-radius: .5rem;
}

select {
    height: 40px;
    border: solid 1px var(--spruce);
}

textarea {
    height: 25%;
}

input::placeholder,
input:-moz-placeholder,
input:-ms-input-placeholder,
input::-ms-input-placeholder,
input::-moz-placeholder,
input::-webkit-input-placeholder {
    color: var(--muted) !important;
}

input:focus:required:invalid {
    outline: none;
    border-left: solid .25rem #fa5252;
}

input:valid {
    outline: none;
    border-left: solid .25rem var(--leaf);
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

p.details {
    color: #495057;
}

h2 {
    margin: 1rem 0;
}

.postText {
    margin-top: 0.5rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.postSVGBG {
    background-color: var(--spruce) !important;
}

.postBodyBG {
    background-color: #d8e1d8 !important;
}

.filter-indica {
    filter: brightness(0) saturate(100%) invert(17%) sepia(22%) saturate(1538%) hue-rotate(102deg) brightness(93%) contrast(90%);
}

.filter-hybrid {
    filter: brightness(0) saturate(100%) invert(44%) sepia(85%) saturate(402%) hue-rotate(83deg) brightness(96%) contrast(86%);
}

.filter-sativa {
    filter: brightness(0) saturate(100%) invert(68%) sepia(42%) saturate(507%) hue-rotate(350deg) brightness(99%) contrast(92%);
}

.card {
    border: .2rem solid var(--spruce) !important;
    border-radius: .75rem !important;
    box-shadow: var(--shadow);
    background-color: var(--card);
}

.card-img-top {
    width: 100%;
    object-fit: cover;
}

.img-home {
    height: 9rem;
}

.img-dash {
    height: auto !important;
}

ol,
ul,
dl {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.btn-primary,
button.nav-link.active {
    background-color: var(--leaf) !important;
    border: .125rem solid var(--spruce) !important;
    color: var(--spruce) !important;
    font-weight: 700;
    text-transform: uppercase;
}

#searchAction {
    border-radius: 0% .75rem .75rem 0% !important;
    background-color: var(--spruce) !important;
    border: .125rem solid var(--spruce) !important;
    color: var(--cloud) !important;
}

#searchQuery {
    border: .125rem solid var(--spruce) !important;
    border-right-style: none !important;
    background-color: var(--card) !important;
    color: var(--spruce) !important;
}

li.page-item.active a.page-link {
    background-color: var(--spruce) !important;
    color: var(--cloud) !important;
}

#installApp {
    border-radius: 2rem !important;
    background-color: var(--gold) !important;
    font-weight: bold;
    color: var(--spruce) !important;
}

.surprise {
    background-color: var(--card) !important;
    border: .125rem solid var(--leaf) !important;
    color: var(--spruce) !important;
}

.boost {
    background-color: var(--card) !important;
    border: .125rem solid var(--gold) !important;
    color: var(--spruce) !important;
}

.calm {
    background-color: var(--card) !important;
    border: .125rem solid #7b61ff !important;
    color: var(--spruce) !important;
}

.btn-primary#searchAction:hover {
    border: .125rem solid var(--gold) !important;
}

.btn-primary.surprise:hover,
.btn-primary#searchAction:hover {
    background-color: var(--leaf) !important;
    color: var(--cloud) !important;
}

.btn-primary.boost:hover {
    background-color: var(--gold) !important;
    color: var(--spruce) !important;
}

.btn-primary.calm:hover {
    background-color: #7b61ff !important;
    color: var(--cloud) !important;
}

.btn-primary:hover,
button.nav-link.active:hover,
li.page-item.active a.page-link:hover {
    background-color: var(--spruce) !important;
    border: .125rem solid var(--spruce) !important;
    color: var(--cloud) !important;
}

.btn-secondary,
button.nav-link,
li.page-item a.page-link {
    color: var(--spruce) !important;
    background-color: #e6ede5 !important;
    border: .125rem solid var(--spruce) !important;
    font-weight: 600;
}

.btn-secondary:hover,
button.nav-link:hover,
li.page-item a.page-link:hover {
    color: var(--cloud) !important;
    background-color: var(--spruce) !important;
}

.btn-danger {
    color: #fef6e3 !important;
    background-color: #dc3545 !important;
    border: .125rem solid #ac2936 !important;
}

.btn-danger:hover {
    color: #fef6e3 !important;
    background-color: #ac2936 !important;
}

.btn-danger,
.btn-secondary,
button.nav-link,
.btn-primary,
.surprise,
.boost,
.calm {
    border-radius: .5rem;
}

#pills-login-tab {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border: .125rem solid var(--spruce) !important;
}

#pills-signup-tab {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border: .125rem solid var(--spruce) !important;
}

.img-fluid {
    height: 7.5rem !important;
}

.row-btn {
    max-width: 50% !important;
}

li {
    text-transform: capitalize;
}

.category {
    background-color: #e6ede5;
    max-width: 75%;
    border: .25rem solid var(--spruce) !important;
    border-radius: .75rem !important;
}

@media (min-width: 350px) {
    .w-sm-100 {
        width: 100% !important;
    }

    .w-sm-75 {
        width: 75% !important;
    }

    .col-sm-6 {
        flex: 0 0 auto !important;
        width: 50% !important;
    }

    .w-sm-50 {
        width: 50% !important;
    }

    .w-sm-25 {
        width: 25% !important;
    }

    .h-sm-100 {
        height: 100% !important;
    }

    .h-sm-75 {
        height: 75% !important;
    }

    .h-sm-50 {
        height: 50% !important;
    }

    .h-sm-25 {
        height: 25% !important;
    }
}

@media (min-width: 768px) {
    .w-md-100 {
        width: 100% !important;
    }

    .w-md-75 {
        width: 75% !important;
    }

    .w-md-50 {
        width: 50% !important;
    }

    .w-md-25 {
        width: 25% !important;
    }

    .h-md-100 {
        height: 100% !important;
    }

    .h-md-75 {
        height: 75% !important;
    }

    .h-md-50 {
        height: 50% !important;
    }

    .h-md-25 {
        height: 25% !important;
    }
}

@media (min-width: 992px) {
    .w-lg-100 {
        width: 100% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

    .col-lg-4 {
        flex: 0 0 auto !important;
        width: 33.33333333% !important;
    }

    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-25 {
        width: 25% !important;
    }

    .h-lg-100 {
        height: 100% !important;
    }

    .h-lg-75 {
        height: 75% !important;
    }

    .h-lg-50 {
        height: 50% !important;
    }

    .h-lg-25 {
        height: 25% !important;
    }
}

@media (min-width: 1200px) {
    .w-xl-100 {
        width: 100% !important;
    }

    .w-xl-75 {
        width: 75% !important;
    }

    .w-xl-50 {
        width: 50% !important;
    }

    .w-xl-25 {
        width: 25% !important;
    }

    .h-xl-100 {
        height: 100% !important;
    }

    .h-xl-75 {
        height: 75% !important;
    }

    .h-xl-50 {
        height: 50% !important;
    }

    .h-xl-25 {
        height: 25% !important;
    }
}
