/* Default styles for larger screens */
body {
  font-family: "Noto Sans Arabic", serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

.container {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 0 40px 0px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin: 20px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.title {
  font-size: 50px;
  margin-bottom: 20px;
  color: rgb(189, 35, 35);
}

.input-container {
  margin-bottom: 30px;
}

.label {
  font-size: 20px;
  color: #333;
  margin: 10px;
  font-weight: bold;
}

.input {
  resize: none;
  border: 1px solid black;
  border-radius: 10px;
  padding: 20px;
  margin: 10px;
  width: 90%;
  text-align: right;
  font-family: "Noto Sans Arabic", serif;
  font-size: 15px;
}

.result {
  font-size: 18px;
  margin-top: 10px;
  color: #333;
  margin: 10px;
}

.btn {
  background-color: #5272ee;
  color: #ffffff;
  border: none;
  padding: 10px;
  font-size: 19px;
  border-radius: 20px;
  outline: none;
  cursor: pointer;
  margin: 10px;
  width: 25%;
  font-family: "Noto Sans Arabic", serif;
}

.btn:hover {
  background-color: #0056b3;
}

.success-message {
  color: green;
  margin-top: 10px;
  font-weight: bold;
}

.footer {
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}

.custom-link {
  color: black;
  text-decoration: none;
}

.custom-link:hover {
  color: #5272ee;
  text-decoration: underline;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .title {
    font-size: 2rem;
  }

  /* Adjust input field and button sizes */
  .input,
  .btn {
    width: 100%;
    font-size: 1rem;
    padding: 10px;
  }

  /* Center the button text */
  .btn {
    width: auto;
    font-size: 1.2rem;
  }

  /* Adjust result text */
  .result {
    font-size: 1.2rem;
  }

  /* Make footer text smaller */
  .footer {
    font-size: 0.8rem;
  }
}
