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

/* reset */

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

    /* common */

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

}

.section{
    padding: 120 0;
}

.title{
    flex-direction: column;
    margin-bottom:  8px;
}

/* header */

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

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

.nav-list{
    display: flex;
    align-items: center;
    gap: 40px;
}
.logo{
    font-weight: 700 ;
    font-family:"Raleway", sans-serif;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;       
    color: #4d5ae5;
}
.header-logo{
    padding: 24px 0px;
    margin: 0px 76px 0px 0px;
}
.header-logo .logo-studio{
    color: #2e2f42;
}

.footer-logo .logo-studio {
    color: #f4f4fd;
}

.link{
    display: block;
    padding: 24px 0;
    font-weight: 500 ;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2e2f42;
}
.link:hover,
.link:focus{
    color: #404bbf;
}
.contacts-link {
    display: block;
    padding: 24px 0;
    font-weight: 400;
    font-size: 16px;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
    text-decoration: none;
}
.contacts-link:hover,
.contacts-link:focus{
    color: #404bbf;
    font-style: normal;
}
.contacts{
    font-style: normal;
    margin-left: auto;
}
.contacts-list{
    display: flex;
    align-items: center;
    gap: 40px;
}

/* hero */

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

.hero-title{
    margin: 0 auto 48px;
    max-width: 496px;
    text-align: center;
 
     /* додаткові стилі */
    font-weight: 700 ;
    font-size:  56px;
    line-height: 1.07;
    letter-spacing: 0.02em;
    color: #ffffff;
    background-color: #2e2f42;
    text-transform: capitalize;
}

.hero-button {
    display: block;
    min-width: 169px;
    height: 56px;
    border: none;
    background-color: #4d5ae5;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 auto;
    text-align: center;
    padding-block: 16PX;
    padding-inline: 32PX;
  
     /* додаткові стилі */
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #ffffff;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
}

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


/* features */ 
.features {
    padding: 120px 0;
    background-color: #ffffff;
}

.features-item{
    flex-basis: calc((100% - 72px) /4);
    
}

.features-list{
    display: flex;
    gap: 24px;
    justify-content: center;
    
}

.features-title{
    text-align: left;
    margin-bottom: 8px;
    font-weight: 500 ;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;
}
.features-text{
    text-align: left;
    font-weight: 400 ; 
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
    text-align: left;
    flex-direction: column;

}

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

/* team */

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

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

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

.team-title{
    margin-bottom: 72px;
    font-weight: 700;
    font-size:  36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;
    background-color: #f4f4fd;
    text-transform: capitalize;
}
.team-card{
    width: calc((100% - 72px) / 4);
    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-color: #ffffff;
    overflow: hidden;
}
.product-ill{
    width: 100%;
    height: auto;
}
.title-name{
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2e2f42;
    text-transform: capitalize;
}
.text{
    font-weight: 400;
    font-size:  16px; 
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
    text-align: center;

}



/* portfolio */

.portfolio{
    padding-top: 120px;
    padding-bottom: 120px;
    background-color: #ffffff;
}

.portfolio-title{
    margin-bottom: 72px;
    font-weight: 700 ;
    font-size:  36px;
    line-height:  1.11;
    letter-spacing: 0.02em;
    color: #2e2f42;
    text-align: center;
    text-transform: capitalize;
}
.portfolio-contant{
    padding: 32px 16px;
    border: 1px solid #e7e9fc;
    border-top: none;
}

.portfolio-list{
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    column-gap: 24px;
    row-gap: 48px;
}

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

.title-portfolio{
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

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

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


.footer-container{}
    

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

.logo-studio{
    color: #f4f4fd;

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