*,
*::before,
*::after {
    box-sizing: border-box;
}
body{
    font-family: "roboto", sans-serif;
    color: #434455;
    margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6{
    margin-top: 0;
    margin-bottom: 0;
}
ul,p{
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    display: flex;
}
.container{
    display: block;
    width: 1158px;
    padding: 120px 0;
    
}
.header{
    display: flex;
    justify-content: space-evenly;
    padding: 15px;
    border-bottom: 1px solid #e7e9fc;
}
.logo{
    font-weight: 700;
    font-size: 18px;
    line-height: 1.16667;
    color: #2e2f42;
    text-decoration: none;  
}
.nav-links, .contacts-links, .about-us-list, .team-list, .portfolio-list{
    list-style-type: none;
}
.nav-links{
    display: inline-flex;
    gap: 40px;
}
.nav-links .link  {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #2e2f42;
    text-decoration: none;
}
.contacts-links{
    display: flex;
    gap: 40px;
}
.contacts-links .link{
    font-size: 16px;
    line-height: 1.5;
    color: inherit;
    text-decoration: none;
}
.nav-links .link:hover, .contacts-links .link:hover
{
    color: #404bbf;
}
.page-title-div{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background-color: #2e2f42;
}
.page-title{
    font-weight: 700;
    font-size: 56px;
    line-height: 1.07143;
    width: 496px;
    height: 120px;
    color: #fff;
}
.button-order{
    width: 169px;
    height: 56px;
    border-radius: 4px;
    padding: 16px 32px;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    background-color: #4d5ae5;
    cursor: pointer;
}
.button-order:hover {
    background-color: #404bbf;
}
.about-us-list{
    justify-content: space-evenly;
    padding: 10%;
    gap: 15px;
    align-content: flex-start;
}
.about-us-list title{
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #2e2f42;
}
.about-us-list .text{
    font-size: 16px;
    line-height:1.5;
}
.about-us-list .about {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
}
.team-div{
    display: flex;
    align-content: space-evenly;
    gap: 50px;
    flex-direction: column;
    background: #f4f4fd;
}
.team-list{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.team-title{
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11111;
    color: #2e2f42;
    text-align: center;
}
.employee{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
    border-radius: 0 0 4px 4px;
    padding: 0px 0px 32px 0px;
    width: 264px;
    height: 380px;
    background-color: #fff;
    border-radius: 0 0 4px 4px;
}
.employee .title{
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #2e2f42;
}
.employee .text{
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}
.employee img{
    width: 264px;
    height: 260px;
}
.portfolio-div{
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.portfolio-list{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.portfolio-list img{
    width: 360px;
    height: 300px;
}
.portfolio-title {
    text-align: center;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11111;
    color: #2e2f42;
}
.portfolio-list .title{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #2e2f42;
}
.portfolio-list .text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 16px;
    font-size: 16px;
    line-height: 1.5;
}
.portfolio-list .portfolio{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid #e7e9fc;
    border-left: 1px solid #e7e9fc;
    border-right: 1px solid #e7e9fc;
    background: #fff;
}
.footer{
    background-color: #2e2f42;
}
.footer-div{
    display: flex;
    flex-direction: column;
    padding-left: 50px;
    width: 264px;
    gap: 20px;
}
.footer .logo{
    font-weight: 700;
    font-size: 18px;
    line-height: 1.16667;
    color: #f4f4fd;
}
.footer .text{
    font-size: 16px;
    line-height: 1.5;
    color: #f4f4fd;
}
