body {
  margin: 0;
  padding: 0;
}

.page {
  position:absolute;
  height: 100%;
  top: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  opacity: 1;
  transition: all ease-in-out 0.4s;
}

.page.hide, .hide {
  opacity: 0;
  transform: translateY(-200px);
}

#home h1, .page h1 {
  height:40px;
  overflow-y:hidden;
  transition: all ease-in-out 0.4s;
  font-family: 'Pompiere', serif;
  margin: 40px;
}

.page.hide h1 {
  height:0;
}

#title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  animation: 3s ease-in-out logoEnter;
  text-align:center;
  margin: 0 0 20px 0;
  transition: top 1s ease-in-out;
  z-index: 10;
  width: 600px;
}

#titlev2 {
  position: relative;
  display:block;
  animation: 3s ease-in-out logoEnterv2;
  text-align:center;
  margin: 200px auto 100px auto;
  z-index: 10;
  width: 600px;
}

#titlev2 a {
  color: #2870a7;
  font-family: 'Poiret One', serif;
}

.page img {
  display:inline-block;
  opacity: 1;
  width: 200px;
  height: 200px;
  animation: 2s ease-in-out logoEnterImg;
}
#title.an {
  top: 30%;

}

#home .menu {
  width: 100%;
  top: 60%;
  position:absolute;
  flex-wrap:wrap;
}

.menu {
  font-family: 'Noto Sans', sans-serif;
  display:flex;
  margin: auto;
  justify-content: space-around;
  z-index: 10;
}

.menu a {
  opacity: 0;
  display:block;
  text-align:center;
  text-transform:uppercase;
  color: #222;
  text-decoration: none;
  margin-left: 40px;
  margin-right: 40px;
  cursor:pointer;
}

.menu a.sh {
  animation: 1s ease-in-out menuEnter ;
  opacity: 1;
}

.menu a::after {
  height: 1px;
  display:block;
  background: #000;
  content: " ";
  margin: auto;
  width: 0;
  transition: all ease-in-out 0.4s;
  margin-top: 10px;
}

#menutop {
  position:fixed;
  z-index: 100;
  top: -60px;
  left:0;
  right:0;
  background: rgba(255,255,255,0.75);
  height: 60px;
  -webkit-backdrop-filter: blur(20px) saturate(2);
  transition: all 0.3s ease-out;
}

#menutop .menu {
  margin-top: 19px;

  width: 100%;
}

#menutop .menu a {
  opacity: 1;
  font-size: 14px;
  margin-left: 0px;
  margin-right: 0px;
}

#menutop .menu a.home {
  margin-top: -7px;
}

#menutop .menu a.home img {
  width: 34px;
  height:34px;
}

#menutop.active {
  top: 0;
}

#loader {
  height: 20px;
  width: 75px;
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}

#loader.hide {
  display:none;
}

#loader div {
  display:inline-block;
  position:absolute;
  height: 10px;
  width: 10px;
  background: #444;
  border-radius: 50%;
  border: 2px solid #FFF;
  animation: 1.2s ease-in-out loader infinite;
  opacity: 0;
}

#loader div:nth-child(2) {
  animation-delay: 0.4s;
}
#loader div:nth-child(3) {
  animation-delay: 0.8s;
}

#home .homeBand {
  height: 150px;
  position:relative;
  width: 100%;
  background-repeat:repeat;
  background-size: 300px auto;
  transition: all 0.2s ease-in-out;
  opacity: 0.75;
  cursor:pointer;
  margin-bottom: 10px;
  animation: 15s linear animateBGColones infinite;
  animation-play-state: paused;
}

#home .homeBand::after {
  display:block;
  background: #000;
  opacity: 0.3;
  content: " ";
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all ease-in-out 0.2s;
}

#home .homeBand p {
  opacity: 1;
  z-index: 3;
  margin:0;
  font-family: 'Noto Sans', sans-serif;
  font-size: 30px;
  font-weight:bold;
  display:block;
  text-align:left;
  text-transform:uppercase;
  color: #FFF;
  text-decoration: none;
  left: 30%;
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: center left;
  text-shadow: 0 0 10px #000, 0 1px 3px rgba(0,0,0,0.5);
  transition: transform 0.7s ease-out, letter-spacing 1.8s ease-out;
  letter-spacing: 1px;
}

#home .homeBand:hover {
  animation-play-state: running;
  opacity: 1;
}

#home .homeBand:hover p {
  transform: translateY(-50%) scale(1.1);
  letter-spacing: 4px;
}

#home .homeBand:hover::after {
  opacity: 0;
}

#home .about {
  margin: auto;
  padding-bottom: 100px;
  top: 70%;
position: relative;
opacity:0;
transition: all 0.4s ease-in-out;
}

.about {
width: 60%;
margin:100px auto;
min-width: 300px;
}

.about.small {
  width: 30%;

}

.about p {
  font-family: 'Poiret One', serif;
font-size: 17px;
line-height: 25px;
}

.about h1 {
  font-family: 'Poiret One', serif;
}

.about .date {
  color: #666;
  font-weight: lighter;
  display:inline-block;
  width: 100px;
}

.about a, a.about {
  color: #2870a7;
  text-decoration:none;
  cursor:pointer;
}

.about label {
  margin-bottom: 20px;
  display:block;
}

.about input {
  border: 0;
padding: 5px 10px;
outline: none;
color: #666;
display: block;
width: calc(100% - 20px);
font-size: 17px;
font-family: 'Pompiere', serif;
border-bottom: 1px solid #2870a7;
}

.about textarea {
  border: 1px solid #2870a7;
padding: 10px;
outline: none;
color: #666;
display: block;
width: calc(100% - 20px);
font-size: 17px;
font-family: 'Pompiere', serif;
}

.about .submit {
  float:right;
  width: 20%;
  background: none;
  color: #000;
  cursor:pointer;
  border-bottom:0;
}

#Cretour.error {
  color: rgb(209, 0, 0);
}

#Cretour.valid {
  color: rgb(131, 209, 48);
}

#content {
   margin: 0px;
   margin-top: 60px;
   transition: all 0.5s ease-out;
}

#content .motif {
  background: #FAFAFA;
  padding: 0 ;
  margin-bottom:0px;
  font-family: 'Noto Sans', sans-serif;
  color: #333;
}

#content .motif.blackBG {
  color: #FAFAFA;
  background-color: #111;
}

#content .motif .cont {
  width: 1200px;
  margin:auto;
  position:relative;
  transition: width 0.25s ease-in-out;
}

#content .motif .mot {
box-shadow: 0 3px 25px rgba(0, 0, 0, 0.31), inset 1px 1px 0px rgba(255, 255, 255, 0.5), inset -1px -1px 0px rgba(255, 255, 255, 0.5);
border: 1px solid rgba(0, 0, 0, 0.48);
}


#content .motif .title h1 {
  margin: 10px 0 30px 0;
  transition: all 0.25s ease-in-out;
}

#content .motif .title p {
  margin: 30px 0 0 0;
  transition: all 0.25s ease-in-out;
}

#content .motif .bigMotif {
  width: 500px;
height: 500px;
background-size: 500px 500px;
position: absolute;
top: 50%;
left: : 0px;
transform: translateY(-50%);
transition: all 0.25s ease-in-out;
}

#content .motif .right {
  width: calc(100% - 580px);
  height: 500px;
  margin-right:30px;
  display:flex;
  flex-direction:column;
  justify-content: space-between;
  transition:all 0.25s ease-in-out;
  position: absolute;
top: 50%;
right: 00px;
transform: translateY(-50%);
}

#content .motif .colors {
  display: table;
  width: 100%;
}

#content .motif .colors .color {
  height: 30px;
width: auto;
min-width: 80px;
display: table-cell;
transition:all 0.25s ease-in-out;
}

#content .declinaisons {
  display:flex;
  justify-content: space-between;
  margin-bottom: -10px;
flex-wrap: wrap-reverse;
flex-direction: row-reverse;
}

#content .declinaisons div {
  width: 120px;
  margin: 10px;
  height:120px;
  transition:all 0.2s ease-in-out;
  cursor:pointer;
  position:relative;
  z-index: 5;
}

#content.small .motif .cont {
  width: 900px;
}

#content.small .motif .bigMotif {
  width: 300px;
  height: 300px;
}

#content.small .motif .title h1 {
  margin: 10px 0 15px 0;
}

#content.small .motif .title p {
  margin: 15px 0 0 0;
}

#content.small .motif .right {
  width: calc(100% - 380px);
  height: auto;
  margin-right:30px;
}

#content.small .motif .colors .color {
  height:15px;
}

#content.small .declinaisons div {
  width: 80px;
  height:80px;
  margin: 10px;

}

.askcode {
  width: 60%;
margin: 100px auto;
text-align: center;
font-family: 'Poiret One', serif;
font-weight:bold;
}



@media (hover: hover) {
  .menu a:hover::after {
    width: 80%;
  }

  #menutop .menu a.home:hover::after {
  width:0;
  }

  .about a:hover {
    text-decoration:underline;
  }

  .about .submit:hover {
    border-bottom:1px solid #222;
  }

  #content .declinaisons div.mot:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 35px rgba(0, 0, 0, 0.41), inset 1px 1px 0px rgba(255, 255, 255, 0.5), inset -1px -1px 0px rgba(255, 255, 255, 0.5);
    z-index: 6;
  }
}
