:root {
  --color-grey: #818181;
  --color-light-grey: #b8b8b8;
  --color-yellow: #ffcc00;
  --color-light-yellow: #ffdb4d;
  --color-link: #249c72;
}

.rent {
  max-width: 100vw;
  display: flex;
}

.rent__title {
  display: flex;
}

.rent__half {
  width: 50%;
}

.rent__half:nth-child(1) {
  background-image: url(../img/obninsk.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.rent__half:nth-child(2) {
  padding: 100px 60px;
  max-width: 700px;
}

.rent__half-mitishi {
  width: 50%;
  background-image: url(../img/rent-mytischi.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.rent__block-up {
  display: flex;
}

.rent__block-contacts {
  height: 100%;
}

.rent__block-text {
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  width: calc(47%);
  margin-right: 40px;
}

.rent__block-contacts--title {
  margin: 15px 0 8px 0;
}

.rent__block-contacts--title--telblock {
  margin-bottom: 6px;
}

.rent__block-contacts__item {
  margin-top: 60px;
}

.rent__block-contacts__link {
  padding: 15px 45px;
}

.rent__block-contacts__link--img {
  width: 8px;
  margin-left: 12px;
}

#upload-container {
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 80px;
  outline: 2px dashed #5d5d5d;
  outline-offset: -2px;
  color: #000;
}

#upload-container label {
  font-weight: bold;
}

#upload-container label:hover {
  cursor: pointer;
  text-decoration: underline;
}

#upload-container div {
  position: relative;
  z-index: 10;
}

#upload-container input[type=file] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  position: absolute;
  z-index: -10;
}

#upload-container input[type=file]:focus+label {
  outline: -webkit-focus-ring-color auto 5px;
}

.rent__block-middle {
  margin-top: 80px;
}

.rent__block-middle--nameblock {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 40px;
}

.rent__block-middle--name,
.rent__block-middle--phone {
  width: 48%;
}

.rent__block-middle--question {
  margin-bottom: 40px;
  width: 100%;
}

.rent__block-middle--name,
.rent__block-middle--phone,
.rent__block-middle--question {
  border: none;
  border-bottom: 2px solid #808080;
}

.rent__block-down {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 40px;
}

.rent__block-copyright {
  width: 50%;
  font-size: 13px;
  color: #e4e4e4;
}

.rent__block-down--link {
  padding: 20px 40px;
  border-radius: 40px;
  font-size: 19px;
  font-weight: 600;
  transition: all .5s;
  overflow: hidden;
  position: relative;
}

.rent__block-copyright-link {
  text-decoration: underline;
  color: #e4e4e4;
}



.holder span {
  color: red;
}

.input-star {
  position: relative;
  margin: 0 0 40px 0;
  height: 25px;
}

.holder {
  position: absolute;
  left: 2px;
  top: 2px;
  z-index: -1;
  padding: 2px 0;
  color: #b2b2b2;
}

.fakeinput {
  width: 100%;
  color: #b2b2b2;
  position: absolute;
  background-color: transparent;
  outline: none;
  height: 30px;
  border: none;
  border-bottom: 2px solid #808080;
  padding: 0;
  box-sizing: border-box;
}

.fakeinput:focus~.holder {
  color: #e4e4e4;
}

.input-star--half {
  width: 48%;
}

.input-star--half-block {
  display: flex;
  justify-content: space-between;
  align-items: start;
  width: 100%;
}

/* ФОРМЫ  */

label span {
  font-size: 1rem;
}

label.error {
  color: #ff0009;
  font-size: 1rem;
  display: block;
  margin-top: 5px;
}

label.error.fail-alert {
  border: 1px solid #ff0009;
  border-radius: 4px;
  line-height: 1;
  padding: 2px 6px 6px 6px;
  background: #ffe6eb;
  margin-top: 35px;
  font-size: 14px;
  position: absolute;
}

input.valid.success-alert {
  border-bottom: 1px solid #249c72;
  color: #249c72;
}

input.error,
textarea.error {
  border: 1px dashed #ff0009;
  font-weight: 300;
  color: #ff0009;
}


@media (max-width:1100px) {
  .rent__half:nth-child(2) {
    padding: 100px 40px;
  }

  .rent__block-contacts--title--tel {
    font-size: 16px;
  }

  .rent__block-text {
    font-size: 16px;
    margin-right: 20px;
  }

}

@media (max-width:996px) {
  .rent__half:nth-child(2) {
    width: 75%;
  }

  .information__link,
  .rent__block-contacts__link {
    font-size: 16px;
    padding: 15px 25px;
    border-radius: 25px;
  }
}

@media (max-width:768px) {
  .rent {
    display: block;
  }

  .rent__half,
  .rent__half:nth-child(2) {
    width: 100%;
  }

  .rent__half:nth-child(2) {
    padding: 60px 40px;
  }

  .rent__half:nth-child(1) {
    height: 400px;
  }
}

@media (max-width:520px) {
  .rent__block-up {
    display: block;
  }

  .rent__title h2 {
    font-size: 24px;
    width: 100%;
    text-align: center;
  }

  .rent__block-text {
    margin-right: 0;
    width: 100%;
    text-align: center;
  }

  .rent__block-contacts {
    text-align: center;
  }

  .rent__block-down {
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }

  .rent__block-copyright {
    width: 100%;
    order: 2;
  }

  .rent__block-down--link {
    width: 100%;
    order: 0;
  }

}