.body {
  font-family: "Roboto", sans-serif;
  color: #212121;
}
ul {
  list-style-type: none;
  padding: 0;
}

.header {
  border-bottom: solid 1px #ececec;
}
.header-flex {
  display: flex;
  align-items: baseline;
}
.webstudio-link {
  font-family: "Raleway", sans-serif;
  color: #000000;
  text-decoration: none;
  font-size: 26px;
  line-height: 1.19;
  letter-spacing: 0.03em;
  margin: 24px 93px 25px 0;
}
.blue-web {
  color: #2196f3;
}

.nav-list {
  font-weight: 500;
  color: #212121;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: space-evenly;
  max-width: 600px;
}
.nav-item {
  margin-right: 46px;
}
.nav-item:nth-child(3) {
  margin-right: 0;
}
.header-contact {
  display: flex;
}
.header-mail,
.header-tel {
  font-weight: 500;
  color: #757575;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;
}
.header-mail {
  margin-right: 50px;
}
.envelope-icon {
  margin-right: 10px;
  fill: currentColor;
}
.smartphone-icon {
  margin-right: 10px;
  fill: currentColor;
}
.link {
  text-decoration: none;
}
.nav-agency,
.nav-portfolio,
.nav-contact {
  color: #212121;
}
.nav-contact {
  margin-right: 364px;
}
.nav-agency:visited,
.nav-portfolio:visited,
.nav-contact:visited {
  color: #212121;
}
.link:hover,
.link:focus {
  color: #2196f3;
}
.button:hover,
.button:focus {
  color: #ffffff;
  background-color: #2196f3;
}
.button {
  cursor: pointer;
}
.header-block-shade {
  width: 100%;
  height: 100%;
  background-color: rgba(47, 48, 58, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 200px;
  margin-bottom: 94px;
}
.header-block {
  background-color: #2f303a;
  background-image: url(/goit-markup-hw-04/images/header/header.jpg);
  background-position: center;
  background-size: cover;
  min-height: 600px;
}
.main-header-text {
  color: #ffffff;
  font-weight: 900;
  font-size: 44px;
  line-height: 1.36;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: 696px;
  margin: 200px 0 30px 0;
}
.header-button {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  align-items: center;
  text-align: center;
  letter-spacing: 0.06em;
  color: #ffffff;
  background-color: #2196f3;
  padding: 10px 41px 10px 42px;
}
.assets-block {
  display: flex;
}
.assets {
  margin: 0 30px 94px 0;
}
.assets:nth-child(4) {
  margin-right: 0;
}
.icon-background {
  width: 270px;
  height: 120px;
  background-color: #f5f4fa;
  margin-bottom: 30px;
}
.icons {
  margin: 25px 100px;
}
.asset {
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.asset-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.71;
  letter-spacing: 0.03em;
  color: #757575;
}

.portfolio-header {
  font-size: 36px;
  line-height: 1.31;
  text-align: center;
  letter-spacing: 0.03em;
  margin-top: 0;
  margin-bottom: 50px;
}
.portfolio-gallery {
  display: flex;
  justify-content: space-between;
  margin: 0 0 94px;
}
.gallery {
  margin-right: 30px;
}
.gallery:nth-child(3) {
  margin-right: 0;
}
.team-header {
  font-weight: 700;
  font-size: 36px;
  line-height: 42px;
  text-align: center;
  letter-spacing: 0.03em;
  margin: 0 0 50px;
}
.team-block {
  width: auto;
  background: #f5f4fa;
  padding: 94px 0;
}
.team-list {
  display: flex;
  justify-content: space-between;
  margin: 0;
}
.team-member {
  display: block;
  margin-right: 30px;
  background: #ffffff;
  box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),
    0 1px 3px 0 rgba(0, 0, 0, 0.12);
}
.team-member:nth-child(4) {
  margin-right: 0;
}
.member-name {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
  letter-spacing: 0.03em;
}
.member-job {
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
  letter-spacing: 0.03em;
  color: #757575;
}
.social-links {
  display: flex;
  max-width: 206px;
  justify-content: space-around;
  margin: auto;
  margin-bottom: 18px;
}
.social-icons-likns {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.social-icon {
  margin: 12px;
  fill: #afb1b8;
}

.social-icons-likns:hover,
.social-icons-likns:focus {
  background-color: #2196f3;
}
.social-icons-likns:hover > .social-icon,
.social-icons-likns:hover > .social-icon {
  fill: #fff;
}

.clients {
  padding: 94px 214px;
}
.our-clients {
  font-family: Roboto;
  font-size: 36px;
  font-weight: 700;
  line-height: 42px;
  letter-spacing: 0.03em;
  text-align: center;
}
.client-icons {
  display: flex;
  justify-content: space-around;
}
.client-icon-background {
  width: 170px;
  height: 92px;
  border: 1px rgba(175, 177, 184, 1) solid;
  border-radius: 4px;
}
.client-icon {
  margin: 16px 32px;
  fill: #afb1b8;
}

.client-icon-background:focus,
.client-icon-background:hover {
  border: 1px #2196f3 solid;
}
.client-icon-background:hover > .client-icon,
.client-icon-background:focus > .client-icon {
  fill: #2196f3;
}

.icon-logo {
  margin: 25px 65px 20.5px 64px;
}
.icon-logo-1 {
  margin: 21px 65px 20.5px 64px;
}
.icon-logo-2 {
  margin: 25px 64px 25px 62px;
}
.icon-logo-3 {
  margin: 25px 42px 26px 43px;
}
.icon-logo-4 {
  margin: 16px 53px 28px 54px;
}
.icon-logo-5 {
  margin: 22px 38px 25px 38px;
}
.footer {
  background: #2f303a;
}
.footer-block {
  display: flex;
  padding: 60px 0;
  align-items: flex-start;
}
.footer-first-block {
  display: inline-block;
  margin-right: 70px;
}
.webstudio-link-footer {
  font-family: "Raleway", sans-serif;
  text-decoration: none;
  font-size: 26px;
  line-height: 1.19;
  letter-spacing: 0.03em;
  color: #ffffff;
}
.address-list {
  font-size: 14px;
  line-height: 1.71;
  letter-spacing: 0.03em;
  margin: 20px 0 0 0;
}
.address-list-item {
  margin-bottom: 9px;
}
.address-list-item:nth-child(3) {
  margin-bottom: 0;
}
.address-map-link {
  color: #ffffff;
}
.address-mail,
.address-tel {
  color: rgba(255, 255, 255, 0.6);
}
.footer-second-block {
  display: inline-block;
  width: 206px;
  height: 80px;
}
.join-us-text {
  color: #ffffff;
  font-family: Roboto;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.03em;
  text-align: left;
  margin-top: 0;
  margin-bottom: 20px;
}
.footer-social-links {
  display: flex;
  justify-content: space-between;
}
.social-icons-footer {
  background-color: #ffffff1a;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.social-icon-footer {
  fill: #fff;
  margin: 12px;
}
.social-icons-footer:hover,
.social-icons-footer:focus {
  background-color: #2196f3;
}
.container {
  width: 1200px;
  margin: 0 auto;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* 
VVV PORTFOLIO SECTION VVV
*/
.p-buttons {
  display: flex;
  justify-content: center;
  margin-top: 94px;
  margin-bottom: 50px;
}
.p-button {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
  letter-spacing: 0.03em;
  background-color: #f5f4fa;
  border: 0;
  margin-right: 8px;
  padding: 6px 22px;
}
.p-button:nth-child(5) {
  margin: 0;
}
.p-button:hover,
.p-button:focus {
  box-shadow: inset 0px 2px 2px 0 rgba(0, 0, 0, 0.12),
    inset 0 1px 2px 0 rgba(0, 0, 0, 0.08), inset 0 3px 1px 0 rgba(0, 0, 0, 0.1);
}
.p-projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.p-project {
  max-height: 404px;
  margin-bottom: 30px;
}
.p-project:hover,
.p-project:focus {
  box-shadow: 1px 4px 6px 0 rgba(0, 0, 0, 0.16), 0 4px 4px 0 rgba(0, 0, 0, 0.06),
    0 1px 1px 0 rgba(0, 0, 0, 0.12);
}
.p-project:nth-last-child(-n + 3) {
  margin-bottom: 94px;
}
.p-project-texts {
  border: 1px #eeeeee solid;
  border-top: 0;
  padding-top: 20px;
  height: 110px;
}
.p-project-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.06em;
  margin-left: 24px;
  margin-bottom: 4px;
}
.p-project-category {
  font-size: 16px;
  line-height: 1.88;
  letter-spacing: 0.03em;
  color: #757575;
  margin-left: 24px;
  margin-bottom: 20px;
}
