.form {
  padding: 2em;
}

.form > ul {
  margin-bottom: 2em;
}

.uploadWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
}

.upload {
  position: relative;
  overflow: hidden;
}

.upload input[type='file'] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.error {
  font-weight: 600;
  color: var(--error-color);
}

.preview {
  content: '';
  position: relative;
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: #fff;
  color: #fff;
  width: 100%;
  padding-top: 33.33%;
  border-radius: 3px;
}

.layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.6;
  border-radius: 3px;
}

.title {
  position: absolute;
  bottom: 0;
  right: 0;
  font-weight: 600;
  font-size: 3.5vw;
  padding: 0.8em;
}

@media only screen and (max-width: 480px) {
  .form {
    padding: 1em;
  }

  .uploadWrapper {
    flex-direction: column;
  }
}
