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

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

img {
    display: block;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
}

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

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


/* #region header */
.header-page .container {
    display: flex;
    justify-content: space-between;
}


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

.logo {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;

    line-height: 117%;
    letter-spacing: 0.03em;
    text-transform: uppercase;  
    color: #4d5ae5;

    margin-right: 76px;
}

.header-logo-item {
    color: #2e2f42;
}

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

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

.header-item {

}

.header-item-link {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2e2f42;
    padding: 24px 0 24px;
}
.header-item-link:hover,
.header-item-link:focus {
    color: #404bbf;
}

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

.header-address-list {
    display: flex;
    gap: 40px;
    align-items: center;
}

.header-address-item {

}

.header-address-link {
    display: inline-block;  
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;

    padding: 24px 0;
}

.header-address-link:hover,
.header-address-link:focus {
    color: #404bbf;
}
/* #endregion header*/

/* #region hero */

.hero {
    background-color: #2e2f42;
    padding-top: 120px;
    padding-bottom: 120px;
    padding: 188px 0;
}

.hero-container {  
    text-align: center;
}

.hero-title {
    max-width: 496px;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.07;
    letter-spacing: 0.02em;
    color: #fff;

    margin-bottom: 48px;

    margin-left: auto;
    margin-right: auto;
}

.button-title {
    display: block;
    min-width: 169px;
    height: 56px;
    border: none;
    background-color: #4d5ae5;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #fff;

    border-radius: 4px;
    padding: 16px 32px;

    margin-left: auto;
    margin-right: auto;
}
.button-title:hover,
.button-title:focus {
    background: #404bbf;
}
/* #endregion hero*/

/*  #region advantage */

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

.advantage-title {

}

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

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

.advantage-list-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;

    margin-bottom: 8px;
}

.advantage-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}
/*  #endregion advantage */

/* #region team */

.team-section {
    background-color: #F4F4FD;
    padding-top: 120px;
    padding-bottom: 120px;
}
.team-title {    
    margin-bottom: 72px;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;
    text-transform: capitalize;
}

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

}

.team-item {
    background-color: #FFFFFF;

    width: calc((100% - 72px) / 4);
    border-radius: 0px 0px 4px 4px;
}

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

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

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

/* #region portfolio */
.portfolio {    
    padding-top: 120px;
    padding-bottom: 120px;}

.portfolio-title {
    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;
}

.portfolio-list {
    display: flex;
    flex-wrap: wrap;

    row-gap: 48px;
    column-gap: 24px;
}

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

.portfolio-list-item-cont {
    border-bottom: 1px solid #e7e9fc;
    border-left: 1px solid #e7e9fc;
    border-right: 1px solid #e7e9fc;
    padding: 32px 16px;
    width: 360px;
}

.portfolio-list-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;

    margin-bottom: 8px;
}

.portfolio-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}
/* #endregion portfolio */

/* #region footer */

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

    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo-item {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.16;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #f4f4fd;
}

.footer-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #f4f4fd;

    max-width: 264px
}

/* #endregion footer */