@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --bg: #171a1f;
  --text: #eee;
  --text-grey: #ccc;
  --text-grey-transparent: #cccccc9f;
  --borders-color: #9fafb36f;
  --maintitle-bg: #6bdeab;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  color: var(--text);
  font-family: "Poppins", sans-serif;
}

body {
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5vh 0;
}

.takipNoTitle {
  color: var(--text-grey);
  font-weight: 400;
  margin-bottom: 0.5cm;
}

.takipNoTitle span {
  color: var(--text);
  font-weight: 600;
}

/* Main Title */

.mainTitle {
  padding: 0 0.5rem;
  margin-bottom: 0.25cm;
  width: 100%;
}

.mainTitle h2 {
  position: relative;
  background-color: var(--maintitle-bg);
  width: 100%;
  height: 100%;
  padding: 20px 10px;
  border-radius: 10px 10px 0 0;
  text-align: center;
  color: var(--bg);
}

.mainTitle h2::before {
  content: "";
  background-color: var(--maintitle-bg);
  width: 20px;
  height: 20px;
  position: absolute;
  top: -10px;
  left: calc(50% - 10px);
  transform: rotate(45deg);
}

/* First Section */

section:nth-of-type(1) .row > div {
  margin-bottom: 0.5cm;
}
section:nth-of-type(1) .row > div > div,
section:nth-of-type(1) .moreInfo {
  position: relative;
  border: 2px solid var(--borders-color);
  height: 100%;
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

section:nth-of-type(1) .row > div > div .info span,
section:nth-of-type(1) .moreInfo span {
  color: var(--text);
  font-size: medium;
  font-weight: 700;
  letter-spacing: 0.5px;
}

section:nth-of-type(1) .row > div > div .info p,
section:nth-of-type(1) .moreInfo p {
  color: var(--text-grey);
  margin-bottom: 6px;
  font-weight: 500;
  font-size: small;
}

section:nth-of-type(1) .row > div > div img {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--borders-color);
  height: 50px;
}

section:nth-of-type(1) .moreInfo {
  flex-wrap: wrap;
}

section:nth-of-type(1) .moreInfo p {
  color: var(--text-grey-transparent);
  text-wrap: nowrap;
}

section:nth-of-type(1) .moreInfo span {
  display: block;
  text-align: center;
}

section:nth-of-type(1) .moreInfo div.line {
  height: 50px;
  width: 2px;
  background-color: var(--borders-color);
  border-radius: 5px;
}

@media (max-width: 768px) {
  section:nth-of-type(1) .moreInfo div.line {
    display: none; /* BETTER ? */
  }
}

/* 2. Section */

section:nth-of-type(2) table {
  display: block;
  padding: 5px;
  border-radius: 15px;
  border: 2px solid var(--borders-color);
  max-width: 100%;
  max-height: 70vh;
  overflow: auto;
  margin-top: 0.5cm;
}

section:nth-of-type(2) table tbody {
  display: block;
  width: fit-content;
}

section:nth-of-type(2) table tr {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 10px;
  border-bottom: 2px solid var(--borders-color);
  text-wrap: balance;
}

section:nth-of-type(2) table tr th {
  padding: 20px 0;
}

section:nth-of-type(2) table tr th:nth-child(3) {
  min-width: 250px;
}

section:nth-of-type(2) table::-webkit-scrollbar {
  border-radius: 2px;
  width: 4px;
  height: 4px;
}

section:nth-of-type(2) table::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background-color: var(--borders-color);
}

section:nth-of-type(2) table::-webkit-scrollbar-corner {
  display: none;
}
