body {
    font-family: "Roboto", sans-serif;
    color: #434455;
    background-color: #fff;
}
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}
h1, h2, h3, h4, h5, h6, p{
    margin: 0;
    
}
h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0.02em;
}
a {
    text-decoration: none;
}
.container{
    max-width: 1158px;
    padding: 0 15px;
    margin: 0 auto;
}
.page-header {
    border-bottom: 1px solid #e7e9fc;
    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);
}
.header-container {
    display: flex;
    align-items: center;
}
.nav-list {
    display: flex;
    align-items: center;
}
.list {
    display: flex;
    align-items: center;
    gap: 40px;
}
.contacts-address {
    font-style: normal;
    margin-left: auto;
}
.contacts {
    display: flex;
    align-items: center;
    gap: 40px;
}
.contacts-link {
    display: block;
    padding: 24px 0;
}
.logo {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    color: #434455;
    font-size: 18px;
    line-height: 1.17;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #4d5ae5;
}
.header-logo{
    padding: 24px 0;
    margin-right: 76px;
}
.header-logo .logo-accent {
    color: #2e2f42;
}
.footer-logo .logo-accent {
    color: #f4f4fd;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-link {
    font-weight: 500;
    color: #2e2f42;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    padding: 24px 0;
    display: block;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link.current {
    position: relative;
    color: #404bbf;
}
.nav-link.current::after{
    content: '';
    width: 100%;
    height: 4px;
    position: absolute;
    left: 0;
    bottom: -1px;
    background-color: #404BBF;
    border-radius: 2px;
}
.nav-link:hover,
.nav-link:focus,
.contacts-item:hover,
.contacts-item:focus {
    color: #404bbf;
}
.contacts {
    font-style: normal;
}
.contacts-link {
    color: #434455;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.contacts-link:hover,
.contacts-link:focus {
    color: #404bbf;
}
.hero {
    background-color: #2E2F42;
        background: 
        linear-gradient(rgba(47, 48, 58, 0.8), rgba(47, 48, 58, 0.6)),
        url('../images/people-office 1.jpg');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    padding: 188px 0;
    text-align: center;

}


.hero-title {
    color: #ffffff;
    font-size: 56px;
    line-height: 1.07;
    font-weight: 700;
    max-width: 496px;
    margin: 0 auto 48px auto;
    letter-spacing: 0.02em;
}
.hero-button {
    background-color: #4d5ae5;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.04em;
    font-size: 16px;
    padding: 16px 32px;
    border: none;
    border-radius: 4px;
    min-width: 169px;
    height: 56px;
    border: none;
    display: block;
    margin: 0 auto;
}
.hero-button:hover,
.hero-button:focus {
    background-color: #404BBF;
}
.team {
    background-color:#F4F4FD;
}
.page-footer {
    background-color: #2E2F42;
    color: #F4F4FD;
    
}
.contacts-address {
    font-style: normal
}

.features {
    padding: 120px 0;
}
.features-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.02em;
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2E2F42;
    max-width: 496px;
}
.features .container {
    position: relative;
}
.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;
}
.features-list {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.feature-item {
    width: calc((100% - 72px) / 4);
}

.feature-title {

    margin-bottom: 8px;
}
.paragraf {
    line-height: 1.5;
    font-size: 16px;
    letter-spacing: 0.02em;
    
}
 .team {
    padding: 120px 0;
 }
.team-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    text-align: center;
    letter-spacing:0.02em;
    text-transform: capitalize;
    color: #2e2f42;
    margin-bottom: 72px;
}
.member-info {
    padding: 32px 0;
}
.team-member {
    background-color: #FFFFFF;
    width: 264px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 0px 0px 4px 4px;
    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);
    text-align: center;
    width: calc(264px);
}
.team-ul {
    display: flex;
    gap: 24px;
}


.team-member img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.member {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;
}
.portfolio {
    padding: 120px 0;
}
.portfolio-title {
    font-size: 36px;
    line-height: 1.11;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    color: #2e2f42;
    margin-bottom: 72px;
}
.portfolio ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 48px;
}
.portfolio-info {
    padding: 32px 16px;
    border: 1px solid #e7e9fc;
    border-top: none;
}
.portfolio-name {
    margin-bottom: 8px;
}

.portfolio li {
    width: calc((100% - 48px) / 3);
    transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio li: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);
}
.portfolio-item-title{
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;
}
.portfolio img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}
.footer-logo{
    letter-spacing: 0.02em;
    line-height: 1.5;
    display: inline-block;
    margin-bottom: 16px;
}
.feature-item-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing:0.02em;
    color: #2e2f42;
}
.page-footer .paragraf {
    color: #f4f4fd;
    max-width: 264px;
}
.footer-logo {
    line-height: 1.17;
    letter-spacing: 0.03em;
}
.page-footer {
    padding: 100px 0
}