/* #region normalize */
body{
    font-family: 'Roboto', sans-serif;
    background-color: #FFFFFF;
    color: #434455;
}
a{
    text-decoration: none;
}
ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
h1, h2, h3, h4, h5, h6, p{
    margin: 0;
}
address{
    font-style: normal;
}
footer{
    background: #2e2f42;
}
img{
    display: block;
    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;
}
/* #endregion normalize */
/* #region basicCSS_Settings */
.container{
    min-width: 320px;
    padding: 0 16px;
    margin: 0 auto;
}
@media (min-width: 768px){
    .container{
        max-width: 768px;
    }
}
@media (min-width: 1158px){
    .container{
        max-width: 1158px;
        padding: 0 15px;
    }
}

h2{
    text-align: center;
    font-weight: 700;
    font-size: 36px;
    line-height: 111%;
    letter-spacing: 0.02em;
    color: #2e2f42;
}

.section{
    /* padding: 120px 0; */
    padding: 96px 0;;
}
@media (min-width: 1158px){
    .section{
        padding: 120px 0;
    }
}

/* #endregion basicCSS_Settings */

/* #region LOGO */
.logo{
    font-family: 'Raleway', sans-serif;
    color: #4d5ae5;
    font-weight: 700;
    font-size: 18px;
    line-height: 117%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    /* margin-right: 76px; */
}

@media (min-width: 1158px){
    .logo{
        margin-right: 76px;
    }
}

.logo_header{
    color: #2e2f42;
}

.logo_footer{
    color: #f4f4fd;
}
/* #endregion LOGO */

/* #region HEADER */

/* .header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
} */

/* @media (min-width: 768px){
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}
} */
@media (min-width: 768px){
    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }
}
/* @media (min-width: 1158px){
    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }
} */

.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 a{
    padding: 16px 0;
}

@media (min-width: 768px) and (max-width: 1157px) {
    .header a{
        padding: 0;
    }    
    .header .list-item-link{
      padding: 24px 0;
    }
  
    .header .address-list{
      padding: 16px 0;
    }
}
@media (min-width: 1158px) {
    .header a{
      padding: 24px 0;
    }
}
.header-nav{
    display: flex;
    align-items: center;
}
@media (min-width: 768px) {
    .header-nav {
      flex-grow: 1;
      /* margin-right: 28px; */
    }
  }

/* .header-nav {
    display: flex;
    gap: 40px;
} */

/* @media (min-width: 768px) and (max-width: 1158px){
    .header-nav {
        justify-content: space-between;
    }
} */

.nav-list{
    display: flex;
    gap: 40px;
    flex-grow: 1;
}

@media (min-width: 768px) and (max-width: 1157px){
    .nav-list{
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 1158px){
    .header-nav{
        justify-content: space-between;
    }
}


/* ITEMS LIST */

.nav-list-item a{
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color:#2e2f42 ;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-list-item a:hover{
    color: #404bbf;
}
.nav-list-item a:focus{
    color: #404bbf;
}
.list-item-link.active{
    position: relative;
    color: #404BBF;
}
.list-item-link.active::after{
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-color: #404BBF;
    border-radius: 2px; 
    bottom: -1px;
}
@media (max-width: 767px){
    .nav-list{
        display: none;
    }
}

.address-list{
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style-type: none;
}

.address-list-item .address-item-link{
    font-size: 12px;
    line-height: 117%;
    letter-spacing: 0.04em;
    color: #434455;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.address-list-item .address-item-link:hover{
    color: #404bbf;
}
.address-list-item .address-item-link:focus{
    color: #404bbf;
}

@media (max-width: 767px){
    .address-list{
        display: none;
    }
}
@media (min-width: 1158px){
    .address-list{
        flex-direction: row;
        gap: 40px;
    }
    .address-list-item .address-item-link{
        font-size: 16px;
        line-height: 150%;
        letter-spacing: 0.02em;
    }
}

/* #endregion HEADER */

/* #region ORDER */

.order-section .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.order-section{
    /* padding: 52px 0; */
    padding: 72px 0;
    background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url(../images//bg-image/s-bg.jpg); 
    background-size: cover;
    margin: 0 auto;
    max-width: 1440px;
    background-repeat: no-repeat;
    background-position: center;
}
@media (min-resolution: 192dpi){
    .order-section{
        background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url(../images//bg-image/s-bg@2x.jpg); 
    }
}
@media (min-width: 768px){
    .order-section{
        padding: 112px 0;
        background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url(../images//bg-image/m-bg.jpg); 
    }
    @media (min-resolution: 192dpi){
        .order-section{
            background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url(../images//bg-image/m-bg@2x.jpg); 
        }
    }
}
@media (min-width: 1158px){
    .order-section{
        padding: 188px 0;
        background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url(../images//bg-image/lg-bg.jpg); 
    }
    @media (min-resolution: 192dpi){
        .order-section{
            background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), url(../images//bg-image/lg-bg@2x.jpg); 
        }
    }
}

.order-section h1{
    text-align: center;
    font-size: 36px;
    line-height: 111%;
    max-width: 216px; 
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 72px;
}
@media (min-width: 768px){
    .order-section h1{
        font-size: 56px;
        line-height: 107%;
        margin-bottom: 36px;
        max-width: 496px; 
    }
}
@media (min-width: 1158px){
    .order-section h1{
        margin-bottom: 48px;
    }
}
/* .order-section h1{
    text-align: center;
    font-size: 56px;
    line-height: 107%;
    max-width: 496px; 
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 48px;
} */

.order-section-button{
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    background-color: #4d5ae5;
    cursor: pointer;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.04em;
    color: #fff;

    border: none;
    border-radius: 4px;
    /* padding: 16px 32px; */
    min-width: 169px;
    height: 56px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.order-section-button:hover{
    background-color: #404BBF;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.order-section-button:focus{
    background-color: #404BBF;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* #endregion ORDER */

/* #region FEATURES */
.features-list {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 72px;
  }

@media (min-width: 768px) {
    .features-list {
      gap: 72px 24px;
      flex-direction: row;
      flex-wrap: wrap;
    }
}
@media (min-width: 1158px) {
    .features-list{
        gap: 24px;
    }
}

@media (min-width: 768px){
    .features-list-item {
        width: calc((100% - 24px) / 2);
      }
}
@media (min-width: 1158px){
    .features-list-item{
        width: calc((100% - 72px) / 4);
    }
}

.list-item-header{
    font-weight: 700;
    font-size: 36px;
    line-height: 111%;
    letter-spacing: 0.02em;
    color: #2E2F42;
    margin-bottom: 8px;
}
@media (max-width: 767px){
    .list-item-header{
        text-align: center;
    }
}
@media (min-width: 1158px){
    .list-item-header{
        font-size: 20px;
        line-height: 120%;
    }
}


.list-icon-container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 112px;
    background-color: #F4F4FD;
    border: 1px solid #8E8F99;
    border-radius: 4px;
    margin-bottom: 8px;
}
@media (max-width: 1157px){
    .list-icon-container{
        display: none;
    }
}

.list-item-text{
    font-size: 16px;
    width: 288px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #434455;
}

  @media (min-width: 768px) {
    .list-item-text {
      width: 100%;
      max-width: 355px;
    }
  }
  @media (min-width: 1158px) {
    .list-item-text {
      max-width: 264px;
    }
  }

/* #endregion FEATURES */

/* #region TEAM */

.team-header{
    text-transform: capitalize;
    margin-bottom: 72px;
}


.team{
    display: flex;
    background-color: #f4f4fd;
}

.list-item-container{
    padding: 32px 0;
    text-align: center;
    align-items: center;
}

/* .team-list{
    display: flex;
    gap: 24px;
} */
.team-list{
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 72px;
}

@media (max-width: 1158px){
    .team-list{
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

.team-list-item{
    /* width: 100%;  */
    max-width: 264px; 
    border-radius: 0px 0px 4px 4px; 
    background-color: #fff;
    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);
}
@media (min-width: 768px) {
    .team-list {
      flex-direction: row;
      flex-wrap: wrap;
      gap: 64px 24px;
    }
  
    .team-list-item {
      width: calc((100% - 24px) / 2); 
    }
}
@media (min-width: 1158px) {
    .team-list-item {
      width: calc((100% - 72px) / 4); /* 4 in a row on desktop */
    }
  }

.team-list-item .list-icon:hover{
    background-color: #404BBF;
}

.team-list-icons{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    gap: 24px;
}

.list-icon-element{
    width: 40px;
    height: 40px;

    display: flex;                
    align-items: center;        
    justify-content: center;  
    background-color: #4D5AE5;
    border-radius: 50%;
    cursor: pointer;
}

.team-icon{
    fill: #f4f4fd;
}

.list-icon-element:hover{
    background-color: #404bbf;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1); 
}
.list-icon-element:focus{
    background-color: #404bbf;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1); 
}


.list-team-header{
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.02em;
    font-weight: 500;
    color: #2e2f42 ;
    margin-bottom: 8px;
}

.list-team-text{
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

/* #endregion TEAM */

/* #region PORTFOLIO */

.portfolio-header{
    text-transform: capitalize;
    margin-bottom: 72px;
}

.portfolio-list{
    display: flex;
    /* flex-wrap: wrap;
    gap: 48px 24px; */
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-direction: column;
}

@media (min-width: 768px){
    .portfolio-list{
        flex-direction: row;
        flex-wrap: wrap;
        gap: 48px 24px;
    }
}

.portfolio-text-container{
    padding: 32px 16px;
    border-bottom: 1px solid #e7e9fc;
    border-left: 1px solid #e7e9fc;
    border-right: 1px solid #e7e9fc;
}

/* .portfolio-list-item img{
    width: 100%;
} */

.portfolio-image-wrapper{
    position: relative;
    overflow: hidden;
}


.portfolio-list-item{
    background-color: #fff;
    /* width: calc((100% - 48px) / 3); */
    width: 288px;
    cursor: pointer;
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1)
}

@media (min-width: 768px){
    .portfolio-list-item{
        width: calc((100% - 24px) / 2);
    }
    
}
@media (min-width: 1158px){
    .portfolio-list-item{
        width: calc((100% - 48px) / 3);
    }
    
}

.portfolio-list-item: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);
}

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

.overlay-text{
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100%);
    width: 100%;
    height: 100%;
    padding: 40px 32px;
    background-color: #4D5AE5;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #F4F4FD;
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1); 
}

.portfolio-item-header{
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.02em;
    color: #2e2f42;
    margin-bottom: 8px
}

.portfolio-item-text{
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #434455;
}

/* #endregion PORTFOLIO */

/* #region FOOTER */

/* footer {
    padding: 100px 0;
} */
footer {
    padding: 96px 0;
}

@media (min-width: 768px) and (max-width: 1157px){
    footer {
        padding: 96px 108px;
    }
}

/* .footer-wrapper{
    display: flex;
    align-items: baseline
} */
.footer-wrapper{
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: 72px;
} 
@media(max-width: 767px){
    .footer-wrapper{
        align-items: center;
    } 
}

@media (min-width: 768px){
    .footer-wrapper{
        flex-wrap: wrap;
        flex-direction: row;
        gap: 72px 24px;

    } 
}
@media (min-width: 1158px){
    .footer-wrapper{
        display: flex;
        align-items: baseline;
        flex-wrap: nowrap;
        gap: 0;
    } 
}

footer .logo {
    display: inline-block;
    margin-bottom: 16px;
    margin-right: 0;
}
@media (max-width: 767px){
    footer .logo {
        margin-right: 0;
    }
}

.footer-text-wrapper{
    display: flex;    
    flex-direction: column;         
}
@media (min-width: 1158px){
    .footer-text-wrapper{  
        margin-right: 120px;
    }
}

@media (max-width: 767px){
    .footer-text-wrapper{    
        align-items: center;        
        justify-content: center;  
    }
}

.footer-social-wrapper{
    display: inline-flex;
    flex-direction: column;
}

@media (max-width: 767px){
    .footer-social-wrapper{
        align-items: center;
    }
}


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

.footer-text{
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #f4f4fd;
    width: 264px;
}

.social-text{
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 16px;
}

.footer-icon{
    fill: #f4f4fd;
}

.footer-social-icons{
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 16px;
}

.footer-form-wrraper{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 1158px){
    .footer-form-wrraper{
        margin-left: 80px;  
    }
}

@media (max-width: 767px){
    .footer-form-wrraper{
        align-items: center;
    }
}

.form-text{
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #ffffff;
    margin-bottom: 16px; 
}

/* .footer-form{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
} */
.footer-form{
    display: flex;
    gap: 16px;
}
@media (max-width: 1157px){
    .footer .footer-form{
        gap: 24px;
    }
}
@media (max-width: 767px){
    .footer-form{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.footer-form-input{
    border: 1px solid #fff;
    background-color: transparent;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.04em;
    border-radius: 4px;
    width: 288px;
    height: 40px;
    padding: 8px 16px;
    color: #fff;
    outline: transparent;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    transition: border 150ms ease-in-out;
}

@media (min-width: 768px) and (max-width: 1157px){
    .footer-form-input{
        width: 264px;
    }
}

.footer-form-input:focus{
    border: 1px solid #4D5AE5;
}

.footer-form-input::placeholder{
    font-weight: 400;
    font-size: 12px;
    line-height: 200%;
    letter-spacing: 0.04em;
    color: #fff;
}

.btn-icon{
    margin-left: 16px;
}

.footer-form-btn{
    display: inline-flex;
    justify-content: center;
    align-items: center; 
    border-radius: 4px;
    padding: 8px 24px;
    min-width: 165px; 
    height: 40px;
    background-color: #4D5AE5;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
}

.footer-form-btn:hover,
.footer-form-btn:focus {
    background-color: #404BBF;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* #endregion FOOTER */


/* #region LoginForm */
.back-drop{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 47, 66, 0.4);
    z-index: 1000; 

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    /* transition: 150ms ease-in-out;
    transition-property: opacity, visibility;
    transition-delay: 300ms; */
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.back-drop.is-open{
    opacity: 1;
    visibility: visible;
    pointer-events: initial;
    transition-delay: 0ms;
}

.modal{
    /* min-width: 288px; */
    min-width: 288px;
    min-height: 584px;
    padding: 72px 24px 16px 16px; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    opacity: 0;

    background-color: #FCFCFC;
    border-radius: 4px;

    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: 150ms, ease-in-out;
    transition-property: opacity, transform; */
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 768px){
    .modal{
        width: 409px;
        padding: 72px 24px 24px 24px; 
    }
}
.back-drop.is-open .modal{
    opacity: 1;
    transform: translate(-50%, -50%);
    /* transition-delay: 300ms; */
}

.modal-close-btn{
    position: absolute;
    top: 24px;
    right: 24px;

    width: 24px;
    height: 24px;

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

    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    background-color: #E7E9FC;

    cursor: pointer;

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

.close-icon{
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close-btn:hover,
.modal-close-btn:focus{
    background-color: #404bbf; 
    border: none;
}

.modal-close-btn:hover .close-icon,
.modal-close-btn:focus .close-icon{
    fill: #ffffff;
}

.modal-text{
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    /* margin-bottom: 24px; */
    text-align: center;
    color: #2E2F42;;
}

.modal-form{
    width: 100%;
    /* margin: 16px 0; */
}

.modal-form-field{
    margin-bottom: 8px;
    /* margin-bottom: 24px; */
}

.modal-form-label{
    display: block;
    font-size: 12px;
    line-height: 117%;
    letter-spacing: 0.04em;
    margin-bottom: 4px; 
    color: #8E8F99;
}

.modal-form-wrraper{
    position: relative;
    /* margin-bottom: 24px; */
}

.modal-form-input{
    display: block;
    width: 100%;
    height: 40px;
    padding: 8px 38px;
    border-radius: 4px;
    border: 1px solid;
    border-color: rgba(46, 47, 66, 0.4);
    background-color: transparent;
    font-size: 12px;
    line-height: 117%;
    letter-spacing: 0.04em;
    color: #404040;
    outline: transparent;

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

.modal-form-input:focus {
    border-color: #4D5AE5; 
}

.modal-form-icon{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
    pointer-events: none;
    transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-form-input:focus + .modal-form-icon {
    fill: #4D5AE5;
}

.comment{
    /* margin-bottom: 16px; */
    margin-bottom: 16px;
}

.modal-form-message{
    display: block;
    width: 100%;
    height: 120px;
    resize: none;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid rgba(46, 47, 66, 0.4); 
    background-color: transparent; 
    font-size: 12px;
    line-height: 117%;
    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); 
}
.modal-form-message:focus{
    border-color: #4D5AE5;
}

.modal-form-message::placeholder{
    font-weight: 400;
    font-size: 12px;
    line-height: 117%;
    letter-spacing: 0.04em;
    color: #8E8F99;
}

.form-agreement{
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px; 
}

.agreement-label{
    font-weight: 400;
    font-size: 12px;
    line-height: 117%;
    letter-spacing: 0.04em;
    color: #8E8F99;
    cursor: pointer;
}

.agreement-policy{
    line-height: 133%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #4D5AE5;
}

.custom-checkbox {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 2px;
    margin-right: 8px;
    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);
  }
  .checked-icon {
    fill: transparent;
    opacity: 0;
    transition: opacity 250ms ease, fill 250ms ease;
  }
  
  .checkbox-input:checked + .agreement-label > .custom-checkbox {
    background-color: #404bbf;
    border: none;
    fill: #F4F4FD;
  }
  
  .checkbox-input:checked + .agreement-label .checked-icon {
    fill: #F4F4FD;
    opacity: 1;
  }

.btn-send{
    display: block;
    margin: 0 auto;
    background-color: #4D5AE5;
    border-radius: 4px;
    padding: 16px 32px;
    min-width: 169px;
    cursor: pointer;
    height: 56px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    border: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.04em;
    color: #fff;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-send:hover,
.btn-send:focus {
    background-color: #404BBF;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* .btn-send:hover .btn-icon,
.btn-send:focus .btn-icon {
  fill: #ffffff;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
} */
/* #endregion LoginForm */


/* #region MobileMenu */

.mobile-menu-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: transparent;
    border: none;
    width: 16.8px;
    height: 14.4px;
  
    /* color: #111111;
    transition: color 300ms ease-in; */
}

@media (min-width: 768px) {
    .mobile-menu-btn {
      display: none;
    }
}

.mobail-menu{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);

    background: #fff;
  
    transition: transform 400ms ease-in;
}

@media (min-width: 768px) {
    .mobail-menu {
      display: none;
    }
  }

.mobail-menu.is-open{
    transform: translateX(0);
}

.mobail-menu .container{
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 72px 16px 40px;
}


.mobail-clouse-btn{
    position: absolute;
    top: 24px;
    right: 24px;

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

    padding: 8px;
    background-color: transparent;

    background-color: #E7E9FC;
    border: 1px solid #2E2F42;
    border-radius: 100%;
}

.mobile-menu-nav{
    display: flex;
    flex-direction: column;
    margin-bottom: auto;
    gap: 40px; 
}

.menu-item-link{
    font-weight: 700;
    font-size: 36px;
    line-height: 111%;
    letter-spacing: 0.02em;
    color: #2E2F42;
}

.menu-item-link.active{
    color: #404BBF;
}


.mobile-menu-contacts{
    display: flex;
    flex-direction: column;
    margin-bottom: 48px;
    gap: 24px;
}
.adress-item-link{
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.02em;
    color: #2E2F42;
}


.mobile-menu-socials{
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 40px;
}

.socials-item-link{
    width: 40px;
    height: 40px;
    display: flex;                
    align-items: center;        
    justify-content: center;  
    border-radius: 50%;
    cursor: pointer;
    background-color: #4D5AE5;
}

/* .socials-item-link:hover,
.socials-item-link:focus{
    background-color: #31d0aa;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
} */
/* #endregion MobileMenu */