:root {
  --table-wrapper-border: linear-gradient(-45deg, rgba(108, 40, 172, 0.6), rgba(139, 43, 168, 0.7));
}
main {
  flex:  1 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(34, 32, 34, 0.7);
}

.page-info {
  height: fit-content;
  min-height: 200px;
  width: 100%;
  background-color: rgb(44, 44, 44, 0.6);

  border-bottom: 2px var(--border-basic-color) solid;
}




.page-info {
  align-content: center;
}
.text-container {
  width: 86%;
  justify-self: center;
  padding-bottom: 8px;
}
.text-container h1 {
  margin-bottom: 8px;
}

.timer {
  height: 120px;
  width: 500px;
  background-color: rgb(44, 44, 44, 0.6);

  margin-top: 10px;
  border: 2px var(--border-basic-color) solid;
  border-radius: 10px;
  overflow: hidden;
}

.timer-header {
  border-bottom: 2px var(--border-basic-color) solid;
  height: 27%;
  width: 100%;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to left, rgb(112, 38, 250), rgb(131, 0, 131));

}

.timer-content {
  display: flex;
  height: 73%;
}
.timer-spacing {
  box-sizing: border-box;
  border-left: 1px var(--border-basic-color) solid;
  border-right: 1px var(--border-basic-color) solid;
  height: 100%;
  width: 2px;
}
.timer-left-panel, .timer-right-panel {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}


.profitable-output-basic, .profitable-output-premium {
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background-color: rgba(34, 32, 34, 0.80);
  border-radius: 10px;
  overflow: hidden;
}

.table-header {
  height: 48px;
  border-bottom: 2px solid;
  border-image: linear-gradient(to left, rgba(137, 42, 214, 0.548), rgba(160, 36, 190, 0.589)) 1;
  font-size: 30px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(107, 5, 107, 0.85);
}
.profitable-output-premium .table-header {
  background-color: rgb(79, 26, 114, 0.85);
}

.border-wrapper {
  height: 760px;
  width: 84%;
  margin-top: 12px;

  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  background: var(--table-wrapper-border);
}


.single-tradeup {
  width: 94%;
  min-width: 1040px;
  height: 210px;
  border: 2px var(--border-basic-color) solid;
  border-radius: 8px;
  margin: 0 auto;
  margin-top: 14px;
  overflow: hidden;
  box-shadow: 2px 2px 5px rgb(24, 24, 24);
}
.tradeup-header {
  box-sizing: border-box;
  height: 15%;
  width: 100%;
  display: flex;
  align-items: center;
  border-bottom: 2px var(--border-basic-color) solid;
  background: linear-gradient(to right, rgb(187, 42, 206, 0.2), rgb(106, 18, 206, 0.2));
  padding: 0px 8px;
  font-weight: 500;
}
.table-content {
  box-sizing: border-box;
  height: fit-content;
  margin-bottom: 18px;
  width: 100%;
  padding: 4px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
}

.border-wrapper-prem {
  height: fit-content;
  margin-top: 36px;
  margin-bottom: 26px;
}
.tradeup-content {
  height: 85%;
  width: 100%;
  display: flex;
  flex-direction: row;
}
.tradeup-info {
  box-sizing: border-box;
  height: 100%;
  width: 20%;
  min-width: 230px;
  border-right: 2px var(--border-basic-color) solid;
}
.tradeup-profit {
  box-sizing: border-box;
  height: 100%;
  min-width: 24%;
  border-right: 2px var(--border-basic-color) solid;
  font-size: 18px;
}
.tradeup-inputs {
  box-sizing: border-box;
  height: 100%;
  min-width: 360px;
  flex: 1;
  border-right: 2px var(--border-basic-color) solid;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tradeup-actions {
  box-sizing: border-box;
  height: 100%;
  width: 18%;
  min-width: 180px;
}

.tradeup-shade-red {
  background: linear-gradient(
    179deg,
    rgb(0, 0, 0, 0.05) 0%,
    rgb(44,44,44, 0.5) 50%,
    rgb(202, 36, 36, 0.80) 100%
  );
}
.tradeup-shade-pink {
  background: linear-gradient(
    179deg,
    rgb(0, 0, 0, 0.05) 0%,
    rgb(44,44,44, 0.7) 50%,
    rgb(146, 0, 146, 0.80) 100%
  );
}
.tradeup-shade-purple {
  background: linear-gradient(
    179deg,
    rgb(0, 0, 0, 0.05) 0%,
    rgb(44,44,44, 0.7) 50%,
    rgb(126, 46, 230, 0.80) 100%
  );
}
.tradeup-shade-blue {
  background: linear-gradient(
    179deg,
    rgb(0, 0, 0, 0.05) 0%,
    rgb(44,44,44, 0.7) 50%,
    rgb(34, 80, 206, 0.80) 100%
  );
}
.tradeup-shade-light-blue {
  background: linear-gradient(
    179deg,
    rgb(0, 0, 0, 0.05) 0%,
    rgb(44,44,44, 0.7) 50%,
    rgb(59, 144, 201, 0.80) 100%
  );
}
.tradeup-shade-gray {
  background: linear-gradient(
    179deg,
    rgb(0, 0, 0, 0.05) 0%,
    rgb(44,44,44, 0.7) 50%,
    rgb(173, 173, 173, 0.80) 100%
  );
}


.price-range {
  height: 10%;
  width: 100%;
}
.tradeup-info-icon {
  height: 16px;
  width: 16px;
  color: white;
  pointer-events: none;
  margin-right: 3px;
}

.tradeup-info {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 17px;
}
.tradeup-info > div {
  display: flex;
  height: 30px;
}

.collection-disp {
  height: 50%;
  position: relative;
}
.profitable-collection-img {
  height: 88px;
  filter: drop-shadow(3px 3px 3px rgb(17, 17, 17));
}
.coll-img-small {
  height: 90px;
  margin-top: 6px;
}
.input-count {
  background-color: rgb(51, 51, 51);
  border: 1px var(--border-basic-color) solid;
  border-radius: 4px;
  height: 26px;
  width: fit-content;
  padding: 0px 8px;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 3px 3px 5px rgb(34, 34, 34);
  position: absolute;
  bottom: -2px;
  right: 6px;
}

.cost-outcome {
  display: flex;
  position: relative;
  border-bottom: 2px var(--border-basic-color) solid;
  height: 50%;
}
.cost, .outcome {
  box-sizing: border-box;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 4px;
}
.t-value {
  font-size: 24px;
  font-weight: 500;
  padding: 0px 14px;
}
.t-additional {
  font-size: 17px;
  font-weight: 400;
  margin-top: -6px;
}
.t-icon {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 20px;
}
.roi {
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.roi-line {
  display: flex;
  font-size: 24px;
  padding-bottom: 8px;
}

.t-blue {
  color: rgb(66, 127, 184);
}
.t-pink {
  color: rgb(218, 174, 56);
  font-weight: 500;
}

.t-roi {
  margin-right: 6px;
}
.return-icon {
  height: 24px;
  width: 24px;
  margin-right: 4px;
}

.inspect-tradeup {
  height: 40%;
  width: 100%;
  border-bottom: 2px var(--border-basic-color) solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 400;
  transition: background 0.1s, box-shadow 0.1s;
}
.d-flex {
  box-sizing: border-box;
  height: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 4px;
  padding-bottom: 20px;
  font-size: 18px;
}

.inspect-tradeup:hover {
  background: var(--hover-color);
  box-shadow: 0px 0px 6px rgb(184, 184, 184);
}

.gradient-text {
  background: linear-gradient(90deg, #fffc4e, #ab19ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.login-icon, .diamond-table-icon {
  width: 150px;
  height: 150px;
  transition: filter 0.08s;
  margin-right: -70px;
}
.diamond-table-icon {
  margin-right: 10px;
}

.premium-disp {
  color: rgba(111, 35, 199, 0.329);
  width: 100%;
  height: 100%;
  margin: 120px auto;
}
.premium-disp div {
  color: rgba(111, 35, 199, 0.329);
  font-size: 46px;
  width: 500px; 
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: text-shadow 0.08s;
}

.table-pointer {
  cursor: pointer;
  transition: background-color 0.2s, filter 0.2s !important;
}
.table-pointer:hover {
  filter: brightness(1.4);
  background-color: rgba(42, 24, 75, 0.11);
}




.tradeup-red {
  color: rgb(201, 48, 48);
}
.tradeup-pink {
  color: rgb(180, 37, 168);
}
.tradeup-purple {
  color: rgb(126, 38, 207);
}
.tradeup-blue {
  color: rgb(68, 65, 251);
}
.tradeup-light-blue {
  color: rgb(50, 155, 216)
}
.tradeup-gray {
  color: rgb(121, 121, 121);
}
.stattrak-color {
  color: rgb(221, 171, 63);
}


@media (max-width: 900px) {
  .premium-disp {
    flex-direction: column;
  }
  .login-icon, .diamond-table-icon {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .page-info .text-container h1 {
    font-size: 36px;
    line-height: 1;
    margin-top: 10px;
  }
}
@media (max-width: 600px) {
  .timer {
    width: 80%;
  }
}

@media (max-width: 500px)  {
  .premium-disp > div {
    font-size: 32px;
  }
}