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

ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    display: block;
    border: none;
}

body {
    font-family: "Roboto", sans-serif;
    color: #434455;
    background-color: #FFFFFF;
}
button {
    cursor: pointer;
}

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


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

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

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

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

.page-logo-span {
    color: #2E2F42;
    margin-right: 76px
}

.page-title {
    background-color: #2E2F42;
    color: #FFFFFF;
    font-size: 56px;
    text-align: center;
    line-height: 1.07;
    letter-spacing: 0.02em;
    max-width: 496px;
    margin: 0 auto;
    margin-bottom: 48px;
}

.menu-item {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #2e2f42;
    padding: 24px 0;
}

.menu-item:hover,
.menu-item:focus {
    color: #404bbf;
}

.address {
    font-style: normal;
    display: flex;
}

.address-list {
    gap: 40px;
    display: flex;
}

.address-item {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}

.address-item:hover,
.address-item:focus,
.address-item:active {
    color: #404BBF;
}
.main{
   padding: 188px 0;
}
.solutions {
    background-color: #2E2F42;
    padding: 188px 0;
}
.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;
}

.button-order-service {
    color: #ffffff;
        background-color: #4d5ae5;
        font-family: "Roboto", sans-serif;
        font-weight: 500;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.04em;
        height: 56px;
        min-width: 169px;
        align-self: center;
        border-radius: 4px;
        box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
        border: none;
        display: block;
        min-width: 169px;
        cursor: pointer;
        margin-right: auto;
        margin-left: auto;
}

.button-order-service:hover {
    background-color: #404BBF;
}

.button-order-service:focus {
    background-color: #404BBF;
}

.benefits {
    padding: 120px 0;
}

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

.benefits-list{
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    
}
.benefits-list-item{
    /* display: flex; */
    /* gap: 24px; */
    width: calc((100% - 72px) / 4);
}

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

.benefits-item-desc {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}

.about-team {
    text-align: center;
    background-color: #F4F4FD;
    padding: 120px 0;
}

.team-header {
    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;
}
.team-list {
    display: flex;
    justify-content: center;
    gap: 24px;
}
.team-item {
    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);
    border-radius: 0 0 4px 4px;
    width: calc((100% - 72px) / 4);
}
.team-item-info{
    padding: 32px 0;
    background-color: #ffffff;
}
.team-item-header {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;
    margin-bottom: 8px;
}

.team-item-desc {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}

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

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

.portfolio-list{
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 48px;
}
.portfolio-item {
    background-color: #FFFFFF;
}
.portfolio-container-text{
    padding: 32px 16px;
    border: 1px solid #e7e9fc;
    border-top: none;
    margin-bottom: 8px;
}
.portfolio-item-header {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2E2F42;
    margin-bottom: 8px;
}

.portfolio-item-desc {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}

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

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

.footer-logo-span {
    text-decoration: none;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    justify-content: flex-start;
    color: #f4f4fd;
}

.footer-desc {
    font-family: "Roboto", sans-serif;
    text-align: left;
    color: #f4f4fd;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    flex-wrap: wrap;
    width: 264px;
}

.footer-container a {
    display: inline-block;
    margin-bottom: 16px;
    justify-content: flex-start;
}