/* Unique styles for fund.css */
html {
  --color-primary: #fff;
  --color-secondary: #dbdbdb;
  --color-tertiary: #888;
  --color-anti-primary: #25282b;
  --color-anti-secondary: #b6b9bd;
  --color-dark-grey: #181819;
  --color-almost-black: #0c0c0c;
  --color-almost-white: #f4f7f8;
  --color-happy-green: #00c86a;
  --color-happy-red: #dd3b3b;
  --color-happy-blue: #2196f3;
  --color-background: #1e1d1d;
  --color-subtle: #646464;
  --color-supreme-background: rgb(100, 3, 198);
  --color-supreme-text: #8F4AFF;
  --color-primary-background: var(--color-background);
  --color-dark-background: #151515;
  --heading_font: 'EB Garamond', 'Source Serif Pro', serif;
  --number-font: clean_font, helvetica neue, roboto;
  background-color: var(--color-background);
  background: var(--color-background);
}

body {
  background-color: var(--color-background);
  color: var(--color-primary);
  font-size: 15px;
}
/* html {
  --color-primary: #fff;
  --color-secondary: #dbdbdb;
  --color-tertiary: #888;
  --color-anti-primary: #25282b;
  --color-anti-secondary: #b6b9bd;
  --color-dark-grey: #181819;
  --color-almost-black: #0c0c0c;
  --color-almost-white: #f4f7f8;
  --color-happy-green: #00c86a;
  --color-happy-red: #dd3b3b;
  --color-happy-blue: #2196f3;
  --color-background: #1e1d1d;
  --color-subtle: #646464;
  --color-supreme-background: rgb(100, 3, 198);
  --color-supreme-text: #8F4AFF;
  --color-primary-background: var(--color-background);
  --color-dark-background: #151515;

  --ui-font: -apple-system, BlinkMacSystemFont, Segoe UI, roboto, sans-serif;
  --number-font: clean_font, helvetica neue, roboto;
  --brand-font: erbaum, roboto, sans-serif;
  --fancy-font: 'EB Garamond', 'Source Serif Pro', serif;
  
  --radius: 4px;
  font-size: 15px;
  background-color: var(--color-background);
}

body {
  background-color: var(--color-background);
  color: var(--color-primary);
  font-size: 15px;
} */

/* a {
  color: var(--color-primary);
}

a:hover {
  color: var(--color-primary);
} */

h1,
h2,
h3,
h4 {
  font-family: var(--heading_font);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 50px;
  font-weight: 500;
}

h2 {
  font-size: 2rem;
  font-weight: normal;
}

.top_box_label {
  font-weight: 600;
  font-family: var(--fancy-font);
  line-height: 1.1;
  font-size: 1.2em;
}

.dark_panel {
  background-color: var(--color-dark-background);
}

.big_number_box {}

.big_number_box_label {}

.nav_logo {
  height: 64px;
}

table td {
  padding: 8px 0;
  vertical-align: top;
  max-width: 280px;
}

h2 {
  color: var(--color-primary);
}

p {
  color: var(--color-secondary);
  font-size: 1rem;
  font-family: roboto, sans-serif;
}

strong {
  font-weight: 700;
  color: var(--color-primary);
}

.footer_box {
  background-color: #101011;
  color: var(--color-anti-secondary);
}

.legal p {
  color: var(--color-tertiary);
}

header {
  justify-content: space-around;
}

.big_performance_number {
  font-weight: 500;
  font-family: clean_font, helvetica neue, roboto;
  font-size: 2.4em;
  line-height: 1.1;
}

header {
  font-size: 16px;
}

.nav_link {
  font-family: var(--ui-font);
  color: var(--color-secondary);
  text-decoration: none;
  margin: 0 0 0 2em;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--ui-font);
  font-weight: 600;
  transition-property: color;
  transition-duration: 0.2s;
  padding: 1em 1em;
  line-height: 1;
}

.nav_link:hover {
  color: var(--color-primary);
  transition-property: color;
  transition-duration: 0.2s;
}

.action_button {
  text-decoration: none;
  background-color: var(--color-primary);
  padding: 12px 16px;
  color: var(--color-anti-primary);
  font-family: var(--ui-font);
  font-weight: 600;
  transition: 0.2s;
  outline: none;
  border: none;
  transition: all 0.2s;
  font-size: 16px;
}

.action_button:hover {
  cursor: pointer;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 1);
  translate: -1px -2px;
}

.hero_intro_text {
  font-size: 2rem;
  font-weight: normal;
}

.hero_intro_text_sm {
  font-size: 1.5rem;
  font-weight: normal;
}


#mobile_menu a {
  display: block;
  width: 100%;
  text-align: center;
}

.team_member_block h2 {
  margin-bottom: 2px;
}

.team_member_block_image {
  width: 100%;
}

.team_image_richard {
  background-image: url(/fund/img/richard.jpg);
  background-size: cover;
  background-position: center;
}

.team_image_rich {
  background-image: url(/fund/img/rich_allen.png);
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat
}

.team_image_rui {
  background-image: url(/fund/img/rui_tang.png);
  background-size: cover;
  background-position: center;
}

.team_image_dan {
  background-image: url(/fund/img/dan_spier.png);
  background-size: cover;
  background-position: center;
}

.team_member_info_container {
  font-size: 1.2em;
}

.negative_performance::before {
  content: '- ';
}

.positive_performance::before {
  content: '+ ';
}

.hero_stat_table td {
  width: 50%;
  padding: 4px 4px;
  font-family: var(--heading_font);
  font-size: 25px;
}

.hero_stat_table tr {
  border-bottom: 1px dotted grey;
}

.hero_stat_table :last-child {
  border: 0;
}

@media only screen and (max-width: 600px) {
  .hero_stat_table td {
    font-size: 18px !important;
  }
}

.circles-image-container {
  position: relative;
  text-align: center;
  /* Center text horizontally */
}

.circles-image-container img {
  width: 100%;
  /* Adjust as needed */
  height: auto;
  /* Adjust as needed */
}

.circles-text-block {
  position: absolute;
  width: 100%;
  color: white;
  /* Or any color that contrasts well with your image */
}

.circles-text-block.ws-quants-text {
  bottom: 5%;
  /* Adjust the percentage to position your text from the bottom */
  right: 22%;
}

@media only screen and (max-width: 1200px) {
  .circles-text-block.ws-quants-text {
    bottom: 0%;
    right: 22%;
  }
}

@media only screen and (max-width: 800px) {
  .circles-text-block.ws-quants-text {
    bottom: 0%;
    right: 22%;
  }
}

@media only screen and (max-width: 550px) {
  .circles-text-block.ws-quants-text {
    bottom: -2%;
    right: 23%;
  }
}

.circles-text-block.ds-text {
  bottom: 15%;
  /* Adjust the percentage to position your text from the bottom */
  left: 6%;
  /* adjust position from center */
}

@media only screen and (max-width: 1200px) {
  .circles-text-block.ds-text {
    bottom: 12%;
    left: 10%;
  }
}

@media only screen and (max-width: 800px) {
  .circles-text-block.ds-text {
    bottom: 10%;
    left: 10%;
  }
}

@media only screen and (max-width: 550px) {
  .circles-text-block.ds-text {
    left: 17%;
    bottom: 10%;
  }
}

.numerai-sigil {
  width: 100px;
}

.hero_flavour_text {
  color: var(--color-primary) !important
}