/* 全局css */
:root {
    --primary-100:#FFD700;
    --primary-200:#ddb900;
    --primary-300:#917800;
    --accent-100:#c49216;
    --accent-200:#5e3b00;
    --text-100:#dcdcdc;
    --text-200:#929292;
    --bg-100:#1E1E1E;
    --bg-200:#2d2d2d;
    --bg-300:#454545;
}

body {
  background-color: var(--bg-100);
  color: var(--text-100);
}

.ds-main {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
    justify-content: center;
  align-items: center;

}

/* 头部 css */
.ds-header {
      width: 100%;
  background-color: var(--primary-100); /* bg-primary-100 */
  display: flex; /* flex */
  align-items: center; /* items-center */
  justify-content: center; /* justify-center */
  color: var(--bg-100);
}

.ds-header-conten {
  display: flex; /* flex */
  flex-direction: column;
  align-items: center; /* items-center */
  justify-content: space-between; /* justify-center */
  height: 5rem;
  padding: 2rem 1rem;
}

.ds-header-title {
  font-weight: 700;
}

.ds-header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.ds-header-right-list {
  display: flex;
  justify-content: space-around;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.ds-header-active {
  color: var(--bg-200);
  font-weight: 700;
}

.ds-header-btn {
  background-color: var(--accent-200);
  color: var(--text-200);
  display: none;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
}

/* 自适应代码 */
@media (min-width: 1100px) {
  .ds-header-conten {
    width: 1200px;
    flex-direction: row;
  }
  .ds-header-title {
    font-size: 1.5rem;
  }
  .ds-header-btn {
    display: block;
  }
}

/* 底部css */
.ds-footer-container {
      width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-100);
  color: var(--bg-100);
}
.ds-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  padding-bottom: 1rem;
  max-width: 1200px;
  gap: 1rem;
}

.ds-footer-warn {
  background-color: var(--primary-200);
  border-radius: 0.25rem;
  padding: 8px;
}

.small-text {
  font-size: 0.75rem;
}

.footer-link {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-decoration-line: underline;
  text-underline-offset: 4px;
  text-align: center;
}

.footer-link-item {
  text-decoration: underline;
  color: var(--accent-200);
}


.divider {
  width: 100%;
  border-top: 1px solid var(--primary-300);
}

@media (min-width: 1100px) {
  .footer-link {
    width: 50%;
  }

  .ds-header-right-list {
    gap: 2rem;
    font-size: 0.875rem;
  }
}
