/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* COLOR THEME */
:root {
  --primary-color: #fcd534;
  --secondary-color: #2a3038;
  --background-color: #161a1e;
  --text-color: #eaecef;
  --btn-text: #eaecef;
  --btn-color: #464d57;
  --btn-color2: #2b3139;
  --btn-color3: #5e6673;
  --btn-color4: #fdd435;
  --btn-color5: #e6c334;
  --btn-color6: #f0b90b;
}

/* UNIVERSALS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  padding: 0px;
  overflow: hidden;
}

.container {
  width: 100%;
  height: 100%;
  margin: auto;
}

header {
  width: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--secondary-color) 1px solid;
}
.h-right {
  display: flex;
  align-items: center;
}

header img {
  height: 50px;
  width: auto;
  display: inline;
}
header p {
  margin-left: 15px;
  display: inline;
  font-size: 12px;
  word-break: break-all;
}

.page-container {
  display: flex;
  flex-direction: column;
}
.main-part {
  display: flex;
  flex-grow: 0;
  flex-shrink: 1;
}
.chart {
  flex-grow: 1;
}
#dextools-widget {
  width: 100%;
  min-height: 550px;
  border: none;
}

.bottom {
  display: flex;
  flex-grow: 1;
  height: 300px;
  position: relative;
}
.right-menu {
  min-width: 250px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-bottom: var(--secondary-color) 1px solid;
}
.right-menu .btn {
  margin-top: 10px;
}

.bottom-right img {
  position: absolute;
  width: 250px;
  bottom: 0;
  right: 30px;
}
.pos-title {
  margin: 0 10px;
  font-weight: 600;
  color: var(--primary-color);
}
table {
  margin: 10px;
  width: 800px;
}
th,
td {
  text-align: left;
  padding: 8px;
  font-weight: 500;
}
.green td:nth-child(1) {
  border-left: #26a06e 5px solid;
  border-radius: 3px;
}
.green td:nth-child(2) {
  color: #26a06e;
  font-weight: 600;
}
.green td:nth-child(4) {
  color: #26a06e;
  font-weight: 600;
}

.red td:nth-child(1) {
  border-left: #b84756 5px solid;
  border-radius: 3px;
}
.red td:nth-child(2) {
  color: #b84756;
  font-weight: 600;
}
.red td:nth-child(4) {
  color: #b84756;
  font-weight: 600;
}

th:nth-child(1) {
  width: 40%;
}
th:nth-child(2) {
  width: 20%;
  text-decoration: underline;
  text-decoration-style: dotted;
  font-weight: 300;
  font-size: 14px;
}
th:nth-child(3) {
  width: 20%;
  text-decoration: underline;
  text-decoration-style: dotted;
  font-weight: 300;
  font-size: 14px;
}
th:nth-child(4) {
  width: 20%;
  text-decoration: underline;
  text-decoration-style: dotted;
  font-weight: 300;
  font-size: 14px;
}

/* BUTTONS */

.btn-icon {
  margin-right: 6px;
  width: 22px;
  height: auto;
  stroke: var(--btn-text);
  fill: var(--btn-text);
}

.btn {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--btn-color);
  color: var(--btn-text);
  border-radius: 5px;
  font-weight: 600;
}

.clickable {
  background-color: var(--btn-color);
}

.clickable:hover {
  background-color: var(--btn-color2);

  cursor: pointer;
}

.clickable:active {
  background: var(--btn-color3);
}

.btn2 {
  padding: 10px 20px;
  background-color: var(--btn-color4);
  color: var(--background-color);
  border-radius: 5px;
  font-weight: 600;
}

.clickable2 {
  background-color: var(--btn-color4);
  box-shadow: 0 3px var(--btn-shadow);
}

.clickable2:hover {
  background-color: var(--btn-color5);
  box-shadow: 0 5px var(--btn-shadow);

  cursor: pointer;
}

.clickable2:active {
  background: var(--btn-color6);
  box-shadow: 0 2px var(--btn-shadow);
}
