html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background: linear-gradient(#11A18B, #243b55);
  display: flex;
  align-items: center;
  flex-direction: column;
}

.login-box {
    
    padding: 40px;
    background: rgba(0, 0, 0, .5);
    width: 93%;
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0, 0, 0, .6);
    border-radius: 10px;
    color: white;
    
}

.login-box h2 {
  margin: 0 0 30px;
  padding: 0;
  color: #fff;
  text-align: center;
}

.login-box .user-box {
  position: relative;
}

.login-box .user-box input {
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  margin-bottom: 30px;
  border: none;
  border-bottom: 1px solid #fff;
  outline: none;
  background: transparent;
}
.login-box .user-box label {
  position: absolute;
  top:0;
  right: 0;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  pointer-events: none;
  transition: .5s;
}

.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label {
  top: -20px;
  left: 0;
  color: #03e9f4;
  font-size: 12px;
}

@font-face {
   font-family: majid;
   src: url(majid.ttf);
}

body, input {
    font-family: majid;
}

#xyz {
    color: white;
    font-size: 20px;
    text-align: center;
    margin-top: 0px;
    border-style: solid;
    padding: 10px;
    border-radius: 10px;
}

.imgx {
    width: 100%;
    max-width: 150px;
    margin-bottom: 20px; /* فاصله بین تصویر و فرم */
}

#submit {
    padding: 10px;
    width: 50%;
    max-width: 200px;
    border-radius: 15px;
    background-color: yellow;
    font-size: 16px;
    font-weight: bold;
}

#goback {
    color: white;
    background-color: green;
    padding: 10px;
    width: 60%;
    text-align: center;
    border-radius: 13px;
}

a:link, a:visited, a:hover, a:active {
    text-decoration: none;
}

.user-box input {
    direction: ltr; /* متن از چپ به راست */
    text-transform: uppercase; /* حروف کوچک به بزرگ تبدیل شوند */
}

.alertinput {
    display: none;
    border: 2px solid red;
    color: white;
    background: rgba(0, 0, 0, .5);
    box-shadow: 0 15px 25px rgba(0, 0, 0, .6);
    width: 93%;
    box-sizing: border-box;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
}

.ansbox{
    color: white;
    background: rgba(0, 0, 0, .5);
    box-shadow: 0 15px 25px rgba(0, 0, 0, .6);
    width: 93%;
    box-sizing: border-box;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
    direction:rtl;
}

.alertinput button {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: red;
    font-size: 16px;
    cursor: pointer;
}

.notic{
        direction: rtl;
    text-align: justify;
    line-height: 1.6;
}

#xxyy{
    text-align: justify;
    
}

.ansbox a {
    color: yellow;
}

