* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  color: #000000;
  overflow-x: hidden;
  background-color: #f5f5f5;
  line-height: 1.5;
  font-size: 20px;
}
.container {
  padding: 0 20px;
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

.header {
  padding: 15px 0;
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  min-width: 135px;
  height: auto;
}
.logo img {
  max-width: 135px;
}

.phone__number {
  text-decoration: none;
  color: #000;
  font-size: 20px;
}

.main__content {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.main__container {
  padding: 35px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main__container div + div {
  margin-top: 15px;
}

.textarea {
  width: 50%;
  margin: 0 auto;
}
.textarea textarea {
  width: 100%;
  max-height: 100px;
  border-radius: 10px;
  text-align: center;
  font-size: inherit;
  color: rgb(133, 133, 133);
}

.agreement__box {
  display: flex;
  align-items: center;
}

.checkbox {
  cursor: pointer;
  width: 30px;
  height: 30px;
  background-color: #f9f9fc;
  transition: all 0.3s ease;
  flex: 0 0 30px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
}
.agreement__box-text {
  margin-left: 15px;
  font-size: 15px;
}

.link{
  text-decoration: none;
  color:red;
}

.btn {
  display: flex;
  justify-content: center;
  width: 50%;
}

.btn-submit[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #888 !important;
  border-color: #888 !important;
  color: #fff !important;
}

.btn-submit {
  text-decoration: none;
  border: 0;
  background-color: #ed1c24;
  padding: 18px 25px;
  border-radius: 10px;
  color: #fff;
  min-width: 50%;
}

.rating-area {
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  min-height: 65px;
}

.rating-area:not(:checked) > input {
  display: none;
}

.rating-area:not(:checked) > label {
  float: right;
  width: 42px;
  padding: 0;
  cursor: pointer;
  font-size: 39px;
  line-height: 32px;
  color: lightgrey;
  text-shadow: 1px 1px #bbb;
  position: relative;
}

.rating-area:not(:checked) > label:before {
  content: "★";
}

.star__num {
  font-size: 12px;
  position: absolute;
  bottom: -25px;
  left: 11px;
}

.rating-area > input:checked ~ label {
  color: gold;
  text-shadow: 1px 1px #c60;
}

.rating-area:not(:checked) > label:hover,
.rating-area:not(:checked) > label:hover ~ label {
  color: gold;
}

.rating-area > input:checked + label:hover,
.rating-area > input:checked + label:hover ~ label,
.rating-area > input:checked ~ label:hover,
.rating-area > input:checked ~ label:hover ~ label,
.rating-area > label:hover ~ input:checked ~ label {
  color: gold;
  text-shadow: 1px 1px goldenrod;
}

.rate-area > label:active {
  position: relative;
}

.client__info {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 50%;
  margin: 0 auto;
}

.client__info-input {
  max-width: 100%;
  height: 50px;
  border-radius: 10px;
  text-align: center;
  font-size: inherit;
  border: 1px solid rgb(133, 133, 133);
  color: rgb(133, 133, 133);
}
.client__info-input + .client__info-input {
  margin-top: 10px;
}

.thanks{
  text-align: center;
    font-size: 30px;
    font-weight: 600;
}

@media (max-width: 1200px) {
  .header__container {
    min-height: 100px;
  }

  .logo img {
    max-width: 200px;
    width: 200px;
  }

  .phone__number {
    font-size: 35px;
  }

  .main__container {
    align-items: flex-start;
    padding: 30px 0;
  }

  .main__title {
    font-size: 40px;
  }

  .form__title {
    font-size: 27px;
  }

  .rating-area {
    min-height: 150px;
  }
  .rating-area:not(:checked) > label {
    width: 80px;
    font-size: 80px;
    line-height: 80px;
  }

  .star__num {
    font-size: 27px;
    position: absolute;
    bottom: -55px;
    left: 19px;
  }

  .textarea {
    width: 100%;
  }
  .textarea textarea {
    min-height: 200px;
    font-size: 2rem;
    color: rgb(133, 133, 133);
  }
  .btn {
    display: flex;
    width: 100%;
  }
  .btn-submit {
    width: 50%;
    height: 100px;
    font-size: 40px;
  }

  .client__info {
    width: 100%;
  }
  .client__info-input {
    font-size: 25px;
    width: 100%;
    height: 100px;
  }
}

@media(max-width:1200px){
	.agreement__box-label{
      width:100%;
  }
  .agreement__box-text{
    font-size:25px;
  }
}