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


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

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

h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

img {
    display: block;
}

.container {
    width: 1158px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

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

button {
    cursor: pointer;
    color: #FFFFFF; 
    background-color: #4d5ae5;
}

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

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

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

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


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

.header-logo {
    margin-right: 76px;
}

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

.header-accent {
    color:#2e2f42;
}

.header-list {
    background-color: #FFFFFF;
    display: flex;
    gap: 40px;
}

.header-list-item {
    display: flex;
}

.header-link-item {
    padding: 24px 0 24px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.50;
    letter-spacing: 0.02em;
    color: #2e2f42;
    text-decoration: none;
}


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

.header-link-item:focus {
    color: #404bbf
}

.header-address {
    font-style: normal;
}

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

.social-list-item {

}

.social-link-item {
    display: block;
    padding: 24px 0 24px;
    color: #434455;
    text-decoration: none;
    font-weight: 400;
        font-size: 16px;
        line-height: 1.50;
        letter-spacing: 0.02em;
}

.social-link-item:hover {
    color: #404bbf;
}

.social-link-item:focus {
    color: #404bbf;
}

.main-section {
    background-color: #2e2f42;
    padding: 188px 0 188px;
}


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



.first-button {
    display: block;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    margin: 0px auto;
    border-radius: 4px;
    padding: 16px 32px;
    min-width: 169px;
    height: 56px;
    border: none;
}

advantages {
}

.advanteges-container {

}

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



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

.advanteges-list-item {
    width: calc((100% - 72px) / 4);
}


.list-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.20;
    letter-spacing: 0.02em;
    color: #2e2f42;
    margin-bottom: 8px;
}

.second-title-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.50;
    letter-spacing: 0.02em;
    color: #434455;
}

.team-section {
    background-color: #f4f4fd;
    padding: 120px 0;
}

.team-container {
}

.team-title {
    font-size: 36px;
    line-height: 1.11;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    background-color: #f4f4fd;
    margin-bottom: 72px;
}


.team-info-container {
    padding: 32px 0;
}

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

.team-list:hover {
    cursor: pointer;
    color: #f4f4fd
}

.team-list-item {
    background-color: #FFFFFF;
    width: calc((100% - 72px) / 4);
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

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

.team-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.50;
    letter-spacing: 0.02em;
    color: #434455;
    text-align: center;
}

.portfolio-container {
}

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

.portfolio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 48px 24px;
}

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

.portfolio-title-item {
    font-weight: 500;
        font-size: 20px;
        line-height: 1.20;
        letter-spacing: 0.02em;
        margin-bottom: 8px;
}

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

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

.footer {
    background-color: #2e2f42;
    padding-top: 100px;
    padding-bottom: 100px;
}

.footer-logo {
    display: inline-block;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
        font-size: 18px;
        line-height: 1.17;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        text-decoration: none;
        color: #4d5ae5;
        align-items: center;
        margin-bottom: 16px;
}
.footer-text {
    color: #f4f4fd;
    line-height: 1.5;
    letter-spacing: 0.02em;
    margin-right: auto;
    width: 264px;
}

.accent {
    color:#f4f4fd 
}

.footer-container {
}
