@charset "UTF-8";
@font-face {
  font-family: "CrazyFont";
  src: url("../assets/fonts/Pixeloid.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "CrazyFont";
  src: url("../assets/fonts/PixeloidBold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}
/* ==========================================================================
   cover / tools
   ========================================================================== */
/* ==========================================================================
   cover / typo
   ========================================================================== */
/* ==========================================================================
   COLORS / SETTINGS
   ========================================================================== */
:root {
  --color-white: #fff;
  --color-black: #353535;
  --color-primary: #679289;
  --color-bg-primary: #e2e2e2;
}

/* ==========================================================================
   easing / settings
   ========================================================================== */
/* ==========================================================================
   FONTS / SETTINGS
   ========================================================================== */
:root {
  --font-primary: 'CrazyFont', sans-serif;
  --font-size-content: clamp(0.88rem, 0.21vw + 0.81rem, 1rem);
  --font-size-small-content: clamp(0.75rem, 0.21vw + 0.69rem, 0.88rem);
  --font-size-h1: clamp(3rem, 3.75vw + 1.88rem, 5.25rem);
  --font-size-h2: clamp(2rem, 2.08vw + 1.38rem, 3.25rem);
  --font-size-h3: clamp(1.5rem, 1.25vw + 1.13rem, 2.25rem);
  --font-size-link: clamp(1rem, 0.42vw + 0.88rem, 1.25rem);
  --font-size-btn: clamp(1.13rem, 0.63vw + 0.94rem, 1.5rem);
}

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

/*! 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;
}

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

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

img {
  max-width: 100%;
}

.tt {
  align-items: center;
  color: var(--color-black);
  display: flex;
  height: 100vh;
  font: 800 75px/1.5 helvetica, sans-serif;
  justify-content: center;
  position: fixed;
  left: 0;
  margin: 0;
  top: 0;
  width: 100vw;
}

/* ==========================================================================
   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 {
  font-family: var(--font-primary);
  font-size: var(--font-size-content);
  color: var(--color-black);
  line-height: 1;
}

p {
  margin: 0;
}
p.small {
  font-size: var(--font-size-small-content);
}

h1, h2, h3, .h1, .h2, .h3, p, a, button {
  filter: drop-shadow(5px 5px rgba(0, 0, 0, 0.6));
}

/* ==========================================================================
   HEADINGS / ELEMENT
   ========================================================================== */
h1,
h2,
h3,
.h1,
.h2,
.h3 {
  font-family: var(--font-primary);
  line-height: 1;
  font-weight: bold;
  margin: 0;
}

h1, .h1 {
  font-size: var(--font-size-h1);
  margin-bottom: var(--spacing-sm);
}

h2, .h2 {
  font-size: var(--font-size-h2);
  margin-bottom: var(--spacing-sm);
}

h3, .h3 {
  font-size: var(--font-size-h3);
  margin-bottom: var(--spacing-sm);
}

em {
  font-style: italic;
}

/* ==========================================================================
   LINKS / ELEMENTS
   Style de base de tous les liens et bouton du site
   ========================================================================== */
a {
  scale: 1;
  color: inherit;
  text-decoration: none;
  font-size: var(--font-size-link);
  transition: color 0.35s cubic-bezier(0.19, 1, 0.22, 1);
  transition: scale 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
a:hover {
  color: var(--color-primary);
  scale: 1.05;
}
a.bigger:hover {
  scale: 1.2;
}

a.btn, button {
  --btn-padding: 20px;
  --border-size: 5px;
  --background-size: 64px;
  cursor: pointer;
  color: var(--color-white);
  font-size: var(--font-size-btn);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  background: url(../../assets/random/stone.webp);
  background-size: var(--background-size);
  padding: calc(var(--btn-padding) - var(--border-size));
  border: var(--border-size) var(--color-black) solid;
  scale: 1;
}
a.btn:hover, button:hover {
  scale: 1.05;
  color: var(--color-black);
  background-color: var(--color-white);
}
a.btn.full, button.full {
  width: 100%;
}

/* ==========================================================================
   WRAPPER / ELEMENT
   ========================================================================== */
.wrapper {
  max-width: 1440px;
  width: calc(100% - var(--spacing-md));
  margin: 0 auto;
}

/* ==========================================================================
   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: 1.75em;
  width: 1.75em;
}

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

/* ==========================================================================
   MY MENU STYLES :D
   ========================================================================== */
.menu {
  --background-size: 256px;
  --bg-animate-speed: 100s;
  --bg-animate-y: 10;
  --bg-animate-x: -40;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  position: absolute;
  left: 0;
  top: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.7) 100%), url(../../assets/random/background.webp);
  background-size: auto, var(--background-size);
  image-rendering: pixelated;
  animation: slide var(--bg-animate-speed) linear infinite;
}
@keyframes slide {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0, calc(var(--background-size) * var(--bg-animate-x)) calc(var(--background-size) * var(--bg-animate-y));
  }
}
.menu .wrapper {
  height: 100%;
  align-content: center;
  text-align: center;
  color: var(--color-white);
}

/* ==========================================================================
   MY FOOTER STYLES, CLEAN AND SIMPLE
   ========================================================================== */
.footer {
  --footer-pos: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  width: 100dvw;
  color: var(--color-white);
  transition: transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
  transform: translateY(var(--footer-pos));
}
.footer .wrapper {
  padding: var(--spacing-md) 0;
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.footer .credit {
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
}
.footer .socials {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.menu-is-open .footer {
  --footer-pos: 0;
}
/*# sourceMappingURL=main.css.map */
