* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 90%;
  height: 60vh;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
}

.container form {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
}

.inputBox {
  width: 100%;
  margin: 10px 0;
  border-radius: 5px;
  overflow: hidden;
}

.inputBox input[type="text"],
.inputBox input[type="email"] {
  width: 100%;
  height: 50px;
  border-radius: 5px;
  border: none;
  outline: none;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0px 10px;
  font-size: 16px;
  color: #444;
}

.inputBox textarea {
  width: 100%;
  height: 120px;
  border-radius: 5px;
  border: none;
  outline: none;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0px 10px;
  font-size: 16px;
  color: #444;
}

.inputBox button {
  width: 100%;
  padding: 10px 20px;
  border: none;
  outline: none;
  background: rgb(0, 119, 255);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

.inputBox button:hover {
  background: rgb(0, 17, 255);
  transition: all 0.3s ease;
}

::placeholder {
  font-size: 16px;
}

.alert {
  width: 100%;
  background: rgb(0, 255, 106);
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  display: none;
}

/* Add a media query for screens smaller than 500px */
@media only screen and (max-width: 500px) {
  .container {
    /* Change the width and height of the container to fit smaller screens */
    width: 80%;
    height: 40vh;
  }
  /* Change the font size of the input fields to make them easier to read on smaller screens */
  .inputBox input[type="text"],
  .inputBox input[type="email"],
  .inputBox textarea {
    font-size: 14px;
  }
  /* Change the font size of the submit button to make it easier to tap on smaller screens */
  .inputBox button {
    font-size: 16px;
  }
}
