* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
}

body {
  background-color: rgba(32, 32, 45, 1);
  margin: 0;
  color: white;
  font-family: "Roboto", sans-serif;
  scroll-behavior: smooth;
  
}

.logo {
  width: 50px;
}

.container {
  width: 90%;
  max-width: 945px;
  margin: auto;
}

.section {
  padding-top: 64px;
  padding-bottom: 92px;
}

.section-title {
  margin: 0;
  margin-bottom: 84px;
  font-weight: bold;
  font-size: 36px;
  line-height: 42px;
}

.hero {
  padding-top: 50px;
  padding-bottom: 155px;
  background: linear-gradient(0.01deg, #000000 0.01%, rgba(0, 0, 0, 0) 95.44%);
}

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 105px;
}

.social-link {
  margin-left: 20px;
}

.social-link:first-child {
  margin-left: 0;
}

.hero-subtitle {
  display: inline-block;
  font-size: 24px;
  line-height: 28px;
  color: rgba(255, 187, 1, 1);
  margin-bottom: 14px;
}

.hero-title {
  font-weight: bold;
  font-size: 50px;
  line-height: 59px;
  margin-top: 0;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 16px;
  line-height: 28px;
  max-width: 420px;
  margin-bottom: 38px;
}

.button {
  background: linear-gradient(180deg, #fdde76 0%, #ffbb01 100%);
  box-shadow: 0px 4px 0px 0px rgba(182, 133, 0, 1);
  border: none;
  border-radius: 5px 5px 10px 10px;
  padding: 24px 42px;
  font-size: 12px;
  line-height: 14px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
}

/* .hero-button {
} */

.hero-avatar {
  width: 389px;
  height: 389px;
  background-color: white;
  border-radius: 50%;
  background-image: url(../img/avatar.jpg);
  background-repeat: no-repeat;
  background-position: center top -50px;
  background-size: cover;
  border: 13px solid #fff;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.features {
  background-color: #000;
}

.features-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.features-item {
  flex-basis: 30%;
  margin-bottom: 63px;
}

.features-title {
  font-weight: bold;
  font-size: 24px;
  line-height: 28px;
  margin: 0;
  margin-bottom: 16px;
}

.features-image {
  display: block;
  margin-bottom: 22px;
}

.features-text {
  font-weight: normal;
  font-size: 16px;
  line-height: 28px;
  margin: 0;
}

/* projects */

.projects {
  background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 95.44%);
}

.projects-slide {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* .projects-slider {
  
} */

.project-text {
  display: flex;
  flex-basis: 60%;
  flex-wrap: wrap;
}

.project-title {
  flex-basis: 100%;
  font-weight: bold;
  font-size: 24px;
  line-height: 28px;
  margin: 0;
  margin-bottom: 41px;
}

.project-time,
.project-cost {
  flex-basis: 50%;
  margin-bottom: 44px;
}
.project-time,
.project-cost,
.project-feedback {
  display: flex;
  align-items: flex-start;
}

.project-subtitle {
  margin: 0;
  font-weight: bold;
  font-size: 18px;
  line-height: 21px;
  margin-bottom: 7px;
}

.project-paragraf {
  margin: 0;
  font-size: 16px;
  line-height: 150%;
}

.project-icon {
  margin-right: 16px;
}

.project-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 44px;
}
.projects-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid #ffbb01;
  border-radius: 50%;
  margin-left: 5px;
  margin-right: 5px;
  cursor: pointer;
}

.project-bullet-active {
  background: #ffbb01;
}

/* contacts */

.contacty {
  background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0) 95.44%);
}

.contacts-form {
  background: #fff;
  box-shadow: -5px 5px 0px 0px rgba(255, 196, 29, 1);
  border-radius: 5px;
  max-width: 380px;
  padding-top: 40px;
  padding-left: 48px;
  padding-right: 48px;
  padding-bottom: 49px;
}

.form-title {
  color: #000;
  font-weight: bold;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  margin: 0;
  margin-bottom: 29px;
}

.input {
  background: #f8f8f8;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 3px 10px 0px rgba(199, 199, 199, 0.25) inset;
  padding: 18px 20px;
  padding-left: 50px;
  width: 100%;
  font-size: 14px;
  line-height: 28px;
}
.input-name {
  margin-bottom: 17px;
  background-image: url(../img/user-icon.svg);
  background-repeat: no-repeat;
  background-position: center left 20px;
}
.input-phone {
  margin-bottom: 17px;
  background-image: url(../img/phone-icon.svg);
  background-repeat: no-repeat;
  background-position: center left 20px;
}

.form-button {
  width: 100%;
  margin-bottom: 17px;
}

.policy {
  font-size: 11px;
  line-height: 18px;
  text-decoration-line: underline;
  color: #a5a5a5;
}

.contact-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contacts-text {
  flex-basis: 50%;
}
.contacts-data {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.contacts-phone,
.contacts-mail {
  flex-basis: 50%;
  margin-bottom: 53px;
}

.contacts-social {
  flex-basis: 100%;
}

.contacts-title {
  font-weight: bold;
  font-size: 24px;
  line-height: 28px;
  margin: 0;
  margin-bottom: 15px;
}

.contacts-link {
  text-decoration: none;
  color: inherit;
  margin-right: 37px;
}

.contacts-links:hover {
  text-decoration: underline;
}

.contacts-policy {
  display: inline-block;
  margin-top: 72px;
  font-size: 15px;
  line-height: 18px;
  text-decoration-line: underline;
  color: #a5a5a5;
}

.footer {
  text-align: center;
  background-color: #000;
  padding-bottom: 34px;
}
.footer a {
  font-size: 13px;
  line-height: 18px;
  text-decoration-line: underline;
  color: #a5a5a5;
}

/* responsive */

@media (max-width: 1100px) {
  .hero-avatar {
    width: 300px;
    height: 300px;
    border-width: 10px;
  }
}
@media (max-width: 836px) {
  .hero-content {
    flex-direction: column;
  }
  .hero-avatar {
    order: 0;
    margin-bottom: 17px;
  }
  .hero-text {
    order: 1;
    text-align: center;
  }
  .features-item {
    flex-basis: 45%;
  }
  .projects-slide {
    flex-direction: column;
  }
  .projects-image {
    margin-bottom: 46px;
    align-items: center;
  }

  .contact-block {
    align-items: flex-start;
    flex-direction: column;
  }
  .contacts-form {
    margin-bottom: 58px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 75px;
  }
  .hero-subtitle {
    font-size: 16px;
    line-height: 27px;
    margin-bottom: 4px;
  }
  .hero-avatar {
    width: 113px;
    height: 113px;
    border-width: 4px;
  }
  .hero-header {
    margin-bottom: 38px;
  }
  .social-link {
    margin-left: 5px;
  }
  .hero-title {
    font-size: 24px;
    line-height: 28px;
  }
  .hero-description {
    font-size: 14px;
    line-height: 140%;
  }
  .section {
    padding: 60px 60px 0 0;
  }
  .section-title {
    font-size: 19px;
    line-height: 22px;
    margin-bottom: 60px;
  }
  .features-item {
    flex-basis: 100%;
    margin-bottom: 30px;
  }
  .form-title {
    font-size: 18px;
    line-height: 28px;
  }
  .features-text {
    font-size: 14px;
    line-height: 28px;
  }
  .project-title {
    font-size: 18px;
    line-height: 150%;
  }
  .project-time .project-cost .project-feedback {
    flex-basis: 100%;
    margin-bottom: 30px;
  }
  .project-paragraf {
    font-size: 14px;
  }
  .contacts-form {
    padding: 40px 19px;
  }
  .form-title {
    font-size: 15px;
    line-height: 140%;
  }
  .form-button {
    font-size: 10px;
  }
  .contacts-phone .contacts-mail {
    flex-basis: 100px;
    margin-bottom: 30px;
  }
  .contacts-title {
    font-size: 18px;
    line-height: 21px;
  }
  .contacts-link {
    font-size: 14px;
    line-height: 100%;
    display: block;
    margin-bottom: 13px;
    margin-right: 0;
  }
}
