body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    font-weight: 400;
    line-height: 1.5;
    font-size: 16px;
    color: #434455
}

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


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

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

.header-nav {
    display: flex;
    margin: 0 auto;
    justify-content: space-around;
}

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

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

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

.nav-list {
    display: flex;
    gap: 40px;
    margin-right: 40px;
}

.nav-list-item {
    padding: 24px 0;
}



.nav-list-item {
    padding: 24px 0;
}

.nav-text {
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 24px 0;
}

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

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

.benefits {
    padding: 120px 0;
}

.first-header {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.07;
    text-align: center;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    max-width: 496px;
}

.second-header {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.11;
    text-align: center;
    letter-spacing: 0.02em;
    color: #2E2F42;
    text-transform: capitalize;
    margin-bottom: 72px;
}

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

.p-text {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
    color: inherit;
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.button {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    background-color: #4D5AE5;
    min-width: 169px;
    height: 56px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: auto;
}

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

.first-main-part {
    background-color: #2E2F42;
    padding: 188px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

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

.name-and-position-div {
    padding: 32px 0;
}

.our-portfolio {
    padding-top: 120px;
    padding-bottom: 120px;
}

.name-and-app-div {
    padding: 32px 16px;
    border: 1px solid #e7e9fc;
    border-top: none;
}

header {
    color: #2E2F42;
}

ul {
    list-style: none;
}

.address {
    color: #434455;
    font-style: normal;
}

.address-link {
    letter-spacing: 0.02em;
}

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

.footer {
    background-color: #2E2F42;
    color: #F4F4FD;
    padding: 100px 0;
    display: flex;
}

.footer-link {
    display: inline-block;
    margin-bottom: 16px;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4d5ae5;
    margin-right: 76px;
}

.logo-right-part-footer {
    color: #F4F4FD;
}

/* 2 section */
.benefits-list {
    display: flex;
    gap: 24px;
}

.list-item-second-section {
    flex-basis: calc((100% - 72px) / 4);
}

/* 3 section */
.our-team-list {
    display: flex;
    gap: 24px;
}

.list-item-third-section {
    width: calc((100% - 3 * 24px) / 4);
    background-color: #ffffff;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

/* 4 section */
.our-portfolio-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 48px;
}

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