
/* Base styles */
body {
    color: #434455;
    background-color: #FFFFFF;
    font-family: Roboto, sans-serif;
    
}
a {
    text-decoration: none;
    color: currentColor;
}
ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
button{
    font-family: inherit;
    color: currentColor;
    background-color: transparent;
    cursor: pointer;
    border: none;
}
h1, h2, h3, h4, h5, h6, p{
    margin: 0;
}
img{
    display: block;
    max-width: 100%;
    height: auto;
}
.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;
}
.section{
    display: block;
    padding-top: 96px;
    padding-bottom: 96px;
}

@media screen and (min-width: 768px) {
    /* tablet */
    .section{
        padding-top: 96px;
        padding-bottom: 96px;
  }
}
@media screen and (min-width: 1158px) {
    /* desctop */
    .section{
        padding-top: 120px;
        padding-bottom: 120px;
  }
}
.container{
    max-width: 320px;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 768px) {
    /* tablet */
    .container{
       max-width: 768px; 
    
  }
}
@media screen and (min-width: 1158px) {
    /* desctop */
    .container{
        max-width: 1158px;
        padding-left: 15px;
        padding-right: 15px;
  }
}


/* Header */
.header {
    border-bottom: 1px solid #e7e9fc;
    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);
}
.header-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}
.nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
}
.logo {
    color:#4D5AE5;
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.17;
    letter-spacing: 0.54px;
    text-transform: uppercase;
    margin-top: 17.5px;
    margin-bottom: 17.5px;
}
.logo-header{
    margin-right: 76px;
}
@media screen  and (max-width: 1157.98px) {
    /* tablet */
    .logo-header{
        margin-right: 120px; 
}}

.logo-black {
    color: #2E2F42;
}
.nav-list {
    
    display: flex;
    gap: 40px;
    align-items: center;
}
@media screen and (max-width:767.98px) {
    .nav-list{
      display: none;
  }
}

.nav-link {
    position: relative;
    color: #2E2F42;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5; 
    letter-spacing: 0.32px;
    padding: 24px 0;
    display: block;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
.nav-link:hover, .nav-link:focus {
    color: #404BBF;
}
.nav-link.active{
    color: #404BBF;
}
.nav-link.active::after{
    content: "";
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background-color:  #404BBF;
    bottom: -1px;
}
.contacts {
    font-style: normal;
    display: flex;
   
}
.contacts-list {
    display: flex;
    gap: 40px;
}
@media screen and (max-width:767.98px) {
    .contacts-list{
      display: none;
  }
}
@media screen and (max-width: 1157.98px){
    /* tablet */
    .contacts-list{
        gap: 12px;
        flex-direction: column;

}}

.contacts-link {
    color: #434455;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5; 
    letter-spacing: 0.32px;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media screen and (max-width: 1157.98px){
    /* tablet */
    .contacts-link{
        font-size: 12px;
        line-height: 1.16; 
        letter-spacing: 0.48px;
}}



.contacts-link:hover, .contacts-link:focus {
    color: #404BBF;

}

/* Main */ 
/* Section One */

.hero-section{

    background-color: #2E2F42;
    padding-top: 72px;
    padding-bottom: 72px;
    background-image: linear-gradient(rgba(46, 47, 66, 0.70), rgba(46, 47, 66, 0.70)),url(../images/bg/people-office_mob@1x.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    max-width: 1440px;
    margin: 0 auto;
}
@media screen and (min-resolution:192dpi) {
    .hero-section{
    background-image: linear-gradient(rgba(46, 47, 66, 0.70), rgba(46, 47, 66, 0.70)),url(../images/bg/people-office_mob@2x.jpg);
  }
}
@media screen  and (min-width: 768px) {
    /* tablet */
    .hero-section{
        padding-top: 112px;
        padding-bottom: 112px;
        background-image: linear-gradient(rgba(46, 47, 66, 0.70), rgba(46, 47, 66, 0.70)), url(../images/bg/people-office_tab@1x.jpg);
}}
@media screen and (min-width: 768px) and (min-resolution:192dpi) {
    .hero-section{
     background-image: linear-gradient(rgba(46, 47, 66, 0.70), rgba(46, 47, 66, 0.70)),url(../images/bg/people-office_tab@2x.jpg);
   }
 }
@media screen  and (min-width: 1158px) {
    /*  desctop */
    .hero-section{
        padding-top: 188px;
        padding-bottom: 188px;
        background-image: linear-gradient(rgba(46, 47, 66, 0.70), rgba(46, 47, 66, 0.70)),url(../images/bg/people-office.jpg);
}}
@media screen and (min-width: 1158px) and (min-resolution:192dpi) {
    .hero-section{
     background-image: linear-gradient(rgba(46, 47, 66, 0.70), rgba(46, 47, 66, 0.70)),url(../images/bg/people-office_desc@2x.jpg);
   }
 }

.hero-title{
    color:  #FFF;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height:1.07; 
    letter-spacing: 1.12px;
    max-width: 212px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 72px;
}

@media screen  and (min-width: 768px) {
    /* tablet */
    .hero-title{
        font-size: 56px;
        margin-bottom: 36px;
        max-width: 496px;
        
}}
@media screen  and (min-width: 1158px) {
    /*  desctop */
    .hero-title{
        margin-bottom: 48px;
}}

.btn{
    color:#FFFFFF;
    background-color: #4D5AE5; 
    line-height:1.5; 
    letter-spacing: 0.04em;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 4px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    min-width: 169px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    
}
.btn:hover, .btn:focus{
    background-color: #404BBF;
    color:#FFFFFF;
}
/* Section Two */
.description{
    padding-bottom: 96px;
    padding-top: 96px;
}
@media screen  and (min-width: 1158px) {
    /*  desctop */
    .description{
    padding-bottom: 120px;
    padding-top: 120px;
}}
.benefits-container{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #F4F4FD;
    border-radius: 4px;
    border: 1px solid  #8E8F99;
    width: 264px;
    height: 112px;
    margin-bottom: 8px;
   
}
@media screen  and (max-width: 1157.98px) {
    .benefits-container{
        display: none;
}}

.benefits-icon{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.title-list{
    display: flex;
    gap: 72px;
    flex-wrap: wrap;
}
@media screen  and (min-width: 768px) {
    /* tablet */
    .title-list{
        gap: 72px 24px;
}}
@media screen  and (min-width: 1158px) {
    /*  desctop */
    .title-list{
        gap: 24px;
}}
.list-item{
    width: 100%;
}
@media screen  and (min-width: 768px) {
    /* tablet */
    .list-item{
        width: calc((100% - 24px * 1) / 2);
}}
@media screen  and (min-width: 1158px) {
    /*  desctop */
    .list-item{
        width: calc((100% - 24px * 3) / 4);
}}
.title-item{
    color:  #2E2F42;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.72px;
    text-transform: capitalize;
    margin-bottom: 8px;
    

}
@media screen  and (min-width: 768px) {
    /* tablet */
    .title-item{
        text-align: left;
}}
@media screen  and (min-width: 1158px) {
    /*  desctop */
    .title-item{
        font-size: 20px;
        font-weight: 500;
        letter-spacing: 0.4px;
        
}}

.item-text{
    color:  #434455;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5; 
    letter-spacing: 0.32px;
    text-align: left;
}
@media screen  and (min-width: 1158px) {
    /*  desctop */
    .item-text{
        font-weight: 400; 
}}

/* Section Tree */
.team{
    background-color: #F4F4FD;
}
.team-container{
   
}
.title-team{
    color: #2E2F42;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.11;
    letter-spacing: 0.72px;
    text-transform: capitalize;
    margin-bottom: 72px;
}
.team-list{
    display: flex;
    gap: 72px;
    flex-wrap: wrap;
    justify-content: center;
    
}
@media screen and (min-width: 768px) {
    .team-list{
        gap: 64px 24px;
  }
}
@media screen and (min-width: 1158px) {
    .team-list{
        gap: 24px;
  }
}

.team-item{
    background-color: #FFF;
    border-radius: 0px 0px 4px 4px;
    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);
    max-width: 264px;
    
}
@media screen and (min-width: 768px) {
    .team-item{
        width: calc((100% - 24px * 1) / 2);
  }
}

@media screen and (min-width: 1158px) {
    .team-item{
        width: calc((100% - 24px * 3) / 4);
  }
}

.team-icon{
    min-width: 100%;
}
.team-container{
    padding: 32px 0;
}
.team-name{
    color: #2E2F42;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2; 
    letter-spacing: 0.4px;
    margin-bottom: 8px;
    
}
.team-activity{
    text-align: center;
    font-size: 16px;
    line-height: 1.5; 
    letter-spacing: 0.32px;
}
.socials{
    display: flex;
    justify-content: center;
    align-content: center;

    gap: 24px;
    margin-top: 8px;
}
.socials-item{
    width: 40px;
    height: 40px;
    
}
.socials-link{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #F4F4FD;
    background-color: #4D5AE5;
   
    border-radius: 50%;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.socials-link:hover, .socials-link:focus{
    background-color:#404BBF ;
}
.socials-icon{
    fill: currentColor;
}
/* Section four */

.title-portfolio {
    color:  #2E2F42;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.11;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    margin-bottom: 72px;
}
.portfolio-list{
    
    display: flex;
    flex-wrap: wrap;
    gap:48px;


}
@media screen and (min-width: 768px) {
    .portfolio-list{
        column-gap: 24px;
        row-gap: 72px;
  }
}

@media screen and (min-width: 1158px) {
    .portfolio-list{
        column-gap: 24px;
        row-gap: 48px;
  }
}

.portfolio-item {
    width: 100%;
    background-color:  #FFF;
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);

}

@media screen and (min-width: 768px) {
    .portfolio-item{
        width: calc((100% - 24px * 1) / 2);
  }
}

@media screen and (min-width: 1158px) {
    .portfolio-item{
        width: calc((100% - 24px * 2)/3);
  }
}

.portfolio-item:hover, .portfolio-item: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);


}
.portfolio-image {
}
.portfolio-container {
    padding: 32px 16px;
    border: 1px solid #E7E9FC;
    border-top: none;
}
.portfolio-container-img{
    position: relative;
    overflow: hidden;
}
.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 32px;
    color:  #F4F4FD;
    font-size: 16px;
    line-height: 1.5; 
    letter-spacing: 0.02em;
    background-color: #4D5AE5;

    transform: translateY(100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-item:hover .overlay{
    transform: translateY(0%);
}

.subtitle {
    color:  #2E2F42;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}
.desc {
    font-size: 16px;
    line-height: 1.5; 
    letter-spacing: 0.02em;
}
/* Footer */
/* Footer LOGO*/
.footer{
    background-color: #2E2F42;
    padding: 100px 0;
}
.container-footer{
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen  and (min-width: 768px) {
    /* tablet */
    .container-footer{
        flex-direction: row;
        align-items: baseline;
        flex-wrap: wrap;
        margin-left: 108px;

}}
@media screen  and (min-width: 1158px) {
    /*  desctop */
    .container-footer{
        margin-left: auto;
}}

.container-logo-footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 72px;
}
@media screen  and (min-width: 768px) {
    /* tablet */
    .container-logo-footer{
       align-items: baseline;
        margin-right: 24px;
}}
@media screen  and (min-width: 1158px) {
    /*  desctop */
    .container-logo-footer{
        margin-right: 120px;
        margin-bottom: auto;
}}
.logo-footer{  
    display: inline-block;
}
.logo.logo-footer{
    margin-top: 0;
}
.logo-white{
    color: #F4F4FD;
    font-family: Raleway, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.11;
    letter-spacing: 0.54px;
    text-transform: uppercase;
}

/* Footer Socials*/

.footer-socials-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 72px;
}
@media screen  and (min-width: 768px) {
    /* tablet */
    .footer-socials-container{
        align-items:baseline;
        margin-bottom: 0;
}}

.footer-text{
    display: flex;
    color: #F4F4FD;
    font-size: 16px;
    line-height: 1.5; 
    letter-spacing: 0.32px;
    width: 264px;


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

.footer-socials {
    display: flex;
    justify-content: center;
    align-content: center;

    gap: 16px;
}

.footer-socials-item {
    width: 40px;
    height: 40px;
}
.footer-socials-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #F4F4FD;
    background-color: #4D5AE5;
   
    border-radius: 50%;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    
}
.footer-socials-link:hover,
.footer-socials-link:focus{
    background-color: #31D0AA;
}

.footer-socials-icon {
    fill:currentColor;
}

/* Footer modal*/

.footer-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen  and (min-width: 768px) {
    /* tablet */
    .footer-modal{
        align-items:baseline;
}}
@media screen  and (min-width: 1158px) {
    /*  desctop */
    .footer-modal{
        margin-left: auto;
}}

.footer-modal-text {
    margin-bottom: 16px;
    color:  #FFF;
    font-size: 16px;

    font-weight: 500;
    line-height: 1.5; 
    letter-spacing: 0.32px;
}
.form-subscribe {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

@media screen  and (max-width: 767.98px) {
    /* mobile */
    .form-subscribe-field{
        margin-right: auto;
        margin-left: auto;
}}

.form-subscribe-input {
    width: 264px;
    height: 40px;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    border-radius: 4px;
    border: 1px solid #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    background-color: transparent;
    outline: transparent;
    padding: 8px 16px;
}
@media screen and (max-width: 1157.98px) {
    .form-subscribe-input{
        opacity: 0.3;
}}

.form-subscribe-input::placeholder{
    color: #FFFFFF;
}

.footer-modal-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 165px;
    padding: 8px 24px;
    color: #FFF;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5; 
    letter-spacing: 0.64px;
    background-color:#4D5AE5;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media screen  and (max-width: 767.98px) {
    /* mobile */
    .footer-modal-btn{
        margin-right: auto;
        margin-left: auto;
}}

.footer-modal-btn:hover, .footer-modal-btn:focus {
    background-color:#404BBF;
}
.frame-btn {
    margin-left: 16px;
    fill: #FFF;
    
}

/* Backdrop */

.backdrop{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    
    top:0;
    left: 0;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    background-color:rgba(46, 47, 66, 0.4);
    transition:  opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.backdrop.is-open{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    
}


.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    border-radius: 4px;
    background-color:  #FCFCFC;
    width: 408px;
    min-height: 584px;

    padding: 24px;
    padding-top: 72px;
    box-shadow:0px 1px 1px rgba(0, 0, 0, 0.14), 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 2px 1px rgba(0, 0, 0, 0.2);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);

}
@media screen  and (max-width: 767.98px) {
    /* mobile */
    .modal{
       max-width: 288px;
}}
.modal-btn-close {
    position: absolute;
    top: 24px;
    right: 24px;
    margin-left: auto;
    margin-bottom: 24px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #E7E9FC;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.10);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border 250ms cubic-bezier(0.4, 0, 0.2, 1); 
}
.modal-btn-close:focus, .modal-btn-close:hover{
    background-color: #404BBF;
    border: none;
    
}
.close-modal{
    fill: #2E2F42;
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-btn-close:focus > .close-modal, .modal-btn-close:hover > .close-modal{
    fill: #FFFFFF;
}
.modal-caption {

    color: #2E2F42;
    text-align: center;

    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.32px;
    max-width: 360px;
    margin-bottom: 16px;
}

/* Form */
.modal-form {
}
.field{
    position: relative;
    
}
.form-wrapper{
    margin-bottom: 8px;
}
.form-label {
    display: block;
    margin-bottom: 4px;
    color:  #8E8F99;

    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;
}
.form-input {
    font-size: 12px;
    width: 100%;
    height: 40px;
    border-radius: 4px;
    border: 1px solid rgba(46, 47, 66, 0.40);
    padding: 8px 16px;
    padding-left: 38px;
    outline: transparent;
    background-color: transparent;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-input:focus{
    border-color: #4D5AE5;
}
.modal-icons{
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    fill:#2E2F42;
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.form-input:focus + .modal-icons {
    fill: #4D5AE5;
}
.form-wrapper-comme{
    margin-bottom: 16px;
}

.form-message{
    width: 100%;
    resize: none;
    height: 120px;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid rgba(46, 47, 66, 0.40);
    background-color: transparent;
    padding: 8px 16px;
    line-height: 1.17; 
    letter-spacing: 0.04em;
    color: rgba(46, 47, 66, 0.4);
    outline: transparent;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form-message:focus{
    border-color: #4D5AE5;
}
.form-message::placeholder{
    color: rgba(46, 47, 66, 0.40);
    font-size: 12px;
}

.form-wrapper-check{
 margin-bottom: 24px;
}
.form-agreement {
    display: flex;
    align-items: center;
    color: #8E8F99;
    font-size: 12px;
    line-height: 1.17; 
    letter-spacing: 0.04em;
    user-select: none;

}

.form-agreement-checkbox{
    flex-shrink: 0;
    margin-right: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(46, 47, 66, 0.40);
    border-radius: 2px;
    cursor: pointer;
    fill: transparent;
    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);
}
.agreement-checkbox:focus + .form-agreement > .form-agreement-checkbox  {
    border-color: #404BBF;
}

.form-agreement-icon {
    fill: #F4F4FD;
    transition: opasity 250ms cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.agreement-checkbox:checked + .form-agreement > .form-agreement-checkbox > .form-agreement-icon{
    opacity: 1;
}

.agreement-checkbox:checked + .form-agreement > .form-agreement-checkbox{
    background-color: #404bbf;
    border: none;
    fill: #F4F4FD;
}


.agreement-link{
    color:  #4D5AE5;
    text-decoration-line: underline;
}

.modal-btn {
    display: block;
    min-width: 169px;
    min-height: 56px;
    padding: 16px 32px;
    color:  #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5; 
    letter-spacing: 0.64px;
    margin-left: auto;
    margin-right: auto;

    border-radius: 4px;
    background-color:  #4D5AE5;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-btn:hover, .modal-btn:focus{
    background-color:#404BBF ;
}

/*Mobile menu*/
.mob-container{
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    height: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 72px 16px 40px;
}
.burger-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}
@media screen and (min-width: 768px)  {
    .burger-btn{
    display: none;
  }
}
.mobile-menu {
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    
    
    
    background-color: #fff;
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);

}
@media screen  and (min-width: 768px) {
    /* mobile */
    .mobile-menu{
      display: none;
}}

.mobile-menu.is-open{
    transform: translateX(0);
    visibility: visible;
}
.mobile-menu-btn {
    position: absolute;
    top: 24px;
    right: 24px;

    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid  #e7e9fc;
    
    border-radius: 50%;


}
.mobile-menu-x {
    stroke:#2E2F42;
}
.mobile-menu-list {
    margin-bottom: auto;
}
.mobile-menu-item {
}
.mobile-menu-item:not(:last-child){
    margin-bottom: 40px;
}
.mobile-menu-link {
    color: #2E2F42;

    font-size: 36px;
    font-weight: 700;
    line-height: 40px; /* 111.111% */
    letter-spacing: 0.72px;
    text-transform: capitalize;
}
.mobile-menu-link.current{
    color: #404BBF;
}

.mobile-ctx-item {
    margin-bottom: 48px;
}

.mobile-ctx-item .mobile-ctx-list:not(:last-child) {
    margin-bottom: 24px;
}

.mobile-ctx-link {
    
    color: #434455;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px; /* 120% */
    letter-spacing: 0.4px;
}
.mobile-ctx-link.accent{
    color: #4D5AE5;
}

.mobile-menu-socials {
    justify-content:flex-start;
    gap: 40px;
}
