body{
font-family: "Roboto", sans-serif;
color: #434455;
background-color: #fff;
}

/* reset */

ul, ol{
list-style-type: none;
margin: 0;
padding: 0;
}

p, h1, h2, h3, h4, h5, h6{
    margin: 0;
}


a{
text-decoration: none;
}
/* common */

.container{
    width:1158px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

/* hedder */

.page-header{
    border-bottom:1px solid #e7e9fc;
}

.hedder-container{
    display: flex;
    align-items: center;
}

.headder-nav {
    display: flex;
    align-items: center;
}

.nav-list{
    display: flex;
    align-items: center;
    gap: 40px;
}

.contacts-list{
    display: flex;
    align-items: center;
}

.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;
}
.hedder-logo .logo-part{
color: #2e2f42
}

.hedder-logo{
    padding: 24px 0;
    margin-right: 76px;
}

.footer-logo .logo-part{
margin-bottom: 16px;    
color: #f4f4fd;
}

.nav-link{
display: block;
padding: 24px 0;
font-weight: 500;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #2e2f42;
}

.contacts{
margin-left: auto;
font-style: normal;
}

.contacts-list{
    display: flex;
    align-items: center;
    gap: 40px;
}

.contacts-link{
padding: 24px 0;
display: block;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #434455;
}

.nav-link:hover,
.nav-link:focus,
.contacts-link:hover,
.contacts-link:focus{
color: #404bbf;
}

/* main */

.main-title{
 max-width: 496px;   
font-weight: 700;
font-size: 56px;
line-height: 1.07;
letter-spacing: 0.02em;
text-align: center;
color: #fff;
background-color: #2e2f42;
}

.main-title-but{
display: block;
min-width: 169px;
height: 56px;    
font-weight: 500;
line-height: 1.5;
border: none;
border-radius: 4px;
letter-spacing: 0.04em;
cursor: pointer;
color: #ffffff;
background-color: #4d5ae5;
}



.main-section{
padding: 188px 0;
text-align: center;
background-color: #2e2f42;

}

.main-title-but:hover,
.main-title-but:focus{
background-color: #404bbf;
}

/* first-section */

.visually-hidden{

}

.first-section{ 
padding: 120px 0;
background-color: #f4f4fd;
}

.first-section-list{
display: flex;
align-items: center;   
gap: 24px;   
}

.section-title{   
margin-bottom: 8px;    
font-weight: 700;
font-size: 36px;
line-height: 1.11;
letter-spacing: 0.02em;
text-align: center;
text-transform: capitalize;
color: #2e2f42;
}
.paragraph-title{
font-weight: 500;
font-size: 20px;
line-height: 1.2;
letter-spacing: 0.02em;
color: #2e2f42; 
}

.paragraph-text{
font-weight: 400;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #434455;
}

.first-section-item{
width: calc((100% - 72px) / 4);
}

/* third-section */

.picture{
display:block
}

.third-section-list{
display: flex;
align-items: center;  
gap: 24px;     
}

.third-section{
padding: 120px 0;
background-color: #f4f4fd;
}

.third-section-item{
border-radius: 0px 0px 4px 4px;    
background-color: #ffffff;
}
 
/* footer */

.page-footer{
background-color: #2e2f42;
padding: 100px 0
}

.footer-text{
 font-weight: 400;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #f4f4fd;
}

.logo-part{
display: inline-block;
margin-bottom: 16px;
}