@media (max-width: 768px) {
  #mobile-graphs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  #display-graph-container {
    width: 100%;
    height: 300px;
    border: 1px solid black;
    border-radius: 10px;
  }
  #mini-graphs-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: max-content;
    background-color: transparent;
    padding: 0;
  }

  .mini-graph {
    width: 110px;
    height: 105px;
    border: 1px solid blue;
    border-radius: 10px;
    position: relative;
    background-color: black;
  }

  .mini-graph > div.box50 {
    scale: 0.2;
    width: 500%;
    height: 500%;
    transform-origin: top right;
    /* margin-top: 9px; */
    /* position: absolute; */
    top: 20px;
    right: 0px;
  }
  .mini-graph #nbturnover,
  .mini-graph #open-positions,
  .mini-graph #daily-change,
  .mini-graph #pc {
    height: 100% !important;
  }
  .overlay {
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 10;
    position: absolute;
  }
  .mini-graph-wraper {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  canvas {
    width: 100% !important;
  }
  .graph-title {
    color: black;
    max-width: 75px;
    text-align: center;
  }

  /* History styles */
  .settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .header-row {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
  }
  #content tr:nth-child(4n + 3),
  #content tr:nth-child(4n + 4) {
    background-color: black;
  }
  .settings > div {
    width: 100%;
  }
}
