@font-face {
    font-family:"Retro" ;
    src: url("../font/retro.ttf"); 
}

@font-face {
    font-family:"Neon" ;
    src: url("../font/neon.ttf"); 
}

@font-face {
    font-family:"Futur" ;
    src: url("../font/futur.ttf"); 
}

@font-face {
  font-family:"Azonix" ;
  src: url("../font/azonix.otf"); 
}

@keyframes animate{

    0%{
	    color: rgb(255, 17, 124);
	}
    25%{
        color: #f9d423;
      }
    50%{
        color: rgb(255, 17, 124);
    }
    75%{
        color: #00f5dc;
    }
    100%{
        color: rgb(255, 17, 124);
    }   
  }

  @keyframes animatebg{

    0%{
	    background-color: rgb(255, 17, 124);
	}
    25%{
      background-color: #f9d423;
      }
    50%{
      background-color: rgb(255, 17, 124);
    }
    75%{
      background-color: #00f5dc;
    }
    100%{
      background-color: rgb(255, 17, 124);
    }   
  }  

  @keyframes vibration {
    0% { transform: translate(0, 0) rotate(0deg); color: rgb(255, 17, 124);}
    25% { transform: translate(5px, 5px) rotate(5deg); color: #f9d423;}
    50% { transform: translate(0, 0) rotate(0deg); color: rgb(255, 17, 124);}
    75% { transform: translate(-5px, 5px) rotate(-5deg);  color: #00f5dc;}
    100% { transform: translate(0, 0) rotate(0deg); color: rgb(255, 17, 124);}
  }


h1{
    font-family: Retro;
    font-size: 70px;
    text-align: center;
    margin-bottom: 150px;
    margin-top: 70px;
    color: rgb(255, 17, 124);
    text-shadow: 3px 3px 40px rgb(243, 51, 111), 0 0 1em rgb(255, 255, 255), 0 0 0.2em rgb(255, 0, 238);
    margin-left: 30%;
    margin-right: 30%;
    cursor: url("../curseur/Arrow.cur"), auto;
    animation: vibration 2s ease-in-out infinite;

    transition: all 1500ms ease-in;
    transform: scale(1);   
}

#page1 h1:hover{
    transition: all 1500ms ease-in;
    transform: scale(1.3);
    animation: vibration 0.5s ease-in-out infinite;
}


*{
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
    user-select: none;
}

body{
    background-color: #020322;
    /*overflow: hidden;*/
}


#footer_background{
  height: 1000px;
  margin-top: 100px;
  background-image: url(../image/footer.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}


.rec{
    background-color: white;
    width: 180px;
    height: 230px;
    margin: 10px;
    border-radius: 15px;

    display: inline-block;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1); 
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1); 
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1);
    transition: all 500ms ease-in;
    transform: scale(1);   
}

a{
    cursor: url("../curseur/Arrow.cur"), auto;
    color: white;
}

.rec:hover{
    background-color: rgb(233, 0, 0);
    box-shadow: 0px 0px 150px #000000;
    z-index: 2;
    -webkit-transition: all 200ms ease-in;
    -webkit-transform: scale(1.3);
    -ms-transition: all 200ms ease-in;
    -ms-transform: scale(1.3);   
    -moz-transition: all 200ms ease-in;
    -moz-transform: scale(1.3);
    transition: all 200ms ease-in;
    transform: scale(1.3);
}

#image{
    width: 180px;
    height: 230px;
    border-radius: 15px;
    border-color: 1px 1px rgb(255, 17, 124);
    border: solid rgb(255, 17, 124);
    transition: all 400ms ease-in-out;
}

#image:hover{
  border: solid rgb(255, 235, 17);
  transition: all 400ms ease-in-out;
}

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

#connect{
  color: white;
  font-family: azonix;
  font-size: 25px;
  display: flex;
  justify-content: end;
}

#connexion{
  padding-right: 30px;
  text-decoration: none;
}
#connect a:hover{
  color: rgb(255, 17, 124);
  transition: all 300ms ease-in;
  text-shadow: 2px 2px 30px #00f5dc;
}

#inscription{
  padding-right: 30px;
  text-decoration: none;
}


@media screen and (min-width: 1000px){   /*taille écran PC portable = 1662px */
   
   h1{
    margin-bottom: 80px;
    margin-top: 50px;
   }

   .rec{
    background-color: white;
    width: 180px;
    height: 230px;
    margin: 8px;
    border-radius: 15px;
   }

   #image{
    width: 180px;
    height: 230px;
    border-radius: 15px;
   }
}

@media screen and (max-width: 600px){   /*taille écran TELEPHONE = 500px */
   

  h1{
   margin-bottom: 80px;
   margin-top: 50px;
   margin-left: 0px;
   margin-right: 0px;
   text-align: center;
   font-size: 45px;
  }

  .rec{
   width: 162px;
   height: 207px;
  }

  #image{
   width: 162px;
   height: 207px;
  }

  #connect{
    font-size: 18px;
    display: flex;
    flex-direction: column;
  }

  #connexion{
    padding-right: 15px;
    margin-bottom: 8px;
    margin-right: 5px;
    display: flex;
    justify-content: flex-end;
  }
  
  #inscription{
    padding-right: 20px;
    display: flex;
    justify-content: flex-end;
    user-select: none;
  }
  
  .rectangle{
    display: flex;
    flex-wrap: wrap;
  }



  #page2 #name_text{    /*Page de connexion*/
    font-size: 30px;
    margin-left: 20px;
  }

  #page2 #nom{
    height: 30px;
    width: 330px;
    margin-left: 15px;
  }

  #page2 #mdp a{
    font-size: 12px;
    margin-left: 20px;
  }


  #page3 #name_text{  /* Page d'inscription*/
    font-size: 29px;
    margin-left: 20px;
  }
  #page3 #nom{
    height: 30px;
    width: 330px;
    margin-left: 15px;
  }

  #page3 #form{
    display: flex;
    flex-direction: column;
  }

  #page3 #case_text{
    font-size: 15px;
    margin-left: 10px;
    text-align: justify;
  }

  #checkbox{
    margin-left: 15px;
    margin-right: 13px;
  }

}





/*------------------------------------BURGER MENU------------------------------------------*/

#menu__toggle {
    opacity: 0;
  }
  #menu__toggle:checked + .menu__btn > span {
    transform: rotate(45deg);
  }
  #menu__toggle:checked + .menu__btn > span::before {
    top: 0;
    transform: rotate(0deg);
  }
  #menu__toggle:checked + .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }
  #menu__toggle:checked ~ .menu__box {
    left: 0 !important;
  }
  .menu__btn {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 2;
  }
  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    display: block;
    position: absolute;
    width: 120%;
    height: 3px;
    background-color: #ffffff;
    transition-duration: .25s;
  }
  .menu__btn > span::before {
    content: '';
    top: -8px;
  }
  .menu__btn > span::after {
    content: '';
    top: 8px;
  }
  .menu__box {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 230px;
    height: 100%;
    margin: 0;
    padding: 80px 0;
    list-style: none;
    background: linear-gradient(rgb(247, 9, 199),#fffb00,  rgb(0, 240, 228));
    box-shadow: 2px 2px 5px rgb(251, 251, 251);;
    transition-duration: .25s;
    z-index: 1;
  }
  .menu__item {
    display: block;
    padding: 12px 24px;
    color: #333;
    font-size: 25px;
    font-weight: 600;
    text-decoration: none;
    transition-duration: .25s;
    font-family: Futur;
  }
  .menu__item:hover {
    color: #fdfdfd;
  }


  /*---------------------------------FORMULAIRE------------------------*/

#formulaire{
  margin-top: 150px;
  display: flex;
  justify-content: center;
}

#name_text{
  color: white;
  font-family: Neon;
  font-size: 40px;
}

#nom{
  background-color: rgb(255, 17, 124);
  animation: animatebg 7.5s ease-in-out infinite;
  border-radius: 50px;
  height: 40px;
  width: 535px;
  font-size: 20px;
  font-family: azonix;
  padding-left: 20px;
  padding-right: 15px; /*pour faire rentrer la petite icone de calendrier*/
}


#case_text{
  color: white;
  font-size: 20px;
  font-family: azonix;
}
#mdp{
  margin-top: 20px;
}
#mdp #creation{
  margin-left: 145px;
}
#mdp a:hover{
  color: rgb(255, 47, 141);
}
#mdp a{
  text-decoration: none;
  margin-left: 3px;
  font-size: 15px;
  font-family: azonix;
}

#form{
  display: flex;
  justify-content: space-between;
  margin-top : -80px;
}

#info_perso{
  margin-right: 50px;
}

#info_web{
  margin-right: 50px;
}

#submit{
  background-color: rgb(255, 17, 124);
  animation: animatebg 7.5s ease-in-out infinite;
  font-size: 20px;
  font-family: azonix;
  border-radius: 50px;
  height: 40px;
  width: 270px;
  cursor: url("../curseur/Arrow.cur"), auto;
  transition: all 1500ms ease-in;
  transform: scale(1); 
}

#confimer{
  margin-top: 30px;
  display:flex;
  justify-content: center;
}
#submit:hover{
  transition: all 800ms ease-in-out;
  transform: scale(1.3);
}

#retour{
  margin-left: 100px;
  margin-bottom: -60px;
  margin-top: -20px;
  
}
#bouton_retour{
  text-decoration: none;
  font-size: 30px;
  font-family: azonix;
}
#bouton_retour:hover{
  color: rgb(255, 17, 124);
  transition: all 300ms ease-in;
  text-shadow: 2px 2px 30px #00f5dc;
}

#case{
  margin-top: 40px;
  margin-right: 10px;
}

#erreur{
  color:white;
}

  