.legal-body {
  min-height: 100vh;
  display: flex;
  justify-content: space-between !important;
}

.legal-section {
  background-color: white;
}

.legal-section h1,
.legal-section li,
.legal-section p {
  color: rgb(0, 0, 0);
}

.legal-section h3 {
  text-decoration: underline;
}

.legal-section h4 {
  color: var(--color-primary);
}

.legal-section a {
  color: var(--color-accent);
  word-break: break-all;
}

.legal-notice-text {
  background-color: white;
  margin-bottom: 72px;
  max-width: 1920px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
}

.legal-notice-text h1,
.legal-notice-text h2,
.legal-notice-text h3 {
  margin-top: 16px;
}

.legal-header {
  height: 96px;
  width: 100%;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid black;
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.911);
  margin-bottom: 32px;
}

.legal-header a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.legal-header img {
  height: 44px;
}

@media (max-width: 992px) {
  .legal-notice-text {
    margin-top: 24px;
  }

  .legal-header img {
    height: 32px;
  }

  .legal-header {
    height: 72px;
  }
  
  .legal-section a {
    word-break: break-all;
  }
}

@media (max-width: 675px) {
  .legal-body {
    letter-spacing: 1px !important;
  }

  .legal-section h1 {
    font-size: 32px;
  }
}

@media (max-width: 475px) {
  .legal-section h1,
  .legal-section h2,
  .legal-section h3,
  .legal-section h4 {
    font-size: 24px;
  }

  .legal-section {
    padding: 0 18px;
  }
}

@media (max-width: 350px) {
  .legal-section h1,
  .legal-section h2,
  .legal-section h3,
  .legal-section h4 {
    font-size: 20px;
  }
}
