/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

/* You can override the default Infima variables here. */
:root {
  --ifm-color-primary: #2e8555;
  --ifm-color-primary-dark: #29784c;
  --ifm-color-primary-darker: #277148;
  --ifm-color-primary-darkest: #205d3b;
  --ifm-color-primary-light: #33925d;
  --ifm-color-primary-lighter: #359962;
  --ifm-color-primary-lightest: #3cad6e;
  --ifm-code-font-size: 95%;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
  --ifm-color-primary: #28dfb7;
  --ifm-color-primary-dark: #1fcea8;
  --ifm-color-primary-darker: #1dc39e;
  --ifm-color-primary-darkest: #18a082;
  --ifm-color-primary-light: #3fe2bf;
  --ifm-color-primary-lighter: #4ae4c2;
  --ifm-color-primary-lightest: #6de9ce;
}

.craco-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 64px;

  .header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;

    img {
      width: 256px;
      height: 256px;
    }

    .text {
      font-size: 48px;
      font-weight: bold;
      p {
        margin: 0;
      }
      span {
        color: var(--ifm-color-primary);
      }
      margin-bottom: 32px;
    }

    @media screen and (max-width: 768px) {
      flex-direction: column;
      img {
        width: 128px;
        height: 128px;
      }
      .text {
        font-size: 32px;
      }
    }
  }

  .buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    a {
      padding: 12px 48px;
      font-size: 18px;
      font-weight: bold;
      color: var(--color);
      border: 2px solid var(--color);
      border-radius: 16px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;

      &:hover {
        text-decoration: none;
        background-color: var(--color);
        color: black;
      }

      p {
        margin: 0;
      }

      svg {
        width: 24px;
        height: 24px;
      }
    }
  }
}
