/* font-family: "Roboto", sans-serif;
font-family: "Raleway", sans-serif; */

:root {
  --accent-color: #4d5ae5;
  --white-color: #ffffff;
  --main-text-color: #2e2f42;
  --secondary-text-color: #434455;
  --bg-light: #f4f4fd;
  --input-border: rgba(46, 47, 66, 0.4);
  --check-color: #F4F4FD;
}

:root {
    --font-primary: "Roboto", sans-serif;
    --font-secondary: "Raleway", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {

    list-style-type: none;
    padding: 0;
    margin: 0;
}

a {
  list-style-type: none;
  text-decoration: none;
}

address{
font-style: normal;
}


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

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 section*/

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

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

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


/* Header section*/

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

.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;
  align-items: center;

  justify-content: space-between;

}

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

.nav-list {
    display: none;
}

.nav-item {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #2e2f42;
}

.nav-link {
 position: relative ;
 font-weight: 500;
 font-size: 16px ;
 line-height: 1.5;
 letter-spacing: 0.02em;
 color: #2e2f42;
 display: block;
 padding: 24px 0;
transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
 }

 .nav-link.current {
  position: relative ;
 }

.nav-link::after {
content: "" ;
position: absolute;
left: 0;
bottom: -1px;
width: 100%;
height: 4px;
border-radius: 2px;
background-color:#404bbf ;
opacity: 0;
transition:  opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);

}
.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.current::after
{
  opacity: 1;
}

.contacts {
 font-style: normal;
 
 }

.contacts-link {
    font-size: 12px;
    line-height: 1.5;

    display: block;
    padding: 24px 0;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #434455;
   transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contacts-list {
display: none;
}

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

/* header section*/

.mobile-menu-button{
  padding: 0;
  border: none;
  background-color: transparent;
}

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

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

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

   .header-logo {
        padding: 24px 0;
        margin-right: 120px;
        height: 72px;
        display: flex;
        align-items: center;
    }

   .contacts-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        
        justify-content: center; 
        align-items: flex-end;
        height: 72px; 
    }

    .header-container {
      
        height: 72px; 
      
}

 
    .contacts-list {
        display: flex;
        flex-direction: column;
        gap: 12px; 
        height: 100%;
        justify-content: center; 
        align-items: flex-end;
    }

    .contacts-link {
        padding: 0;  
        font-size: 14px;
        line-height: 1.17; 
        letter-spacing: 0.04 em;
        font-weight: 400;
    }
  }

@media screen and (min-width: 1158px) {
   .header-logo {
        margin-right: 76px;
        display: block;
    }

    .contacts-list {
        flex-direction: row;
        gap: 40px;
    }

    .contacts-link {
        font-size: 16px;
        letter-spacing: 0.02em;
    }

}

/* mobile section*/

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

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

.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;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: #fff;
    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);
}

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

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

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

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

.mobile-menu-nav-links:hover,
.mobile-menu-nav-links:focus {
    color: #404bbf;
}

.mobile-menu-contact {
    margin-bottom: 48px;
}

.mobile-menu-contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    
}

.mobile-menu-contact-info {
    font-weight: 500; 
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.02em;
   
    color: #434455;
}

.mobile-menu-contact-info:hover,
.mobile-menu-contact-info:focus {
    color: #404bbf;
}

.list-socials-mobile {
    display: flex;
    gap: 40px;
}

.mobile-menu-icon-tell {
    width: 40px;
    height: 40px;
}

.mobile-menu-socials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
   
    background-color: var(--main-color, #4d5ae5);

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

.mobile-menu-socials:hover,
.mobile-menu-socials:focus{
    background-color: #404bbf;
}

.mobile-transition{
     fill: #f4f4fd;
}


.mobile-menu-close:hover,
.mobile-menu-close:focus {

    background-color: #E7E9FC;
   
}

/* hero section*/

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

@media screen and (min-resolution: 192dpi) {
    .page-main {
        background-image: linear-gradient(rgba(46, 47, 66, 0.7), rgba(46, 47, 66, 0.7)),
            url(../images/people-office1-mob@2x.jpg);
    }
}

.hero-text{
     font-weight: 700;
    font-size: 36px;
    line-height: 107%;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-align: center;
    max-width: 216px;
    margin: 0 auto;
    margin-bottom: 72px;
}


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

.hero-btn:focus,
.hero-btn:hover {
    background-color: #404bbf;

}

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

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

    .hero-text {
        font-size: 56px;
        line-height: 107%;
        max-width: 496px;
        margin-bottom: 36px;
    }
}

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

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

    .hero-text {
        margin-bottom: 48px;

    }
}

/* features  section*/

.features-section{
 padding: 96px 0;
}

.features-list{
     display: flex;
     flex-wrap: wrap;
     gap: 72px;
}

.features-item{
    width: 100%;
}

.icon-box {
    display: none;
}

.icon-box svg{
   fill: #2e2f42;
}

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

.features-description{
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #434455;
}

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

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

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

@media screen and (min-width: 1158px) {
    .features-list {
        gap: 24px;
    } 
    
    .features-section {
        padding: 120px 0;
    }

    .features-item {
        width: calc((100% - 72px) / 4);
    }

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

    .features-title {
        font-weight: 500;
        font-size: 20px;
        line-height: 120%;
    }

    .features-description {
        font-weight: 400;
    }
}

/* features  section*/

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

.section-title{
    font-weight: 700;
    font-size: 36px;
    line-height: 111%;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: capitalize;
    color: #2e2f42;
    margin-bottom: 72px;
}

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

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

.container-people{
    padding: 32px 0;
}

.member-title{
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.02em;
    color: #2e2f42;
    text-align: center;
    margin-bottom: 8px;
}

.member-text{
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.02em;
    color: #434455;
    text-align: center;
    margin-bottom: 8px;
}

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

.socials-item{
  width: 40px;
  height: 40px;
}


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

}

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

    .team-list {
        gap: 24px;
    }

    .team-item {
        width: calc((100% - 72px) / 4);
    }
}

/* portfolio section*/

.human-section {
  width: 100%;
  height: 100%;
  background-color: var(--main-color, #4d5ae5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.human-clas {
  fill:  #f4f4fd;

}

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

.portfolio-title{
     font-weight: 700;
    font-size: 36px;
    line-height: 111%;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: capitalize;
    color: #2e2f42;
    margin-bottom: 72px;
}

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

.portfolio-item{
     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);

}

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

.container-folder{
    padding: 32px 16px;
    border: 1px solid #e7e9fc;
    border-top: none;
}

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

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

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

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

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

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

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

    .portfolio-list {
        gap: 48px 24px;
    }

    .portfolio-item {
        width: calc((100% - 48px) / 3);
        box-shadow: none;
    }

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

    .overlay-text {
        display: block;
    }

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

/* footer section*/

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

.main-footer{
    display: flex;
    flex-wrap: wrap;
    gap: 72px;
    justify-content: center;
}

.wrap-footer{
    text-align: center;
}

.footer-logo{
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 18px;
    line-height: 117%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #4d5ae5;
    display: block;
    margin-bottom: 16px;
}

.logo-part{
  font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 18px;
    line-height: 117%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #f4f4fd;
}

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


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


.footer-list{
    display: flex;
    gap: 16px;

}

.footer-icon{
   width: 40px;
    height: 40px;
}

.footer-transition{
  fill: #f4f4fd;
}

.social-footer{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4d5ae5;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.footer-subscribe-form{
   text-align: center;
}

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

.footer-form{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.footer-form-input{
    border: 1px solid #ffffff;
    border-radius: 4px;
    width: 288px;
    height: 40px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    background-color: transparent;
    font-weight: 400;
    font-size: 12px;
    line-height: 200%;
    letter-spacing: 0.04em;
    color: #ffffff;
    padding-left: 16px;
    opacity: 0.3;
    outline: transparent;
}


.footer-form-input:hover,
.footer-form-input:focus{
  opacity: 1;
  border: 1px solid  #31d0aa;
}

.subscribe-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 8px 24px;
    min-width: 165px;
    height: 40px;
    background-color: #4d5ae5;
    border: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.04em;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}


.subscribe-btn:hover,
.subscribe-btn:focus{
  background-color: #31d0aa;
}

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

@media screen and (min-width: 768px){
  .main-footer{
      align-items: baseline;
      justify-content: flex-start;
      gap: 72px 24px;
      max-width: 584px;
  }

.wrap-footer{
  text-align: left;
}

.another-footer{
  text-align: left;
}

.subscribe-form-text{
  text-align: left;
}

.footer-form{
  gap: 24px;
}

.footer-form-input{
  width: 264px;
}
}

@media screen and (min-width: 1158px) {
    .main-footer {
        gap: 0;
        max-width: none;
        justify-content: center;
    }

   .wrap-footer {
        margin-right: 120px;
    }

   .social-container {
        margin-right: 80px;
    }

   .footer-form-input {
        opacity: 1;
    }
}

/* modal section*/

.backdrop{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: 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;
}

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

.modal-overlay:not(.is-open) .modal {
    transform: translate(-50%, -100%);
}

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

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

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

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

.formbox-form{
   display: flex;
    flex-direction: column;
}

.formbox-form-group{
  margin-bottom: 8px;
}

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

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

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

.formbox-input:hover,
.formbox-input:focus
{
border-color: #4d5ae5;
}

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


.formbox-input-wrapper:hover .formbox-input-icon-person,
.formbox-input-wrapper:focus .formbox-input-icon-person{
  fill: #4d5ae5;
}

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

.formbox-textarea{
      width: 100%;
    height: 120px;
    font-weight: 400;
    font-size: 12px;
    line-height: 117%;
    letter-spacing: 0.04em;
    color: #434455;
    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);
}

.formbox-textarea:hover,
.formbox-textarea:focus{
  border-color: #4d5ae5;
}

/* .formbox-textarea !!! */

.formbox-textarea::placeholder{
 color: rgba(46, 47, 66, 0.4);
}


.formbox-agreement{
  margin-bottom: 24px;
}

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

.formbox-checkbox-okey{
      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;
    margin-right: 8px;
}

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

.formbox-link{
  color: var(--accent-color);
  text-decoration: underline;
  line-height: 1.3;
}

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

.formbox-submit-btn {
  background-color: var(--accent-color);
}

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

/* .formbox-icon */

.formbox-checkbox-okey-icon,
.formbox-checkbox-okey-icon use {
  fill: transparent;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.formbox-checkbox-okey-icon {
  width: 10px;
  height: 8px;
}

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

