/* TABLE CSS */
.medianTable {
  margin: min(25px, 2.5vw) auto;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
}

.medianTable th,
td {
  padding: min(10px, 1vw);
  font-size: min(20px, 2.5vw);
}
.medianTable td {
  border-top: 1px solid lightgray;
}

.earningsSection {
  display: flex;
  flex-wrap: wrap;
}

.earningsTableSection {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
  padding: min(20px, 2vw);
  box-sizing: border-box;
}
.earningsButtonSection {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
  padding: min(20px, 2vw);
  box-sizing: border-box;
}

@media (max-width: 800px) {
  .earningsTableSection {
    width: 100%;
  }
  .earningsButtonSection {
    width: 100%;
  }
}

.totalEarningsContainer {
  width: min(450px, 45vw);
  height: min(100px, 10vw);
  display: flex;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
}

.totalEarningsText {
  width: 67%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.totalEarningsButton {
  width: 33%;
  display: flex;
  justify-content: center;
  align-items: center;
}
