
body{
  font-family: "Roboto", sans-serif;
  color: #434455;
  background-color: #fff;
}

ol,ul{
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

a{
  text-decoration: none;
}

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

img{
  display: block;
  max-width: 100%;
}

button{
  cursor: pointer;
  font-family: inherit;
}

.container{
  padding:0 15px;
  max-width: 1158px;
  margin: 0 auto;
}

.header-container{
  display: flex;
}

.logo{
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4d5ae5;
}

.header-logo{
  padding: 24px 0;
  margin-right: 76px;
}

.logo-part{
  color: #2e2f42;
}

.header{
  border-bottom: 1px solid #e7e9fc;
}

.header-nav{
  display: flex;
  align-items: center;

}
.header-nav-list{
  display: flex;
  align-items: center;
  gap: 40px;
}

.header-nav-link{
  display: block;
  padding: 24px 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #2e2f42;
}

.header-nav-link:hover,
.header-nav-link:focus{
  color: #404bbf;
}

.header-address{
  font-style: normal;
  margin-left: auto;
}

.header-address-list{
  display: flex;
  gap: 40px;
  text-align: center;
}

.header-address-link{
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;
  padding: 24px 0;
  display: block;
}

.header-address-link:hover,
.header-address-link:focus{
  color: #404bbf;
}


.solution{
  background-color: #2e2f42;
  padding-top: 188px;
  padding-bottom: 188px;
}

.solution-title{
  font-weight: 700;
  font-size: 56px;
  line-height: 1.07;
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
  max-width: 496px;
  margin: 0 auto;
  margin-bottom: 48px;
}

.solution-button{
  background-color: #4d5ae5;
  border: none;
  display: block;
  margin: 0 auto;
  font-weight: 500;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #fff;
  border-radius: 4px;
  padding: 16px 32px;
  min-width: 169px;
  height: 56px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}

.solution-button:hover,
.solution-button:focus{
  background-color: #404bbf;
}

.about{
  padding: 120px 0;
}
.about-title{
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
}

.visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.about-list{
  display: flex;
  gap: 24px;
}
.about-item{
  width: calc((100% - 3*24px)/4);
}

.about-subtitle{
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
  max-width: 264px;
  margin-bottom: 8px;
}

.about-text{
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  max-width: 264px;
}

.team{
  background-color: #f4f4fd;
  padding: 120px 0;
}


.team-title{
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
  text-transform: capitalize;
  argin-bottom: 72px;
}

.team-list{
  display: flex;
  gap: 24px;
  
}

.team-item{
  
  border-radius: 0 0 4px 4px;
  width: calc((100% - 3*24px)/4);
  box-shadow: 0 2px 1px 0 rgba(46, 47, 66, 0.08), 0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 1px 6px 0 rgba(46, 47, 66, 0.08);
  background-color: #fff;

}
.team-subtitle{
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
  margin-bottom: 8px;
}

.team-block{
  padding: 32px 0;
}

.team-text{
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
}

.portfolio{
  padding: 120px 0;
}

.portfolio-title{
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: #2e2f42;
  text-transform: capitalize;
  margin-bottom: 72px;
}

.portfolio-list{
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 48px;
}

.portfolio-item{
  width: calc((100% - 48px)/3);
}

.portfolio-block{
  padding: 32px 16px;
  border: 1px solid #e7e9fc;
  border-top: none;

}
.portfolio-subtitle{
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #2e2f42;
  margin-bottom: 8px;
}

.portfolio-text{
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
}


.footer{
  background-color: #2e2f42;
  padding: 100px 0;
}

.footer-logo{
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo-part{
  color: #f4f4fd;
}

.footer-text{
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #f4f4fd;
  max-width: 264px;
}