:root {
  --iris: #4d5ae5;
  --ocean: #404bbf;
  --navy-blue: #2e2f42;
  --green: #31d0aa;
  --slate: #434455;
  --light-slate: #8e8f99;
  --cornflower: #e7e9fc;
  --cloud: #f4f4fd;
  --navy-blue-modal: rgba(46, 47, 66, 0.4);
  --grey: rgba(46, 47, 66, 0.7);
  --white: #fff;
  --dairy: #fcfcfc;
  --font-family: "Roboto", sans-serif;
  --second-family: "Raleway", sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--slate);
  background-color: var(--white);
  
}



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

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

a {
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  background-color: transparent;
  padding: 0;
}

.visually-hidden {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  margin: -1px;
}

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

.menu {
  border-bottom: 1px solid var(--cornflower);
  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);
}

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

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

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

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

.logo {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--iris);
}

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

.logo-span {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.16667;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy-blue);
}

.burger-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  cursor: pointer;
  border: none;
  background: transparent;
}

.burger-icon {
  position: relative;
  display: block;
  width: 16.8px;
  height: 2.4px;
  background-color: #2f2f37;
  transition: background-color 250ms, transform 250ms;
}

.burger-icon::before,
.burger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16.8px;
  height: 2.4px;
  background-color: #2f2f37;
  transition: transform 250ms, top 250ms, width 250ms;
}

.burger-icon::before {
  top: -5px;
}

.burger-icon::after {
  top: 5px;
}

.burger-btn.is-open {
  position: fixed;
  z-index: 999;
  right: 24px;
  top: 24px;
  padding-left: 6.5px;
  padding-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--cornflower);
}

.burger-btn.is-open .burger-icon {
  background-color: transparent;
}

.burger-btn.is-open .burger-icon::before {
  top: 0;
  transform: rotate(-45deg);
  width: 9px;
  height: 1px;
}

.burger-btn.is-open .burger-icon::after {
  top: 0;
  transform: rotate(45deg);
  width: 9px;
  height: 1px;
}


.burger-menu {
  z-index: 1;
  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);
}

.burger-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;
  justify-content: space-between;
  height: 100%;
}


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

.burger-link {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  color: var(--navy-blue);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.burger-link:hover,
.burger-link:focus {
  color: var(--ocean);
}

.address-burger {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

.burger-address-cont {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--slate);
  display: block;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.burger-address-cont:hover,
.burger-address-cont:focus {
  color: var(--ocean);
}

.address-burger .socials-list {
  gap: 40px;
}

.address-burger .socials-list-item {
  max-width: 40px;
}

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

  .navigation {
    display: flex;
  }

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

  .navigation-list {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .nav-list-a {
    display: block;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--navy-blue);
    padding-top: 24px;
    padding-bottom: 24px;
    transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-list-a.current {
    position: relative;
  }

  .nav-list-a.current::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background-color: var(--ocean);
  }

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

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

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

  .nav-list-a:hover,
  .nav-list-a:focus,
  .address-cont:hover,
  .address-cont:focus,
  .nav-list-a.current {
    color: #404bbf;
  }
}

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

  .header-logo {
    margin-right: 76px;
  }

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

  .address-cont {
    font-size: 16px;
  }
}

.title {
  padding-top: 72px;
  padding-bottom: 72px;
  background-image: linear-gradient(to bottom,
      rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)),
    url(../images/Dark-bgmobile1x.jpg);
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: rgba(46, 47, 66, 0.7);
}

@media (min-resolution: 2x) {
  .title {
    background-image: linear-gradient(to bottom,
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)), url('../images/Dark-bgmobile2x.jpg');
  }
}

.title-t {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--white);
  margin-bottom: 72px;
  max-width: 496px;
  margin-right: auto;
  margin-left: auto;
  max-width: 216px;
}

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

.all-btn {
  background-color: var(--iris);
}

.all-btn:hover,
.all-btn:focus {
  background-color: var(--ocean);
}

@media screen and (min-width: 768px) {

  .title {
    background-image: linear-gradient(to bottom,
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)),
      url(../images/Dark-bgtablet1x.jpg);
    padding-top: 112px;
    padding-bottom: 112px;
  }

  @media (min-resolution: 2x) {
    .title {
      background-image: linear-gradient(to bottom,
          rgba(46, 47, 66, 0.7),
          rgba(46, 47, 66, 0.7)), url('../images/Dark-bgtablet2x.jpg');
    }
  }

  .title-t {
    font-size: 56px;
    line-height: 1.07;
    margin-bottom: 36px;
  }
}

@media screen and (min-width: 1158px) {
  .title {
    background-image: linear-gradient(to bottom,
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)),
      url(../images/people-office.jpg);
    padding-top: 188px;
    padding-bottom: 188px;
  }

  @media (min-resolution: 2x) {
    .title {
      background-image: linear-gradient(to bottom,
          rgba(46, 47, 66, 0.7),
          rgba(46, 47, 66, 0.7)), url('../images/office.jpg');
    }
  }

  .title-t {
    margin-bottom: 48px;
  }
}

.advantages {
  padding-top: 96px;
  padding-bottom: 96px;
}

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

.advantages-icon {
  display: none;
}

.advantages-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--navy-blue);
  text-align: center;
  margin-bottom: 8px;
}

.advantages-p {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--slate);
  letter-spacing: 0.02em
}

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

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

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

@media screen and (min-width: 1158px) {
  .advantages {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .advantages-list {
    flex-wrap: nowrap;
    gap: 24px;
    margin: 0 auto;
  }

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

  .advantages-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--light-slate);
    background: var(--cloud);
    margin-bottom: 8px;
    border-radius: 4px;
    height: 112px;
  }

  .advantages-title {
    font-weight: 500;
    font-size: 20px;
  }

  .advantages-p {
    font-weight: 400;
  }
}

.our-team {
  background-color: var(--cloud);
  padding-top: 96px;
  padding-bottom: 96px;
}

.our-team-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--navy-blue);
  margin-bottom: 72px;
}

.our-team-items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 72px;
}

.our-team-list {
  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);
  background: var(--white);
  border-radius: 0 0 4px 4px;
}

.our-team-person {
  padding: 32px 16px;
}

.list-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--navy-blue);
  margin-bottom: 8px;
}

.list-p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--slate);
  margin-bottom: 8px;
}

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

.socials-list-item {
  align-items: center;
}

.socials-item {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--iris);
  padding: 12px;
  border-radius: 50%;
  height: 40px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.socials-item:hover,
.socials-item:focus {
  background-color: var(--ocean);
}

.socials-img {
  fill: var(--cloud);
}

@media screen and (min-width: 768px) {
  .our-team-items {
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 64px;
    column-gap: 24px;
  }
}

@media screen and (min-width: 1158px) {
  .our-team-items {
    flex-wrap: nowrap;
  }
}

.our-portfolio {
  padding-top: 96px;
  padding-bottom: 96px;
}

.our-portfolio-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--navy-blue);
  margin-bottom: 72px;
}

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

@media screen and (max-width: 767px) {
  .our-portfolio-list {
    flex-direction: column;
  }
}

.our-portfolio-img {
  position: relative;
  overflow: hidden;
}

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

.our-portfolio-img {
  display: flex;
  justify-content: center;
  align-items: center;
}



.ovrlay-text {
  width: 100%;
  height: 100%;
  font-family: var(--font-family);
  position: absolute;
  top: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  padding: 40px 32px;
  letter-spacing: 0.02em;
  color: var(--cloud);
  background-color: var(--iris);
  transform: translateY(100%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.our-portfolio-list-contacts {
  padding: 32px 16px;
  border: 1px solid var(--cornflower);
  border-top: none;
  z-index: 999;
}

.our-portfolio-list .list-title {
  text-align: left;
}

.our-portfolio-list .list-p {
  text-align: left;
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
 

  .our-portfolio-list {
    flex-wrap: wrap;
    row-gap: 72px;
    column-gap: 24px;
  }

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

@media screen and (min-width: 1158px) {
 
  .our-portfolio {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .our-portfolio-list {
    row-gap: 48px;
  }

  .our-portfolio-list-item {
    width: calc((100% - 48) / 3);
  }
}

.footer {
  background-color: var(--navy-blue);
  padding-top: 96px;
    padding-bottom: 96px;
}

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

.footer-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container-footer .logo {
  margin: 0 auto 16px auto;
  display: inline-block;
}

.logo-fs {
  color: var(--cloud);
}

.footer-p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--cloud);
  max-width: 288px;
}

.footer-soc {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-soc-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-soc .socials-list {
  gap: 16px;
}

.footer-soc .socials-item {
  display: flex;
  padding: 8px;
  width: 100%;
  height: 100%;
}

.footer-soc .socials-item:hover,
.footer-soc .socials-item:focus {
  background-color: var(--green);
}

.footer-subscribe {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-sub {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-sub-email {
  border: 1px solid var(--white);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  width: 288px;
  height: 40px;
  background-color: transparent;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--white);
  padding-left: 16px;
}

.form-sub-email::placeholder {
  color: var(--white);
}

.submit-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--iris);
  border-radius: 4px;
  border: none;
  min-width: 165px;
  cursor: pointer;
  height: 40px;
  padding: 8px 24px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--white);
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media screen and (min-width: 768px) and (max-width:1157px) {
  .container-footer {
    flex-wrap: wrap;
    width: 584px;
  }
    
}

@media screen and (min-width: 768px) {
  .container-footer {
    flex-direction: row;
    gap: 0;
  
  }
.footer-soc {
      align-items: baseline;
}
.container-footer .logo {
  margin: 0 0 16px 0;
}
  .footer-title {
    margin-bottom: 72px;
    margin-right: 24px;
    align-items: baseline;
    
  }

  .form-sub-email {
    width: 264px;
  }

  .form-sub {
    flex-direction: row;
    gap: 24px;
  }
  .footer-subscribe {
    align-items: baseline;
  }
}


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

  .footer-title {
    align-items: baseline;
    margin-bottom: 0;
    margin-right: 120px;
  }

  .container-footer .logo {
    margin: 0 0 16px 0;
  }

  .footer-soc {
    margin-right: 80px;
    align-items: baseline;
  }

  .footer-subscribe {
    align-items: baseline;
  }
}

.modal-overlay {
  background-color: var(--navy-blue-modal);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  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;
}

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

.modal-close {
  cursor: pointer;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cornflower);
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  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);
}

.close-icon {
  fill: var(--navy-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-close:hover,
.modal-close:focus {
  background-color: var(--ocean);
  border: none;
}

.modal-close:hover .close-icon,
.modal-close:focus .close-icon {
  fill: var(--white);
}

.modal-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--navy-blue);
  margin-bottom: 16px;
}

.form-item {
  margin-bottom: 8px;
}

.form-label {
  display: block;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: var(--light-slate);
  margin-bottom: 4px;
}

.form-block {
  position: relative;
}

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

.form-input:hover,
.form-input:focus {
  border-color: var(--iris);
}

.form-input:hover+.form-block-icon,
.form-input:focus+.form-block-icon {
  fill: var(--iris);
}

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

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

.form-input-comment {
  height: 120px;
  padding: 8px 16px;
  resize: none;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: 0.04em;
  color: var(--navy-blue-modal);
}

.form-input-comment:hover::placeholder {
  color: var(--iris);
}

.form-item-checkbox {
  margin-bottom: 24px;
}

.form-label-privacy {
  align-items: center;
  margin-bottom: 24px;
}

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

.checkbox-privacy-item {
  color: var(--iris);
}

.checkbox-checked:checked+.form-label-privacy>.form-label-checkbox {
  background-color: var(--ocean);
  border: none;
  fill: var(--cloud);
}

.submit-btn-form {
  display: block;
  cursor: pointer;
  padding: 16px 32px;
  min-width: 169px;
  height: 56px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  border: none;
  margin-left: auto;
  margin-right: auto;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-btn-form:hover,
.submit-btn-form:focus {
  background-color: var(--ocean);
}

@media screen and (min-width: 768px) {
  .modal {
    width: 408px;
    padding-left: 24px;
    padding-right: 24px;
  }
}
