*,
*::before,
*::after {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
  margin-bottom: 0;
}

ul {
  list-style: none;
}

body {
  font-family: Roboto, sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--project-color3);
  background-color: white;
}

/* Links CSS */

.link-webstudio {
  font-family: "Raleway";
  font-style: normal;
  font-size: 26px;
  font-weight: 700;
  color: var(--project-blue);
  text-decoration: none;
  line-height: 1.1em;
  letter-spacing: 0.03em;
  /* margin-bottom: 25px;
  margin-top: 24px; */
  margin-right: 93px;
  padding: 24px 0 25px;
}

.link-nav {
  font-style: normal;
  font-weight: 500;
  line-height: 1.1;
  color: var(--project-color3);
  text-decoration: none;
  padding-top: 32px;
  padding-bottom: 32px;
}

.link-nav:hover,
.link-nav:focus {
  color: var(--project-blue);
}

.link-footer-address {
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--project-white);
  text-decoration: none;
  margin-bottom: 7px;
}

.link-footer-address:hover,
.link-footer-address:focus {
  color: var(--project-blue);
}

.link-footer-contacts {
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.link-nav-active:visited,
.link-footer-contacts:hover,
.link-footer-contacts:focus {
  color: var(--project-blue);
}

.link-nav-active {
  font-style: normal;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  padding-top: 32px;
  padding-bottom: 32px;
}

.link-contacts {
  font-style: normal;
  font-weight: 500;
  line-height: 1.1;
  color: var(--project-color1);
  fill: var(--project-color1);
  text-decoration: none;
  padding-top: 32px;
  padding-bottom: 32px;
  display: flex;
}

.link-contacts svg {
  margin-right: 10px;
}

.center {
  align-items: center;
}

.link-contacts:hover,
.link-contacts:focus {
  color: var(--project-blue);
  fill: #2196f3;
}

/* Buttons CSS */

.buttons {
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  line-height: 1.6;
  letter-spacing: 0.03em;
  background-color: var(--project-color2);
  border: none;
  border-radius: 7%;
  cursor: pointer;
}

.buttons:hover,
.buttons:focus {
  color: var(--project-white);
  background: var(--project-blue);
}

.buttons-active {
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #ffffff;
  border: none;
  border-radius: 7%;
  cursor: pointer;
  background-color: var(--project-blue);
}

.buttons-active:visited {
  background: var(--project-white);
}

.button-services {
  font-family: inherit;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--project-white);
  background: var(--project-blue);
  border: 2px solid var(--project-blue);
  border-radius: 4px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  padding: 10px 32px;
  margin-top: 30px;
}

/* Solutions, Tittle and others CSS */

.list {
  list-style: none;
  display: flex;
  padding-left: 0;
  margin: 0;
}

.tittle-solutions {
  font-style: normal;
  font-weight: 900;
  font-size: 44px;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--project-white);
  margin: auto;
}

.section-solutions {
  text-align: center;
  background: var(--project-color4);
  padding-top: 200px;
  padding-bottom: 200px;
  background-image: linear-gradient(
      rgba(47, 48, 58, 0.4),
      rgba(47, 48, 58, 0.4)
    ),
    url(../images/img13.jpg);
}

.flex {
  display: flex;
}

.section {
  padding-top: 94px;
  padding-bottom: 94px;
}

.advantage-tittle {
  font-style: normal;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.advantage-text {
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--project-color1);
  width: 270px;
}

.dedicate {
  font-style: normal;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  margin-bottom: 55.05px;
  text-align: center;
}

.team-work {
  font-style: normal;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-align: center;
  margin-bottom: 50px;
}

.name {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.cont-name {
  text-align: center;
  padding-top: 30px;
}

.position {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--project-color1);
}

.section-team {
  background-color: var(--project-color2);
}

.footer {
  background-color: var(--project-color4);
  padding-top: 60px;
  padding-bottom: 60px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.name-project {
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.cont-project-name {
  padding-top: 20px;
  padding-left: 24px;
  padding-right: 20px;
  padding-bottom: 20px;
}

.type {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--project-color1);
}

:root {
  --project-blue: #2196f3;
  --project-white: #ffffff;
  --project-color1: #757575;
  --project-color2: #f5f4fa;
  --project-color3: #212121;
  --project-color4: #2f303a;
}

.conteiner {
  margin-left: auto;
  margin-right: auto;
  width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
}

.header {
  display: flex;
  border-bottom: 1px solid #ececec;
  height: 80px;
}

.header-nav {
  display: flex;
  align-items: center;
  margin-right: 285px;
}

.list-nav:not(:last-child) {
  margin-right: 50px;
}

.list-advantage {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.item {
  flex-basis: calc((100% - 90px) / 4);
}

.cont-dedicade {
  margin: auto;
  padding-top: 0;
}

.dedicate-imgs {
  flex-wrap: wrap;
  gap: 30px;
}

.item-dedicade {
  flex-basis: calc((100% - 60px) / 3);
  position: relative;
}

.team-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.img-card-style {
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14),
    0px 2px 1px rgba(0, 0, 0, 0.2);
  border-radius: 0px 0px 4px 4px;
  background-color: white;
  flex-basis: calc((100% - 90px) / 4);
  width: 270px;
}

.link-webstudio-footer {
  margin-top: 60px;
  color: var(--project-blue);
  font-family: "Raleway", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  padding-top: 32px;
}

.address-block {
  display: block;
  margin-top: 9px;
}

.cont-buttons {
  margin: auto;
  margin-top: 12px;
  margin-bottom: 82px;
  padding-bottom: 0;
}

.wrap {
  flex-wrap: wrap;
  gap: 26px;
}

.list-item {
  margin-right: 8px;
}

.buttons-list {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
}

.button-portfolio {
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-align: center;
  border: none;
  cursor: pointer;
  padding: 6px 24px;
}

.img-projects {
  background-color: var(--project-white);
  border-radius: 4px;
  border: 1px solid #eeeeee;
  margin-bottom: 30px;
  flex-basis: calc((100% - 60px) / 3);
}

.img-projects:hover {
  background: #ffffff;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.12), 0px 4px 4px rgba(0, 0, 0, 0.06),
    1px 4px 6px rgba(0, 0, 0, 0.16);
}

.cont-svg {
  background-color: #f5f4fa;
  width: 270px;
  height: 120px;
  border-radius: 4px;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icons-advantage {
  width: 70px;
  height: 70px;
}

.cont-svg:hover {
  fill: var(--project-blue);
}

.item-dedicade p {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--project-white);
  padding: 27px 79px;
}

.didicade-img {
  width: 370px;
  height: 70px;
  background: rgba(47, 48, 58, 0.8);
  position: absolute;
  bottom: 3px;
}

.list-social-media {
  display: flex;
  padding: 0;
}

.icon-team {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
  margin-top: 16px;
  margin-bottom: 30px;
}

.link-border {
  border-radius: 50%;
  margin-right: 10px;
  padding: 12px;
  fill: #afb1b8;
  height: 44px;
}

.link-border:hover,
.link-border:focus {
  background: #2196f3;
  fill: #f5f4fa;
}

.seccion-clients {
  padding-bottom: 151px;
  padding-top: 59px;
}

.regular-clients {
  font-weight: 700;
  font-size: 36px;
  line-height: 42px;
  text-align: center;
  letter-spacing: 0.03em;
  margin-bottom: 44.02px;
}

.list-clients-svg {
  gap: 30px;
  display: flex;
  padding: 0;
}

.a-svg-clientes {
  display: flex;
  border: 1px solid #afb1b8;
  border-radius: 4px;
  width: 170px;
  height: 81px;
  justify-content: center;
  align-items: center;
  fill: #afb1b8;
  cursor: pointer;
}

.a-svg-clientes:hover,
.a-svg-clientes:focus {
  fill: var(--project-blue);
  border-color: var(--project-blue);
}

.footer-flex {
  display: flex;
}

.cont-footer-contacts {
  margin-left: 160px;
  width: 320px;
  padding-right: 50px;
  margin-right: 0;
}

.text-media-footer {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-bottom: 10px;
}

.container-media-footer {
  display: flex;
  gap: 10px;
}

.list-svg-footer {
  display: flex;
  padding: 0;
}

.list-svg-footer li {
  margin-right: 10px;
}

.svg-media-footer {
  fill: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 40px;
  width: 40px;
}

.svg-media-footer:hover,
.svg-media-footer:focus {
  background-color: var(--project-blue);
}
