@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;600;700;900&display=swap");
body {
  background-color: #197340;
  font-family: "Cairo", sans-serif;
}

.parent {
  background-color: #fff;
  
  display: block;
  margin: 0 auto;
  width: 600px;
  /*height:500px;     تم إلغاء هذا السطر ليتمدد النموذج مع طول النص    */ 
  margin-top: 100px;
  border: 1px solid #21403e;
  position: relative;
  padding: 80px 30px 40px 30px;
}








.parent .title {
  width: 101%;
  text-align: center;
  padding: 10px 10px;
  background-color: #21403e;
  position: absolute;
  color: #fff;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  top: -31.5px;
  font-size: 18px;
}


.parent .title2 {
  width: 100%;
  text-align: center;
  padding: 10px 10px;
  background-color: #3C6C0B;
  position: absolute;
  color: #fff;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  top: +520.5px;
  font-size: 18px;
}




.parent .title3 {
  width: 100%;
  text-align: center;
  padding: 10px 10px;
  background-color: #FF0000;
  position: absolute;
  color: #fff;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  top: +225.5px;
  font-size: 18px;
}



.parent .note {
  width: 100%;
  color: #222;
  margin: 0;
  text-align: right;
  font-size: 18px;
  font-weight: 500;
}

.parent .inpt {
  display: block;
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  margin-top: 45px;
}

.parent .inpt label {
  display: block;
}

.parent .inpt input {
  width: 290px;
  margin-top: 13px;
  outline: none;
  border: 1px solid #ccc;
  height: 49px;
  border-radius: 3px;
  text-align: center;
  font-size: 19px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.parent .inpt input:focus {
  border-color: #21403e;
}

.parent .inpt input::-webkit-outer-spin-button, .parent .inpt input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.parent .result {
  width: 100%;
  margin-top: 40px;
}

.parent .result button {
  background-color: #21403e;
  color: #fff;
  border: 0;
  padding: 12px 18px;
  font-size: 15px;
  border-radius: 3px;
  outline: none;
  margin: 0 auto;
  display: block;
}

.parent .result h3 {
  text-align: center;
  margin: 35px 0 0 0;
  font-size: 40px;
  font-family: "Roboto";
  color: #21403e;
  display: none;
}

@media (max-width: 635px) {
  .parent {
    width: 95%;
  }
  .parent .title {
    width: 95%;
  }
}

@media (max-width: 380px) {
  .parent {
    padding: 80px 10px 40px 10px;
  }
  .parent .inpt input {
    width: 100%;
  }
}
/*# sourceMappingURL=main.css.map */