.hidden {
    display: none;
}
body {
    font-family: "Roboto", sans-serif;
    color: #434455;
    background-color: #fff;
}

ul, ol {
    list-style-type: none;
}

a {
    text-decoration: none;
}

p, ul, ol, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
    cursor: pointer;
}
.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;
}

.container {
    width: 320px;
    padding: 0 16px;
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
    .container {
    width: 768px;
}

}
@media screen and (min-width: 1158px) {
    .container {
    width: 1158px;
    padding: 0 15px;
}
}
/* header */
.page-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-list,
.contacts
{
    display: none;
}

.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;
}

.header-logo {
   padding: 16px 0; 
   display: block;
}

.header-logo .logo-part {
    color: #2e2f42;
}

.burger-btn {
  padding: 0;
  border: none;
  background-color: transparent;
}

.burger-icon {
    display: block;
    fill: #2f2f37;
}

@media screen and (min-width: 768px) {
.burger-btn {
        display: none;
    }
.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}
.header-logo {
   padding: 24px 0; 
  margin-right: 120px;
}


.header-nav {
    display: flex;
    align-items: center;
}
.nav-link {
font-weight: 500;   
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #2e2f42;
padding: 24px 0;
display: block;
position: relative;
transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link.active{
color: #404bbf ;
}
.active::after {
    content: '';
    color: #404bbf;
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 4px;
    background-color: #404bbf;
    border-radius: 2px;
    width: 100%;
 }
  .contacts {
    font-style: normal;
   display: block;
}
 .contacts-link:hover,
.contacts-link:focus,
.nav-link:hover,
.nav-link:focus {
    color: #404bbf;
}
.contacts-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.contacts-link {
font-size: 12px;
line-height: 1.17;
letter-spacing: 0.04em;
color: #434455;
display: block;
transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
}
@media screen and (min-width: 1158px) {
    .header-logo {
   margin-right: 76px; 
}
.contacts-list {
    flex-direction: row;
align-items: center;
gap: 40px;
}
.contacts-link {
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
padding: 24px 0;
}
}
/*  hero-banner start*/
.hero-banner {
background-color: #2e2f42;
padding: 72px 0;
margin: 0 auto;
width: 320px;
height: 432px;
background-image:  linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), 
url("../images/baner/baner-mobile-min.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
@media screen and (min-resolution:192dpi) {
.hero-baner {
background-image: linear-gradient(to bottom,
rgba(46, 47, 66, 0.7),
rgba(46, 47, 66, 0.7)),
 url("../images/baner/baner-mobile@2x-min.jpg");
    }
}
.hero-container {
   
}
.hero-title {
width: 216px;
font-weight: 700;
font-size: 36px;
line-height: 1.11;
letter-spacing: 0.02em;
text-align: center;
color: #fff;    
margin: 0 auto;
margin-bottom: 72px;
}
.hero-button {
background-color: #4D5AE5;
font-weight: 500;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.04em;
color: #fff;
cursor: pointer;
margin-top: 48px;
display: block;
align-items: center;
margin-left: auto;
margin-right: auto;
padding: 16px 32px;
min-width: 169px;
height: 56px;
border: none;
border-radius: 4px;
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);  
}
.hero-button:hover,
.hero-button:focus {
    background-color: #404BBF
}
@media screen and (min-width: 768px){
.hero-banner {
width: 768px;
height: 436px;
padding: 112px 0;
background-image:  linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), 
url("../images/baner/baner-tab-min.jpg");
}
.hero-title {
width: 496px;
font-size: 56px;
line-height: 1.07; 
margin-bottom: 36px;
}
}
@media screen and (min-width: 768px) and (min-resolution:192dpi) {
.hero-baner {
background-image: linear-gradient(to bottom,
rgba(46, 47, 66, 0.7),
rgba(46, 47, 66, 0.7)),
 url("../images/baner/baner-tab@2x-min.jpg");
    }

}
@media screen and (min-width: 1158px){
.hero-banner {
width: 1440px;
height: 600px;
padding: 188px 0;
background-image:  linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)), 
url("../images/baner/baner-desc-min.jpg");
}
.hero-title {
margin-bottom: 48px;
}
}

@media screen and (min-width: 1158px) and (min-resolution:192dpi) {
.hero-baner {
background-image: linear-gradient(to bottom,
rgba(46, 47, 66, 0.7),
rgba(46, 47, 66, 0.7)),
 url("../images/baner/baner-desc@2x-min.jpg");
    }

}
/*  benefits start*/
.benefits-image {
display: none;
}
.benefits {
padding: 96px 0;
margin: 0 auto;
}

.benefits-list {
display: flex;
flex-direction: column;
gap: 72px;
margin: 0 auto;
padding: 0;
}

.benefits-title {
font-weight: 700;
font-size: 36px;
line-height: 1.11;
letter-spacing: 0.02em;
color: #2e2f42;
text-align: center;
margin-bottom: 8px;
}

.benefits-list-item-text {
font-weight: 500;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #434455;
}

@media screen and (min-width: 768px){
    .benefits-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 72px 24px;
}
.benefits-list-item {
width: calc((100% - 24px)/2);

}
.benefits-title {
     text-align: left;
}
}

@media screen and (min-width: 1158px) {
.benefits {
padding: 120px 0;
}

.benefits-list-item {
width: calc((100% - 72px)/4);
}
.benefits-list {
    display: flex;
    gap: 24px;
    

}
.benefits-image {
display: flex;
border: 1px solid #8e8f99;
border-radius: 4px;
background-color: #f4f4fd;
align-items: center;
justify-content: center;
height: 112px;
margin-bottom: 8px; 
}
.benefits-title {
font-weight: 500;
font-size: 20px;
text-align: start;
}
.benefits-list-item-text {
font-weight: 400;
}
}
/* team start */

.team {
background-color: #F4F4FD;
padding: 96px 0;
}
.team-title {
 font-weight: 700;
font-size: 36px;
line-height: 1.11;
letter-spacing: 0.02em;
text-align: center;
color: #2e2f42;
 text-transform: capitalize;
 margin-bottom: 72px;
}
.team-list {
display: flex;
flex-direction: column;
gap: 72px;
justify-content: center;
margin: 0 auto;
}
.team-list-item {
  background-color: #fff;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 1px rgba(46, 47, 66, 0.08),
              0 1px 1px rgba(46, 47, 66, 0.16),
              0 1px 6px rgba(46, 47, 66, 0.08);
  max-width: 264px;
  margin: 0 auto;
}
.team-content {
    padding: 32px 0;
}
.team-name-title {
font-weight: 500;
font-size: 20px;
line-height: 1.2;
letter-spacing: 0.02em;
text-align: center;
color: #2e2f42;
margin-bottom: 8px
}
 .team-text {
font-weight: 400;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
text-align: center;
color: #434455;
margin-bottom: 8px;
}
.team-social-list {
display: flex;
gap: 24px;
justify-content: center;
}
.team-social-link {
background-color: #4d5ae5;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1); 

}
.team-social-item-icon {    
fill: #f4f4fd;
}
.team-social-link:hover,
.team-social-link:focus {
    background-color: #404bbf;
}
@media screen and (min-width: 768px){
.team-list {
  flex-direction: row;  
  flex-wrap: wrap;       
  gap: 64px 24px;                
}
.team-list-item {
    width: calc((100% - 24px) / 2);
    margin: 0;
}
}
@media screen and (min-width: 1158px) {
.team-list-item {
    width: calc((100%-24px)/4);}
.team {
background-color: #F4F4FD;
padding: 120px 0;
}

}

/* ourportfolio start */
.ourportfolio {
padding: 96px 0;
}

.ourportfolio-title {
font-weight: 700;
font-size: 36px;
line-height: 1.11;
letter-spacing: 0.02em;
text-align: center;
color: #2e2f42;
line-height: 1.11;
text-transform: capitalize;
margin-bottom: 72px;
}
.ourportfolio-list{
display: flex;
flex-direction: column;
gap: 48px; 
padding: 0;
align-items: center;
justify-content: center;
}

.ourportfolio-list-item {
transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
box-shadow: 0px 1px 6px rgba(46, 47, 66, 0.08), 
0px 1px 1px rgba(46, 47, 66, 0.16),
0px 2px 1px rgba(46, 47, 66, 0.08);
}

.image-box {
overflow: hidden;
position: relative;
}
.ourportfolio-img {
width: 288px;
height: 280px;
}
.overlay-text {
font-weight: 400;
position: absolute;
top: 0;
left: 0;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #f4f4fd;
background-color: #4d5ae5;
padding: 40px 32px;
width: 100%;
height: 100%;
transform: translateY(100%);
transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.ourportfolio-content {
    padding: 32px 16px;
    border: 1px solid #e7e9fc;
    border-top: none; 
}
.ourportfolio-list-item-title {
font-weight: 500;
font-size: 20px;
line-height: 1.2;
letter-spacing: 0.02em;
color: #2e2f42;
margin-bottom: 8px;

}
.ourportfolio-list-item-text {
font-weight: 400;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #434455;

}

@media screen and (min-width: 768px) {
.ourportfolio-list{
flex-direction: row;
flex-wrap: wrap;
gap: 72px 24px;

}
.ourportfolio-img {
width: 100%;
height: auto;
}
.ourportfolio-list-item { 
width: calc((100% - 24px)/2);
}
}
@media screen and (min-width: 1158px) {
.portfolio {
 padding: 120px 0;
 }
.ourportfolio-list-item {
width: calc((100% - 48px)/3);
box-shadow: none;
}
.ourportfolio-list-item:hover .overlay-text {
transform: translateY(0);
}
.ourportfolio-list-item:hover {
  box-shadow: 0px 1px 6px rgba(46, 47, 66, 0.08), 
              0px 1px 1px rgba(46, 47, 66, 0.16),
              0px 2px 1px rgba(46, 47, 66, 0.08);
}
.ourportfolio-list{
column-gap: 24px;
row-gap: 48px;
}
}

/* footer start*/
.page-footer {
 background-color: #2e2f42;
 padding: 96px 0;
}
.footer-container {
display: flex;
flex-direction: column;
gap: 72px;
align-items: center;
justify-content: center;
}
.footer-logo-content {
     text-align: center;
}

.footer-logo .logo-part {
color: #f4f4fd;
}
.footer-logo {
display: inline-block;
margin: 0 auto 16px;

}
.footer-text {
font-weight: 400;
line-height: 1.5;
letter-spacing: 0.02em;
color: #f4f4fd;
max-width: 288px;
margin-bottom: 16px;
text-align: start;
}
.footer-social-title {
font-weight: 500;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #fff;
margin-bottom: 16px; 
text-align: center;
}
.footer-social-list {
gap: 16px;
display: flex;
justify-content: center;
align-items: center;
}
.footer-social-link {
fill: #f4f4fd;
background-color: #4d5ae5;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-subscribe-text {
font-weight: 500;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
color: #fff;
}   
.footer-form-box, .footer-form {
display: flex;
flex-direction: column;
gap: 24px;
align-items: center;
}   
.footer-input-email {
width: 288px; 
height: 40px;
border: 1px solid #fff;
border-radius: 4px;
background-color: transparent;  
font-size: 12px;
line-height: 2;
letter-spacing: 0.04em;
color: #fff;
padding-left: 16px;
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
border-radius: 4px;
opacity: 0.3;
}

.footer-btn-submit {
width: 165px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
font-family: "Roboto", sans-serif;
font-weight: 500;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.04em;
color: #fff;
cursor: pointer;
background-color: #4D5AE5;
border: none;
border-radius: 4px;
min-width: 165px;
}  
.footer-btn-icon {
    margin-left: 16px;
    fill: #fff;
}   

@media screen and (min-width: 768px){
    .footer-container{
        width: 584px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 72px 24px;
        align-items: flex-start;
        justify-content: flex-start;
    }
.footer-text {
width: 264px;
}
.footer-form{
    flex-direction: row;
}
.footer-form-box{
align-items: flex-start;
justify-content: flex-start;
}
.footer-input-email{
width: 264px;
}
.footer-logo-content, .footer-social-title{
text-align: left;
}

}     
@media screen and (min-width: 1158px)  {
.page-footer {
 padding: 100px 0;
}
.footer-container{
    width: 1158px;
    align-items: baseline;
    gap: 0;
  }  
.footer-logo-content{
margin-right: 120px;
  }
.footer-social-content{
   margin-right: 80px; 

}
.footer-social-link:focus {
background-color: #31d0aa;
}

.footer-social-link:hover {
background-color: #31d0aa;
}
.footer-form-box{
    gap: 0;
}
}         
/* mobile-menu start */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
  visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-container {
    position: relative;
    padding-top: 72px;
    padding-bottom: 40px;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
fill: #2e2f42;
background-color: fff;
border: 1px solid rgba(0, 0, 0, 0.1);
width: 24px;
height: 24px;
padding: 0;
cursor: pointer;
margin-bottom: 24px;
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-navigation-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: auto;
}

.mobile-navigation-link {
    font-weight: 700;
font-size: 36px;
line-height: 1.1;
letter-spacing: 0.02em;
color: #2e2f42;
transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-navigation-link-studio {
font-weight: 700;
font-size: 36px;
line-height: 1.1;
letter-spacing: 0.02em;
color: #4d5ae5;
transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-navigation-link:hover,
.mobile-navigation-link:focus {
    color: #404bbf;
}

.mobile-contacts {
    font-style: normal;
    display: block; 
}

.mobile-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.mobile-contacts-link {
font-weight: 500;
font-size: 20px;
line-height: 1.2;
letter-spacing: 0.02em;
color: #434455;
transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-contacts-link-tel {
font-weight: 500;
font-size: 20px;
line-height: 1.2;
letter-spacing: 0.02em;
color: #4d5ae5;
transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-contacts-link:hover,
.mobile-contacts-link:focus {
    color: #4d5ae5;
}

.mobile-icon-list {
 display: flex;
gap: 40px;
}
.social-icon-box {
background-color: #4d5ae5;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1); 
}
.social-icon {    
fill: #f4f4fd;
}
/* mobile-menu start */ 

 .blackdrop {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(46, 47, 66, 0.4);
opacity: 0,5;
visibility: hidden;
pointer-events: none;
transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms cubic-bezier(0.4, 0, 0.2, 1); 
}
 .blackdrop.is-open {
opacity: 1;
visibility: visible;
pointer-events: auto;
}
.modal-window {
position: absolute;
top: 50%;
left: 50%;
width: 408px;
min-height: 584px;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14),
 0 1px 3px 0 rgba(0, 0, 0, 0.12),
 0 2px 1px 0 rgba(0, 0, 0, 0.2);
background-color: #fcfcfc;
border-radius: 4px;
transform: translate(-50%, -50%);
padding: 72px 24px 24px 24px;
transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1); 
}
.blackdrop-button {
position: absolute;
top: 24px;
right: 24px;
display: flex;
border-radius: 50%;
width: 24px;
height: 24px;
justify-content: center;
align-items: center;
background-color: #E7E9FC;
border: 1px solid rgba(0, 0, 0, 0.1);
cursor: pointer;
padding: 0;
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border 250ms cubic-bezier(0.4, 0, 0.2, 1); 
}
.close-icon {
fill: #2e2f42;
transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.blackdrop {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(46, 47, 66, 0.4);
opacity: 0,5;
visibility: hidden;
pointer-events: none;
transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms cubic-bezier(0.4, 0, 0.2, 1); 
}

 .blackdrop.is-open {
opacity: 1;
visibility: visible;
pointer-events: auto;
}

.modal-window {
position: absolute;
top: 50%;
left: 50%;
width: 288px;
min-height: 623px;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.14),
 0 1px 3px 0 rgba(0, 0, 0, 0.12),
 0 2px 1px 0 rgba(0, 0, 0, 0.2);
background-color: #fcfcfc;
border-radius: 4px;
transform: translate(-50%, -50%);
padding: 72px 16px 24px 16px;
transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1); 
}

.blackdrop-button {
position: absolute;
top: 24px;
right: 24px;
display: flex;
border-radius: 50%;
width: 24px;
height: 24px;
justify-content: center;
align-items: center;
background-color: #E7E9FC;
border: 1px solid rgba(0, 0, 0, 0.1);
cursor: pointer;
padding: 0;
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), border 250ms cubic-bezier(0.4, 0, 0.2, 1); 
}
.close-icon {
fill: #2e2f42;
transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.blackdrop-button:hover,
.blackdrop-button:focus {
  background-color: #404bbf;
  border: none;
}

.blackdrop-button:hover .close-icon,
.blackdrop-button:focus .close-icon {
fill: #FFFFFF;
}

.blackdrop-text {
font-weight: 500;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.02em;
text-align: center;
color: #2e2f42;
margin: 16px;
}

.input-container{
position: relative;
margin-bottom: 8px;
}

.box-input-modal {
position: relative;
}

.label-modal {
font-weight: 400;
font-size: 12px;
line-height: 1.16667;
letter-spacing: 0.04em;
color: #8e8f99;
display: block;
margin-bottom: 4px;
line-height: 1.17;
}

.input-modal {
width: 100%;
height: 40px;
border-radius: 4px;
height: 40px;
background-color: transparent;
padding-left: 38px; 
outline: transparent;
transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1); 
 border: 1px solid rgba(46, 47, 66, 0.4); 
}

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

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

.comment {
margin-bottom: 16px;
}

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

.text-area:focus {
border-color: #4D5AE5;
}

.label-accept-privacy {
font-size: 12px;
line-height: 1.17;
letter-spacing: 0.04em;
color: #8e8f99;
display: flex;
gap: 8px;
align-items: center;
}

.span-icon-checkbox {
width: 16px;
height: 16px; 
border: 1px solid rgba(46, 47, 66, 0.4);
border-radius: 2px; 
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);
display: inline-flex;
align-items: center; 
justify-content: center;
fill: transparent; 
flex-shrink: 0;
}

.form-send-btn {
display: block;
min-width: 169px;
height: 56px;
font-family: "Roboto", sans-serif;
font-weight: 500;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.04em;
text-align: center;
color: #fff;
cursor: pointer;
background-color: #4D5AE5;
border: none;
transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form-send-btn {
    margin: 0 auto;
}

.form-send-btn:hover,
.form-send-btn:focus {
    background-color: #404BBF;
}

.box-checkbox-modal {
margin-bottom: 24px;

}

.link-privacy-modal {
color: #4d5ae5;
}

.box-input-modal:focus-within .input-icon {
    fill: #4D5AE5;
}

.input-checkbox-modal:checked +.label-accept-privacy 
.span-icon-checkbox {
background-color: #404bbf;
border: none; 
fill:#F4F4FD;
}

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

.footer-form {
display: flex;
gap: 24px;
}

.footer-input-email {
width: 264px; 
height: 40px;
border: 1px solid #fff;
border-radius: 4px;
background-color: transparent;  
font-size: 12px;
line-height: 2;
letter-spacing: 0.04em;
color: #fff;
padding-left: 16px;
box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
border-radius: 4px;
}

.footer-btn-submit {
width: 165px;
height: 40px;
display: flex;
justify-content: center;
align-items: center;
font-family: "Roboto", sans-serif;
font-weight: 500;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0.04em;
color: #fff;
cursor: pointer;
background-color: #4D5AE5;
border: none;
border-radius: 4px;
min-width: 165px;
}

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

@media screen and (min-width:768px) {
.modal-window {
width: 408px;
min-height: 584px;
padding: 72px 24px 24px 24px;

}