
body{
    font-family: 'Roboto', sans-serif;
    color: var(--slate-color);
    background-color: var(--white-background);
}
:root {
    --iris-color: #4D5AE5;
    --navyblue-color: #2E2F42;
    --slate-color: #434455;
    --navyblue-color: #2E2F42;
    --ocean-color: #404BBF;
    --white-background: #fff;
    --cloud-background: #F4F4FD;
    --cornflower-color: #E7E9FC;
    --lightslate-color: #8E8F99;
    --green-color: #31D0AA;
    --dairy-color: #FCFCFC;
    --lightslate: #2E2F4266;
}
h1,
h2,
h3,
h4,
h5,
h6,
p{
    margin: 0;
}
ul,
ol{
    padding: 0;
    margin: 0;
}
.container{
    max-width: 428px;
    min-width: 320px;
    padding: 0 16px;
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
    .container{
        max-width: 738px;
        padding: 0 15px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1157.98px){
.tblet-container {
    max-width: 584px;
}
}
@media screen and (min-width: 1158px) {
    .container{
        max-width: 1158px;
    }
}
.header-container{
    display: flex;
    justify-content: space-between;
    align-items: center;


  
}
img{
    max-width: 100%;
    height: auto;
    display: block;
}
.link{
    text-decoration: none;
}
.list{
list-style: none;
}
.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;
  }

/*HEADER*/
.header {
    border-bottom: 1px solid var(--cornflower-color);
    box-shadow: 0px 1px 6px 0px rgba(46, 47, 66, 0.08), 0px 1px 1px 0px rgba(46, 47, 66, 0.16), 0px 2px 1px 0px rgba(46, 47, 66, 0.08);
}
/*@media only screen and (max-width: 428px) {
   .header{
    padding-top: 22.5px;
    padding-bottom: 23.5px;
  }
}*/
.header-nav {
    display: flex;
    align-items: center;
}
.header-nav-logo {
    display: block;
    color: var(--iris-color);
    font-family: Raleway,  sans-serif;
font-size: 18px;
font-weight: 800;
line-height: 1.17;
letter-spacing: 0.03em;
text-transform: uppercase;
padding: 24px 0;
}
@media only screen and (min-width: 768px) {
   .header-nav-logo{
    margin-right: 76px;
  }
}
.header-nav-logos{
    color: var(--navyblue-color);
}

.header-nav-list{
    display: flex;
    gap: 40px;

}
@media only screen and (max-width: 767.98px) {
   .header-nav-list{
    display: none;
  }
}
.header-nav-link {
    position: relative;
    display: block;
    color: var(--navyblue-color);
    font-size: 16px;
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);
}
.header-nav-link::after{
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    bottom: 0;
    left: 0;
    gap: 20px;
    border-radius: 2px;
    bottom: -1px;
     
    /*border-radius: 2px;
    background-color: var(--ocean-color);*/
}

.header-nav-link:hover,
.header-nav-link:focus
{
    color: var(--ocean-color);
}
.header-nav-link.curren{
    color: var(--ocean-color);
}
.header-nav-link.curren::after{
    background-color: var(--ocean-color);
}
.address {
    font-style: normal;
}
.address-list {
    display: flex;
}
@media only screen and (min-width: 768px) {
   .address-list{
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    align-items: center;
  }
}
@media only screen and (min-width: 1158px) {
   .address-list{
    flex-direction: row;
    gap: 40px;
    padding: 24px 0;
  }
}
@media only screen and (max-width: 767.98px) {
   .address-list{
    display: none;
  }
}
.address-link {
    display: block;
    color: var(--slate-color);
    font-size: 12px;
line-height: 1.6;
letter-spacing: 0.04em;

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

}
@media only screen and (min-width: 1158px) {
   .address-link{
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }
}
.address-link:hover,
.address-link:focus{
    color: var(--ocean-color);
}
/*MAIN*/
/*HERO*/
.hero{
    max-width: 428px;
    height: 432px;
    margin: 0 auto;
    background-color: var(--navyblue-color);
background-image: linear-gradient(
    rgba(46, 47, 66, 0.70),
    rgba(46, 47, 66, 0.70)
),
 url(../images/fon/Dark-bgmob@1x.jpg);
padding: 112px 0;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
@media (min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
   .hero{
    background-image: linear-gradient(
    rgba(46, 47, 66, 0.70),
    rgba(46, 47, 66, 0.70)
),
 url(../images/fon/Dark-bgmob@2x.jpg);
  }
}
@media screen and (min-width: 768px) {
    .hero{
        max-width: 768px;
        height: 436px;
        padding: 112px 0;
        background-image: linear-gradient(
    rgba(46, 47, 66, 0.70),
    rgba(46, 47, 66, 0.70)
),
 url(../images/fon/Dark-bgtab@1x.jpg);
    }
}
@media (min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
   .hero{
    background-image: linear-gradient(
    rgba(46, 47, 66, 0.70),
    rgba(46, 47, 66, 0.70)
),
 url(../images/fon/Dark-bgtab@2x.jpg);
  }
}
@media screen and (min-width: 1158px) {
    .hero{
        max-width: 1440px;
        height: 600px;
        padding: 188px 0;
        background-image: linear-gradient(
    rgba(46, 47, 66, 0.70),
    rgba(46, 47, 66, 0.70)
),
 url(../images/fon/people-office\ 1des@1x.jpg);
    }
}
@media (min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {
   .hero{
    background-image: linear-gradient(
    rgba(46, 47, 66, 0.70),
    rgba(46, 47, 66, 0.70)
),
 url(../images/fon/people-office\ 1des@2x.jpg);
  }
}

.hero-title{
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 72px;
    max-width: 320px;
    text-align: center;
    color: var(--white-background);
    font-size: 36px;
font-weight: 700;
line-height: 1.11;
letter-spacing: 0.02em;
}
@media screen and (min-width: 768px) {
    .hero-title{
      margin-bottom: 36px;
      max-width: 496px;
      font-size: 56px;
      line-height: 1.07;
    }
}
@media screen and (min-width: 1158px) {
    .hero-title{
        margin: 0 auto 48px;
    }
}
.hero-btn{
    display: block;
    min-width: 169px;
    height: 56px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Roboto', sans-serif;
    color: var(--white-background);
    font-size: 16px;
font-weight: 500;
line-height: 1.5;
letter-spacing: 0.04em;
background: var(--iris, #4D5AE5);
cursor: pointer;
border: none;
border-radius: 4px;
padding: 16px 32px;
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
transition: background-color 250ms  cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn:hover,
.hero-btn:focus{
 background-color: var(--ocean-color);
 box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);

}
/*ASIDE*/
.aside {
    background-color: var(--white-background);
    padding: 96px 0;
}
@media screen and (min-width: 1158px) {
    .aside{
        padding: 120px 0;
    }
}
.aside-title {
}
.aside-list {
    display: block;
}
@media only screen and (min-width: 768px) {
   .aside-list{
    display: flex;
    flex-wrap: wrap;
    row-gap: 72px;
    column-gap: 24px;
  }
}
@media only screen and (min-width: 1158px) {
   .aside-list{
    display: flex;
    flex-wrap:nowrap;
    gap: 24px;
  }
}
.aside-item {
    /*flex-basis: calc((100% - 24px * 3)/4);*/
}
@media only screen and (max-width: 767.98px) {
   .aside-item:not(:last-child){
    margin-bottom: 72px;
  }
}
@media only screen and (min-width: 768px) {
   .aside-item{
    flex-basis: calc((100% - 24px)/2);
  }
}
@media only screen and (min-width: 1158px) {
    .aside-item{
        flex-basis: calc((100% - 24px * 3)/4);
  }
}
.aside-list-icon{
    display: none;
    width: 264px;
    height: 112px;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    background-color: var(--cloud-background);
    border-radius: 4px;
}
@media only screen and (min-width: 1158px) {
   .aside-list-icon{
    display: flex;
  }
}
.aside-subject {
    color: var(--navyblue-color);
    font-size: 36px;
font-weight: 500;
line-height: 1.11;
letter-spacing: 0.02em;
margin-bottom: 8px;
}
@media only screen and (max-width: 767.98px) {
   .aside-subject{
    text-align: center;
  }
}
@media only screen and (min-width: 1158px) {
   .aside-subject{
    font-size: 20px;
    line-height: 1.2;
  }
}
.aside-text {
    color: var(--slate-color);
    font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
}
/*WORK*/
.work {
    background-color: var(--white-background);
    padding-bottom: 120px;
}
@media only screen and (max-width: 1157.98px) {
   .work{
    display: none;
  }
}
.work-title {
    margin-bottom: 72px;
    color: var(--navyblue-color);
    font-size: 36px;
font-weight: 700;
line-height: 1.11;
letter-spacing: 0.02em;
text-transform: capitalize;
text-align: center;
}
.work-list {
    display: flex;
    gap: 24px;
}
.work-item {
    flex-basis: calc((100% - 24px * 2)/3);
}
/*TEAM */
.team {
    background-color: var(--cloud-background);
    padding: 96px 0;
}
@media only screen and (min-width: 1158px) {
   .team{
    padding: 120px 0;
  }
}
.team-title {
    margin-bottom: 72px;
    color: var(--navyblue-color);
    font-size: 36px;
font-weight: 700;
line-height: 1.11;
letter-spacing: 0.02em;
text-transform: capitalize;
text-align: center;
}
.team-list{
    display: block;
    /*gap: 24px;*/
    
}
@media only screen and (min-width: 768px) {
   .team-list{
    display: flex;
    flex-wrap: wrap;
    row-gap: 64px;
    column-gap: 24px;
  }
}
@media only screen and (min-width: 1158px) {
   .team-list{
    gap: 24px;
    flex-wrap: nowrap;
  }
}
.team-item {
    max-width: 264px;
    margin: 0 auto;
     flex-basis: calc((100% - 24px * 3)/4);
     background-color: var(--white-background);
     border-radius: 0px 0px 4px 4px;
     background: var(--white-background);
     box-shadow: 0px 2px 1px 0px rgba(46, 47, 66, 0.08), 0px 1px 1px 0px rgba(46, 47, 66, 0.16), 0px 1px 6px 0px rgba(46, 47, 66, 0.08);
}
@media only screen and (max-width: 767.98px) {
   .team-item:not(:last-child){
    margin-bottom: 72px;
  }
}
@media only screen and (min-width: 768px) {
   .team-item{
    flex-basis: calc((100% - 24px)/2);
  }
}
@media only screen and (min-width: 1158px) {
   .team-item{
    flex-basis: calc((100% - 24px * 3)/4);
  }
}
.team-img{
    margin: 0 auto;
}
.team-st{
    padding: 32px 0;
}
.team-subject {
    color: var(--navyblue-color);
    font-size: 20px;
font-weight: 500;
line-height: 1.2;
letter-spacing: 0.02em;
text-align: center;
margin-bottom: 8px;
}
.team-text {
    text-align: center;
    color: var(--slate-color);
    font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
margin-bottom: 8px;
}

.inner-list {
    display: flex;
    gap: 24px;
    justify-content: center;
}
.inner-item {
    flex-basis: ((100% - 24px *3) / 4);
    width: 40px;
    height: 40px;
}
.inner-link {
    display: flex;

    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--iris-color);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);


}
.inner-link:hover,
.inner-link:focus{
    background-color: var(--ocean-color);
}
.inner-icon{
    fill: var(--cloud-background);
}
/*CLIENT*/
.client {
    padding: 96px 0;
}
@media only screen and (min-width: 1158px) {
   .client{
    padding: 120px 0;
  }
}
.client-title {
    margin-bottom: 72px;
    text-align: center;
    font-size: 36px;
font-style: normal;
font-weight: 700;
line-height: 1.11;
letter-spacing: 0.02em;
text-transform: capitalize;
text-align: center;
color: var(--navyblue-color);
}
.client-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 72px;
    column-gap: 16px;
}
@media only screen and (min-width: 768px) {
   .client-list{
    column-gap: 24px;
  }
}
@media only screen and (min-width: 1158px) {
   .client-list{
    gap: 24px;
    flex-wrap: nowrap;
  }
}
.client-item {
    flex-basis: calc((100% - 24px) / 2);
    width: 190px;
    height: 88px;  
}
@media only screen and (min-width: 768px) {
   .client-item{
    flex-basis: calc((100% - 24px * 2)/ 3);
    width: 168px;
    height: 88px; 
  }
}
@media only screen and (min-width: 1158px) {
   .client-item{
    flex-basis: calc((100% - 24px * 5) / 6);
  }
}
.client-link{
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid var(--lightslate-color);
    color: var(--lightslate-color);
   transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), 
   color 250ms cubic-bezier(0.4, 0, 0.2, 1);

}

.client-link:hover,
.client-link:focus{
    border-color: 1px solid var(--ocean-color);
    color: var(--ocean-color);
}
.client-list-icon{
    fill: currentColor;
}

/*FOOTER*/
.footer{
    background-color: var(--navyblue-color);
    padding: 96px 0;
    /* padding-right: auto; */
}
@media only screen and (min-width: 1158px) {
   .footer{
    padding-right: auto;
    padding: 100px 0;
  }
}
.footer-box{
    /* margin-right: 120px; */
    
}
@media only screen and (max-width: 767.98px) {
   .footer-box{
    margin: 0 auto;
    text-align: center;
  }
}
@media only screen and (min-width: 1158px) {
   .footer-box{
    margin-right: 120px;
  }
}

.footer-logo {
    display: inline-block;
    color: var(--iris-color);
    font-family: Raleway,  sans-serif;
font-size: 18px;
font-weight: 800;
line-height: 1.17;
letter-spacing: 0.03em;
text-transform: uppercase;
margin-bottom: 16px;
}
.footer-logos{
    color: var(--cloud-background);
}
.footer-text {
    max-width: 264px;
    color: var(--cloud-background);
    font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
text-align: left;
}
.footer-wrap {
}
@media only screen and (max-width: 767.98px) {
   .footer-wrap{
    margin: 0 auto;
    text-align: center;

  }
}
.holder{
    display: flex;
    /* align-items: baseline; */
}
@media only screen and (max-width: 1157.98px) {
   .holder{
    flex-direction: row;
    flex-wrap: wrap;
    gap: 72px 24px;
  }
}
@media only screen and (min-width: 1158px) {
   .holder{
    align-items: baseline;
  }
}

.footer-wrap-titel{
    font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 1.5;
letter-spacing: 0.02em;
color: var(--white-background);
margin-bottom: 16px;
}
.footer-wrap-list {
    display: flex;
    gap: 16px;
}
.footer-wrap-item {
    flex-basis: calc((100% - 16px * 3) / 4);
    width: 40px;
    height: 40px;
}
.footer-wrap-link {
    display: flex;
    width: 100%;
    height: 100%;
    
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--iris-color);
    fill: var(--cloud-background);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-wrap-link:hover,
.footer-wrap-link:focus{
 background-color: var(--green-color);
}
/* FOOTER EMAIL*/
.footer-email {
    /* margin-left: 80px; */
}
@media only screen and (max-width: 767.98px) {
   .footer-email{
    text-align: center;
    margin: 0 auto;
    min-width: 100%;
  }
}
@media only screen and (min-width: 1158px) {
   .footer-email{
    margin-left: 80px;
  }
}
.footer-email-text {
    font-size: 16px;
font-weight: 500;
line-height: 1.5;
letter-spacing: 0.02em;
color: var(--white-background);
margin-bottom: 16px;
}
.form-email {
    /* display: flex; */
    display: block;
    /* gap: 24px; */
}
@media only screen and (max-width: 767.98px) {
   .form-email{
    align-items: center;
  }
}
@media only screen and (min-width: 768px) {
   .form-email{
    display: flex;
    gap: 24px;
  }
}
.footer-input {
     /* width: 264px; */
    width: 100%;
    height: 40px;
    padding: 8px 16px;

    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: var(--white-background);


    outline: transparent;
  background-color: transparent;
    border-radius: 4px;
border: 1px solid var(--white-background);
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}
.footer-input::placeholder{
    color: var(--white-background);
}
@media only screen and (min-width: 767.98px) {
   .footer-input{
    width: 264px;
  }
}
.btn-email {
    margin-top: 24px;
    min-width: 165px;
    display: inline-flex;
    padding: 8px 24px;
    align-items: center;
    justify-content: center;
    background-color: var(--iris-color);
    border-radius: 4px;
    border: none;
    cursor: pointer;

    font-size: 16px;
font-weight: 500;
line-height: 1.5;
letter-spacing: 0.04em;
color: var(--white-background);
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media only screen and (min-width: 767.98px) {
   .btn-email{
    margin-top: 0;
  }
}
.btn-email:hover,
.btn-email:focus{
 background-color: var(--ocean-color);
}
.footer-input-icon{
    margin-left: 16px;
}
.footer-input-icon{
    fill: var(--white-background);
}
/*PORTFOLIO*/
.content {
    background-color: var(--white-background);
    padding: 96px 0 120px 0;
}
.content-title {
}
.content-list {
    justify-content: center;
    display: flex;
    gap: 24px;
    margin-bottom: 72px;
}
.content-item {
}
.content-btn {
    color: var(--iris-color);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
font-weight: 500;
line-height: 1.5;
letter-spacing: 0.04em;
background: var(--cloud, #F4F4FD);
cursor: pointer;
border-radius: 4px;
border: 1px solid var(--cornflower-color);
padding: 12px 24px;
transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1), background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.content-btn:hover,
.content-btn:focus{
    color: var(--white-background);
    background-color: var(--ocean-color);
    border: 1px solid transparent;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.12), 0px 2px 1px 0px rgba(0, 0, 0, 0.08), 0px 3px 1px 0px rgba(0, 0, 0, 0.10);
}
/*Projects*/
.projcts-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 48px;
    column-gap: 24px;

}
.projcts-item{
flex-basis: calc((100% - 24px * 2)/3);
}
.projcts-link{
    display: block;
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.projcts-link:hover,
.projcts-link:focus{
    box-shadow: 0px 2px 1px 0px rgba(46, 47, 66, 0.08), 0px 1px 1px 0px rgba(46, 47, 66, 0.16), 0px 1px 6px 0px rgba(46, 47, 66, 0.08);
}
.projcts-box{
    position: relative;
    overflow: hidden;
}
.projcts-overlay{
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100%);
    width: 100%;
    height: 100%;
    background-color: var(--iris-color);
    padding: 40px 32px;
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);

}
.projcts-link:hover .projcts-overlay,
.projcts-link:focus .projcts-overlay{
    transform: translateY(0%);
}
.projcts-box-text{
    font-size: 16px;
    font-weight: 400;
line-height: 1.5;
letter-spacing: 0.02em;
color: var(--cloud-background);
}
.projct-st{
    padding: 32px 16px;
    border: 1px solid var(--cornflower-color);
    border-top: none;
    background: var(--white-background);

}
.projcts-submit {
    color: var(--navyblue-color);
    font-size: 20px;
font-weight: 500;
line-height: 1.2;
letter-spacing: 0.02em;
margin-bottom: 8px;
}
.projcts-text {
    color: var(--slate-color);
    font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
}
/* MODAL*/
.backdrop {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    background-color: rgba(46, 47, 66, 0.40);
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.backdrop.is-hidden{
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
.modal {
    padding: 72px 24px 24px 24px;
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translateX(-50%) translateY(-50%);
    width: 408px;
    min-height: 584px;
    border-radius: 4px ;
    background-color: var(--dairy-color);
    box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.20), 0px 1px 3px 0px rgba(0, 0, 0, 0.12), 0px 1px 1px 0px rgba(0, 0, 0, 0.14);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1); 
}
.modal-btn {
    position: absolute;
    display: flex;
     top: 24px;
     right: 24px;
     padding: 0;
     border: 1px solid rgba(0, 0, 0, 0.1);
     align-items: center;
     justify-content: center;
     cursor: pointer;

     width: 24px;
     height: 24px;
     border-radius: 50%;
     background-color: var(--cornflower-color);
     fill: var(--navyblue-color);
     transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border 250ms cubic-bezier(0.4, 0, 0.2, 1);

}
.modal-btn:hover,
.modal-btn:focus{
background-color: var(--ocean-color);
fill: var(--white-background);
border: none;
}
.modal-icon{
   transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
/* modal input*/
.modal-text{
    text-align: center;
    font-size: 16px;
font-weight: 500;
line-height: 1.5;
letter-spacing: 0.02em;
color: var(--navyblue-color);
margin-bottom: 16px;
}
.form-field{
    margin-bottom: 8px;

}
.modal-form-label{
    display: block;
    margin-bottom: 4px;

    font-size: 12px;
line-height: 1.17;
letter-spacing: 0.04em;
color: var(--lightslate-color);
}
.modal-field{
    position: relative;
}
.modal-form-input{
    width: 100%;
    height: 40px;
    border-radius: 4px;
    padding-left: 38px;
    border: 1px solid rgba(46, 47, 66, 0.40);
    background-color: transparent;
    outline: transparent;
    transition:  border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-form-input:focus{
border-color: var(--iris-color);
}
.modal-form-input:focus + .modal-form-icon{
    fill: var(--iris-color);
}
.modal-form-icon{
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    fill: var(--navyblue-color);
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-comment{
    margin-bottom: 16px;
}
.modal-form-comment{
    width: 100%;
    height: 120px;
    border-radius: 4px;
    border: 1px solid rgba(46, 47, 66, 0.40);
    resize: none;
    background-color: transparent;
    outline: transparent;
    padding: 8px 16px;

    font-size: 12px;
line-height: 1.17;
letter-spacing: 0.04em;
color: rgba(46, 47, 66, 0.40);
transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-form-comment:focus{
    border-color: var(--iris-color);
}
.form-privacy{
    margin-bottom: 24px;
}
.form-privacy-input:checked + .form-privacy-label > .form-privacy-box{
    background-color: var(--ocean-color);
    fill: var(--cloud-background);
    border:none;
}
.form-privacy-label{
    display: block;
    font-size: 12px;
line-height: 1.17;
letter-spacing: 0.04em;
color: var(--lightslate-color);
}
.form-privacy-box{
    width: 16px;
    height: 16px;
    border: 1px solid rgba(46, 47, 66, 0.40);
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    fill: transparent;
    margin-right: 8px;

     transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border 250ms cubic-bezier(0.4, 0, 0.2, 1), fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-privacy-link{
    color: var(--iris-color);
}
.form-btn{
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 169px;
    height: 56px;
    text-align: center;
    font-size: 16px;
font-weight: 500;
line-height: 1.5;
letter-spacing: 0.64px;
color: var(--white-background);
padding: 16px 32px;

background-color: var(--iris-color);
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
border-radius: 4px;
border: none;
cursor: pointer;
 transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-btn:hover,
.form-btn:focus{
background-color: var(--ocean-color);
}
/*Mobail menu*/
.menu-container js-menu-container{
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.menu-toggle {
    min-height: 22px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    background-color: transparent;
    cursor: pointer;
    border: none;
    outline: none;
  }
  .mobile-menu-icon{
    stroke: var(--navyblue-color);
  }
  
  @media only screen and (min-width: 768px) {
    .menu-toggle {
        display: none;
      }
  }
  .menu-container .menu-toggle-close{
    position: absolute;
    top: 24px;
    right: 24px;
    min-height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    color: var(--navyblue-color);
    background-color: var(--cloud-background);
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 50%;
    outline: none;
    cursor: pointer;
  }
  .mobile-close{
    fill: currentColor;
  }
  .menu-toggle:hover,
  .menu-toggle:focus {
    background-color: rgba(0, 0, 0, 0.1);
  }
  
  .menu-container {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 40px;
    padding-top: 80px;
    background-color: var(--white-background);
    z-index: 999;
  
    transform: translateX(100%);
    transition: transform 250ms ease-in-out;
  }
  
  .menu-container.is-open {
    transform: translateX(0);
  }
  
  
  .mobile-menu {
   margin-bottom: auto;
  }
  
  .mobile-menu .link-mobail {
    display: block;
    color: var(--navyblue-color);
    font-size: 36px;
font-weight: 700;
line-height: 1.11;
letter-spacing: 0.02em;
text-transform: capitalize;
  }
  .mobile-menu-item .active{
    color: var(--ocean-color);
  }
  @media (hover: hover) {
    .mobile-menu .link-mobail:hover,
  .mobile-menu .link-mobail:focus{
    color: var(--ocean-color);
  }
  }
  .mobile-menu-item:not(:last-child){
    margin-bottom: 40px;
  }
  .menu-address-list {
    margin-bottom: 48px;
}
.menu-tel {
    font-family: Roboto;
    font-size: 35px;
font-weight: 700;
line-height: 1.11;
letter-spacing: 0.02em;
margin-bottom: 40px;
color: var(--iris-color);
}
.menu-email {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--slate-color);
}
.menu-address:not(:last-child){
    margin-bottom: 40px;
}

.menu-icon {
    display: flex;
    justify-content: space-between;
    max-width: 328px;
    /* gap: 56px; */
}
.menu-wrap-item {
    /* flex-basis: calc((100% - 56px * 3) / 4); */
    width: 40px;
    height: 40px;
}
.memu-wrap-link {
    display: flex;
    width: 100%;
    height: 100%;
    
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--iris-color);
    fill: var(--cloud-background);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}



.memu-wrap-link:hover,
.memu-wrap-link:focus{
    background-color: var(--green-color);
}
.menu-wrap-icon{
    stroke: var(--ocean-color);
}
