/*css registre et login*/
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}
.message{
   margin:10px 0;
   width: 100%;
   border-radius: 5px;
   padding:10px;
   text-align: center;
   background-color: var(--red);
   color:var(--white);
   font-size: 20px;
}

.reg { 

  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: url(../images/log.jpg);
  background-size: cover;
}

.container {
  width: 100%;
  max-width: 650px;
  background: rgba(0, 0, 0, 0.5);
  padding: 28px;
  margin: 0 28px;
  border-radius: 10px;
  box-shadow: inset -2px 2px 2px orange;
}

.form-title{
  font-size: 26px;
  font-weight: 650px;
  text-align: center;
  padding-bottom: 6px;
  color: white;
  text-shadow: 2px 2px 2px black;
  border-bottom: solid 1px orange;
}

.main-user-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px 0 ;

}

.user-input-box:nth-child(2n){
  justify-content: end;
}

.user-input-box:nth-child(2n){
  justify-content: end;
}

.user-input-box {
  display: flex;
  flex-wrap: wrap;
  width: 50%;
  padding-bottom: 15px ;
} 
 


.user-input-box input   {
  height:45px ;
  width: 95%;
  border-radius: 7px;
  outline: none;
  border: 1px solid grey;
  padding: 0 10px;

}



.user-input-box select   {
  height:45px ;
  width: 95%;
  border-radius: 7px;
  outline: none;
  border: 1px solid grey;
  padding: 0 10px;

}

.form-submit-btn{
  margin-top: 40px;
display: inline-block;
}

.form-submit-btn input{
  display: block;
  width: 100%;
  margin-top: 10px;
  font-size: 20px;
  padding: 10px;
  border: none;
  border-radius: 3px;
  color:maroon;
  background: orange
}

.form-submit-btn input:hover{
  background: white;
  color: orange;

}

@media(max-width:600px){
  .container{
    min-width: 280px;
  }

  .user-input-box {
    margin-bottom: 12px;
    width: 100%;
  }
  .user-input-box:nth-child(2n){
    justify-content: space-between;
  }
  .gender-category{
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .main-user-info{
    max-height: 380px;
    overflow: auto;
  }

  .main-user-info::-webkit-scrollbar{
    width: 0 ;
  }

}
