@media only screen and (min-device-width: 769px) and (max-device-width: 1920px) {
  .box-upload {
    display: flex;
    justify-content: space-evenly;
    /* outline: 1px solid green; */
  }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 768px) {
  .box-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* outline: 1px solid green; */
  }

  .form-input {
    margin-bottom: 30px;
  }
  .form-input:last-child {
    margin-bottom: 0px;
  }
}

.form-input {
  width: 300px;
  padding: 20px;
  border: 2px dashed rgb(220, 220, 220);
  padding: 25px 0px 0px 0px;
}

.form-input input {
  display: none;
}

.form-input label {
  font-family: 'Poppins', sans-serif;
  border-radius: 8px;
  padding: 15px 20px;
  border: 1px solid #ccc;
  background-color: #a3c5bc;
  color: #fff;
}

.form-input label:hover {
  border: 1px solid #ccc;
  background-color: #c0d8b6;
  color: #fff;
  cursor: pointer;
}

.form-input img {
  width: 100%;
  display: none;
  margin-top: 10px;
}

section.preview-card p {
  color: #fff;
  text-shadow: 2px 2px 5px #b3b3b3;
}

@media only screen and (min-device-width: 769px) and (max-device-width: 1920px) {
  section.preview-card .postcard-back {
    width: 400px;
    height: 300px;
  }

  section.preview-card .postcard-front {
    width: 400px;
    height: 300px;
  }
}
@media only screen and (min-device-width: 320px) and (max-device-width: 768px) {
  section.preview-card .postcard-back,
  section.preview-card .postcard-front {
    width: 100%;
  }
}
