@charset "utf-8";
*{
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Lato', sans-serif;
}
html,body{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  width: 100%;
  background-color: #f5f5f5;
}
body{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
header{
    background-color: #ffffff;
    width: 350px;
    font-size: 22px;
    font-weight:600;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    color: #51b6ca;
       border-radius: 3px 3px 0 0 ;
}
header img{
  display: block;
  max-width: 160px;
  margin-top: 8px;
}
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 350px;
  background-color: #ffffff;
  border-top: 1px solid #919191;
     border-radius: 0 0 3px 3px;

}
footer a{
  font-size: 10px;
  font-weight: bold;
  text-decoration: none;
  color: #555;
  white-space: nowrap;
}
#mainSection{
width: 500px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
   background-color: #ffffff;
   box-shadow: 0px 16px 20px -10px #B7B7B766;
   border-radius: 3px;
   transform: translateY(-16px);
}
.btn_bleu{
  background-color: #51b6ca;
  padding: 4px 30px;
  color : white;
  border-radius: 3px;
  border: none;
  outline: inherit;
}
.marginauto{
  margin: auto;
}
form.connexion div{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 260px;
  height: 70px;
  font-size: 12px;
  line-height: 24px;
}
input[type="text"], select {
  width: 260px;
  height: 32px;
    background-color: #ffffff;
    border-radius: 4px;
    padding: 4px 16px;
    border: 1px solid #cacaca;
}

.errorMsg {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -300%);
  background-color: white;
  padding: 20px 48px;
  font-size: 22px;
  border: 2px red solid;
  transition: 2s;
  border-radius: 3px;
}
