/* #region BODY */

body {
    font-family: "Roboto", sans-serif;
    color: #434455;
    background-color: #FFFFFF;

}

/* #endregion */

/* #region RESET */
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

* {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: currentColor;
}

button {
    cursor: pointer;
    color: currentColor;
    font-family: inherit;
    border: none;
}

address {
    font-style: normal;
}
/* #endregion */

/* #region Visually-hidden */
.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;
}
/* #endregion */

/* #region HEADER */

header {
    border-bottom: 1px solid #e7e9fc;
}

.logo {
    display: block;
    align-items: center;
    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-header-part {
    color: #2E2F42;
}

.header-container {
    margin-top: 25px;
    margin-bottom: 25.5px; 
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-nav-item-link {
    display:block;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2E2F42;
    padding: 24px 0
}

.nav-item-link:hover {
    color: #404bbf;
}

.nav-item-link:focus {
    color: #404bbf;
}

.address {
    font-style: normal;
}

.header-address {
    display: flex;
    gap: 40px;
}

.address-item-link {
    letter-spacing: 0.02em;
    line-height: 1.5;
    color: #434455;
}

.address-item-link:hover {
    color: #404bbf;
}
.address-item-link:focus {
    color: #404bbf;
}

/* #endregion */

/* #region Container */

  .container {
    width: 1158px;
    padding: 0 15px;
    margin: 0 auto;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-list {
    display: flex;
    display: inline;
}

/* #endregion */

/* #region Section 1 Hero */

.hero {
    background-color: #2E2F42;
    padding-top: 188px;
    padding-bottom: 188px;
}

.hero-container { 
    display:block; 
    text-align: center; 
}

.hero-title {
    font-size: 56px;
    letter-spacing: 0.02em;
    line-height: 1.07;
    text-align: center;
    color: #ffffff;
    max-width: 496px;
    margin: 0 auto;
    margin-bottom: 48px;
}

.hero-button {
    display: block;
    margin: 0 auto;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #ffffff;
    cursor: pointer;
    background-color: #4D5AE5;
    border-radius: 4px;
    min-width: 169px;
    height: 56px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    background: #4D5AE5;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    background: #4D5AE5;
}

.hero-button:hover {
    background-color: #404BBF;
}

.hero-button:focus {
    background-color: #404BBF;
}

/* #endregion */

/* #region Section 2 Feature */

.feature {
    padding: 120px 0;
}

.feature-list {
    display: flex;
    text-align: left;
    gap: 24px;
}

.feature-list-item{
    display: block;
    width: calc((100% - 3*24px) / 3);
}

.feature-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2E2F42;
    margin-bottom: 8px;
}

.feature-description {
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}

/* #endregion */

/* #region Section 3 Our Team */

.team {
    background-color: #F4F4FD;
    padding: 120px 0;
}

.team-title {
    letter-spacing: 0.02em;
    text-transform: capitalize;
    font-size: 36px;
    line-height: 1.11;
    text-align: center;
    color: #2E2F42;
    margin-bottom: 72px;
}

.team-list {
    display: flex;
    gap: 24px;
}


.team-list-item {
    border-radius: 0 0 4px 4px;
    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: #fff;
    width: calc((100% - 3*48px) / 3);
    background-color: #FFFFFF;
}

.team-wrapper{
    padding: 32px 0px;
}

.team-list-name {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2E2F42;
    margin-bottom: 8px;
}

.team-list-name-role {
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
    text-align: center;
}

/* #endregion */

/* #region Section 4 Portfolio */

.portfolio {
    padding: 120px 0;
}

.portfolio-list {
    display: flex;
    text-align: left;
    flex-wrap: wrap;
    gap: 24px;
    row-gap: 48px;
}

.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-wrapper {
    border-bottom: 1px solid #e7e9fc;
    border-left: 1px solid #e7e9fc;
    border-right: 1px solid #e7e9fc;
    padding: 32px 16px;
}
.portfolio-list-product {
font-weight: 500;
font-size: 20px;
letter-spacing: 0.02em;
line-height: 1.2;
color: #2E2F42;
margin-bottom: 8px;
}

.portfolio-list-product-field {
line-height: 1.5;
letter-spacing: 0.02em;
color: #434455;
}

/* #endregion */

/* #region FOOTER */

.footer {
    background-color: #2E2F42;
    padding: 100px 0px;
}
.logo-footer-part {
    color: #f4f4fd;
}

.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;
    color: #4D5AE5;
    align-items: center;
    margin-bottom: 16px;
}

.footer-text {
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #F4F4FD;
    max-width: 264px;
}

/* #endregion */
