@import "./variables.css";

/* header */
body {
  background: var(--faqBg);
  position: relative;
}

.header {
  width: 100%;
  min-height: 0;
  background: transparent;
  padding-bottom: 0;
}

.header .navbar {
  padding: 2rem 0;
}

/* banner */
.banner {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4) 100%),
    url("../images/tosBg.png");
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
}

.banner-text {
  font-weight: 700;
  color: var(--whiteColor);
  font-family: var(--mainFont);
  font-size: 2.65rem;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* tos */

.tos-content {
  height: 400px;
  overflow-y: auto;
  position: relative;
}

.tos-content::-webkit-scrollbar-track {
  background-color: var(--tosActiveLink);
}

.tos-content::-webkit-scrollbar {
  width: 8px;
  background-color: var(--tosActiveLink);
}

.tos-content::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: var(--tosColor);
  background-image: -webkit-gradient(
    linear,
    0 0,
    0 100%,
    color-stop(0.5, rgba(255, 255, 255, 0.2)),
    color-stop(0.5, transparent),
    to(transparent)
  );
}

.tos .nav-pills {
  top: 0;
  position: sticky;
}

.tos .nav-item {
  margin-bottom: 0.5rem;
}

.tos .nav-link {
  transition: all 0.2s ease;
  display: inline-block;
  width: 70%;
}

.tos .nav-link.active {
  background: var(--tosActiveLink);
  color: var(--tosColor);
  font-weight: 700;
  font-family: var(--mainFont);
}

.tos .nav-link:hover {
  color: var(--tosColor);
}

.tos-section {
  height: 400px;
}

.tos-body {
  background: var(--whiteColor);
  box-shadow: 1px 2px 20px rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  padding: 1.5rem;
}

.tos-title {
  color: var(--tosColor);
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--mainFont);
}

@media screen and (max-width: 767px) {
  .banner {
    background-size: cover;
    height: 300px;
  }
  .banner-text {
    font-size: 1.8rem;
  }
}
