@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi&family=Roboto+Slab&family=Vibes&display=swap');
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Scheherazade", serif;
  
}
body{
 display: grid;
  font-family: sans-serif;
  place-items: center;

}
main{
  max-width: 21cm;
  width: 100%;
  height:auto;
  display: grid;
  place-items: center;
  margin: 1rem auto;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12),
    0 3px 1px -2px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background-image: url(to_head.png),url(to_body.png),url(to_footer.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top, center center, center bottom;
}
form{
  max-width: 10cm;
  width: 100%;
  margin: 8rem auto;
  font-family: "Scheherazade", serif;
}



input {
  display: inline-block;
  width: 100%;
  margin-bottom: 0.2rem;
  border-radius: 8px;
  outline:none;
  border:thin solid #eee;
}

label {
  display: inline-block;
  width: 100%;
  margin-bottom: 0.1rem;
  
}
.labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.en {
  text-align: left;
  padding-left: 0.6rem;
}

.ar {
  text-align: right;
  padding-right: 0.6rem;
}
.sub{
  background-color: rgba(197,32,38,0.9);
  border:none;
  outline: none;
  margin-top: 0.5rem;
  color: #fff;
  font-weight: 900;
  font-size: x-large;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12),
    0 3px 1px -2px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}
.msg {
    text-align:center;
    
    width: 100%;
    min-height: 1.8rem;
  margin: 0.3rem auto;
  padding: 5px;
  
  box-shadow: rgba(0, 0, 0, 0.3) 0 1px 2px 0;
  border-radius: 8px;
  color: rgba(197,32,38,0.9);
}
