:root {
    --primary:  white;
    --secondary:  #202123;
    --secondary-light:  rgb(159, 171, 171);
    --font1: 'Helvetica', sans-serif;
    --font2:  sans-serif;
    --data_color1: rgb(3, 118, 159);
    --data_color2: rgb(19, 147, 121);
    --data_color3: rgb(241, 235, 108);
    --data_color4: rgb(205, 135, 55);
    --data_color5: rgb(205, 55, 55);
}
.color_primary {
    color: var(--primary);
}
.color_secondary_light {
    color: var(--secondary-light);
}

a {
    text-decoration: none;
    color: var(--primary);
}
button {
    background-color: var(--primary);
    border-radius: .5em;
    border: none;
    padding: .5em;
    font-style: bold;
}

body {
    margin: 0;
    font-family: var(--font1);
    background-color: var(--secondary);
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

#header {
    /* border-bottom: solid .1em var(--primary); */
    color: var(--primary);
    padding-top: 1em;
    background: rgba(32, 33, 35, 0.8); /* Using --secondary color with opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}
#header_top {
    display: flex;
    justify-content: center;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-bottom: 1em;
    padding-left: 1em;
    padding-right: 1em;
}
#header_bottom {
    /* display: none; */
    padding: 10px 0;
}

.header_inner {
    flex: 1;
    text-align: center;
}

.header_inner.left {
    text-align: left;
}

.header_inner.right {
    text-align: right;
}

.header_inner.center {
    text-align: center;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 1.6em;
    height: 1.6em;
    cursor: pointer;
}
#header_bottom {
    background-color: rgba(255, 255, 255, 0.05);
}

.bar {
    width: 100%;
    height: .15em;
    background-color: var(--primary);
    border-radius: .1em;
}

.page_title {
    margin: .5em;
}

#timeframe {
    background: none;
    border: none;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    cursor: pointer;
}

#world_map {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

#map_detail {
    /* border-top: solid .1em var(--primary); */
    color: var(--primary);
    margin-top: -12em;
    width: 100%;
    display: flex;
}
.map_detail_col {
    flex: 1;
    font-size: .8em;
    gap: 1em;
    padding-left: 1em;
}

.clean_col {
    flex: 1;
    padding: .5em;
}
.border_col {
    flex: 1;
    /* border: solid .1em gray; */
    padding: .5em;
}
.col_head {
    color: var(--primary);
}

.col_row {
    margin-top: .4em;
    margin-bottom: .4em;
}

.theme_row {
    margin-top: .4em;
    margin-bottom: .4em;
    padding-bottom: .4em;
    border-bottom: solid .1em var(--secondary-light);
}
.theme_row:last-child {
    border-bottom: none;
}

.theme_content {
    color: var(--primary);
}
.theme_data {
    color: var(--secondary-light);
}

.country_row {
    margin-bottom: .1em;
}


.circle {
    display: inline-block;
    width: .75em;
    height: .75em;
    border-radius: 50%;
    /* background-color: white; */
}

.status_box {
    width: 1em;
    height: 1em;
    border-radius: 0.1em;
    margin-right: .5em;
}

.flex_1 {
    flex: 1;
}
.flex_2 {
    flex: 2;
}
.flex_4 {
    flex: 4;
}
.flex_8 {
    flex: 8;
}

.container_single {
    display: flex;
    padding: 1em;
}
.container_triple {
    display: flex;
    gap: 1em;
    padding: 1em;
}

.info_card {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.2em;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.card_color_1 {background-color: var(--data_color1) !important;}
.card_color_2 {background-color: var(--data_color2) !important;}
.card_color_3 {background-color: var(--data_color3) !important;}
.card_color_4 {background-color: var(--data_color4) !important;}
.card_color_5 {background-color: var(--data_color5) !important;}
.data_color_1 {color: var(--data_color1) !important;}
.data_color_2 {color: var(--data_color2) !important;}
.data_color_3 {color: var(--data_color3) !important;}
.data_color_4 {color: var(--data_color4) !important;}
.data_color_5 {color: var(--data_color5) !important;}
.card_head {
    background-color: rgb(64, 64, 64);
    color: var(--primary);
    padding: 0.75em 1em;
    font-size: 1.2em;
    margin: 0;
}

.card_content {
    padding: 1em;
}

.info_row {
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr;
    gap: 1em;
    align-items: center;
    padding: 0.5em 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.info_row:last-child {
    border-bottom: none;
}

.info_row_2 {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1em;
    align-items: center;
    padding: 0.25em 0;
    /* border-bottom: .1em solid rgba(255, 255, 255, 0.1); */
}
.border_row {
    border-bottom: .02em solid rgba(255, 255, 255, 0.1);
}
.info_row_2:last-child {
    border-bottom: none;
}

.info_label {
    color: var(--secondary-light);
    font-weight: bold;
}

.info_value {
    color: var(--primary);
}

.info_value.right {
    justify-self: end;
    text-align: right;
}

.info_value.time_ago {
    justify-self: end;
}

.info_value.time {
    justify-self: end;
}

#model_p {
    font-size: 1.5em;
}

.report_row {
    display: flex;
    align-items: center;
    padding: 1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.report_row:last-child {
    border-bottom: none;
}

.report_image {
    width: 50px;
    height: 50px;
    margin-right: 1em;
}

.report_image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.report_info {
    flex: 1;
}

.report_name {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5em;
}

.report_details {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    font-size: 0.9em;
    color: var(--secondary-light);
}

.report_date {
    font-style: italic;
}

.report_valuation_pct {
    font-weight: bold;
}

.report_link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.report_link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.stock-header {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

.stock-header .report_image {
    margin-right: 1em;
}

.stock-header .page_title {
    margin: 0;
}

.report_image {
    padding-left: 1em;
}

.header-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.header-nav li {
    margin: 0 15px;
}

.header-nav a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1em;
    padding: 5px 10px;
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

.card_head_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeframe_selector {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

#asset_grid {
    display: grid;
    grid-template-rows: repeat(3, 50px);
    grid-auto-flow: column;
    gap: 0.5em;
    padding: 1em;
    justify-content: center;
    margin: 0 auto;
    min-width: 90%;
}

.asset_card {
    background-color: var(--secondary);
    font-size: 0.8em;
    aspect-ratio: 3.5;
    border-radius: 0.2em;
    border: 2px solid;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.3em;
    text-align: center;
    transition: all 0.3s ease;
}

.asset_card_top {
    font-size: 0.8em;
    margin-bottom: 0.3em;
    color: var(--primary);
}

.asset_card_bottom {
    font-size: 1em;
    font-weight: bold;
}

.data_footnote {
    text-align: center;
    color: var(--secondary-light);
    font-size: 0.8em;
    padding: 0.5em;
}