/* Global */
body {
  font-family: "Montserrat", sans-serif;
  text-align: center;
  max-width: 810px;
  margin: 0 auto;
}

/* Typography */
p {
  font-weight: 600;
}

select,
label {
  font-size: 1rem;
  cursor: pointer;
}

/* Assets */
button {
  font-family: "Montserrat", sans-serif;
  background-color: #80ba27;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  font-size: 1rem;
  border-radius: 40px;
  margin: 24px 0 32px 0;
  cursor: pointer;
}

button:hover {
  background-color: black;
  transition: 300ms;
}

button:active {
  background-color: black;
}

input[type="text"] {
  width: 25%;
  padding: 10px 18px;
  margin: 16px 0;
  font-size: 1.25rem;
  text-align: center;
}

input[type="radio"] {
  width: 3%;
  padding: 10px 10px;
  margin: 8px 0;
  cursor: pointer;
}

table {
  border-spacing: 0;
  width: 100%;
  border: 1px solid #ddd;
}

.table-scroll-x {
  margin-bottom: 40px;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

th,
td {
  text-align: left;
  padding: 16px;
}

.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip svg {
  height: 16px;
  width: auto;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 250px;
  background-color: #fff;
  color: #141414;
  font-size: 1rem;
  line-height: 140%;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  position: absolute;
  z-index: 1;
  left: -125px;
  bottom: 28px;
  opacity: 0;
  transition: opacity 0.3s;
  border: 1px solid black;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #141414 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip .tooltiptext a {
  color: #80ba27;
  text-decoration: underline;
  font-weight: bold;
}

.tooltip .tooltiptext a:hover {
  color: #80ba27;
  text-decoration: underline;
  font-weight: bolder;
  font-size: 2rem;
}

@media (max-width: 500px) {
  .table-scroll-x {
    overflow-x: scroll;
  }

  .table-scroll-x::-webkit-scrollbar {
    -webkit-appearance: none;
    height: 8px;
  }

  .table-scroll-x::-webkit-scrollbar-thumb {
    border-radius: 1000px;
    background-color: #14141450;
  }

  .table-scroll-x table {
    margin-bottom: 16px;
  }
}
