@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
/* ==========================================================================
   cover / typo
   ========================================================================== */
/* ==========================================================================
   COLORS / SETTINGS
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");
:root {
  --color-white: #fff;
  --color-black: #000;
  --color-primary: #f75c03;
  --color-bg-primary: #e2e2e2;
}

/* ==========================================================================
   FONTS / SETTINGS
   ========================================================================== */
:root {
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Fira Code", monospace;
  --font-size-content: 1.13rem;
  --font-size-h1: 3.75rem;
  --font-size-h2: 2.81rem;
  --font-size-h3: 1.88rem;
  --font-size-h4: 1.25rem;
}

/* ==========================================================================
   DIMENSIONS / SETTINGS
   ========================================================================== */
:root {
  --spacing-xs: 5px;
  --spacing-sm: 15px;
  --spacing-md: 30px;
  --spacing-lg: 50px;
  --spacing-xl: 100px;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
     ========================================================================== */
/**
   * Remove the margin in all browsers.
   */
body {
  margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */
main {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */
/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
     ========================================================================== */
/**
   * Remove the gray background on active links in IE 10.
   */
a {
  background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */
small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */
/**
   * Remove the border on images inside links in IE 10.
   */
img {
  border-style: none;
}

/* Forms
     ========================================================================== */
/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
progress {
  vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */
textarea {
  overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
     ========================================================================== */
/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
details {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */
summary {
  display: list-item;
}

/* Misc
     ========================================================================== */
/**
   * Add the correct display in IE 10+.
   */
template {
  display: none;
}

/**
   * Add the correct display in IE 10.
   */
[hidden] {
  display: none;
}

/* ==========================================================================
     CODE SPÉCIFIQUE À CE LABORATOIRE / EXAMEN / EXERCICE
     Tu m'as trouvé, ne touche à rien cependant, mais viens nous voir pour un collant.
     ========================================================================== */
/*
   Variables pour l'exercice (ne pas toucher)
   ========================================================================== */
/*
   Typography
   ========================================================================== */
.z_h1 {
  font: bold 4rem/1 Montserrat, sans-serif;
  margin-bottom: 3rem !important;
}

.z_h2 {
  font: bold 3rem/1 Montserrat, sans-serif;
  border-bottom: 1px solid #000;
  padding: 1rem 0 !important;
  margin: 2rem 0 !important;
}

.z_h3 {
  font: bold 2rem/1 Montserrat, sans-serif;
  border: none !important;
  color: inherit;
  text-decoration: inherit;
  padding: 2.5rem 0 !important;
}
.z_h3 small {
  display: block;
  font-weight: 400;
  margin-top: 0.5em;
  font-size: 0.7em;
  opacity: 0.4;
}

/*
   components
   ========================================================================== */
/*card section/wrapper */
.z_body {
  background: #eee !important;
}
.z_body .z_wrapper {
  max-width: 1440px !important;
  margin: 0 auto !important;
  width: 100% !important;
  padding: 4rem 0 !important;
}
.z_body {
  /* .cards */
}
.z_body .z_cards {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1rem !important;
}
.z_body .z_cards + .z_cards {
  margin-top: 2rem !important;
}
.z_body {
  /* .cards */
}
.z_body .z_card {
  background: #fff !important;
  color: #000 !important;
  padding: 2rem !important;
  text-decoration: none !important;
  transition: 1s cubic-bezier(0.19, 1, 0.22, 1) !important;
  position: relative !important;
}
.z_body .z_card .z_card_num {
  color: #000 !important;
  position: relative !important;
}
.z_body .z_card .z_card_num::after {
  content: "" !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  height: 4px !important;
  background: tomato !important;
  width: 30px !important;
  transition: 0.4s all cubic-bezier(0.19, 1, 0.22, 1), 0.4s background cubic-bezier(0.19, 1, 0.22, 1) !important;
}
.z_body .z_card:hover {
  background: #000 !important;
  color: #fff !important;
  transform: scale(1.05) rotate(1deg) !important;
}
.z_body .z_card:hover .z_card_num {
  color: #fff !important;
}
.z_body .z_card:hover .z_card_num::after {
  background: #fff !important;
  width: 100% !important;
}

/* ==========================================================================
   RESET / GENERIC
   ========================================================================== */
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

/* ==========================================================================
   BODY / ELEMENT
   Le body permet d'initialiser les propriétés générales de la page.
   Les éléments de la page vont hérités des propriétés inscrite dans body
   ========================================================================== */
body {
  color: var(--color-black);
  font-family: var(--font-primary);
  font-size: var(--font-size-content);
  line-height: 1.6;
}

/* ==========================================================================
   TYPOGRAPHY / ELEMENT
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  line-height: 1;
  font-weight: bold;
}

h1 {
  font-size: var(--font-size-h1);
  margin: 0;
  color: var(--color-primary);
}

h2 {
  font-size: var(--font-size-h2);
  font-family: var(--font-secondary);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

/* ==========================================================================
   LINKS / ELEMENTS
   Style de base de tous les liens et bouton du site
   ========================================================================== */
a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ==========================================================================
   WRAPPER / ELEMENT
   ========================================================================== */
.wrapper {
  max-width: 1024px;
  margin: 0 auto;
  width: 100%;
}
@media screen and (max-width: 1024px) {
  .wrapper {
    padding: 0 var(--spacing-md);
  }
}

/* ==========================================================================
   icons / component
   ========================================================================== */
.icon {
  fill: currentColor;
  display: inline-block;
  flex: 0 0 auto;
  height: 1em;
  vertical-align: middle;
  width: 1em;
  stroke: transparent;
}

.icon--stroke {
  fill: transparent;
  stroke: currentColor;
}

.icon--xs {
  height: 0.75em;
  width: 0.75em;
}

.icon--sm {
  height: 0.8em;
  width: 0.8em;
}

.icon--md {
  height: 1.25em;
  width: 1.25em;
}

.icon--lg {
  height: 2.15em;
  width: 2.15em;
}

.icon--xl {
  height: 7em;
  width: 7em;
}

.section {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.text h2 {
  font-size: clamp(2.5rem, 2.08vw + 1.88rem, 3.75rem);
}
.text h3 {
  font-size: clamp(1.5rem, 0.63vw + 1.31rem, 1.88rem);
}
.text p {
  font-size: clamp(1rem, 0.42vw + 0.88rem, 1.25rem);
}

.bigger h2 {
  font-size: calc(var(--font-size-h2) * 2);
}
.bigger h3 {
  font-size: calc(var(--font-size-h3) * 1.5);
}
.bigger .button {
  font-size: 2rem;
}

.button {
  background-color: var(--color-primary);
  border: 3px solid var(--color-primary);
  color: var(--color-white);
  padding: 15px 30px;
  display: inline-block;
  transition: 0.3s all ease-out;
  cursor: pointer;
}
.button.active {
  background-color: var(--color-black);
  border-color: var(--color-black);
}
.button:hover {
  color: var(--color-primary);
  background-color: transparent;
  text-decoration: none;
}

.header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
}
.header .nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}
.header .header-toggle {
  border-style: none;
  background: none;
  color: var(--color-primary);
  font-size: 48px;
  display: none;
}
@media (width <= 790px) {
  .header .header-toggle {
    display: block;
  }
}
@media (width <= 790px) {
  .header .nav {
    display: none;
  }
}

@media (width <= 1024px) {
  .header--compact .header-toggle {
    display: block;
  }
}
@media (width <= 1024px) {
  .header--compact .nav {
    display: none;
  }
}
.header--compact .logo {
  font-size: clamp(1.5rem, 1.67vw + 1rem, 2.5rem);
}

.card {
  color: var(--color-black);
}
.card:hover {
  text-decoration: none;
}
.card:hover img {
  transition: 0.3s all ease-out;
  transform: scale(1.1);
}
.card {
  display: flex;
  flex-direction: column;
}

.card__media img {
  width: 100%;
  display: block;
}
.card__media {
  overflow: hidden;
  flex-shrink: 0;
}

.card__content {
  border: solid 1px var(--color-bg-primary);
  padding: 20px;
}
.card__content h3 {
  margin: 0;
}
.card__content {
  height: 100%;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}
@media (width <= 1024px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (width <= 790px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card--icon {
  flex-direction: row;
}
.card--icon .card__content {
  border: none;
  height: auto;
}

.cards.cards--col2 {
  grid-template-columns: 1fr 1fr;
}
@media (width <= 1024px) {
  .cards.cards--col2 .card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
@media (width <= 790px) {
  .cards.cards--col2 {
    grid-template-columns: 1fr;
  }
}
/*# sourceMappingURL=main.css.map */
