body {
    font-family: "Roboto", sans-serif;
    color: #434455;
    line-height: 1.5;
    background-color: #FFFFFF;

}

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

ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;

}

img {
    display: block;
}

.header {
    border-bottom: 1px solid #e7e9fc;
    box-shadow: 0 1px 6px 0 rgba(46, 47, 66, 0.08), 0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 2px 1px 0 rgba(46, 47, 66, 0.08);
}

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

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav .web {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #404bbf;
    text-decoration: none;
    margin-right: 76px;
    padding: 24px 0;
   
}


.nav .nav-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 40px;

}

.nav .stud {
    color: #2e2f42;
    align-items: center;
}

.nav-list .link {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2E2F42;
    text-decoration: none;
    display: block;
    padding: 24px 0;
    position: relative;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-list .link:hover,
.nav-list .link:focus {
    color: #404BBF;
}

.link.act {
    color: #404bbf;
}
.link.act::after {
content: "";
display: block;
background-color: #404bbf;
border-radius: 2px;
width: 100%;
height: 4px;
position: absolute;
left: 0;
bottom: -1px;
}

.addres {
    font-style: normal;
}

.addres .connect {
    display: flex;
    flex-direction: row;
    gap: 40px;
}


.connect .addr {
    color: #434455;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2,1);
}

.connect .addr:hover,
.connect .addr:focus {
    color: #404BBF;
}

.connect {
    font-style: normal;
    text-decoration: none;
    list-style: none;
}

.title {
    background-color: #2E2F42;
    padding: 188px 0;
    background-image: 
        linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
        ),
        url(../images/people-office.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    max-width: 1440px;
    margin: 0 auto;
}

.title .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container .htitle {
    max-width: 496px;
    margin-bottom: 48px;
}

.container .button {
    min-width: 169px;
    height: 56px;
    border-radius: 4px;
    overflow: hidden;
    border: none;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.title .htitle {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: 0.02em;
    text-align: center;
    color: #FFFFFF;
}

.title .button {
    background-color: #4D5AE5;
    font-family: "Roboto", sans-serif;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    cursor: pointer;
    
}

.title .button:hover,
.title .button:focus {
    background-color: #404BBF;
}

.main {
    padding: 120px 0;


}

.main .container {
    display: flex;
    justify-content: center;
}

.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;
}

.main-list {
    display: flex;
    list-style: none;
    gap: 24px;
    flex-direction: row;
}

.main-list .parag {
    width: calc((100% - 72px) / 4);
}

.parag .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F4F4FD;
    border-radius: 4px;
    border: 1px solid #8E8F99;
    margin-bottom: 8px;
    height: 112px;
}


.parag .functions {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2E2F42;
    margin-bottom: 8px;


}

.main-p {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}

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


.container .our-team {
    margin-bottom: 72px;
}

.our-t-list {
    list-style: none;
    display: flex;
    gap: 24px;
}



.our-t-list .team-list {
    width: calc((100% - 72px) / 4);
    border-radius: 0px 0px 4px 4px;
    background-color: #FFFFFF;
    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);
    
}

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

.team-list .descr {
    padding: 32px 0;
}

.team-svg {
    display: flex;
    justify-content: center;
    gap: 24px;

}

.svg-team {
    width: 40px;
    height: 40px;

}

.a-svg {
    width: 100%;
    height: 100%;
    background-color: #4d5ae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.a-svg:hover,
.a-svg:focus {
    background-color: #404bbf;
}


.icons {
    fill: #F4F4FD;
}

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

.descr .position-team {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
    color: #434455;
    margin-bottom: 8px;
}


.portf {
    padding: 120px 0;
}



.our-p-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 48px;
}

.our-portf {
    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;
}

.our-p-list .choice-portf {
    width: calc((100% - 48px) / 3);
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.our-p-list .choice-portf:hover {
    box-shadow: 0px 1px 6px rgba(46, 47, 66, 0.08),
        0px 1px 1px rgba(46, 47, 66, 0.16),
        0px 2px 1px rgba(46, 47, 66, 0.08);
        
}

.choice-portf:hover p {
    transform: translateY(0%);
}

.img-portf {
    position: relative;
    overflow: hidden;
}

.par-portf {
    position: absolute;
    top: 0;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #f4f4fd;
    padding: 40px 32px;
    background-color: #4d5ae5;
    height: 100%;
    width: 100%;
    transform: translateY(100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.choice-portf .name {
    padding: 32px 16px;
    border: 1px solid #e7e9fc;
    border-top: none;
}

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

.choice-portf .descr-portf {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}

footer {
    background-color: #2E2F42;
    padding: 100px 0;
    margin: 0 auto;

}

.contant-foot {
    display: flex;
    align-items: baseline;
}

.footer .container-box {
    display: flex;
    flex-direction: column;
    margin-right: 120px;
    
}

.container-box .one-part {
    display: inline-block;
    margin-bottom: 16px;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4d5ae5;
    text-decoration: none;
}

.container-box .two-part {
    color: #f4f4fd;
    display: inline-block;
}

.container-soc .p-foot {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.container-soc .ul-foot {
    display: flex;
    gap: 16px;

}

.ul-foot .li-foot {
    width: 40px;
    height: 40px;

}

.li-foot .link-med {
    width: 100%;
    height: 100%;
    background-color: #4d5ae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.link-med:hover,
.link-med:focus {
    background-color: #31d0aa;
}

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

.soc-media {
display: flex;
flex-direction: row;
}

.med-svg {
    fill:#f4f4fd;
}


.p-soc {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: white;
}