/** @format */
@import url("https://fonts.googleapis.com/css2?family=Square+Peg&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-image: url("./background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: unset;
}
.title-wrapper {
  text-align: center;
}
.body-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
}
#canvas {
  height: 500px;
  width: 500px;
  display: none;
}
#image {
  display: none;
}
.logo {
  height: 170px;
  width: 170px;
}
.main-wrapper {
  height: -webkit-fill-available;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}
.wrapper {
  height: 570px;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.title-1 {
  font-size: 45px;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  color: #239e8a;
  font-weight: bold;
}
.title-2 {
  font-size: 26px;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  color: #9f9f9f;
}
.input {
  height: 55px;
  width: 100%;
  border-radius: 16px;
  border: 1px #ebebeb;
  background-color: #f5f5f5;
  box-shadow: -1px 1px 9px -2px rgba(0, 0, 0, 0.27);
  -webkit-box-shadow: -1px 1px 9px -2px rgba(0, 0, 0, 0.27);
  -moz-box-shadow: -1px 1px 9px -2px rgba(0, 0, 0, 0.27);
  font-family: "IBM Plex Sans Arabic", sans-serif;
  color: rgba(0, 0, 0, 0.681);
}

.input[type="text"] {
  padding-left: 20px;
  font-size: 21px;
  text-align: center;
}
textarea:focus,
input:focus {
  outline: none;
}

::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.314);
  font-size: 1rem;
}

:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.314);
  font-size: 1.1rem;
}

::placeholder {
  color: rgba(0, 0, 0, 0.314);
  font-size: 1.1rem;
}

.download {
  width: 200px;
  height: 68px;
  border-radius: 12px;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  color: white;
  border: #ebebeb;
  background-color: #239e8a;
  font-size: 21px;
  font-weight: bold;
}

.footer {
  background-color: #f5f5f5;

  height: 68px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(128, 128, 128, 0.195);
}
.dev-logo {
  width: 120px;
  margin-left: 20px;
}
.copyright-wrapper {
  display: flex;
  align-items: right;
  justify-content: space-evenly;
  flex-direction: column;
  margin-right: 20px;
  height: 90%;
}
.copyright {
  font-weight: 100;
  font-family: "IBM Plex Sans Arabic", sans-serif;
}
.link {
  text-align: right;
  text-decoration: none;
  color: #22aafd;
  font-weight: 100;
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

@media only screen and (max-width: 768px) {
  .wrapper {
    height: 75%;
  }
  .body-wrapper {
    height: 90vh;
  }
  .logo {
    height: 120px;
    width: 120px;
  }
  .title-1 {
    font-size: 35px;
  }
  .title-2 {
    font-size: 20px;
  }
  .input {
    height: 40px;
    width: 75%;
  }
  .download {
    width: 160px;
    height: 50px;
    font-size: 16px;
  }

  .dev-logo {
    width: 90px;
  }

  .copyright {
    font-size: 0.85rem;
  }
  .link {
    font-size: 0.75rem;
  }
}

@media only screen and (max-width: 425px) {
  body {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
  .body-wrapper {
    height: 90vh;
  }
  .wrapper {
    height: 75%;
  }

  .logo {
    height: 110px;
    width: 110px;
  }
  .title-1 {
    font-size: 35px;
  }
  .title-2 {
    font-size: 20px;
  }
  .input {
    height: 40px;
    width: 75%;
  }
  .download {
    width: 160px;
    height: 50px;
    font-size: 16px;
  }

  .dev-logo {
    width: 85px;
  }

  .copyright {
    font-size: 0.8rem;
  }
  .link {
    font-size: 0.7rem;
  }
}

@media only screen and (max-width: 320px) {
  body {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .wrapper {
    height: 75%;
  }
  .logo {
    height: 105px;
    width: 105px;
  }
  .title-1 {
    font-size: 35px;
  }
  .title-2 {
    font-size: 19px;
  }
  .input {
    height: 40px;
    width: 75%;
  }
  .download {
    width: 160px;
    height: 50px;
    font-size: 16px;
  }

  .dev-logo {
    width: 85px;
  }

  .copyright {
    font-size: 0.75rem;
  }
  .link {
    font-size: 0.65rem;
  }
}
