/* #region Common Stales */
body {
    font-family: "Roboto", sans-serif;
    color: #434455;
    background-color: #fff;
}

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

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

a {
    text-decoration: none;
}
button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}
/* #endregion */

/* #region Container */

.container {
    max-width: 320px;
    padding: 0 16px;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
.container {
        max-width: 768px;
    }
}

@media screen and (min-width: 1158px) {
    .container {
        max-width: 1158px;
        padding: 0 15px;
    }
}

/* #endregion */

/* #region Header */

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

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list,
.contact {
    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 {
    display: block;
    padding: 16px 0;
}

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

    .contact {
        display: block;
        font-style: normal;
        margin-left: auto;
    }

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

    .header-logo {
        margin-right: 120px;
        padding: 24px 0;
    } 

    .nav-link {
        display: block;
        padding: 24px 0;
        font-weight: 500;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
        color: #2e2f42;
        transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-link.current {
        position: relative;
    }
    
    .nav-link.current::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 100%;
        height: 4px;
        background-color: #404bbf;
        border-radius: 2px;
    }

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


    .contact-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .contact-link {
        display: block;
        font-size: 12px;
        line-height: 1.17;
        letter-spacing: 0.04em;
        color: #434455;
        transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    }

}

@media screen and (min-width: 1158px) {
    .header-logo {
        margin-right: 76px;
    }
 
    .contact-list {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }

    .contact-link {
        padding: 24px 0;
        font-size: 16px;
        line-height: 1.5;
        letter-spacing: 0.02em;
    }
}

/* #endregion */

/* #region Mobile menu */

.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);
    transform: translateX(100%);
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

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

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    padding: 0;
    cursor: pointer;
        
    display: flex;
    justify-content: center;
    align-items: center;
        
    border-radius: 50%;
    background-color: #e7e9fc;
    border: 1px solid #2e2f42;
    color:#2f2f37;
}

.mobile-menu-close:hover,
.mobile-menu-close:focus {
    background-color: #404bbf;
    color: #fff;
    border: none;
}

.menu-icon-close {
    fill: currentColor;
}

.mobile-menu-nav {
    margin-bottom: auto;
}

.mobile-menu-nav-link {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    color: #2e2f42;
}

.mobile-menu-nav-link-accent {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.11111;
    letter-spacing: 0.02em;
    color: #404bbf;
}

.mobile-menu-nav-list .mobile-menu-nav-item:not(:last-child) {
    margin-bottom: 40px;
}

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

.mobile-menu-contact-link {
    display: block;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #434455;
    font-style: normal;
}

.mobile-menu-contact-link-accent {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #4d5ae5;
    font-style: normal;
}

.mobile-menu-social {
    margin-top: 48px;
}

.mobile-menu-social-list {
        display: flex;
        gap: 40px;
        justify-content: space-between;
}

.mobile-menu-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);
}

.social-icon {
    fill: correntColor;
}

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

/* #endregion */

/* #region Hero  */

.hero {
    background-color: #2e2f42;
    padding: 72px 0 72px;
    background-image: linear-gradient(rgba(46, 47, 66, 0.7),
            rgba(46, 47, 66, 0.7)),
        url(../images/background-image_s.jpg);
    background-size: cover;
    background-position: center;
    margin: 0 auto;
    background-repeat: no-repeat;
    max-width: 320px;
}

@media (min-resolution:192dpi) {
    .hero {
        background-image: linear-gradient(rgba(46, 47, 66, 0.7),
            rgba(46, 47, 66, 0.7)),
            url(../images/background-image_s@2x.jpg);
    }
}

@media screen and (min-width:768px) {
.hero {
    padding: 112px 0 112px;
    background-image: linear-gradient(rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)),
        url(../images/background-image_m.jpg);
    max-width: 768px;
}

@media (min-resolution:192dpi) {
    .hero {
        background-image: linear-gradient(rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)),
        url(../images/background-image_m@2x.jpg);
    }
}
}


@media screen and (min-width:1158px) {
    .hero {
        padding: 188px 0 188px;
        background-image: linear-gradient(rgba(46, 47, 66, 0.7),
            rgba(46, 47, 66, 0.7)),
            url(../images/background-image_l.jpg);
        max-width: 1440px;
    }
@media (min-resolution:192dpi) {
    .hero {
        background-image: linear-gradient(rgba(46, 47, 66, 0.7),
                rgba(46, 47, 66, 0.7)),
            url(../images/background-image_l@2x.jpg);
    }
}
}


.hero-title {
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    text-align: center;
    color: #fff;

    margin-bottom: 72px;
    margin-right: auto;
    margin-left: auto;
    max-width: 216px;
}

@media screen and (min-width:768px) {
    .hero-title {
        font-size: 56px;
        line-height: 1.07;
        margin-bottom: 36px;
        max-width: 496px;
    }
}

@media screen and (min-width:1158px) {
    .hero-title {
        margin-bottom: 48px;
    }
}

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

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

/* #endregion */

/* #region Info */

.page-info {
    background-color: #fff;
    padding: 96px 0 96px;
}

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

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

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

@media screen and (min-width:768px) {
    .info-title {
        text-align: left;
    }
}

@media screen and (min-width:1158px) {
    .info-title {
        font-weight: 500;
        font-size: 20px;
        line-height: 1.2;
        align-items: start;
    }
}

.info-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 72px;
}

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

    .info-item {
        width: calc((100% - 24px) / 2);
    }
}

@media screen and (min-width:1158px) {
    .info-list {
        display: flex;
        align-items: center;
        gap: 24px;
    }
    
    .info-item {
        width: calc((100% - 72px) / 4);
    }
}


.info-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4fd;
    border: 1px solid #8e8f99;
    border-radius: 4px;
    width: 264px;
    height: 112px;
    margin-bottom: 8px;

}

.info-icon {
    display: block;
    margin: 24px 0;
}

@media screen and (max-width: 1157px) {
    .info-image {
        display: none;
    }

    .info-icon {
        display: none;
    }
}

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

@media screen and (min-width:1158px) {
    .info-text {
        font-weight: 400;
    }
}

/* #endregion */

/* #region Team */

.page-team {
    background-color: #f4f4fd;;
    padding: 96px 0 96px;
}

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

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

.team-container {
    background-color: #FFFFFF;
    border-radius: 0 0 4px 4px;
    padding: 32px 0px;
}

.team-list {
    display: flex;
    gap: 72px;
    flex-wrap: wrap;
    justify-content: space-around;
}

@media screen and (min-width:768px) {
    .team-list {
        gap: 64px 24px;
        justify-content: center;
    }  
}

.team-title {
    text-align: center;
    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-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: center;
    color: #434455;
    margin-bottom: 8px;
}

.team-item {
    background-color: #FFFFFF;
    border-radius: 0 0 4px 4px;
    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);
}


.team-list-icon {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.team-link-icon {
    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-link-icon:hover,
.team-link-icon:focus {
    background-color: #404BBF;
}

.social-icon {
    fill: #F4F4FD;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* #endregion */

/* #region Portfolio */

@media only screen and (min-width: 1158px) {
  .portfolio-img {
    min-width: 360px;
    height: 300px;
  }
}

.page-portfolio {
    padding: 96px 0 96px;
}

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

.portfolio-header {
    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;
}

.portfolio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}

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

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

.portfolio-item {
    transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media only screen and (max-width: 1157px) {
.portfolio-item {
    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-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #2e2f42;
    margin-bottom: 8px;
}

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

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

.portfolio-overlay {
    position: relative;
    overflow: hidden;
}

.portfolio-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #4d5ae5;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #f4f4fd;
    padding: 40px 32px;

    transform: translatey(100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media only screen and (max-width: 1157px) {
    .portfolio-overlay-text {
        display: none;
    }
}

.portfolio-item:hover .portfolio-overlay-text {
    transform: translatey(0%);
}

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

@media only screen and (min-width: 1158px) {
    .portfolio-img {
        width="360"
        height="300"
    }
}


/* #endregion */

/* #region Footer */

.page-footer {
    background-color: #2e2f42;
    padding: 96px 0;;
}

@media screen and (min-width:1158px) {
    .page-footer {
        padding: 100px 0 100px
    }
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 72px;
}

@media screen and (min-width:768px) {
    .footer-container {
        flex-direction: row;
        align-items: baseline;
        gap: 72px 24px;
        padding: 0 108px;
        flex-wrap: wrap;
    }
}

@media screen and (min-width:1158px) {
    .footer-container {
        gap: 0px;
        flex-wrap: nowrap;
        padding: 0 15px;
    }
}


.footer-logo .logo-part {
    color: #f4f4fd;
}

.footer-logo {
    display: block;
    margin-bottom: 16px;
    text-align: center;
}

@media screen and (min-width:768px) {
    .footer-logo {
        text-align: left;
    }
}

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

@media screen and (min-width:768px) {
    .footer-text {
        width: 264px;
    }
}

@media screen and (min-width:1158px) {
    .footer-social {
        margin-right: 80px;
    }
}

@media screen and (min-width:1158px) {
    .footer-wrapper-logo {
        margin-right: 120px;
    }
}

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

@media screen and (min-width:768px) {
    .footer-social-title {
        text-align: left;
    }
}

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

.footer-social-list {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.footer-social-link:hover,
.footer-social-link:focus {
    background-color: #31D0AA;
}

.form-subscribe {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

@media only screen and (min-width: 768px) {
    .form-subscribe {
        gap: 24px;
    }
}

@media only screen and (min-width: 1158px) {
  .form-subscribe {
    flex-wrap: nowrap;
  }
}

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

@media only screen and (min-width: 768px) {
  .subscribe-text {
    text-align: left;
  }
}

.footer-wrapper-input {
    display: flex;
    align-items: center;
    gap: 24px;
  
}

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

@media only screen and (max-width: 767px) {
  .footer-label {
    margin-bottom: 16px;
  } 
}

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

@media only screen and (min-width: 768px) {
  .footer-input {
    min-width: 264px;
  }
}

@media only screen and (min-width: 768px) {
.footer-input {
    margin-bottom: 0;
  }
}

.footer-button {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 165px;
    height: 40px;
    border-radius: 4px;
    padding: 8px 24px;
    background-color: #4d5ae5;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    border: none;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-button:hover,
.footer-button:focus {
    background-color: #404bbf;
}

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


.footer-icon {
    fill: #FFFFFF;
    margin-left: 16px;
}

/* #endregion */

/*  #region Modal Window */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: rgba(46, 47, 66, 0.4);
    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);
}

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

.modal {
    position: absolute;
    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: #fcfcfc;
    border-radius: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 72px 16px 16px 16px;
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-btn-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 24px;
    height: 24px;
    padding: 0;
    cursor: pointer;

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

    border-radius: 50%;
    background-color: #e7e9fc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    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:hover,
.modal-btn-close:focus {
    background-color: #404bbf;
    color: #fff;
    border: none;
}

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

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

@media only screen and (max-width: 767px) {
   .modal-title {
    max-width: 256px;
  }
}

.modal-form {}

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

.modal-form-field-comment {
    margin-bottom: 16px;
}

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

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

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

@media only screen and (min-width: 768px) {
  .modal-form-input {
    width: 360px;
  }
}

@media only screen and (min-width: 1158px) {
    .modal-form-input {
        padding: 11px 38px;
    }
}

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

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

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

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

.modal-form-comment:focus {
    border-color: #4d5ae5;
}

.modal-form-comment::placeholder {
    color: rgba(46, 47, 66, 0.4);
}

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

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

.modal-form-label {
    display: flex;
    align-items: center;
}

.privacy-accent {
    line-height: 1.33;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #4d5ae5;
}

.modal-form-checkbox {
    cursor: pointer;
    user-select: none;
    margin-bottom: 24px;
}

.modal-form-checkbox input {
    display: none;
}

.checkbox-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: transparent;
    border-radius: 2px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    cursor: pointer;
    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);
}

input[type="checkbox"]:checked+.modal-form-label>.checkbox-square {
    background-color: #404bbf;
    border: none;
    fill: #F4F4FD;
}

.modal-checkbox-icon {}

/* #endregion */