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

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

.main-title{
    font-weight: 500;
    font-size: 56px;
    letter-spacing: 0.02em;
    line-height: 1.07;
    text-align: center;
    color: #FFFFFF;
    margin: 48px auto;
    max-width: 496px;
}
.second-title{
font-weight: 500;
font-size: 36px;
line-height: 1.11;
letter-spacing: 0.02em;
text-align: center;
text-transform: capitalize;
color: #2E2F42;
    margin-bottom: 72px;
        text-align: center;
}
.third-title{
font-weight: 500;
font-size: 20px;
line-height: 1.2;
letter-spacing: 0.02em;
color: #2E2F42;
        margin-bottom: 8px;
}
.description{
font-weight: 400;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #434455;
}
.hero{
background-color: #2E2F42;
padding: 188px 0;
}
.our-team{
background-color: #F4F4FD;
}

.footer-style{
   color: #F4F4FD;
   background-color: #2E2F42;
}
.logo-footer{
    margin-bottom: 16px;
    display: inline-block;
    font-family: "Raleway", sans-serif;
        font-weight: 700;
        font-size: 18px;
        letter-spacing: 0.03em;
        line-height: 1.17;
        text-transform: uppercase;
        color: #4D5AE5;
}
.logo-studio-footer{
    color:#F4F4FD;
}
.text-footer{
        font-weight: 400;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #F4F4FD;
        width: 264px;
}
.team-list{
    background-color: #FFFFFF;
}


.hero-button{
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    cursor: pointer;
    color: #ffffff;
    background-color: #4D5AE5;
    display: block;
 height: 56px;
 min-width: 169px;
border: none;
 border-radius: 4px;
 margin: 0 auto;
}

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


.studio-style{
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2E2F42;
}
.studio-style:hover,
.studio-style:focus{
color: #404bbf;
}


.address-style{
    font-style: normal;
}
.contact{
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}
.contact:hover,
.contact:focus{
    color: #404bbf;
}

a {
    text-decoration: none;
}

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

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

img{
    display: block;
}



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

/* Header */

.page-header{
    border-bottom: 1px solid #E7E9FC;
}
.header-container{
    display: flex;
    align-items: center;
}
.header-nav{
    display: flex;
    align-items: center;
}

.studio-style-list{
    display: flex;
    align-items: center;
    gap: 40px;
}

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

}

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

.studio-style{
    display: block;
    padding: 24px 0;
}

.address-style{
    margin-left: auto;
}
.contact{
    display: block;
    padding: 24px 0;
}




/*Benefits*/
.title-benefits{
    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;
}
.benefits{
padding: 120px 0
}

 .benefits ul{
    display: flex;
    gap: 24px;
}
.benefits li{
    width: calc((100% - 30px) / 4);
}

 

/*Team*/

.our-team{
    padding-top: 120px;
    padding-bottom: 120px;
}

.team-list{
    width: calc((100% - 30px) / 4);
    box-shadow: 0 2px 1px rgba(46, 47, 66, 0.08);
    box-shadow: 0 1px 1px rgba(46, 47, 66, 0.16);
    border-radius: 0px 0px 4px 4px;
}
.our-team-list{
    display: flex;
    gap: 24px;
}

.worker{
    padding: 32px 0;
}
.our-team .title{
    text-align: center;
}

.descrip{
    text-align: center;
}


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


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

.portfolio ul{

    display: flex;
    flex-wrap: wrap;
    gap: 48px 24px;
}

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

}

.title-item{
    margin-bottom: 8px;
}


/*Footer*/


.footer-style{
    padding-bottom: 100px;
    padding-top: 100px;
}

