.inputfile-6 + label {
  position: relative;
  display: flex;
  align-items: center;
  outline: none;
  width: 100%;
  max-width: 100%;
  height: 52rem;
  background: var(--color-white);
  border: 2rem solid #B8B8B8;
  border-radius: 14rem;
  padding: 0  48rem;
  font-family: var(--default-font-family);
  font-size: 18rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-black);
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  transition: all 0.3s;
}
.inputfile-6 + label span {
  flex: 1;
  display: flex !important;
  align-items: center;
  min-height: auto;
  color: var(--color-black);
}
.inputfile-6 + label span:empty:after {
  content: "Прикрепить изображение";
  position: static;
  color: #B8B8B8;
}
.inputfile-6 + label strong {
  position: absolute;
  top: 0;
  left: 0;
  width: 50rem;
  height: 100%;
  padding: 0;
  background: url(../img/pin.svg) no-repeat center;
  background-size: 24rem auto;
}
.inputfile-6 + label:hover {
  border-color: var(--color-theme);
}
.inputfile-6 + label:hover strong,
.inputfile-6:focus + label strong,
.inputfile-6.has-focus + label strong {
  background-color: transparent;
}
.inputfile-6:focus + label,
.inputfile-6.has-focus + label {
  border-color: var(--color-theme);
  box-shadow: 0 0 8rem rgba(60, 64, 145, 0.35);
}
@media (max-width: 1024px) {
  .inputfile-6 + label {
    height: 46rem;
    border-radius: 10rem;
    padding: 0 40rem;
    font-size: 14rem;
  }
  .inputfile-6 + label span {
    color: #B8B8B8;
  }
  .inputfile-6 + label strong {
    width: 44rem;
    background-size: 20rem auto;
  }
}
