/* stylelint-disable docusaurus/copyright-header */

/**
 * CSS files with the .module.css suffix will be treated as CSS modules
 * and scoped locally.
 */
/*
.heroBanner {
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 966px) {
  .heroBanner {
    padding: 2rem;
  }
}

.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}
*/
.hero{
  padding: var(--spacing-lg);
  min-height: 60vh;

  display: flex;
  align-items: center;
  h1 {
    margin: 0;
    text-transform: uppercase;
  }
  span {
    font-family: var(--font-secondary);
    font-size: 1.56rem;
    display: block;
    margin-bottom: var(--spacing-sm);
  }

  .cta {
    display: flex;
    .button:nth-child(n) {
      margin-left: var(--spacing-md);
    }
    .button:first-child {
      margin-left: 0;
    }
  }
}

/*======== Boutons ========*/
$ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86);
.button {
  background-color: var(--color-accent);
  width: fit-content;
  border-radius: 10px;
  position: relative;
  overflow: hidden;

  a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: bold;
    font-family: var(--font-secondary);
    font-size: 1.56rem;

    position: relative;
    z-index: 2;
  }
  .button--bg {
    width: 100%;
    height: 100%;
    position: absolute;
  }
  &.button-bg-full {
    .button--bg {
      background-color: var(--color-accent-lighter);

      z-index: 1;
      top: 0;
      left: -100%;
      transition: all 0.3s $ease-in-out-circ;
    }
    &:hover {
      .button--bg {
        left: 0;
        transition: all 0.3s $ease-in-out-circ;
      }
    }
  }
  &.button-bg-empty {
    background-color: rgba(0, 0, 0, 0%);
    border: solid 4px var(--color-accent);
    a {
      color: var(--color-accent);
      transition: all 0.3s $ease-in-out-circ;
    }
    .button--bg {
      background-color: var(--color-accent-lighter);

      z-index: 1;
      top: 0;
      left: -100%;
      transition: all 0.3s $ease-in-out-circ;
    }
    &:hover {
      a {
        color: var(--color-white);
        transition: all 0.3s $ease-in-out-circ;
      }
      .button--bg {
        left: 0;
        transition: all 0.3s $ease-in-out-circ;
      }
    }
  }

}

/*======== Columns ========*/
.col-2 {
  display: grid;
  grid-template-columns: 48% 48%;
  justify-content: space-between;
  align-items: center;
}


