

* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #01205d;
  color: #1b1c22;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

.container {
  background-color: #fff;
  padding: 20px 40px;
  border-radius: 5px;
}

.container h1 {
  text-align: center;
  margin-bottom: 30px;
}

.container a {
  text-decoration: none;
  color: #ead860;
}

.container a:hover {
  text-decoration: none;
  color: #01205d;
}

.btn {
  cursor: pointer;
  display: inline-block;
  width: 100%;
  background: #01205d;
  color: #fff;
  padding: 15px;
  font-family: inherit;
  font-size: 16px;
  border: 0;
  border-radius: 5px;
  margin-top: 50px;
}

.btn:focus {
  outline: 0;
}

.btn:active {
  transform: scale(0.98);
}

.btn:hover {
  background: #ead860;
  color: #01205d;
  font-weight: bold;
}

.text {
  margin-top: 10px;
}

.form-control, .form-control-mdp {
  position: relative;
  margin: 20px 0 40px;
  width: 300px;
}

.form-control input, 
.form-control-mdp input {
  background-color: transparent;
  border: 0;
  border-bottom: 2px #1b1c22 solid;
  display: block;
  width: 100%;
  padding: 15px 0;
  font-size: 18px;
  color: #1b1c22;
}

.form-control input:focus,
.form-control-mdp input:focus,
.form-control input:valid,
.form-control-mdp input:valid {
  outline: 0;
  border-bottom-color: #fff;
}

.form-control label,
.form-control-mdp label {
  position: absolute;
  top: 15px;
  left: 0;
  pointer-events: none;
}

.form-control label span,
.form-control-mdp label span {
  display: inline-block;
  font-size: 18px;
  min-width: 5px;
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control input:focus + label span,
.form-control-mdp input:focus + label span,
.form-control input:valid + label span,
.form-control-mdp input:valid + label span {
  color: #1b1c22;
  transform: translateY(-30px);
}




/* Permet la vérification de l'email */

.email {
  position: relative;
  margin: 20px 0 40px;
  width: 300px;
}

.email input {
  background-color: transparent;
  border: 0;
  border-bottom: 2px #1b1c22 solid;
  display: block;
  width: 100%;
  padding: 15px 0;
  font-size: 1em;
  color: #1b1c22;
}

.email input:focus,
.email input:valid {
 outline: 0;
 border-bottom-color: #fff;
}

.email label {
 position: absolute;
 top: 15px;
 left: 0;
 pointer-events: none;
}

.email label span {
 display: inline-block;
 font-size: 1em;
 min-width: 5px;
 transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.email input:focus + label span,
.email input:valid + label span {
 color: #1b1c22;
 transform: translateY(-30px);
}

.email svg {
  position: absolute;
  z-index: 1;
  right: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  fill: none;
  margin: -10px 0 0 0;
}

.email svg polyline, .email svg path {
  stroke: #ff2c2c;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease 0s;
}

.email svg path {
  stroke-dasharray: 64;
  stroke-dashoffset: 127;
  transition: stroke-dasharray 0.8s ease 0.8s, stroke-dashoffset 0.8s ease 0.5s;
}

.email svg polyline {
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
  transition: stroke-dashoffset 0.5s ease 0s;
}

.email.success svg polyline, .email.success svg path {
  stroke: #69dd95;
}

.email.success svg path {
  stroke-dasharray: 46;
  stroke-dashoffset: 150;
  transition: stroke-dasharray 0.6s ease 0s, stroke-dashoffset 0.8s ease 0.3s, stroke 0.3s ease 0.6s;
}

.email.success svg polyline {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.5s ease 0.6s, stroke 0.3s ease 0.6s;
}


/* Afficher mot de passe */

*, *:before, *:after {
	 -moz-box-sizing: border-box;
	 -webkit-box-sizing: border-box;
	 box-sizing: border-box;
}
 
 .hide-show {
	 width: 94%;
	 margin: -3.62em 3% 0 1.5%;
	 position: relative;
	 z-index: 5;
	 display: none;
}
 .hide-show span {
	 background: #01205d;
   color: #fff;
	 font-size: 1em;
	 padding: 0.5em;
	 float: right;
	 -webkit-border-radius: 5px;
	 -moz-border-radius: 5px;
	 border-radius: 5px;
	 cursor: pointer;
}

.hide-show span:hover {
  background: #ead860;
  color: #01205d;
  font-weight: bold;
}
 


@media only screen and (max-width: 767px) {
  .container_info {
      width: 90%;
      height: auto;
  }

  .container_form {
      width: 90%;
      height: auto;
  }

  .form-control, .form-control-mdp, .email {
      width: 80vw;
  }
}