.main-content {
    padding-top: 20px;
}
.welcome-text {
    border: rgba(158, 158, 158, 0.502) 0.5px solid;
    border-radius: 15px;
    padding: 0.6rem 1.5rem;
    background-color: rgb(20, 20, 45);
    margin:0;
}
.total-investment {
    padding-top: 1rem;
}
.chart-settings {
    margin-bottom: 0.8rem;
}
.chart-info {
    display: flex;
    justify-content: center;
}
.investment-name {
    font-size: 40px;
    font-weight: 700;
}
.investment-amount {
    font-weight: 500;
    font-size: 30px;
    margin-bottom:0;
    margin-left:20px;
    line-height: 45px;
}
.time-selector{
    flex-direction: column;
    align-items: end;
    margin-bottom:0;
}
.bottom-section {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    justify-content: space-between;
}
.buy-sell-btn {
    font-size: 22px;
    font-weight: 700;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.393);
    margin-inline: 1rem;
    padding: 0.7rem 2.5rem;
}
.buy-sell-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all ease-in-out 0.30s;
    color: white;
}
.all-in {
    background-color: rgb(16, 104, 16);
}
.buy {
    background-color: rgb(64, 135, 64);
}
.sell-all {
    background-color: rgb(125, 26, 26);
}
.sell {
    background-color: rgb(160, 60, 60);
}
.buy-sell-input {
    font-size:20px;
    padding: 0.8rem 1rem;
    width: 200px;
    border-radius: 10px;
    background-color: rgb(218, 218, 218);
    text-align: center;
}
.owned-stock-info {
    font-size: 30px;
    font-weight: 700;
}

@media (max-width: 768px) {
  /* show burger */
  .header {
    align-items: center;
  }
  .welcome-text {
    margin-top: 0;
    margin-left: 1rem;
  }
  /* main content should fill width */
  .main-content {
    margin-left: 0;
    padding: 1em 0 0 0;
  }
  .total-investment{
    padding: 2rem 0;
  }
  .chart-info {
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem
  }
  .investment-amount, .investment-header {
    text-align: center;
  }
  .time-row {
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .bottom-section {
    flex-direction: column;
    margin-bottom: 5rem;
  }
  .buy-sell-section {
    margin: 1rem 0;
    gap: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

  }
  .buy-sell-btn {
    margin:0;
  }
  .buy-sell-input {
    width: 100%;
    margin-inline: 1rem;
  }
  .owned-stock-info {
    text-align: center;
  }
}
