.hidden {
    display: none;
}

body {
    font-family:"Roboto",sans-serif;
    color: #434455;
    background-color: #FFFFFF;
    margin: 0;
}
main {
    flex-grow: 1;
    min-height: 100vh;
}

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

button {
    cursor: pointer;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;
	margin-bottom: 0;
}
a {
    text-decoration: none;
    color: #2E2F42;
    font-style: normal;
}
ul {
    list-style-type: none;
}

ul, ol {
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 0;
}

/* common */

.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 */
    .header-page {
    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);
}

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

.nav-list,
.address {
    display: none;
}

.first-logo {
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    color: #4d5ae5;
    padding: 16px 0;
    display: block;

}
.first-web {
    color: #2e2f42;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.burger-btn {
    border: none;
    padding: 0;
    background-color: transparent;
}
.burger-icon {
    display: block;
    fill: #2F2F37;
}

/* tablet */

@media screen and (min-width: 768px) {
    .burger-btn {
    display: none;
  }
  .nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
  }

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

.menu:focus {
    color: #404bbf;
}

.menu:hover {
    color: #404bbf;
} 

.current-page {
    position: relative;
    color: #404bbf;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.current-page::after {
    content: '';
    position: absolute;
    background-color: rgba(64, 75, 191, 1);
    border-radius: 2px;
    width: 100%;
    height: 4px;
    bottom: -1px;
    left: 0;
}

  .address {
    font-style: normal;
    display: block;
}

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

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

.email:hover,
.email:focus {
    color: #404BBF;
}

.navbar-logo {
    display: flex;
    align-items: center;
} 

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

/* mobile menu */

.mobile-menu {
    background-color: #FFFFFF;
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), 
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);

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

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

.mobile-menu-container {
    padding-top: 72px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    
    height: 100%;
    max-width: 320px;

}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;

    background-color: transparent;
    border: 1px solid #E7E9FC;
    border-radius: 50%;
    fill: #2E2F42;
    width: 24px;
    height: 24px;

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

    margin-bottom: 24px;

    transition: background-color 250ms ease, 
    border 250ms ease, 
    fill 250ms ease;
}

.mobile-menu-close:hover,
.mobile-menu-close:focus {
    background-color: #404BBF;
    border: none;
    fill: #FFFFFF;
}

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

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

.menu-nav-item {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.11;
}
.menu-nav-item.studio {
    color: #404BBF;
}

.menu-nav-item:hover,
.menu-nav-item:focus {
    color: #404BBF;
}

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

.mm-address-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mm-address-item {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;

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

.mm-address-item:hover,
.mm-address-item:focus {
    color: #404bbf;
}

.mm-address-item.tel-number {
    color: #4D5AE5;
}

.mm-soc-list {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.mm-soc-item {
    width: 40px;
    height: 40px;
}


.mm-soc-link {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: none;
    background-color: #4D5AE5;

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

    transition: background-color 250ms ease;
}

.mm-soc-link:hover,
.mm-soc-link:focus {
     background-color: #31D0AA;
}

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

/* laptop header */

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

.contact-list {
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

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


/* hero section basis */

.header-section {
    background-color: #2E2F42;
    background-image: 
    linear-gradient(
        to bottom,
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
    ),
     url(../images/background-hero/hero-back-mob-min.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    text-align: center;

    padding: 72px 0;

    max-width: 320px;
    margin: 0 auto;
}

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

.main-title {
    font-weight: 700;
    max-width: 216px;
    margin: 0 auto;
    color: #FFFFFF;
    line-height: 1.11;
    font-size: 36px;
    text-align: center;
    letter-spacing: 0.02em;

    margin-bottom: 72px;
}

.order-button {
    display: block;
    min-width: 169px;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    background-color: #4D5AE5;
   color: #FFFFFF;
   font-size: 16px;
   line-height: 1.5;
   letter-spacing: 0.04em;
   border: none;
   border-radius: 4px;
   padding: 16px 32px;
   margin-left: auto;
   margin-right: auto;
   transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.order-button:hover,
.order-button:focus {
    background-color: #404BBF;
}

/* hero section tablet */

@media screen and (min-width: 768px) {
    .header-section {
    padding: 112px 0;
    max-width: 768px;
}
.main-title {
    max-width: 496px;
    line-height: 1.07;
    font-size: 56px;
    letter-spacing: 0.02em;
    margin-bottom: 36px;
}
.header-section {
    background-image: 
    linear-gradient(
        to bottom,
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
    ),
     url(../images/background-hero/hero-back-tab-min.jpg);
}
@media (min-resolution: 192dpi) {
    .header-section {
        background-image: 
    linear-gradient(
        to bottom,
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
    ),
     url(../images/background-hero/hero-back-tab@2x-min.jpg);
    }

}
}





/* hero section laptop */

@media screen and (min-width: 1158px) {
    .header-section {    
    margin: 0 auto;
    padding: 188px 0;
    max-width: 1440px;
    
}
.order-button {
   margin-top: 48px;
}

.header-section {
    background-image: 
    linear-gradient(
        to bottom,
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
    ),
     url(../images/background-hero/hero-back-desk-min.jpg);
}

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

}
}

/* charachteristics section basis */

.section {
    padding: 96px 0;
}

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

.objects-icons {
    display: none;
}

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

.characteristics-list-item {
    max-width: 100%;
}

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

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

/* charachterisctics section tablet */

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

.characteristics-list-item {
    max-width: 356px;
}

.characteristics {
    text-align: left;
}
}

/* charachterisctics section laptop */

@media screen and (min-width: 1158px) {
    .section {
    padding: 120px 0;
}
    .objects-icons {
    display: block;
}
.icon-characteristics {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 264px;
    height: 112px;
    border-width: 1px;
    border-radius: 4px;
    border-color: #8E8F99;
    border-style: solid;
    background-color: #F4F4FD;
    margin-bottom: 8px;
}

.characteristics {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
}

.characteristics-list {
    gap: 24px;
    display: flex;
}

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

.definition {
    font-weight: 400;
}
}


/* team section basis */

.team-section {
    padding: 120px 0;
    background-color: #F4F4FD;
    text-align: center;
}

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

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

.team-list-item {
    max-width: 100%;
    background-color: #FFFFFF;
    border-radius: 0px 0px 4px 4px;
    box-shadow: 0px 2px 1px 0px rgba(46, 47, 66, 0.08),
     0px 1px 1px 0px rgba(46, 47, 66, 0.16),
     0px 1px 6px 0px rgba(46, 47, 66, 0.08);
}

.card-content {
    padding: 32px 0;
}

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

.profession {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

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

.team-icons-list-item {
    width: 40px;
    height: 40px;
}

.team-media-icon {
    fill: #f4f4fd;
}

.circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #4D5AE5;

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

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

.circle:hover, 
.circle:focus {
    background-color: #404BBF;
}

/* team section tablet */

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

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

    .team-list {
        flex-wrap: nowrap;
    }
}

/* portfolio section basis */

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

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

.portfolio-list-item {
    max-width: 100%;

    transition: box-shadow;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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


.portfolio-list-item:hover {
    box-shadow: 0px 2px 1px 0px rgba(46, 47, 66, 0.08),
    0px 1px 1px 0px rgba(46, 47, 66, 0.16),
    0px 1px 6px 0px rgba(46, 47, 66, 0.08);
}

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

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

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

/* portfolio section tablet */

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

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

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

.portfolio-list-item {
    width: calc((100% - 48px) / 3);
    transition: box-shadow;
    transition-duration: 250ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
}

/* footer container basis */

.footer {
    background-color: #2E2F42;
    color: #F4F4FD;
    padding: 96px 0;
}

.footer-first-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 72px;
}

.last-logo {
    color: #4d5ae5;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.17;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: inline-block;
    margin-bottom: 16px;
}
.dark-studio {
    color: #f4f4fd;
}

.bottom-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.socials-footer {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;

    margin-bottom: 72px;
}

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

.icons-socials-footer {
    display: flex;
    gap: 16px;
}

.icons-socials-footer-list {
    width: 40px;
    height: 40px;
}

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

.subscribe-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

input {
	font-family: inherit;
}

.subs-text {
    color: #FFFFFF;

    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.subscribe-input {
    color: white;
    height: 40px;
    width: 288px;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0.04em;

    
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    padding-left: 16px;
    
}

input::placeholder {
    font-size: 12px;
    line-height: 2;

    color: #FFFFFF;
    opacity: 0.7;
}

.subscribe-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #4D5AE5;
    color: #FFFFFF;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    height: 40px;
    width: 165px;

    padding: 8px 24px;
    border: none;
    border-radius: 4px;

    cursor: pointer;
}

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

/* footer section tablet */

@media screen and (min-width: 768px) {
    .footer-container {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        row-gap: 72px;

        padding-left: 108px;
        padding-right: 108px;
    }

    .footer-first-box {
        display: block;
        margin: 0;
    }

    .bottom-text {
    max-width: 264px;
}

.socials-footer {
    display: block;
    margin: 0;
}

.social-meadia-text {
    margin-bottom: 16px;
}

.subs-text {
    align-self: flex-start;
}

.subscribe-input {
    max-width: 264px;
}
.subscribe-form {
    flex-direction: row;
    gap: 24px;
}

}

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

.footer-container {
    flex-wrap: nowrap;
    padding: 0px 15px;
    gap: 0;
}

.footer-first-box {
    margin-bottom: 0;
}

.socials-footer {
    margin-left: 120px;
}

.subscribe-input {
    max-width: 264px;
}


 .subscribe-box {
    max-width: 600px;
    margin-left: auto;
}

.bottom-text {
    width: 264px;    
}


}

/* модальне вікно */


.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;

    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);
}
.backdrop.is-open  {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background-color: #FCFCFC;
    border-radius: 4px;
    width: 288px;
    min-height: 623px;
    padding: 72px 16px 24px 16px;
    overflow-y: auto;
    

    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.14), 
    0px 1px 3px rgba(0, 0, 0, 0.12), 
    0px 2px 1px rgba(0, 0, 0, 0.2);

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

.close-modal-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: #E7E9FC;
    
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: 24px;
    width: 24px;
    padding: 0;
    cursor: pointer;    

    display: flex;
    justify-content: center;
    align-items: center;
    
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    border 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.close-modal-btn:hover,
.close-modal-btn:focus {
    background-color: rgba(64, 75, 191, 1);
    border: none;
}
.close-modal-btn:hover .close-icon,
.close-modal-btn:focus .close-icon {
    fill: #fff;
}

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

.modal-heading {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: #2E2F42;

    margin-bottom: 16px;
}

.overlay-form {
    color: #8E8F99;
}

.box-label {
    margin-bottom: 8px;
}

.box-label.comment-label {
    margin-bottom: 16px;
}

.box-form {
    position: relative;
}

.overlay-form label {
    display: block;

    margin-bottom: 4px;

    font-size: 12px;
    line-height: 1.17;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.form-input:focus {
    border-color: rgba(77, 90, 229, 1);
    outline: none;
}

.form-input:focus + .overlay-icon {
    fill: rgba(77, 90, 229, 1);
}

.form-input {
    background-color: transparent;
    outline: transparent;
    
    padding-left: 34px;

    width: 256px;
    height: 40px;

    border-radius: 4px;
    border-width: 1px;
    border-color: #2E2F4266;
    border-style: solid;

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

.comment-input {
    padding: 8px 16px;
    height: 120px;
    resize: none;
    font-size: 12px;
     line-height: 1.17;
     letter-spacing: 0.04em;
     color: rgba(46, 47, 66, 0.4);
}

.comment-input::placeholder {
    color: #2E2F4266;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.17;
}

.overlay-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);

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

.box-check {
    display: flex;
    flex-direction: row;
    margin-bottom: 24px;
    
}

.box-check .pp-label {
    display: flex;
    align-items: center;

    color: #8E8F99;
    font-size: 12px;
    line-height: 1.17;
    letter-spacing: 0.04em;

    margin-bottom: 0;
}


.pp-link {
    text-decoration: underline;
    line-height: 1.33;
    color: #4d5ae5;
}

.box {
    display: inline-flex;
    
    align-items: center;
    justify-content: center;

    border-color: #2E2F4266;
    border-radius: 2px;
    border-width: 1px;
    border-style: solid;

    min-width: 16px;
    height: 16px;
    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);
}

.visually-hidden:checked + .pp-label .box {
    background-color: #404BBF;
    border: none;
    fill: #F4F4FD;
}

.final-modal-btn {
    display: block;

    background-color: #4D5AE5;
    color: #FFFFFF;
    font-family: "Roboto" sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    font-weight: 500;
    min-width: 169px;
    height: 56px;

    padding: 16px 32px;
    margin: 0 auto;

    border-radius: 4px;
    border: none;

    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media screen and (min-width: 768px) {
    .modal {
    width: 408px;
    min-height: 584px;
    padding: 72px 24px 24px 24px;
}
    .form-input {
    padding-left: 34px;
    width: 360px;
}

.comment-input {
    padding: 8px 16px;
}
}

@media screen and (min-width: 1158px) {
    .form-input {
    padding-left: 38px;
    }
    .comment-input {
    padding: 8px 16px;
}
}