body {
    font-family: 'Roboto', sans-serif;
    color: #434455;
    font-size: 16px;
    background-color: #FFFFFF;
    letter-spacing: 0.02em;
}

.section {
    max-width: 1440px;
    margin: 0 auto;
}

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

.logo span {
    color: #2e2f42;
}

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

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

.nav-link {
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2E2F42;
    padding: 24px 0;
    /* metor helxp x) */
    display: block;
    position: relative;
}

/*пункт контактів */
.contacts-list .contacts-items:nth-child(1) .nav-info,
.contacts-list .contacts-items:nth-child(2) .nav-info {
    color: #434455;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Перший пункт меню */
.nav-list .nav-items:first-child .nav-link {
    color: #404bbf;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ховер/фокус */
.nav-link:hover,
.nav-link:focus,
.nav-info:hover,
.nav-info:focus {
    color: #4d5ae5;
    /* наприклад синій при наведенні */
}

.nav-link.active {
    color: #404bbf;

}

.nav-items {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2e2f42;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}



a {
    text-decoration: none;
    color: #2E2F42;
}

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

h1 {
    font-size: 56px;

}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 20px;
}

p {
    font-size: 12px;

}

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

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




/* ______header settings______ */


header a:hover,
header a:focus {
    color: #404BBF;


}


header a {
    color: #434455;
}

.menu-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    max-height: 72px;

}

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


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

}

.nav-list {
    display: flex;
    gap: 40px;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;


}

.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    background-color: #404bbf;

    border-radius: 2px;
    width: 48px;
    height: 4px;
}


.contacts {
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;

    font-weight: 400;
    font-size: 16px;
    line-height: 150%;

}

.contacts ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contacts-list {}

.contacts-items {
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);

}

/*  top baner */
.top-banner {
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 188px 0;
    position: relative;
    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;
    background-size: cover;
}



.top-banner-h-one {
    max-width: 496px;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.07143;
    letter-spacing: 0.02em;
    text-align: center;
    color: #fff;
    margin-bottom: 48px;
}

/* .top-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
} */

/* button in top banner */
.button-order {
    background-color: #4D5AE5;
    color: white;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    cursor: pointer;
    padding: 16px 32px;
    border: none;
    border-radius: 4px;
    min-width: 169px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.button-order:focus {
    background-color: #404bbf;

}

/* container four Strategy, Punctuality... */

.strategy {
    padding: 120px 0;
}

/* .strategy .container {
    display: flex;
    flex-direction: column;

} */

.strategy-list {
    display: flex;
    gap: 24px;
    /* padding: 120px 0; */
}

.strategy-line {
    width: calc((100% - 72px) / 4);

}

.strategy-h-three {
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;
}

.strategy .strategy-h-three {
    margin-bottom: 8px;
}



.strategy-icon {}

.strategy-icon-container {
    border: 1px solid #8e8f99;
    background-color: #f4f4fd;
    border-radius: 4px;
    width: 264px;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    width: 100%;
}

/* Our team container */
.team-section {
    padding: 120px 0;
}

/* .team-section .container {
    display: flex;
    flex-direction: column;

} */

.team-section-list {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 72px;
    /* margin-bottom: 120px; */
    /* width: calc((100% - 72px) / 4); */
}

.team-section-list li {

    border-radius: 0 0 4px 4px;
}

.team-section .team-section-h-second {
    /* margin-bottom: 72px; */

    font-weight: 700;
    font-size: 36px;
    line-height: 111%;
    letter-spacing: 0.02em;
    text-align: center;
}


.team-container-text {
    padding: 32px 0;
    text-align: center;
    background-color: white;
    border-radius: 0 0 4px 4px;
}

.team-container-text h3 {
    margin-bottom: 8px;
}

.team-section-p {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-weight: 400;
    line-height: 150%;
}

.team-section {
    background-color: #f4f4FD;
}

.team-section-h-second {
    line-height: 1.11;
    text-align: center;
    letter-spacing: 0.02em;
    /* Перша буква буле великою capitalize*/
    text-transform: capitalize;
    color: #2E2F42;
}

.team-section-line {
    width: calc((100% - 72px) / 4);
    border-radius: 0 0 4px 4px;
    padding: 0px 0px 32px;
    width: 264px;
    height: 428px;
    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-section-line-one-h-thre {
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #2E2F42;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.02em;
}

/* links icons */
.team-container-icon {}

.social-list-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0;
    padding: 8px 16px 0;
}

.footeer-social-list-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}




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

    width: 40px;
    height: 40px;


}

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





.social-line {}


.icon-team {
    fill: #f4f4fd;
    width: 20px;
    height: 20px;
}

/*text: Road to best  */

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

/* for section Portfoliol */


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

    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-line:hover,
.portfolio-line:focus {

    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;
    transform: translateY(0%);

}



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


.portfolio-list li {
    display: flex;
    flex-direction: column;
    border-bottom: solid 1px #E7E9FC;

    width: calc((100% - 48px) / 3);
}

.image-container-portfolio {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;

}

.image-container-portfolio img {
    display: block;

}

.image-container-portfolio:hover .drop-up-portfolio {
    transform: translateY(0%);

}

.drop-up-portfolio {
    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);
}



/* .overlay {
  
} */

.portfolio {

    padding-top: 120px;
    padding-bottom: 120px;


}

.portfolio .team-section-h-second {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 72px;
    text-shadow: 2px 2px 4px #2e2f42;
    color: #2e2f42;
}

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

    border-bottom: 1px solid #e7e9fc;
    border-left: 1px solid #e7e9fc;
    border-right: 1px solid #e7e9fc;
    padding: 32px 16px;
    /* width: 360px; */
    height: 120px;

}

.portfolio-container h3 {
    margin-bottom: 8px;
}

/* footer */
.footer-style {
    background-color: #2E2F42;
    color: white;
    padding: 100px;
    display: flex;

}

.container-footer-logo {

    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    margin: 0;
    margin-right: 120px;
}

.container-footer {
    display: flex;
    align-items: baseline;

}


.logo-footer {
    display: inline-block;
    color: white;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.17;
    letter-spacing: 0.03em;

    text-transform: uppercase;
    color: #4D5AE5;
    margin-bottom: 16px;
}

.logo-footer span {
    color: #f4f4FD;
}

.footer-p {
    line-height: 1.5;
    color: #f4f4FD;
    letter-spacing: 0.02em;
    max-width: 264px;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 16px;
}


.social-items {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 16px;
}

.social-list-link .social-line {}

.social-link {
    height: 40px;
}

.footer-social .social-link:hover,
.footer-social .social-link:focus {
    background-color: #31D0AA;
}

.footer-social .social-list-link {
    gap: 16px;
    padding: 0;
}

.footer-social .social-link {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #FFFFFF;
}



/* .social-link:hover,
.social-link:focus {
    background-color: #31D0AA;
} */