@layer bootstrap, terms;

@layer terms {
  html, body {
    height: 100%;
  }

  h1 {
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 2em;
  }

  article {
    h1 {
      color: #000;
      font-size: 1.5em;
      font-weight: bold;
      margin-bottom: 1em;
      border-bottom: 1px solid #e0e0e0;
      padding-bottom: 0.5em;
    }
    + article {
      margin-top: 4em;
    }
  }

  h2 {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 2em;
    margin-bottom: 1em;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5em;
  }

  h3 {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
  }

  h4 {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 1.2em;
    margin-bottom: 0.8em;
  }

  h5 {
    font-size: 1em;
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 0.5em;
  }

  h6 {
    font-size: 1em;
    font-weight: bold;
    color: #888;
    margin-top: 0.8em;
    margin-bottom: 0.4em;
  }

  a {
    word-wrap: break-word;
  }

  ul {
    margin: 1em 0;
    padding-left: 1.5em;
    line-height: 1.6;

    & ul {
      margin: 0.5em 0 1em;
      padding-left: 1.2em;
    }
  }

  ol {
    margin: 1em 0;
    padding-left: 1.5em;
    line-height: 1.6;

    & ol {
      margin: 0.5em 0;
      padding-left: 1.2em;
      list-style-type: lower-alpha;
    }
  }

  li {
    margin-bottom: 0.5em;
    color: #333;
    font-size: 1em;

    &:last-child {
      margin-bottom: 0;
    }

    & li {
      margin-bottom: 0.5em;
      font-size: 1em;
      color: #555;
    }
  }

  .f-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;

    h2 {
      margin-top: 0;
      margin-bottom: 0;
      font-size: 1em;
      font-weight: bold;
      color: #000;
      border-bottom: none;
      padding-bottom: 0;
    }

    p {
      margin-top: 0;
      margin-bottom: 0;
      font-size: 1em;
      line-height: 1;
      color: #000;
    }

    &:last-child {
      margin-bottom: 0;
    }

    @media (max-width: 500px) {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
  }

  .vertical0545 {
    background: linear-gradient(to bottom, #3C6EC8 0%, #80A0C8 50%, #F0C8B4 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .vertical0600 {
    background: linear-gradient(to bottom, #8080DC 0%, #DC8080 50%, #FF8014 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .vertical0615 {
    background: linear-gradient(to bottom, #0064BE 0%, #28A0FF 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .vertical1745 {
    background: linear-gradient(to bottom, #0064AF 0%, #646EA0 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .vertical1800 {
    background: linear-gradient(to bottom, #005AA0 0%, #8064A0 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .vertical1815 {
    background: linear-gradient(to bottom, #00145A 0%, #3C3CA0 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo {
    margin-bottom: 1.5em;

    & img {
      max-width: 200px;
      height: auto;
    }
  }

  .content {
    background-color: #FAFAFA;
    border-radius: 1.5em;
    padding: 1.5em;
    width: 100%;
    max-width: 800px;
  }
} 