html {
    background-color: #bbbbbb;
    padding: 0px;
    scroll-behavior: smooth;
}
body {
    width: 80%;
    min-height: calc(100vh - 4em);
    margin: 0 auto;
    padding: 2em;
    background-color: #dddddd;
    border-color: #eeeeee;
    border-left-style: solid;
    border-right-style: solid;
    border-width: 20px;
}
p {
    color: #444444;
    font-family: 'Roboto', sans-serif;
    font-size: 18.5pt;
    line-height: 1.15;
    margin: 4pt;
}

p.value {
    margin-top: 22px;
    margin-bottom: 22px;
    text-indent: -16pt;
    margin-left: 20pt;
    font-size: 24pt;
    line-height: 2.11666656px;
    letter-spacing: 0.03em;
    font-family: 'Montserrat';
}

p.axis_name {
    margin-top: 50px;
    color: #333333;
    font-size: 19pt;
    font-family: 'Montserrat';
}
p.question {
    margin: 16pt auto;
    color: #333333;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    width: 70%;
    min-width: 500pt;
    min-height: 144pt;
    background-color: #eeeeee;
    padding: 16pt;
    border-radius: 16pt;
    font-size: 36pt;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

}
h1 {
    color: #222222;
    font-family: 'Montserrat', sans-serif;
    font-size: 72pt;
    text-align: center;
    line-height: 72pt;
    margin-top: 0pt;
    margin-bottom: 0pt;
}
h2 {
    color: #333333;
    font-family: 'Montserrat', sans-serif;
    font-size: 34pt;
    line-height: 36pt;
    margin-top: 12pt;
    margin-bottom: 10pt;
}
li {
    font-size: 16pt;
    text-indent: 16pt;
}
a {
    font-family: inherit;
}
div.center {
    background-color: #eeeeee;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8pt;
    padding: 6pt;
    color: white;
    width: 50%;
    min-width: 488pt;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 24pt;
    margin: auto;
}
img.quadcolumn {
    width: 23.75%;
    transition: transform .3s;
}
img.quadcolumn:hover {
    transform: scale(1.05);
  }
div.quadcolumn {
    width: 23.75%;
}
div.axis_name {
    color: #333333;
    font-size: 19pt;
    font-family: 'Montserrat';
    display: inline-block;
    padding-bottom: 8.65pt;
}
.spacer {
    display: flex;
}
.spacer > div{
    margin-top: 10px;
    display: inline-block;
    *display: inline; /* For IE7 */
    text-align: center;
}
.button {
    background-color: #2196f3;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 8pt;
    color: white;
    padding: 8pt;
    width: 50%;
    min-width: 500pt;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 24pt;
    margin: -2px auto;
    cursor: pointer;
}
.button:hover, .button:focus { background: #1687e0; }
.stronglyAgree { background: #1b5e20; }
.stronglyAgree:hover, .stronglyAgree:focus { background: #154a19; }
.agree { background: #4caf50; }
.agree:hover, .agree:focus { background: #29942e; }
.neutral { background: #949494; }
.neutral:hover, .neutral:focus { background: #656565; }
.disagree { background: #f44336; }
.disagree:hover, .disagree:focus { background: #d6271a; }
.stronglyDisagree { background: #b71c1c; }
.stronglyDisagree:hover, .stronglyDisagree:focus { background: #a00e0e; }

.small_button, .small_button_off {
    background-color: #333;
    font-family: 'Montserrat', sans-serif;
    border: none;
    border-radius: 8pt;
    color: white;
    padding: 8pt;
    width: 10%;
    min-width: 100pt;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 18pt;
    margin: -2px auto;
    cursor: pointer;
}

.small_button:hover, .small_button:focus {
    background: #222;
}

.small_button_off {
    background-color: #ddd;
    color: #888;
    border: 2px solid #888;
    cursor: not-allowed;
    margin: -4px auto;
}
.arrow {
    width: 60%;
    height: auto;
}
div.explanation_blurb_left {
    vertical-align: top;
    width: 37%;
    margin-left: 1%;
    margin-right: 1%;
}
div.explanation_blurb_right {
    vertical-align: top;
    width: 37%;
    margin-left: 1%;
    margin-right: 1%;
}
div.explanation_axis {
    width: 20.9%;
    vertical-align: top;
}
div.axis {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.bar {
    height: 36pt;
    line-height: 36pt;
    padding: 8pt;
    margin-top: 4pt;
    margin-bottom: 4pt;
    border-width: 4px;
    border-right-width: 1px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-color: #222222;
    background-color: #eeeeee;
    width: 50%;
}
div.text-wrapper {
    font-family: 'Montserrat', sans-serif;
    font-size: 36pt;
    line-height: 36pt;
    color: #222222;
    display: inline-block;
}
/* GENERIC BAR STYLE */
div.bar {
    height: 36pt;
    line-height: 36pt;
    margin-top: 4pt;
    margin-bottom: 4pt;
    display: flex;
    justify-content: center;
    align-items: center
}

/* Divider line between left and right bar */
.bar-divider {
    width: 10px;
    background-color: #222 !important;
    display: inline-block;
    height: 77.5px;
}


.bar-text {
    font-family: Montserrat, sans-serif;
    font-size: 36px;
    color: #222222;
    padding-left: 8px;
    padding-right: 8px;
    line-height: 36pt;
}


/* ====== GRADIENTS FOR EACH AXIS ====== */

/* Source of Legitimacy */
div.bar.sol-left  { background: linear-gradient(to right, #A46422, #C07A35); }
div.bar.sol-right { background: linear-gradient(to left, #C6A667, #B99952); }

/* Orientation of Historical Change */
div.bar.ohc-left  { background: linear-gradient(to right, #D62828, #B72020); }
div.bar.ohc-right { background: linear-gradient(to left, #5A1A1A, #6D2020); }

/* Epistemic Grounding */
div.bar.epg-left  { background: linear-gradient(to right, #1E88E5, #2B9AF0); }
div.bar.epg-right { background: linear-gradient(to left, #7E3FFF, #6C2AE0); }

/* Anthropology of Desire */
div.bar.atd-left  { background: linear-gradient(to right, #dddddd, #ffffff); }
div.bar.atd-right { background: linear-gradient(to left, #EC407A, #D8346B); }

/* Structure of Governance */
div.bar.sog-left  { background: linear-gradient(to right, #3949AB, #4857C2); }
div.bar.sog-right { background: linear-gradient(to left, #FDD835, #E6C630); }

/* Political Economy */
div.bar.poe-left  { background: linear-gradient(to right, #43A047, #55B556); }
div.bar.poe-right { background: linear-gradient(to left, #E53935, #CC2F2C); }

/* Doctrine & Interpretation */
div.bar.dai-left  { background: linear-gradient(to right, #616161, #777777); }
div.bar.dai-right { background: linear-gradient(to left, #C21807, #A91506); }

/* Civilizational Mission */
div.bar.civ-left  { background: linear-gradient(to right, #2E7D32, #3E8F42); }
div.bar.civ-right { background: linear-gradient(to left, #F9A825, #D79A20); }


span.weight-300 {
    font-weight: 300;
}
.explanation_bg {
    background-color: #eeeeee;
    border-radius: 25px;
    margin-top: 15px;
}
#banner {
    border-color: #444444;
    border-style: solid;
    border-width: 2px;
    border-radius: 8pt;
    display: block;
    margin: 8pt;
    margin-left: auto;
    margin-right: auto;
}
.drvalues-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);   /* 8 columns, like 8values */
    grid-auto-rows: auto;
    gap: 12px;
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}

.axis-header {
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #444;
    padding: 5px;
}

.axis-icon {
    width: 100%;
    max-width: 120px;
    border-radius: 6px;
    transition: transform 0.15s ease;
}

.axis-icon:hover {
    transform: scale(1.06);
}
