main {
  p {
    font-family: "Rubik", sans-serif;
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-quiver-gray);
  }

  pre {
    margin: 0 !important;
    font-size: clamp(12px, 1.75vw, 13px) !important;
  }
}


section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6em 16px 4em;
  min-height: 100vh !important;
  font-family: "Rubik", sans-serif;
}

#sectionIntro {
  min-height: 90vh !important;
  background: linear-gradient(178.13deg, #1F242D 3.26%, #272F3E 81.63%, #313948 135.25%);

  .mcp-intro-outer {
    display: flex;
    align-items: center;
    gap: 2.5em;
    padding: 2em;

    > div {
      display: flex;
      flex-direction: column;
      min-width: 300px;
      max-width: 500px;
    }

    h1 {
      font-size: clamp(28px, 5vw, 40px);
      font-family: "Roboto Slab", sans-serif;
      font-weight: 500;
      line-height: 1.25;
      
      > span {
        color: #E83D5D;
      }
    }

    img {
      max-width: 400px;
    }

    p {
      font-size: clamp(14px, 1.75vw, 16px);
    }

    .intro-links {
      display: flex;
      gap: 2rem;
      margin-top: 18px;

      a {
        border-radius: 4px;
        border: 1px solid #dedede;
        padding: .75rem 2rem;
        font-size: clamp(14px, 3vw, 16px);
        color: #dedede;
        text-decoration: none;
        transition: all 0.2s ease-in-out;
        white-space: nowrap;

        &:hover {
          background-color: rgba(0, 0, 0, 0.15);
        }

        &:first-child {
          background-color: #E83D5D;
          border-color: transparent;

          &:hover {
            background-color: #cf3753;
          }
        }
      }
    }
  }

  .mcp-preview-outer {
    border: 1px solid #e8e2ff1b;
    border-radius: 12px;

    .mcp-preview-header {
      display: flex;
      align-items: center;
      border-radius: 12px 12px 0 0;
      padding: 12px 15px;
      background-color: rgb(255 255 255 / 4%);

      .dot {
        display: inline-block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin-right: 0.75em;

        &.dot-red {
          background-color: rgb(255, 95, 87);
        }

        &.dot-yellow {
          background-color: rgb(254, 188, 46);
        }

        &.dot-green {
          background-color: rgb(40, 200, 64);
        }
      }

      .file-name {
        margin-left: .5em;
        font-size: clamp(12px, 1.5vw, 12px);
        color: var(--color-quiver-gray);
      }
    }

    pre {
      border-radius: 0 0 12px 12px;
      padding: 1.5em;
      padding-right: 6rem;
      background-color: rgb(34, 33, 39);
    }
  }
}

.setup-header, .tools-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3em;

  h2 {
    font-family: "Roboto Slab", sans-serif;
    font-weight: 500;
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 1em;
    text-transform: none;
  }
}

#sectionSetup {
  display: flex;
  flex-direction: column;
  padding-top: 80px;

  .steps-outer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5em;
    max-width: 1250px;

    > div.step {
      display: flex;
      flex-direction: column;
      flex: 1;
      min-width: 200px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      background-color: rgb(255 255 255 / 4%);
    }
    
    .step-arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 100px;
      font-size: 1.5em;
      color: var(--color-quiver-gray);
      opacity: .8;
    }

    .step-header {
      flex: 1;
      padding: 1.5em;

      strong {
        font-weight: 500;
        font-size: 13px;
        color: #E83D5D;
      }
  
      h3 {
        font-family: "Roboto Slab", sans-serif;
        font-weight: 500;
        font-size: clamp(18px, 2vw, 20px);
        margin: 0.5em 0 1em;
      }
  
      p {
        margin-bottom: 0;
      }

    }

    .step-code-block {
      border-radius: 0 0 12px 12px;
      padding: 1.5em;
      background-color: rgba(0, 0, 0, 0.2);
    }
  }
}

#sectionTools {
  display: flex;
  flex-direction: column;

  .tools-outer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 24px;
    max-width: 1150px;

    > div {
      display: flex;
      flex-direction: column;
      flex: 1;
      border: 2px solid rgb(255 255 255 / 5%);
      border-radius: 12px;
      padding: 32px;
      min-height: 200px;
      background-color: rgb(255 255 255 / 3%);

      &:last-child {
        grid-column: 2 / 3;
      }
    }

    .tool-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      width: 38px;
      height: 38px;
      background-color: #E83D5D;

      img {
        display: block;
        width: 1.7em;
      }
    }
    
    h3 {
      margin: 1.25em 0 1em;
      font-family: "Roboto Slab", sans-serif;
      font-weight: 500;
      font-size: clamp(18px, 2vw, 20px);
    }

    p {
      flex: 1;
    }

    code {
      display: inline-block;
      margin: .25em .25em .25em 0;
      border-radius: 4px;
      padding: 0.25em .75em;
      background-color: rgb(255 255 255 / 6%);
      font-size: clamp(12px, 1.75vw, 12px);
    }
  }
}

@media only screen and (max-width: 1399px) {
  main {
    pre, code {
      white-space: pre-wrap !important;
    }
  }
}

@media (max-width: 1024px) {
  main {
    pre, code {
      padding-right: 1rem !important;

    }
  }

  #sectionIntro {
    min-height: 0 !important;
    padding: 0;
    padding-top: 8em;
    padding-bottom: 1em;
    text-align: center;
    
    & .mcp-intro-outer {
      flex-direction: column;

      > div {
        width: 100%;
      }

      p {
        margin-bottom: 1.5rem;
      }

      .intro-links {
        justify-content: center;
      }

      img {
        max-width: 300px;
      }
    }
  }

  #sectionSetup .steps-outer {
    flex-direction: column;

    > div.step {
      min-width: auto;
      width: 100%;
    }

    .step-arrow {
      display: none;
    }
  }

  #sectionTools .tools-outer {
    grid-template-columns: 1fr;
    
    > div {
      &:last-child {
        grid-column: auto;
      }
    }
  }
}