*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root {
  --mainColor: #dadada;
  --HeaderColor: rgba(19, 25, 33, 0.9);
  --highlight: #ff9900;
  --background-color: #e6b412;
}
body{
    position: relative;
    background-image: url(../assets/header5.jpg);
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100vh;
}
body::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
}
@media (max-width: 800px) {
  body {
      height: 146vh !important;
  }
}
form{
    position: relative;
    z-index: 455;
    width: 100%;
    max-width: 500px;
    background-color: var(--HeaderColor);
    margin: 70px auto;
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
      color: #fff;
      animation: animation 0.8s ease-in-out;
}
@media (max-width:800px){
    form{
        margin-top: 30px;
         padding: 10px 20px;
    }
}
form h2{
    text-align: center;
    color: #ff9900;
    margin: 30px 0;
    font-size: 30px;
    letter-spacing: 1;
    font-weight: 600;
}
form div{
    margin-bottom: 15px;
}
.userEmail ,
.agepass{
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}
.userEmail > div,
.agepass > div{
    flex: 1;   /* خليهم يتوزعوا بالتساوي */
     margin-right: 10px;     /* مسافة بين الحقول */
}
.userEmail > div:last-child,
.agepass > div:last-child {
  margin-right: 0;        /* شيل المسافة من آخر واحد */
}
.ConfirmPassWord label{
    display: block;
}
form input{    
    padding: 10px;
    border-radius: 10px;
    border: none;
    outline: none;
    width: 100%;
  background-color: #1c2331;
  color: #fff;
  transition: all 0.4s ease;
}
form input:focus{
    background-color: #1c2331;
    box-shadow: 0 0 10px #ff9900;
}  

form .media{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 25px 0;
}
form .media a{
    text-decoration: none;
    font-size: 17px;
    background-color: #1c2331;
    color: #fff;
    padding: 10px 15px;
    border-radius: 11px;
    transition: all 0.5s ease;
}
form .media a:hover{
    background-color: #ff9900;
    transform: translateY(-2px);
}

 input[type="submit"]{
    background-color: #ff9900;
    transition: all 0.4s ease;
    
}
 input[type="submit"]:hover{
    background-color: #ff9900;
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--highlight);

}

@keyframes animation {
  from{
     opacity: 0;
     transform: translateY(-25px);
  }
  to{
   opacity: 1;
     transform: translateY(0);
  }
}
.btn a{
     position: absolute;
    bottom: 20px;
    right: 26px;
    background-color: #ff9900;
    color: #fff;
    padding: 10px;
    border-radius: 0px 12px 0 12px;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width:800px) {
  .btn a{
    display: none;
  }
}