:root {
  --font-color-text: #fff;
  --border-color: rgba(238, 137, 4, 0.918);
  --font-size-main: 5em;
  --font-size-h2: 2.2em;
  --font-size-title: 3em;
  --font-size-p: 1em;
  --font-family-title: "Roboto";
  --bg-color: #292c33;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.container {
  display: flex;
  width: 960px;
  margin: 0 auto;
}
.btn {
  display: block;
  border: 4px solid var(--border-color);
  padding: 8px 5px;
  text-align: center;
  text-decoration: none;
  margin-top: 10px;
  transition: all ease-in 0.4s;
  max-width: 150px;
}

.introducao {
  display: flex;
  width: 100%;
  background: url("../img/banner.jpg") no-repeat center center;
  background-size: cover;
  height: 700px;
}
.introducao--item {
  display: flex;
  width: 100%;
  max-width: 700px;
  padding: 150px 0px;
}
.introducao--item h1 {
  font-size: var(--font-size-main);
  font-family: var(--font-family-title);
  color: var(--font-color-text);
  line-height: 1.4em;
}
.introducao--item h1::after {
  content: "";
  display: block;
  width: 25%;
  height: 10px;
  background-color: var(--border-color);
  margin: 0 auto;
}

/* company */
.company {
  display: flex;
  width: 100%;
  padding: 60px 0;
  background: var(--bg-color);
  color: var(--font-color-text);
}
.company--item {
  max-width: 220px;
  padding: 20px;
}
.border--title {
  border: 10px solid var(--border-color);
  padding: 60px 40px;
  margin: 0 10px;
  transition: all ease-in 0.4s;
}
.border--title:hover {
  background: var(--border-color);
  color: var(--font-color-text);
}
.company--item h2 {
  font-size: var(--font-size-h2);
}
.company--item p {
  font-size: var(--font-size-p);
  line-height: 1.5em;
}
.btn-read {
  color: var(--font-color-text);
}
.btn-read:hover {
  background: var(--border-color);
}

/* designers */
.designers {
  display: flex;
  width: 100%;
  padding: 60px 0;
}
.designers--item {
  max-width: 100%;
  margin: 0 10px;
}
.designers--item img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  filter: grayscale(1);
  transition: all ease-in 0.3s;
}
.designers--item img:hover {
  filter: grayscale(0);
}
.designers--description {
  display: flex;
  width: 100%;
  margin-top: -40px;
  padding-bottom: 60px;
}
.container-designers {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.container-designers p {
  max-width: 700px;
  margin-right: 30px;
  padding: 0 10px;
  font-size: var(--font-size-p);
  line-height: 1.6em;
}
.btn-description {
  border-color: var(--bg-color);
  background: var(--bg-color);
  color: var(--font-color-text);
  margin-right: 30px;
  padding: 8px 15px;
}
.btn-description:hover {
  border-color: var(--border-color);
  background: var(--border-color);
  color: var(--font-color-text);
}

/* projects */
.projects {
  display: flex;
  max-width: 100%;
  padding: 60px 0;
}
.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.project--item {
  max-width: 460px;
  margin: 0 10px;
}
.project--item img {
  max-width: 100%;
}
.project--item--container {
  display: flex;
  margin-top: 5px;
}
.item-project {
  width: 50%;
}
.item-border {
  margin-right: 5px;
}
.border {
  padding: 22px 20px;
}
.project-description {
  padding: 15px 0;
}
.project-description p {
  font-size: var(--font-size-p);
  padding: 15px 0;
}
.project-description h3 {
  font-size: var(--font-size-h2);
}

/* comements */
.comments {
  display: flex;
  justify-content: space-between;
  max-width: 100%;
  padding: 80px 0;
  background-color: var(--bg-color);
}
.comment-item {
  display: flex;
  max-width: 460px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.comment-item img {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  filter: grayscale(1);
  transition: all ease-in 0.4s;
}
.comment-item img:hover {
  filter: grayscale(0);
}
.comment-item p {
  font-size: 1.2em;
  padding: 50px 0;
  text-align: center;
  color: var(--font-color-text);
}
.item-left {
  margin-right: 50px;
}
.item-right {
  margin-left: 50px;
}

.comment-item h4 {
  font-size: 1.89em;
  color: var(--font-color-text);
}
.comment-item h4::after {
  content: "";
  display: block;
  width: 150px;
  height: 10px;
  margin: 10px auto;
  background: var(--border-color);
}
.broken {
  max-width: 100%;
  height: 400px;
  background: url("../img/quebra.jpg") no-repeat center center;
  background-size: cover;
  filter: brightness(40%);
}

/* footer */
.footer {
  display: flex;
  max-width: 100%;
  padding: 80px 0;
}
.footer--item {
  display: flex;
  flex-direction: column;
  max-width: 540px;
  margin-left: 50px;
}
.footer--item h4 {
  margin-bottom: 20px;
  flex-direction: column;
}
.footer--item span {
  display: block;
  font-size: var(--font-size-p);
  margin-bottom: 3px;
}
.follow {
  display: flex;
  max-width: 400px;
}
.contact-phone {
  margin-top: 30px;
}

@media only screen and (max-width: 700px) {
  :root {
    --font-color-text: #fff;
    --border-color: rgba(238, 137, 4, 0.918);
    --font-size-main: 3.5em;
    --font-size-h2: 2.2em;
    --font-size-title: 3em;
    --font-size-p: 0.75em;
    --font-family-title: "Roboto";
    --bg-color: #292c33;
  }
  h2.title,
  .project-description h3 {
    text-align: center;
  }
  .container {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .introducao--item {
    padding: 100px 0;
  }
  .introducao--item h1 {
    font-size: var(--font-size-main);
    color: var(--border-color);
    text-align: center;
  }
  .company--item {
    max-width: 100%;
  }
  .border--title {
    padding: 60px 20px;
    align-items: center;
  }
  .designers--item {
    max-width: 85% !important;
    margin: 10px 0;
    padding: 10px;
  }
  .order {
    order: -1;
    margin-bottom: 10px;
  }
  .container-designers {
    flex-direction: column;
    align-items: center;
  }
  .container-designers p {
    max-width: 100%;
    margin-right: 0;
    font-size: var(--font-size-p);
    padding: 10px;
    line-height: 1.6em;
  }

  .projects {
    flex-direction: column;
    padding: 0;
  }
  .project--item {
    max-width: 100%;
  }
  .project-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .item-left {
    margin-right: 0;
  }
  .item-right {
    margin-left: 0;
    margin-top: 30px;
  }
  .comment-item p {
    font-size: 0.87em;
    line-height: 1.5em;
    padding: 0 20px;
    margin: 10px 0;
  }
  .comment-item h4 {
    margin-top: 20px;
  }
  .footer {
    padding-bottom: 20px;
  }
  .footer--item {
    width: 80%;
    margin-left: 0;
    margin: 20px 0;
  }
}
