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

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

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

a {
    text-decoration: none;
}

img {
    display: block;
}

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

/* #region header */

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

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

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

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

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

span {
    color: #2e2f42;
    font-weight: 700;
    line-height: 1.17;
    letter-spacing: 0.03em;
}

.head-text {
    color: #2E2F42;
    font-weight: 500;
 font-size: 16px;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
  gap: 40px;
}

.a-studio {
    display: block;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2e2f42;
    padding: 24px 0;
}

a:hover, a:focus {
    color: #404bbf;
}

.address {
    margin-left: auto;
    font-style: normal;
} 

.emeil {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
    padding: 24px 0;
    display: inline-block;
}

.head-list {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
    display: flex;
    align-items: center;
    gap: 40px; 
}
 
/* #endregion header */

/* #region section1 */

.main-section { 
    background-color: #2E2F42;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 188px 0;
}

.main-head {
    font-weight: 700;
    font-size: 56px;
  letter-spacing: 0.02em;
 color: #FFFFFF;
    line-height: 1.07; 
 margin-bottom: 48px;
 max-width: 496px;
}

.button {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.04em;
    background-color: #4D5AE5;
    color: #FFFFFF;
  font-family: "Roboto", sans-serif;
    cursor: pointer;
    padding: 16px 32px;
    border-radius: 4px;
    border: none;
     display: block;
    min-width: 169px;
  height: 56px;
  margin: auto;
}

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

/* #endregion section1 */

/* #region section2 */

.info-section {
    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;
}

.step {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
 color: #2E2F42;
    width: 264px;
 margin-bottom: 8px;
}

.step-p {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}

.section-info {
    display: flex;
    align-items: center;
gap: 24px;
}

.li-info-section {
    width: calc((100% - 72px) / 4);
}

/* #endregion section2 */

/* #region section3 */

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

.our-team-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    color: #2E2F42;
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 72px; 
}
 
.our-team-list {
    background-color: #FFFFFF;
    width: calc((100% - 72px) / 4);
    border-radius: 0 0 4px 4px;
}

.papa-container {
    padding: 32px 0;
}

.our-team {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2E2F42;
text-align: center;
    margin-bottom: 8px;
} 
.our-team-description {
font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
    text-align: center; 
}

.our-team-block {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* #endregion section3 */

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

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

.our-portfolio { 
    font-weight: 500;
     font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2E2F42;
     margin-bottom: 8px;
}

.our-portfolio-discription {
    font-weight: 400;
 font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
     color: #434455;
}

.our-portfolio-block {
    display: flex;
    align-items: center; 
    border-radius: 0 0 4px 4px;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 48px;
    padding-top: 120px; 
}

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

.li-border {
    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);
}

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

/* #endregion section4 */

/* #region footer */

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

.logo-footer {
    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;
}

.span-footer {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    color: #F4F4FD;
}

.footer-paragraph {
    line-height: 1.5;
    color: #F4F4FD;
    letter-spacing: 0.02em;
    width: 264px;
    margin-top: 16px;
}

 
/* #endregion footer */