body{
    font-family: Roboto, sans-serif;
    font-size: 16px;
    background-color: #FFFFFF;
    color: #434455;
    line-height: 1.5;  
    box-sizing: border-box;
}
*{
    box-sizing: border-box;
}
a{
    text-decoration: none;
    display: block;
}

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

p {
    margin: 0;
}

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

img {
    display: block;
}

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


.header{
    border-bottom: 1px solid #e7e9fc;
    padding: 0 15px 0 15px;
    box-shadow: 0px 2px 1px rgba(46, 47, 66, 0.08),
        0px 1px 1px rgba(46, 47, 66, 0.16),
        0px 1px 6px rgba(46, 47, 66, 0.08);;
    
}

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

}

.header-div{
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
}


.page-nav{
    display: flex;
    gap: 40px;
}

li .studio{
    position: relative;
    color:  #404bbf;
}

.studio::after {
  content: "";
  position: absolute;
  background-color: #404bbf;
  left: 0;
  bottom: -1px;
  height: 4px;
  width: 100%;
  border-radius: 2px;
 }


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


.page-nav-link{
    color: #2e2f42;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
    padding: 24px 0;
   transition:color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.page-nav-link:hover, .page-nav-link:focus{
    color: #404bbf;
}

.page-nav-link:active{
    color:#404bbf;
}



.address{
    font-style: normal;
}

.list-address{
   list-style: none;
   display: flex;
gap: 40px;

}


.address-link{
    color: #434455;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0.02em;
    padding: 24px 0;
   transition:color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.address .link:hover, .address .link:focus{
    color: #404bbf;

}


.section{
   background-color: #2e2f42;
   background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url(../images/people-office.jpg);
   background-repeat: no-repeat;
   background-position: center;
   background-size: cover;
   max-width: 1440px;
   margin: 0 auto;
   padding-bottom: 188px;
   padding-top: 188px;
}
.section-future-title{
    color: #ffffff;
    font-size: 56px;
    line-height: 1.07;
    text-align: center;
    letter-spacing: 0.02em;
    text-align: center;
    max-width: 496px;
    margin: 0 auto;
    margin-bottom: 48px;
  
}



.button{
    background-color: #4D5AE5;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.04em;
    color: #ffffff;
    cursor: pointer;
    line-height: 1.5;
    margin: 0 auto;
    display: block;
    min-width: 169px;
    height: 56px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition:background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.button:hover, .button:focus{
  background-color: #404bbf;
}

.section-maine{
    padding-top: 120px;
    padding-bottom: 120px;
}

.title-section-maine{
    background-color: #F4F4FD;
    padding-top: 60px;
    padding-bottom: 102px;
    
    
    
}

.title-section-maine{
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;

}

.list-section-maine{
    display: flex;
    gap: 24px;

}

.item-section-maine{
    max-width: 264px;
    width: calc((100% - 72px) / 4);
}



.subtitle-section-maine{
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;
    margin-bottom: 8px;
  
    
}
.text-section-maine{
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #434455;
}

.div-icon-sectionn-maine{
    width: 264px;
    height: 112px;
    border: 1px solid #8e8f99;
    border-radius: 4px;
    background: #f4f4fd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.section-our-time{
    background-color: #F4F4FD;
    padding-bottom: 120px;
        padding-top: 120px;}

.title-section-time{
    font-size: 36px;
    line-height: 1.11;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    color: #2e2f42;
    margin-bottom: 72px;
    
}

.list-section-time{
   display: flex;
   gap: 24px;
}

.div-section-time{
    padding: 32px 0;
    
}



 .list-section-time:first-child{
    border-radius: 0px 0px 4px 4px;

 }

.time-card{
    background-color: #FFFFFF;
    width: calc((100% - 72px) / 4);
    border-radius: 0px 0px 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);
    
}
.subtitle-section-time{
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
   color: #2e2f42; 
   text-align: center;
margin-bottom: 8px;

}


.text-section-time{
    font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #434455;
        text-align: center;
        margin: 0 auto;
    }

    .section-protfolio{
        padding: 120px 0 120px 0;
    }

        .icon-section-time {
            fill: #f4f4fd;
        }

    .lici-icon-sectionn-time{
        padding: 32px 0;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: row;
      gap: 24px;
      margin-bottom: 32px;
      
    }

    

    .icon-background{
        width: 40px;
        height: 40px;
        transition:background-color  250ms cubic-bezier(0.4, 0, 0.2, 1);

    }

 .link-icon{
  width: 100%;
  height: 100%;
  background-color: #4d5ae5;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
        }

  .link-icon:hover,
   .link-icon:focus {
    background-color: #404bbf;
  }

   


 .title-section-protfolio{
     font-size: 36px;
     line-height: 1.11;
     text-align: center;
     letter-spacing: 0.02em;
     text-transform: capitalize;
     color: #2e2f42;
     margin-bottom: 72px;
 }

 .list-item-section-portfolio{
    width: calc((100% - 48px) / 3);
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
 }

  .list-item-section-portfolio:hover{
    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: #fff;
  }

.list-item-section-portfolio:hover .hiden-text{
    transform: translateY(0);
}

  .div-hiden-text{
    position: relative;
    overflow: hidden;
  }

  .hiden-text{
    font-weight: 400;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #f4f4fd;
        background-color: #4d5ae5;
        height: 100%;
        width: 100%;
        padding: 40px 32px;
       position: absolute;
       top: 0;
       left: 0;
      transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
       transform: translateY(100%)
  }
  
 .subtitle-section-protfolio{
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;
    font-weight: 500;
    margin-bottom: 8px;
    }
    
    .list-section-protfolio{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 24px;
        row-gap: 48px;
    }

    

 .text-section-portfolio{
    font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #434455;
        margin-left: 16px;
        margin-bottom: 32px;

    }

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

    }
 
 

.section-footer{
    background-color: #2E2F42;
    padding-top:100px ;
    padding-bottom: 100px;
    max-width: 1440px;
    display: flex;
}

.footer-div{
    display: flex;
    align-items: baseline;
}

.footer-inform{
    margin-right: 120px;
}


.footer-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;
     display: inline-block;
     margin-bottom: 16px;
}
.color-footer-logo{
    color: #f4f4fd;
}
.text-footer{
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #F4F4FD;
    max-width: 264px; 
}



.container-footer{
    display: flex;
    flex-direction: column;
    left: 600px;
  
   
}

    
.list-icon-footer{
    display: flex;
    gap: 16px;
}

 .icon-section-footer {
     fill: #f4f4fd;
 }

 

 .link-icon-footer{
     width: 100%;
     height: 100%;
     background-color: #4d5ae5;
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
 }

 .link-icon-footer:hover,
 .link-icon-footer:focus{
    background-color: #31d0aa;
 }


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





