body{
  background: url("images/main_background.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  color: white;
  

}

form{
  border-radius: 15px;
  width: 500px;
  padding: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-backdrop-filter: blur(15px); /* assure la compatibilité avec safari */
  backdrop-filter: blur(15px);
  background-color: rgba(182, 182, 182, 0.2);
  transform: translate(-50%, -50%);
  text-align: center;
}
 


.retour{
  font-family:sans-serif;
  font-size: 25px;
  background-color: #ae0404;
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 10px;
  float: right;
  transition: 0.15s;
}

.retour:hover{
  background-color: #961414;
}

form input[type="text"], form input[type="password"]{
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: 1px solid #d9d9d9;
  border-left: 1px solid #d9d9d9;
  display: block;
  margin: 20px auto;
  text-align:center;
  padding: 14px 14px;
  width: 200px;
  outline: none;
  color: rgb(255, 255, 255);
  transition: 0.25s;
  font-size: 20px;
}


form h1{
  display: block;
  color: white;
  text-transform: uppercase;
  font-size: 50px;
  margin-top: 30px;
  margin-left: 30px;
  
}

form input[type="text"]:focus, form input[type="password"]:focus{
  width: 300px;
  border-bottom: 1px solid #d9d9d9;
  border-left: 1px solid #d9d9d9;
  border-width: 3px;

}

form button[type="submit"], button[type="reset"]{
  border:0px;
  background: none ;
  border: 2px solid ;
  display: inline-block;
  margin: 10px auto 26px;
  text-align: center;
  padding: 14px 40px;
  cursor: pointer;
  outline: none;
  color: rgb(255, 255, 255);
  transition: 0.15s;
  border-radius: 24px;
  font-size: 20px;


}


form button[type="submit"]:hover{
  background: #093419;
  border-color: #093419;

}

form button[type="reset"]:hover{
  background: #ae0404;
  border-color: #ae0404;
  }

  
p.login{
  display: block;
  margin-top: -12px;
  color: rgb(255, 255, 255);
}

a.login{
  margin-left: 10px;
  color: white;
  text-decoration: none;
  background-color: rgba(117, 87, 6, 0.856);
  padding: 3px;
  text-align: center;
  border-radius: 4px;
  transition: 0.15s;
}

a.login:hover{
  background-color:rgb(233, 174, 120);
  color: rgba(120, 88, 9, 0.856);
}

@media only screen and (max-width: 550px){
  form{
    width: 320px;
  }


  form input[type="text"], form input[type="password"]{

    margin: 20px auto;
    text-align:center;
    padding: 14px 14px;
    width: 200px;
    outline: none;
    color: rgb(255, 255, 255);
    transition: 0.25s;
    font-size: 20px;
  }
  
  
  form h1{

    font-size: 25px;
    margin-left: 35px;
    
  }
  
  form input[type="text"]:focus, form input[type="password"]:focus{
    width: 250px;
  }

  form button[type="submit"], button[type="reset"]{
    margin: 10px auto 26px;
    margin-left: 5px;
    margin-right: 5px;
    padding: 10px 30px;
    font-size: 20px;
  
  
  }


}

@media only screen and (max-height:600px){

  form{
    height: 430px;
    margin-top: -20px;
  }

  form input[type="text"], form input[type="password"]{
    margin-top: -10px;
    width: 170px;
    height: 45px;

  }

  form h1{
    font-size: 22px;
    margin-top: 10px;
  }

}