.error-template1 {
  margin: 3% 3% 3% 3%;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: red;
  border: 3px solid #ccc; /* THIS */
}

.error-template3 {
     margin: 3% 3% 3% 3%;
  margin-top: 5%;
}
.error-template {
  margin-top: 5px;
}