:root {
  --background: rgb(223, 223, 223);
  --bleu: blue;
  --vert: #000000;

  --text-title: 2rem;
  --text-menu: 1.6rem;
  --text-paragraph: 1rem;

  --bold: 600;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: Work Sans;
  src: url('../fonts/WorkSans-VariableFont_wght.ttf');
}

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: Work Sans, sans-serif;
  color: #000;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  line-height: 1.2;
}

body {
  background-color: var(--background);
  padding-top: 64px;
}

main {
  width: 96%;
  display: block;
  padding-top: 2%;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  z-index: 100;
}


nav a {
  text-decoration: none;
  text-align: center;
  color: #000;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-transition: .3s;
  transition: .3s;
  line-height: 2;
  padding: 0;
  margin: 0;

}

nav a.active {
  color: var(--bleu);
}

nav a:hover {
  color: var(--vert);
}

section {
  /*background-color: #000;*/
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
  font-size: var(--text-paragraph);
  min-height: 100vh;
  border-bottom: 2px solid var(--vert);
  padding-top: 20px;
}

section:nth-child(2n) {
  /*background-color: #fff;*/
}

section .paragraph {
  display: inline-block;
  width: 90%;
  color: #000;
  font-size: var(--text-paragraph);
  line-height: 1.2;
  padding: 20px;
}

section h3 {
  font-size: var(--text-paragraph);
  font-weight: var(--bold);
  font-variation-settings: "wght" var(--bold);
}

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

a {
    background-color: transparent;
}


p{
    line-height: 1.2 !important;
}

.informations p{
  font-size: var(--text-paragraph);
}

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

h1, h2, h3, p, span, div, a, button {
  font-weight: 600;
  letter-spacing: -0.01em;
}

/**
 * 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;
  width: 100%;
  height: auto;
}

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

button:focus {outline:0;}

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

.vertical-menu{
  overflow-x: hidden;
  overflow-y: scroll;
  top: 0;
  right: 0;
  position: fixed;
  height: 100vh;
  padding: 20px;
  padding-top: 7rem;
  background-color: var(--background);
  border-left: 2px solid var(--vert);
  font-variant-numeric: tabular-nums;
  }

.horizontal-menu{
  background-color: var(--background);
  border-bottom: 2px solid var(--vert);
  display: flex;
  justify-content: space-between;
  top: 0;
  position: fixed;
  width: 100%;
  padding-right: 1vw;
  z-index: 999;
}


.floating{
    z-index: 99;
    position: fixed;
    left: 20px;
    bottom: 0;
    height: 190px;
    width: 140px;
    -webkit-transition: bottom 2s;
    transition: bottom 2s;
    background-repeat: no-repeat;
    -webkit-animation-name: floating;
    animation-name: floating;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    -webkit-animation-direction: alternate-reverse;
    animation-direction: alternate-reverse;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.informations{
  z-index: 99;
  position: absolute;
  padding: 100px;
  padding-top: 10%;
  top: -300vh;
  width: 100%;
  height: 300vh;
  -webkit-transition: top 2s;
  transition: top 2s;
  overflow-y: scroll;
background: rgb(223,223,223);
background: -webkit-gradient(linear, left top, left bottom, from(rgb(177, 19, 19)), color-stop(40%, rgba(255, 255, 255, 0)));
background: linear-gradient(180deg, rgba(223,223,223,1) 8%, rgba(255, 255, 255, 0) 100%);
}

.inscriptions{
position:absolute;
bottom:0px;
}

.informations img{
width: 100%;
display: inline-block;
max-height: 50%;
}

.fixed{
  position: fixed;
  overflow: none;
}

#infos {
  font-size: var(--text-title);
  padding: 15px;
}

#infos a {
  padding: 0;
  margin: 0;
}

.show{
top: 0;
}

.hide{
    bottom: -300px;
}

#myBtn {
  background: transparent;
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  color: #000; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 10px; /* Rounded corners */
  font-size: var(--text-title); /* Increase font size */
  -webkit-transition: .3s;
  transition: .3s;
}

#myBtn:hover {
  color: var(--vert);
}

.startanimation{
-webkit-animation-duration: 2s;
        animation-duration: 2s;
  -webkit-animation-name: intro;
          animation-name: intro;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
}

.intro{
  width: 100vw;
  height: 100vh;
  background-color: var(--bleu);
  z-index: 999;
  overflow: hidden;
}

.intro button{
    color: deeppink !important;
}


/* ANIM */

@-webkit-keyframes intro {
  from {
      font-size: 118px;
  }

  to {
      font-size: var(--text-title);
  }
}

@keyframes intro {
  from {
      font-size: 118px;
  }

  to {
      font-size: 18px;
  }
}


@-webkit-keyframes floating {
    from {
        -webkit-transform: translateY(-5%);
        transform: translateY(-5%)
    }

    to {
        -webkit-transform: translateY(5%);
        transform: translateY(5%)
    }
}

@keyframes floating {
    from {
        -webkit-transform: translateY(-5%);
        transform: translateY(-5%)
    }

    to {
        -webkit-transform: translateY(5%);
        transform: translateY(5%)
    }
}

/* OTHERS */

::-webkit-scrollbar {
  display: none;
  width: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(0,0,0,.5);
  -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

/*FLICKITY*/
.carousel {
  /*background: #FAFAFA;*/
}

.carousel-cell {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;

  resize: vertical;
  width: 90%;
  height: 80vh;
  /*margin-right: 10px;*/
  padding: 10px;
 /* background: #ccc;*/
 background: transparent;
}



.carousel-cell-image {
  display: block;
  max-height: 100%;
  -webkit-transition: opacity 0.3s;
          transition: opacity 0.3s;
  /* set min-width, allow images to set cell width */
  width: auto;
  height: auto;
  min-width: 150px;
  max-width: 100%;
  margin-right: 10px;
}


/* fade in lazy loaded image */
.carousel-cell-image.flickity-lazyloaded,
.carousel-cell-image.flickity-lazyerror {
  opacity: 1;
 /* border: 5px solid blue; */
    box-shadow: 1px 1px 12px rgb(155, 155, 155);
}

.flickity-page-dots{
  display: none !important;
}

#fleche{
  color: deeppink;
  text-decoration: none;
  font-size: 500px;
}

#fleche img{
width: 94vw;
padding: 20px;
}


/* RESPONSIVE */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

  :root {
    --text-title: 3rem;
    --text-menu: 1.6rem;
    --text-paragraph: 1rem;
  }
 
  section .paragraph {
    margin-top: -8vh;
    overflow: scroll;
    height: 25vh;
    text-overflow: ellipsis;
  }

  .vertical-menu{
    padding: 10px;
}


.carousel {
  width: 95vw;
}

#fleche{
  font-size: 800px;
}

#fleche img{
  width: 70w;
  padding: 20px;
  }


}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {


main {
  width: 96%;
  }

}


/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {



  #fleche img{
    width: 94vw;
    padding: 20px;
    }

}

