/*#region Basic Styles*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

body{
    font-family: 'Roboto', sans-serif;
    background-color: #FFFFFF;
    color: #2E2F42;
}


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

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a:focus, a:hover
 {
    color: #404BBF;

}
button:focus, button:hover {
    
    background-color: #404BBF;
}
a{text-decoration: none}
.container {
    max-width: 1158px;
   margin: 0 auto;
   padding: 0 15px;
}
.header .container {
    display: flex;
    align-items: center;
    margin: auto;
}
/*#endregion*/

/*#region header*/
.header{
    border-bottom: 1px solid #E7E9FC;
    box-shadow: 0 1px 6px 0 rgba(46, 47, 66, 0.08), 0 1px 1px 0 rgba(46, 47, 66, 0.16), 0 2px 1px 0 rgba(46, 47, 66, 0.08);
    
    

}
.logo-header {
    font-size: 18px;
    font-weight: 700;
    color: #2E2F42;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-family: Raleway, sans-serif;
    margin-right: 76px;
   
   
    }
.web-blue{
font-family: Raleway, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.16667;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4D5AE5;
}
.studio-light{
    font-family: Raleway, sans-serif;
font-weight: 700;
    font-size: 18px;
    line-height: 1.16667;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #2E2F42;
}
.nav-list {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;        
    letter-spacing: 0.02em;
    color: #2E2F42;
    
}
.nav-column{
display: inline-flex;
gap: 40px;
align-items: center;



}
.nav-list-link {
    position: relative;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2E2F42;
    display: inline-block;
    padding-top: 24px;
        padding-bottom: 24px;
        transition-property: color;
            transition-duration: 250ms;
            transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    
}

.nav-list-link::after{
    content: '';
    position: absolute;
    border-radius: 2px;
        width: 100%;
        height: 4px;
        left: 0;
        bottom: -1px;
        background-color: #404BBF;

        opacity: 0;
}
.nav-list-link:hover::after,
.nav-list-link:focus::after,
.nav-list-link.current::after
{
    opacity: 1;
}
.nav-list-link.current{
    color: #404BBF;
}
.contacts-inform {  
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
    font-style: normal;
    display: flex;
    margin-left: auto;
 
}
.contacts-column{
font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
    font-style: normal;
    margin: auto;
    align-items: center;
    display:flex;
    gap: 40px;
    justify-content: flex-end;
    
}
.contacts-link{
    display: inline-block;
    color: #434455;
    transition-property: color;
        transition-duration: 250ms;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

    /*#endregion header*/


/*#region Hero*/
.hero-section {
    background-color: #2E2F42;
    display: flex;
    flex-direction: column;
        align-items: center;
padding-top: 188px;
padding-bottom: 188px;
background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url('../images/people-office.png');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
max-width: 1440px;
margin: 0 auto;

}
.heading-title {
    font-weight: 700;
    font-size: 56px;
    line-height: 1.07143;
    letter-spacing: 0.02em;
    text-align: center;
    color: #FFFFFF;
    
   
    padding-bottom: 48px;
    max-width: 496px;
    
}
.hero-button {
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    background-color: #4D5AE5;
   padding: 16px 32px 16px 32px; 
   border-radius: 4px;
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
border: none;
justify-items: center;
    display: flex;
    margin: 0 auto;

transition-property: background-color;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
/*#endregion hero section*/
/*#region Features section */

.features-section{
padding-top: 120px;
padding-bottom: 120px;
}
.visually-hidden {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: #2E2F42;
    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;
}
.features-list{
display: flex;
align-items: flex-start;
justify-content: flex-start;
flex-direction: row;
gap: 24px;
}
.features-list-item{
display: flex;
flex-direction: column;
gap: 8px;
width: calc((100% - 3 * 24px) / 4);
}
.our-features-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #8E8F99;
    border-radius: 4px ;
     width: 100%;
    height: 112px;
    background-color: #F4F4FD;
}
.our-features-subtitle {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2E2F42;
}

.our-features-slogan {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}
/*#endregion features section*/
 /*#region Team section */
.team-section {
    background-color: #F4F4FD;
    padding-top: 120px;
    padding-bottom: 120px;
    
}
.caption-our-team {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2E2F42;
    padding-bottom: 72px;

}

.team-list{
display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    gap: 24px;
    
   
        
}
.team-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: #FFFFFF;
            max-width: 264px;
            

}
.team-text{
   padding: 32px 16px 32px 16px;

  
}
.our-team-member {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2E2F42;
    
        
        padding-bottom: 8px;
}

.our-team-subtitle{
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
    color: #434455;
    
    }
    
    .icon{
        fill: #F4F4FD;
        display: flex;
            justify-content: center;
            align-items: center;
    }
    .social-list{
display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
   
    padding-top: 8px;

   
    }
    .social-items{
background-color: #4D5AE5;
    
    
    display: flex;
    justify-content: center;
    align-items: center;

    width: 40px;
        height: 40px;

border-radius: 50%;


    }
    .team-socials-link:hover{
        background-color: #404BBF;
    }
    .team-socials-link:focus{
            background-color: #404BBF;
        }
        .team-socials-link{
    width: 40px;
    height: 40px;

    display: flex ;
    justify-content: center;
    align-items: center;

    background-color: #4D5AE5;
    border-radius: 50%;

    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
        }
      
/*#endregion team section*/
/*#region Portfolio section */
.portfolio-section {
    align-items: flex-start;
        justify-content: flex-start;
        display: flex;
  flex-direction: column;
padding-top: 120px;
padding-bottom: 120px;

     
}
.headline-portfolio {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11111;
    letter-spacing: 0.02em;
    text-align: center;
    color: #2E2F42;
    
   
}
.portfolio-items{
display: flex;
flex-wrap: wrap;
justify-content: space-between;

column-gap: 24px;
row-gap: 48px;
padding-top: 72px;

}


.portfolio-list{
justify-content: space-between;
gap: 24px;
width:calc((100% - 2 * 24px) / 3);

transition-property: box-shadow;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-list:hover{
box-shadow:
        0 1px 6px 0 rgba(46, 47, 66, 0.08),
        0 1px 1px 0 rgba(46, 47, 66, 0.16),
        0 2px 1px 0 rgba(46, 47, 66, 0.08);
}

.portfolio-list:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-image{
    position: relative;
    overflow: hidden;
   
}
.portfolio-overlay{
    position: absolute;
transform: translateY(100%);


    top: 0;
    left: 0;
    padding-right: 32px;
    padding-left: 32px;
    padding-top: 40px;
    padding-bottom: 40px;

width: 100%;
height: 100%;

font-weight: 400;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #F4F4FD;
background-color: #4D5AE5;

transition-property: transform;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-grid{
    padding: 32px 16px 32px 16px;
    border: 1px solid #e7e9fc;
    border-top: none;
}
.portfolio-subtitle {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2E2F42;
    background-color: #FFFFFF;
        
        
    
}

.portfolio-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
    background-color: #FFFFFF;
   padding-top: 8px;
   
}
/*#endregion portfolio section*/
/*#region Footer section */

.footer-desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #F4F4FD;
  max-width: 264px;
    padding-top: 16px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;

}




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

.logo-studio-footer{
    font-size: 18px;
    line-height: 1.17;
    font-weight: 700;
    color: #2E2F42;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-family: Raleway, sans-serif;
    display: flex;
        justify-content: flex-start;
       
    
    }
.web-blue-footer {
    color: #4D5AE5;
    cursor: pointer;
    line-height: 1.17;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-family: Raleway, sans-serif;
}

.studio-light-footer {
    color: #F4F4FD;
    font-family: Raleway, sans-serif;
    letter-spacing: 0.03em;
}
.footer-content{
display: flex;
    align-items: baseline;
    
}
.footer-one-section{
margin-right: 120px;
}
.footer-two-section{
  
}
.footer-social-media{

}
.media-subtitle{
    font-weight: 500;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #FFFFFF;
        
        margin-bottom: 16px;
}
.socials-list-footer{

    display: flex;
    justify-content: center;
    align-items: center;
 gap: 16px;
   

   
}
.social-items-list{
    

    background-color: #4D5AE5;
    border-radius: 50%;
        width: 40px;
            height: 40px;


            
}
.footer-social-link:hover{
    background-color: #31D0AA;
}
.footer-social-link:focus{
    background-color: #31D0AA;
}
.icon-footer{
    fill: #F4F4FD;
    display: flex;
        justify-content: center;
        align-items: center;
        
}


.footer-social-link{
    width: 100%;
        height: 100%;

        display: flex;
            justify-content: center;
            align-items: center;

            background-color: #4D5AE5;
            border-radius: 50%;

    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
   
}

/*#endregion footer section*/

