::-webkit-scrollbar {
  width: 4px;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--light-color);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--hover-color);
}

.terms-wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 25%);
  grid-template-rows: 50px auto 50px;
  grid-auto-flow: row;
  row-gap: 22px;
  font-family: "Roboto", sans-serif;
}

.terms-wrapper .terms-segment-container {
  display: grid;
  grid-column: 4;
  grid-template-columns: repeat(2, 50%);
}

.terms-wrapper .terms-segment-container .terms-menu {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  color: var(--primary-font-color);
  border-bottom: 3px solid var(--light-color);
  cursor: pointer;
}

.terms-wrapper .terms-segment-container .terms-menu.terms-menu-selected {
  border-color: var(--secondary-color);
  font-weight: 700;
}

.terms-wrapper .terms-content-container {
  overflow: auto;
  max-height: 540px;
  grid-column: 1 / span 4;
}

.terms-wrapper .terms-content-container .terms-content-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--secondary-color);
}

.terms-wrapper .terms-content-container .terms-content-description {
  font-size: 16px;
  font-weight: 300;
  line-height: 27px;
  padding-right: 100px;
  color: var(--primary-font-color);
}

.terms-wrapper .terms-action-btns-container {
  display: grid;
  grid-template-columns: repeat(2, 50%);
  grid-column: 4;
  grid-auto-flow: column;
}

.terms-wrapper .terms-action-btns-container .terms-accepbutton,
.terms-wrapper .terms-action-btns-container .terms-cancelbutton {
  cursor: pointer;
  font-size: 18px;
  outline: none;
  width: 95%;
  justify-self: end;
}

.terms-wrapper .terms-action-btns-container .terms-cancelbutton {
  font-weight: 700;
  border-radius: 4px;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
    background-color: #FFFFFF;
}

.terms-wrapper .terms-action-btns-container .terms-cancelbutton:hover {
  border: 1px solid var(--hover-color);
  color: var(--hover-color);
}

.terms-wrapper .terms-action-btns-container .terms-accepbutton {
  border: none;
  font-weight: 700;
  border-radius: 4px;
  color: var(--content-background);
  background-color: var(--secondary-color);
}

.terms-wrapper .terms-action-btns-container .terms-accepbutton:hover {
  background-color: var(--hover-color);
}

@media screen and (max-width: 1800px) {
  .terms-wrapper .terms-segment-container {
      grid-column: 3 / span 2;
  }

  .terms-wrapper .terms-action-btns-container {
    grid-column: 3 / span 2;
  }
}