@import url('https://fonts.googleapis.com/css2?family=Suez+One&display=swap');

body {
  margin:0;
  font-family: sans-serif;
  color:#222;
}
nav {
  top: 0;
  padding:1rem 3rem;
  text-align:right;
  position: fixed;
  width: 100%;
  background: white;
  box-sizing: border-box;
  overflow: hidden;
  transition: height ease-in-out 0.33s;
  display: flex;
  justify-content: right;
  z-index: 1;
}
nav img {
  height: 6.3rem;
  position: absolute;
  left: 3.3em;
  top: 0.7em;
}
nav a {
  color: #000;
  padding: 2rem 1rem;
  text-decoration:none;
  display: inline-block;
  text-underline-offset: 0.3rem;
}
section {
  max-width: 750px;
  margin: 2rem auto;
  padding: 0 3rem;
}

.anim {
  opacity:0;
  transform:translateY(3em);
}

.show .anim {
  opacity:1;
  transform:none;
  transition:opacity .4s ease-out,
              transform .4s ease-out;
}

.page { display:none; }
.page.active { display:block; }

h1 {
  margin: 0;
  padding: 3em 0 1.5em 0;
  font-family: "Suez One";
  font-size: 4rem;
  text-align: center;
  line-height: 1.15 em;
  max-width: 80vw;
}

.center-parent {
  display: flex;
  justify-content: center;
}

.center-parent > h1 {
  width: 50em;
  flex-shrink: 0;
}

p {
  font-size: 1.4em;
  line-height: 1.5em;
}
[data-src="liste-sign"] {
  font-size: 1.4em;
  line-height: 2em;
}
section img {
  width: 85%;
  margin: 0% 7.5%;
  font-size: 3em;
}

section footer img {
  width: 60%;
  margin: 7% 20%;
}
section footer img[src="colombe.jpg"] {
  width: 40%;
  margin: 15% 30%;
}
footer {
  text-align: center;
}

.bandeau {
  color: white;
  padding: 2em 0 5em 0;
  text-align: center;
  margin: 3em 0;
}

.bandeau::before {
  content: '';
  height: 18em;
  background: black;
  left: 0;
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  margin-top: -2em;
}

.bandeau a, form input {
  padding: 1em 2em;
  font-size: 1.3em;
  font-family: "Suez One";
}

.bandeau a, input[type="submit"] {
  background: #209d50;
  color: white;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.sep {
  border-top: 0.1em solid black;
  margin: 3em 0;
}

.bandeau p {
  line-height: 2em;
}
section p a {
  color: #209d50;
  display: inline-block;
}

nav #login {
  display: none;
}
form input {
  margin: 0 1em;
}

#login:before {
  content: '';
  color: #c30e23;
  border-left: 1.5em solid;
  border-top: 1.5em solid transparent;
  border-bottom: 1.5em solid transparent;
  display: inline-block;
  left: 2.2em;
  position: relative;
  top: 1em;
}


#menu-responsive {
  position: absolute;
  right: 1rem;
  top: 1rem;
  padding: 2rem;
  width: 3rem;
  cursor: pointer;
  display: none;
}

#menu-responsive div {
  border-top: 0.25rem solid black;
  border-bottom: 0.25rem solid black;
  height: 1rem;
  margin: 1rem 0;
  color: transparent;
}

#login #id {
  max-width: 40%;
  margin: 0;
  margin-right: 1em;
}

@media only screen and (max-width: 1280px) {
  html {
    font-size: 0.75em;
  }
  body {
    font-size: 1.3333em;
  }
}

@media only screen and (max-width: 1024px) {
  nav {
    height: 8.5rem;
  }
  #menu-responsive {
    display: block;
  }
  nav.menu-open #menu-responsive div {
    margin: 0;
    border: none;
    font-size: 5rem;  
    color: black;
    height: 1em;
  }
  nav {
    flex-direction: column;
    justify-content: space-around;
  }
  nav:not(.menu-open) a, nav:not(.menu-open) #login {
    pointer-events: none;
    opacity: 0 !important;
  }
  nav a, #login {
    display: block;
    text-align: center;
    font-size: 1.7em;
  }
  nav.menu-open {
    height: 100vh;
  }
  #login {
    order: 3;
    font-size: 1em;
  }
  #login input {
    margin: 1em;
  }
}

@media (pointer:none), (pointer:coarse) {
  html {
    font-size: 6mm;
  }
  body {
    font-size: 1.75em;
  }
}

#insta {
  height: 1em;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#insta img {
  position: initial;
  height: 2.5em;
  width: 2.5em;
  margin: auto;
}