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

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

a {
    text-decoration: none;  
}

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

img {
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
}

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

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

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


.page-header-nav {
    display: flex;
    margin-right: auto;
    align-items: center;
}

.page-header-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;
    margin-right: 76px;
    display: inline-block;
}

.accent {
    color: #2e2f42;
}

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

.page-header-item {
   
}

.page-header-link {
    padding: 24px 0;
    display: block;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2e2f42;
}

.page-header-link:hover {
    color: #404bbf;
}

.page-header-link:focus {
    color: #404bbf;
    text-decoration: underline;
}

.contacts {
    font-style: normal;
    }

.page-contacts-link {
    padding: 24px 0;
    color: #434455;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-weight: 400;
}

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

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

/* HERO */



.hero {
    background-color: #2e2f42;
    padding: 188px 0;

}

.page-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.07;
    letter-spacing: 0.02em;
    max-width: 496px;
    text-align: center;
    margin: 0 auto;
}

.hero-button-title {
    color: #ffffff;
    background-color: #4d5ae5;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-align: center;
    border: none;
    border-radius: 4px;
    padding: 16px 32px;
    display: block;
    margin: 0 auto;
    margin-top: 48px;
    min-width: 169px;
    height: 56px;
}

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

/* BENEFITS */

.benefits-container {
   display: flex;
    max-width: 1128px;
}

.benefits{
   padding: 120px 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;
}

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

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

.benefits-list {
    display: flex;
    gap: 24px;
}

.benefits-text {
   font-size: 16px;
   line-height: 1.5;
   letter-spacing: 0.02em;
   text-align: left;
}
.benefits-list-content {
    width: calc((100% - 3*24px)/4)
}


/* TEAM */

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

.team-container {

}

.team-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    /* background-color: #f4f4fd; */
    text-align: center;
    margin-bottom: 72px;
    color: #2e2f42;
}

.team-list {
    display: flex;
    gap: 24px;
}
.team-list-content {
    width: calc((100% - 3*24px)/4);
    border-radius: 0 0 4px 4px;
    background-color: #ffffff;
}

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

.team-text {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
}

.team-information {
    padding: 32px 0;
}

/* PORTFOLIO */

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

.portfolio-title {
    text-align: center;
    margin-bottom: 72px;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    color: #2e2f42;
}
.portfolio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 48px 24px;
}

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

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

}

.portfolio-text {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: left;
}

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

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

.page-footer-text {
    max-width: 264px;
    color: #f4f4fd;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: left;
}
.page-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;
    display: inline-block;
    margin-bottom: 16px;
}

.page-footer-accent {
    color: #f4f4fd;
}

