@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&family=Jomolhari&family=Montserrat:wght@900&display=swap");
@import 'https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&family=Jomolhari&family=Montserrat:wght@900&display=swap';
@import 'https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&family=Jomolhari&family=Montserrat:wght@900&display=swap';
:root {
  --color-white: #fff;
  --color-black: #000;
  --color-primary: #6aa84f;
  --color-bg-primary: #212121;
}

:root {
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Fira Code", monospace;
  --font-size-content: 1.1rem;
  --font-size-h1: 7.125rem;
  --font-size-h2: 2rem;
} /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

html {
  box-sizing: border-box;
}

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

img {
  max-width: 100%;
}

body {
  background: var(--color-bg-primary);
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-size: var(--font-size-content);
  line-height: 1.6;
}

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;
}

h2 {
  font-size: var(--font-size-h2);
  text-transform: uppercase;
}

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);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:focus {
  color: var(--color-primary);
}

.wrapper {
  max-width: 1440px;
  margin: 0 auto;
}

@media screen and (max-width: 1440px) {
  .wrapper {
    padding: 0 20px;
  }
}
.grid-wrapper {
  display: grid;
  grid-template-columns: auto minmax(375px, 1024px) auto;
  grid-column-gap: 30px;
}

.grid-center {
  grid-column: 2/3;
}

.header {
  padding: 40px 0;
  text-align: center;
}

.header h1 {
  font-size: 4rem;
}

.header h1 span {
  color: var(--color-primary);
}

.header h1:after {
  width: 20%;
  height: 5px;
  background: var(--color-white);
  content: "";
  display: block;
  margin: 40px auto 0;
}

.number {
  padding: 150px 0;
}

.number:nth-child(odd) {
  background: #111;
}

.number .number__header {
  text-align: left;
}

.number .number__header img {
  display: block;
  margin: 50px auto 0;
}

.number h2 {
  color: var(--color-primary);
  margin: 0;
}

.number p {
  margin: 0;
}

.number i {
  color: var(--color-primary);
  display: block;
}

.number .rules {
  text-align: left;
  margin-top: 20px;
}

.number .rules p {
  font-weight: bold;
  margin-bottom: 10px;
}

.number .rules ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.number .rules ul li {
  display: flex;
  align-items: center;
}

.number .rules ul li::before {
  content: "";
  background: var(--color-primary);
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 10px;
}

.number .number__content {
  position: relative;
}

.number .number__content::before {
  width: 10%;
  height: 5px;
  background: var(--color-primary);
  content: "";
  display: block;
  margin: 50px auto;
}

.number .number__capture {
  margin: 20px 0;
  width: 50%;
}

.u-hidden-visually {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.u-hidden {
  display: none !important;
}

.header ul {
  list-style: none;
  text-align: left;
}

.number__header .full {
  grid-column: 1/-1;
}

.number__header h3 {
  color: #6aa84f;
}

.number__header > ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  list-style: none;
  gap: 50px;
}

:root {
  --color-white: #fff;
  --color-black: #000;
  --color-primary: #6aa84f;
  --color-bg-primary: #212121;
}

:root {
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Fira Code", monospace;
  --font-size-content: 1.1rem;
  --font-size-h1: 7.125rem;
  --font-size-h2: 2rem;
} /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Numéro 1 */
.nav__brand {
  font-size: 44px;
  font-weight: bold;
  font-style: italic;
  color: white;
  padding-right: 300px;
}

li .nav__item {
  color: white;
}

.nav--main {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav--main ul {
  list-style-type: none;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.nav--main a:hover {
  color: #6aa84f;
}

.button {
  margin-left: 50px;
  border: solid #6aa84f 2px;
  padding: 5px 20px 5px 20px;
}

.button:hover {
  background-color: white;
}

/* Numéro 2 */
.cards {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}

.card .media {
  height: 250px;
}

.card .media img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.cards p {
  color: black;
}

.cards span {
  color: black;
}

.card {
  background-color: white;
}

.card .content {
  padding: 20px;
}

.card .content span {
  color: #6aa84f;
}

/* Numéro 3 */
.container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  text-align: center;
  gap: 60px;
}

.personnage img {
  width: 40%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Numéro 4 */
.Container-sport {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sport:hover .content {
  color: white;
  text-shadow: 0px 0px 10px #969696;
  transform: translateY(0%);
}

.sport img {
  height: 100%;
  width: 100%;
}

.sport {
  position: relative;
}

.sport .content {
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  gap: 20px;
  transform: translateY(100%);
  transition: transform 0.1s ease-out;
}

.sport h2 {
  color: inherit;
  font-size: 90px;
}
/*# sourceMappingURL=main.css.map */
