:root {
    --ink: #240505;
    --red: #84001f;
    --beige: #e7e9d7;
    --coral: #d87550;
    --paper: #f7f5ef;
    --line: #d0cbd4;

    --bs-primary: #84001f;
    --bs-primary-rgb: 132, 0, 31;
    --bs-link-color: #84001f;
    --bs-link-hover-color: #d87550;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 1rem;
}

body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--paper);
    color: var(--ink);
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.65;
}

main {
    flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--red);
    font-family: 'Staatliches', Impact, sans-serif;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 4.25rem;
    }

    h2 {
        font-size: 3rem;
    }
}

p {
    max-width: 75ch;
}

a {
    color: var(--red);
}

a:hover {
    color: var(--coral);
}

section {
    scroll-margin-top: 1rem;
}

section>.container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar {
    background-color: var(--red) !important;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: var(--paper) !important;
    font-family: 'Staatliches', Impact, sans-serif;
}

.navbar .navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.03em;
}

.navbar .nav-link {
    font-size: 1.05rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #f1b89e !important;
}

.navbar .dropdown-menu {
    background-color: var(--paper);
    border: 1px solid var(--coral);
    border-radius: 0.5rem;
}

.navbar .dropdown-item {
    color: var(--ink);
    font-family: 'Playfair Display', Georgia, serif;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: var(--beige);
    color: var(--red);
}

.navbar .dropdown-divider {
    border-color: var(--line);
}

.navbar .navbar-toggler {
    border-color: var(--paper);
}

.navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(247, 245, 239, 0.3);
}

header#main {
    background-color: var(--red) !important;
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

#main h1 {
    color: var(--paper) !important;
    margin-bottom: 1rem;
}

#main p {
    color: #f0dfd9 !important;
    font-size: 1.15rem;
    line-height: 1.7;
}

#main .row {
    row-gap: 1.5rem;
}

#main .hero-image {
    width: 100%;
    max-height: 23rem;
    object-fit: cover;
    border: 5px solid var(--coral);
    border-radius: 0.75rem;
    box-shadow: 0 0.75rem 2rem rgba(36, 5, 5, 0.25);
}

.btn-primary {
    border-color: var(--coral) !important;
    background-color: var(--coral) !important;
    color: var(--ink) !important;
    font-family: 'Staatliches', Impact, sans-serif;
    letter-spacing: 0.03em;
}

.btn-primary:hover {
    border-color: var(--paper) !important;
    background-color: var(--paper) !important;
    color: var(--red) !important;
}

.btn-primary:focus,
.btn-primary:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(216, 117, 80, 0.4);
}

.btn-primary:active {
    background-color: var(--ink) !important;
    border-color: var(--ink) !important;
    color: var(--paper) !important;
}

.btn-outline-light {
    border-color: var(--paper) !important;
    color: var(--paper) !important;
}

.btn-outline-light:hover {
    background-color: var(--paper) !important;
    color: var(--red) !important;
}

#types {
    background-color: var(--paper);
}

#types>.container>.row {
    align-items: start;
}

#types .feature {
    display: flex;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem !important;
    border-radius: 0.65rem !important;
    background-color: var(--coral) !important;
    background-image: none !important;
    color: var(--ink) !important;
}

#types .feature i {
    font-size: 1.5rem;
}

#types h2.h5 {
    margin-bottom: 0.65rem;
    color: var(--red);
    font-size: 1.5rem;
}

#types img {
    display: block;
    width: 100%;
    height: 15rem;
    object-fit: cover;
    border-radius: 0.5rem !important;
    background-color: var(--beige);
}

#types .col {
    min-width: 0;
}

#science {
    background-color: var(--beige) !important;
}

#science .text-muted {
    color: var(--ink) !important;
}

#science .accordion {
    margin-top: 1.5rem;
    --bs-accordion-color: var(--ink);
    --bs-accordion-bg: var(--paper);
    --bs-accordion-border-color: var(--line);
    --bs-accordion-btn-color: var(--ink);
    --bs-accordion-btn-bg: var(--paper);
    --bs-accordion-active-color: var(--red);
    --bs-accordion-active-bg: #e7e9d7;
    --bs-accordion-btn-focus-box-shadow:
        0 0 0 0.2rem rgba(216, 117, 80, 0.25);
    --bs-accordion-btn-focus-border-color: var(--coral);
}

#science .accordion-button {
    padding: 1.2rem 1.4rem;
    font-family: 'Staatliches', Impact, sans-serif;
    font-size: 1.25rem;
}

#science .accordion-button:not(.collapsed) {
    box-shadow: none;
}

#science .accordion-body {
    padding: 1.4rem;
    line-height: 1.75;
}

#sauces {
    background-color: var(--paper);
}

#sauces .card {
    height: 100%;
    border: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.3rem 1rem rgba(36, 5, 5, 0.09) !important;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

#sauces .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.65rem 1.25rem rgba(36, 5, 5, 0.14) !important;
}

#sauces .card-body {
    padding: 1.5rem;
}

#sauces .card-title {
    font-family: 'Staatliches', Impact, sans-serif;
    font-size: 1.6rem;
}

#sauces .sauce-ketchup {
    background-color: #b51f35;
    color: var(--paper);
}

#sauces .sauce-mayo {
    background-color: #f3f0df;
    color: var(--ink);
}

#sauces .sauce-mustard {
    background-color: #d9a62e;
    color: var(--ink);
}

#sauces .sauce-ranch {
    background-color: #e6e0c8;
    color: var(--ink);
}

#sauces .sauce-bbq {
    background-color: #71351f;
    color: var(--paper);
}

#sauces .sauce-nacho {
    background-color: #e8a52b;
    color: var(--ink);
}

#sauces .sauce-ketchup .card-title,
#sauces .sauce-bbq .card-title {
    color: var(--paper);
}

#world {
    background-color: var(--beige) !important;
}

#world .text-muted {
    color: var(--ink) !important;
}

#world .world-card {
    height: 100%;
    background-color: var(--paper);
    border: 1px solid var(--line) !important;
    border-left: 6px solid var(--coral) !important;
    border-radius: 0.35rem;
    box-shadow: 0 0.3rem 0.9rem rgba(36, 5, 5, 0.08) !important;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

#world .world-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.6rem 1.2rem rgba(36, 5, 5, 0.12) !important;
}

#world .card-body {
    padding: 1.5rem;
}

#world .card-title {
    color: var(--red);
    font-family: 'Staatliches', Impact, sans-serif;
    font-size: 1.5rem;
}

#index {
    background-color: var(--paper);
}

#index .text-muted {
    color: #625653 !important;
}

#index .card {
    background-color: var(--beige);
    border: 1px solid var(--line) !important;
    border-radius: 0.65rem;
    box-shadow: 0 0.25rem 0.8rem rgba(36, 5, 5, 0.07) !important;
}

#index .card-body {
    padding: 1.5rem;
}

#index h3 {
    color: var(--red);
    font-family: 'Staatliches', Impact, sans-serif;
}

#index .display-6 {
    color: var(--red) !important;
    font-family: 'Staatliches', Impact, sans-serif;
    font-size: 3rem;
    line-height: 1;
}

#index summary {
    color: var(--red);
    cursor: pointer;
    font-family: 'Staatliches', Impact, sans-serif;
    font-size: 1.1rem;
}

#index summary:hover {
    color: var(--coral);
}

#index .progress {
    height: 0.75rem;
    overflow: hidden;
    border-radius: 1rem;
    background-color: #ddd8ca;
}

#index .progress-bar {
    background-color: var(--red);
}

footer {
    background-color: var(--red) !important;
}

footer .text-white,
footer .link-light {
    color: var(--paper) !important;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    color: #f1b89e !important;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    #main {
        text-align: center;
    }

    #main .hero-image {
        max-height: 20rem;
    }

    #types>.container>.row>.col-lg-4 {
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 575.98px) {
    header#main {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    #main h1 {
        font-size: 2.6rem;
    }

    #types img {
        height: 13rem;
    }

    #index .card-body {
        padding: 1.15rem;
    }

    #index .display-6 {
        font-size: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    #sauces .card,
    #world .world-card {
        transition: none;
    }
}

#types .fry-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2.5rem 1.5rem;
    margin-top: 1.5rem;
}

#types .fry-item {
    grid-column: span 2;
    min-width: 0;
}

#types .fry-item:nth-child(5) {
    grid-column: 2 / span 2;
}

#types .fry-item:nth-child(6) {
    grid-column: 4 / span 2;
}

#types .fry-item:nth-child(7) {
    grid-column: 6 / span 2;
}

#types .fry-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    color: var(--red);
    font-family: 'Staatliches', Impact, sans-serif;
    font-size: 1.45rem;
    line-height: 1.2;
}

#types .fry-icon {
    flex-shrink: 0;
    color: var(--coral);
    font-size: 1.25rem;
}

#types .fry-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
    #types .fry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }

    #types .fry-item,
    #types .fry-item:nth-child(5),
    #types .fry-item:nth-child(6) {
        grid-column: auto;
    }

    #types .fry-item:nth-child(7) {
        grid-column: 1 / -1;
        width: calc(50% - 0.75rem);
        justify-self: center;
    }
}

@media (max-width: 575.98px) {
    #types .fry-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #types .fry-item,
    #types .fry-item:nth-child(7) {
        grid-column: auto;
        width: 100%;
    }
}