*,
::before,
::after {
  box-sizing: border-box;
}

html {
  font-family:
    system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  margin: 0;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-family:
    ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  border-color: currentcolor;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

legend {
  padding: 0;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: #434455;
}

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

.logo {
  font-family: Raleway, sans-serif;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: 0.03em;
  vertical-align: middle;
  text-transform: uppercase;
}

.logo {
  color: #2e2f42;
}

.logo-web {
  color: #4d5ae5;
}

.logo-web-2 {
  color: #ffffff;
}

.header {
  padding: 0;
  border-bottom: 1px solid #e7e9fc;
}

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

.nav .ul {
  display: flex;
  gap: 40px;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
}

.nav-info .ul {
  display: flex;
  gap: 40px;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  flex-direction: initial;
}

.nav-info {
  margin-left: auto;
  display: none;
}

.ul {
  list-style: none;
}

.nav {
  margin-left: 76px;
  display: none;
}

.nav a,
.nav-info a {
  color: #2e2f42;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover,
.nav a:focus,
.nav-info a:hover,
.nav-info a:focus {
  color: #404bbf;
}

.nav-link {
  position: relative;
}

.nav-link a {
  color: #2e2f42;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: 4px;
  background-color: #404bbf;
  border-radius: 2px;

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

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

.nav-link.active::after {
  opacity: 1;
}

h1 {
  font-size: 36px;
  line-height: 1.07;
  letter-spacing: 0.02em;
  text-align: center;
  color: #ffffff;
  margin: 0 auto;
  max-width: 216px;
}

.button {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  vertical-align: middle;
  color: #ffffff;
  background-color: #4d5ae5;
  cursor: pointer;
  padding: 16px 32px;
  border: none;
  border-radius: 4px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.text {
  font-size: 16px;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

h2 {
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-align: center;
}

.h3 {
  font-style: Medium;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 2%;
}

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

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

.footer ul {
}

.footer li {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

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

.icon-footer {
  width: 40px;
  height: 40px;
  background-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);
  cursor: pointer;
}

.icon-footer use {
  fill: #ffffff;
}

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

.footer p {
  color: #e7e9fc;
  width: none;
  margin: 0;
}

.footer a {
  text-decoration: none;
}

.footer-social svg {
  text-decoration: none;
  display: flex;
}

.footer-social {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-social-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: none;
  margin-right: none;
  margin-bottom: none;
}

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

.icon-footer {
  width: 40px;
  height: 40px;
  background-color: #4d5ae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-footer svg {
  fill: #ffffff;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: #2e2f42;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 47, 66, 0.7);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
  max-width: 1440px;
  margin: 0 auto;
}

.team {
  background-color: #f4f4fd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 120px 0;
}

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

.team .card {
  list-style: none;
  box-shadow:
    0px 2px 1px 0px #2e2f4214,
    0px 1px 1px 0px #2e2f4229,
    0px 1px 6px 0px #2e2f4214;
}

.team h2 {
  margin-bottom: 72px;
}

.team h3 {
  color: #06093b;
  margin-bottom: 8px;
  padding-top: 32px;
  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.team p {
  margin-bottom: 8px;
}

.team h3:hover {
  color: blue;
}

.ul {
  list-style: none;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.features {
  display: flex;
  padding: 120px 0;
}

.features .ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 72px;
}

.features h3 {
  display: flex;
  margin-bottom: 8px;
  justify-content: center;
  font-size: 36px;
}

.features li {
  list-style: none;
  max-width: none;
}

.features p {
}

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

.portfolio {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0;
}

.portfolio .card {
  background-color: #ffffff;
  border: 1px solid #e7e9fc;
  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .card:hover,
.portfolio .card:focus-within {
  box-shadow:
    0px 2px 1px 0px #2e2f4214,
    0px 1px 1px 0px #2e2f4229,
    0px 1px 6px 0px #2e2f4214,
    rgba(46, 47, 66, 0.16);
}

.portfolio .ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap: 72px;
}

.portfolio h2 {
  top: 1136px;
  left: 639px;
  margin-bottom: 72px;
}

.portfolio h3 {
  color: #06093b;
  padding-top: 32px;
  padding-left: 16px;
  margin-bottom: 8px;
}

.portfolio p {
  padding-bottom: 32px;
  padding-left: 16px;
}

.card {
  display: block;
  background-color: #ffffff;
}

.portfolio .card {
  border: 1px solid #e7e9fc;
}

.card-image {
  display: block;
  width: 100%;
  height: auto;
}

.icon-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-bottom: 32px;
}

.icon-item {
  width: 40px;
  height: 40px;
  background-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);
  cursor: pointer;
}

.icon-item:hover,
.icon-item:focus-within {
  background-color: #31d0aa;
}

.icon {
  fill: #ffffff;
}

.svg-card {
  background-color: #f4f4fd;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  border: 1px solid #8e8f99;
  align-items: center;
  padding-bottom: 24px;
  padding-top: 24px;
  margin: 0 auto;
  display: none;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
}

.card-image {
  display: block;
  width: 100%;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: #3f51f5;
  color: #fff;
  padding: 24px;
  line-height: 1.4;
  transform: translateY(100%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 40px;
  padding-left: 32px;
  padding-right: 32px;
}

.image-wrapper:hover .overlay {
  transform: translateY(0);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 47, 66, 0.6);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: #e7e9fc;
  cursor: pointer;
}

.backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(46, 47, 66, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 9999;
  transition:
    opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modal {
  position: relative;
  z-index: 10000;
}

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

.modal {
  position: relative;
  width: 288px;
  background-color: #ffffff;
  border-radius: 4px;
  transform: scale(0.9);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0px 16px 24px 16px;
}

.backdrop.is-open .modal {
  transform: scale(1);
}

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

.modal-close:hover,
.modal-close:focus {
  background-color: #404bbf;
  color: #ffffff;
}

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

.contact-form label {
  margin-bottom: 4px;
  color: #8e8f99;
  font-size: 12px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  border-radius: 4px;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form textarea {
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4d5ae5;
}

.policy-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #8e8f99;
  margin-top: 16px;
}

.policy-label input {
  margin-top: 2px;
  margin-bottom: 24px;
}

.contact-form ::placeholder {
  font-size: 12px;
}

.contact-form a {
  color: #4d5ae5;
  text-decoration: underline;
}

.modal-submit-btn {
  align-self: center;
  min-width: 169px;
  height: 56px;
  background-color: #4d5ae5;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 250ms ease;
  margin-top: 24px;
}

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

.modal h2 {
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 16px;
  padding-top: 72px;
  margin-top: 0 auto;
}

.input-wrapper {
  position: relative;
  margin-bottom: 8px;
  line-height: 40px;
}

.icon-input {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  fill: #2e2f42;
  pointer-events: none;
}

.input-wrapper input {
  height: 40px;
  text-indent: 26px;
}

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

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

.policy-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.policy-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #8e8f99;
  cursor: pointer;
}

.custom-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(46, 47, 66, 0.4);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  fill: transparent;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-checkbox svg {
  fill: #ffffff;
  opacity: 0;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.policy-checkbox:checked + .custom-checkbox {
  background-color: #404bbf;
  border-color: #404bbf;
}

.policy-checkbox:checked + .custom-checkbox svg {
  opacity: 1;
}

.policy-checkbox:focus + .custom-checkbox {
  border-color: #4d5ae5;
}

.policy-text a {
  color: #4d5ae5;
  text-decoration: underline;
}

.subscription-form-wrapper {
  display: flex;
  flex-wrap: wrap;
}

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

.subscription-form input[type="email"] {
  width: 288px;
  padding: 8px 12px;
  border: 1px solid #ffffff;
  border-radius: 4px;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0px 4px 4px 0px #00000026;
  background-color: #2e2f42;
  color: #ffffff;
  font-size: 12px;
  height: 40px;
}

.subscription-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding-left: 24px;
  padding-right: 24px;
  background-color: #4d5ae5;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  min-width: 165px;
  flex-shrink: 0;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.subscription-button svg {
  margin-left: 16px;
}

.subscription-button:hover,
.subscription-button:focus {
  background-color: #31d0aa;
}

.footer-list {
  display: flex;
}

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

.burger-button svg {
  fill: #2e2f42;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  transform: translateX(100%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-container {
  position: relative;
  height: 100%;
  padding: 72px 24px 40px;

  display: flex;
  flex-direction: column;
}

.menu-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  background-color: #e7e9fc;
  width: 24px;
  height: 24px;
}

.menu-close-btn svg {
  fill: #2e2f42;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-nav-link {
  font-size: 36px;
  font-weight: 700;
  color: #2e2f42;
  text-decoration: none;
}

.mobile-nav a {
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  color: #404bbf;
}

.mobile-contacts {
  margin-top: auto;
  font-style: normal;
}

.mobile-contacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 20px;
  color: #434455;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-contacts-list a:hover,
.mobile-contacts-list a:focus {
  color: #4d5ae5;
}

.mobile-social-list {
  list-style: none;
  padding: 0;
  margin-top: 48px;
  display: flex;
  gap: 40px;
}

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

.mobile-social-link svg {
  fill: #ffffff;
}

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

/* 
====================================
====================================
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

BURADAN SONRASI TABLET! KARIŞTIRMA!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
====================================
====================================
*/

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

  .mobile-menu {
    display: none;
  }

  h1,
  h2,
  h3,
  p,
  ul {
    margin: 0;
    padding: 0;
  }

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

  body {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.5;
    color: #434455;
  }

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

  .logo {
    font-family: Raleway, sans-serif;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    vertical-align: middle;
    text-transform: uppercase;
  }

  .logo {
    color: #2e2f42;
  }

  .logo-web {
    color: #4d5ae5;
  }

  .logo-web-2 {
    color: #ffffff;
  }

  .header {
    padding: 0 16px 0 16px;
    border-bottom: 1px solid #e7e9fc;
  }

  .header .container {
    display: flex;
    align-items: center;
    justify-content: none;
    padding: 16px 0 16px 0;
  }

  .nav .ul {
    display: flex;
    gap: 40px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
  }

  .nav-info .ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 122px;
    font-weight: 400;
    flex-direction: column-reverse;
  }

  .nav-info {
    margin-left: auto;
    display: block;
  }

  .ul {
    list-style: none;
  }

  .nav {
    margin-left: 76px;
    display: block;
  }

  .nav a,
  .nav-info a {
    color: #2e2f42;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav a:hover,
  .nav a:focus,
  .nav-info a:hover,
  .nav-info a:focus {
    color: #404bbf;
  }

  .nav-link {
    position: relative;
  }

  .nav-link a {
    color: #2e2f42;
    text-decoration: none;
    font-weigh: 500;
    font-size: 16px;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -20px;

    width: 100%;
    height: 4px;
    background-color: #404bbf;
    border-radius: 2px;

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

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

  .nav-link.active::after {
    opacity: 1;
  }

  h1 {
    font-size: 56px;
    line-height: 1.07;
    letter-spacing: 0.02em;
    text-align: center;
    color: #ffffff;
    max-width: 496px;
    text-align: center;
    margin: 0 auto;
  }

  .button {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    vertical-align: middle;
    color: #ffffff;
    background-color: #4d5ae5;
    cursor: pointer;
    padding: 16px 32px;
    border: none;
    border-radius: 4px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .text {
    font-size: 16px;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  h2 {
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    text-align: center;
  }

  .h3 {
    font-style: Medium;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 2%;
  }

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

  .footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
    padding-left: 108px;
  }

  .footer ul {
  }

  .footer li {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

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

  .icon-footer {
    width: 40px;
    height: 40px;
    background-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);
    cursor: pointer;
  }

  .icon-footer use {
    fill: #ffffff;
  }

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

  .footer p {
    color: #e7e9fc;
    margin: 0;
  }

  .text-footer-desc {
    max-width: 264px;
  }

  .footer a {
    text-decoration: none;
  }

  .footer-social svg {
    text-decoration: none;
    display: flex;
  }

  .footer-social {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .footer-social-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 72px;
  }

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

  .icon-footer {
    width: 40px;
    height: 40px;
    background-color: #4d5ae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .icon-footer svg {
    fill: #ffffff;
  }

  .hero .container {
    position: relative;
    z-index: 2;
    padding: 188px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: 1440px;
    margin: 0 auto;
  }

  .team {
    background-color: #f4f4fd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 120px 0;
  }

  .team .ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }

  .team .card {
    list-style: none;
    box-shadow:
      0px 2px 1px 0px #2e2f4214,
      0px 1px 1px 0px #2e2f4229,
      0px 1px 6px 0px #2e2f4214;
  }

  .team h2 {
    margin-bottom: 72px;
  }

  .team h3 {
    color: #06093b;
    margin-bottom: 8px;
    padding-top: 32px;
    transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .team p {
    margin-bottom: 8px;
  }

  .team h3:hover {
    color: blue;
  }

  .ul {
    list-style: none;
  }

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

  a {
    text-decoration: none;
    color: inherit;
  }

  .features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0;
  }

  .features .ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .features h3 {
    display: flex;
    margin-top: 8px;
    justify-content: flex-start;
    font-size: 20px;
  }

  .features li {
    list-style: none;
    max-width: 264px;
  }

  .features p {
    margin-top: 8px;
  }

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

  .portfolio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0;
  }

  .portfolio .card {
    background-color: #ffffff;
    border: 1px solid #e7e9fc;
    transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .portfolio .card:hover,
  .portfolio .card:focus-within {
    box-shadow:
      0px 2px 1px 0px #2e2f4214,
      0px 1px 1px 0px #2e2f4229,
      0px 1px 6px 0px #2e2f4214,
      rgba(46, 47, 66, 0.16);
  }

  .portfolio .ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }

  .portfolio h2 {
    top: 1136px;
    left: 639px;
    margin-bottom: 72px;
  }

  .portfolio h3 {
    color: #06093b;
    padding-top: 32px;
    padding-left: 16px;
    margin-bottom: 8px;
  }

  .portfolio p {
    padding-bottom: 32px;
    padding-left: 16px;
  }

  .card {
    display: block;
    background-color: #ffffff;
  }

  .portfolio .card {
    border: 1px solid #e7e9fc;
  }

  .card-image {
    display: block;
    width: 100%;
    height: auto;
  }

  .icon-list {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-bottom: 32px;
  }

  .icon-item {
    width: 40px;
    height: 40px;
    background-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);
    cursor: pointer;
  }

  .icon-item:hover,
  .icon-item:focus-within {
    background-color: #31d0aa;
  }

  .icon {
    fill: #ffffff;
  }

  .svg-card {
    background-color: #f4f4fd;
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #8e8f99;
    align-items: center;
    padding-bottom: 24px;
    padding-top: 24px;
    margin: 0 auto;
  }

  .image-wrapper {
    position: relative;
    overflow: hidden;
  }

  .card-image {
    display: block;
    width: 100%;
  }

  .overlay {
    position: absolute;
    inset: 0;
    background-color: #3f51f5;
    color: #fff;
    padding: 24px;
    line-height: 1.4;
    transform: translateY(100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 40px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .image-wrapper:hover .overlay {
    transform: translateY(0);
  }

  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(46, 47, 66, 0.6);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #e7e9fc;
    cursor: pointer;
  }

  .backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(46, 47, 66, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    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: relative;
    width: 408px;
    background-color: #ffffff;
    border-radius: 4px;
    transform: scale(0.9);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0px 24px 16px 16px;
  }

  .backdrop.is-open .modal {
    transform: scale(1);
  }

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

  .modal-close:hover,
  .modal-close:focus {
    background-color: #404bbf;
    color: #ffffff;
  }

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

  .contact-form label {
    margin-bottom: 4px;
    color: #8e8f99;
    font-size: 12px;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 4px;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .contact-form textarea {
    resize: none;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: #4d5ae5;
  }

  .policy-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #8e8f99;
    margin-top: 16px;
  }

  .policy-label input {
    margin-top: 2px;
    margin-bottom: 24px;
  }

  .contact-form ::placeholder {
    font-size: 12px;
  }

  .contact-form a {
    color: #4d5ae5;
    text-decoration: underline;
  }

  .modal-submit-btn {
    align-self: center;
    min-width: 169px;
    height: 56px;
    background-color: #4d5ae5;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 250ms ease;
    margin-top: 24px;
  }

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

  .modal h2 {
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 16px;
    padding-top: 72px;
    margin-top: 0 auto;
  }

  .input-wrapper {
    position: relative;
    margin-bottom: 8px;
    line-height: 40px;
  }

  .icon-input {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    fill: #2e2f42;
    pointer-events: none;
  }

  .input-wrapper input {
    height: 40px;
    text-indent: 26px;
  }

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

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

  .policy-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .policy-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #8e8f99;
    cursor: pointer;
  }

  .custom-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    fill: transparent;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .custom-checkbox svg {
    fill: #ffffff;
    opacity: 0;
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .policy-checkbox:checked + .custom-checkbox {
    background-color: #404bbf;
    border-color: #404bbf;
  }

  .policy-checkbox:checked + .custom-checkbox svg {
    opacity: 1;
  }

  .policy-checkbox:focus + .custom-checkbox {
    border-color: #4d5ae5;
  }

  .policy-text a {
    color: #4d5ae5;
    text-decoration: underline;
  }

  .subscription-form-wrapper {
    display: flex;
  }

  .subscription-form li {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: left;
  }

  .subscription-form input[type="email"] {
    width: 264px;
    padding: 8px 12px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0px 4px 4px 0px #00000026;
    background-color: #2e2f42;
    color: #ffffff;
    font-size: 12px;
    height: 40px;
  }

  .subscription-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding-left: 24px;
    padding-right: 24px;
    background-color: #4d5ae5;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    min-width: 165px;
    flex-shrink: 0;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .subscription-button svg {
    margin-left: 16px;
  }

  .subscription-button:hover,
  .subscription-button:focus {
    background-color: #31d0aa;
  }

  .footer-list {
    display: flex;
  }
}

/* 
====================================
====================================
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

BURADAN SONRASI DESKTOP! KARIŞTIRMA!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
====================================
====================================
*/

@media (min-width: 1158px) {
  .burger-button {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  h1,
  h2,
  h3,
  p,
  ul {
    margin: 0;
    padding: 0;
  }

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

  body {
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.5;
    color: #434455;
  }

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

  .logo {
    font-family: Raleway, sans-serif;
    font-size: 18px;
    line-height: 1.17;
    letter-spacing: 0.03em;
    vertical-align: middle;
    text-transform: uppercase;
  }

  .logo {
    color: #2e2f42;
  }

  .logo-web {
    color: #4d5ae5;
  }

  .logo-web-2 {
    color: #ffffff;
  }

  .header {
    padding: 24px 0;
    border-bottom: 1px solid #e7e9fc;
  }

  .header .container {
    display: flex;
    align-items: center;
    justify-content: none;
    padding: 0;
  }

  .nav .ul {
    display: flex;
    gap: 40px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
  }

  .nav-info .ul {
    display: flex;
    gap: 40px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    font-size: 12px;
    flex-direction: initial;
  }

  .nav-info {
    margin-left: auto;
    display: block;
  }

  .ul {
    list-style: none;
  }

  .nav {
    margin-left: 76px;
    display: block;
  }

  .nav a,
  .nav-info a {
    color: #2e2f42;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav a:hover,
  .nav a:focus,
  .nav-info a:hover,
  .nav-info a:focus {
    color: #404bbf;
  }

  .nav-link {
    position: relative;
  }

  .nav-link a {
    color: #2e2f42;
    text-decoration: none;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -20px;

    width: 100%;
    height: 4px;
    background-color: #404bbf;
    border-radius: 2px;

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

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

  .nav-link.active::after {
    opacity: 1;
  }

  h1 {
    font-size: 56px;
    line-height: 1.07;
    letter-spacing: 0.02em;
    text-align: center;
    color: #ffffff;
    max-width: 496px;
    text-align: center;
    margin: 0 auto;
  }

  .button {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    vertical-align: middle;
    color: #ffffff;
    background-color: #4d5ae5;
    cursor: pointer;
    padding: 16px 32px;
    border: none;
    border-radius: 4px;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .text {
    font-size: 16px;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  h2 {
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: 0.02em;
    text-align: center;
  }

  .h3 {
    font-style: Medium;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 2%;
  }

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

  .footer .container {
    display: flex;
    gap: 0;
    justify-content: center;
    padding-left: 0;
  }

  .footer ul {
  }

  .footer li {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

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

  .icon-footer {
    width: 40px;
    height: 40px;
    background-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);
    cursor: pointer;
  }

  .icon-footer use {
    fill: #ffffff;
  }

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

  .footer p {
    color: #e7e9fc;
    margin: 0;
  }

  .text-footer-desc {
    max-width: 264px;
  }

  .footer a {
    text-decoration: none;
  }

  .footer-social svg {
    text-decoration: none;
    display: flex;
  }

  .footer-social {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .footer-social-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-left: 120px;
    margin-right: 80px;
    margin-bottom: 0px;
  }

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

  .icon-footer {
    width: 40px;
    height: 40px;
    background-color: #4d5ae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .icon-footer svg {
    fill: #ffffff;
  }

  .hero .container {
    position: relative;
    z-index: 2;
    padding: 188px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: 1440px;
    margin: 0 auto;
  }

  .team {
    background-color: #f4f4fd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 120px 0;
  }

  .team .ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }

  .team .card {
    list-style: none;
    box-shadow:
      0px 2px 1px 0px #2e2f4214,
      0px 1px 1px 0px #2e2f4229,
      0px 1px 6px 0px #2e2f4214;
  }

  .team h2 {
    margin-bottom: 72px;
  }

  .team h3 {
    color: #06093b;
    margin-bottom: 8px;
    padding-top: 32px;
    transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .team p {
    margin-bottom: 8px;
  }

  .team h3:hover {
    color: blue;
  }

  .ul {
    list-style: none;
  }

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

  a {
    text-decoration: none;
    color: inherit;
  }

  .features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0;
  }

  .features .ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .features h3 {
    display: flex;
    margin-top: 8px;
    justify-content: flex-start;
    font-size: 20px;
  }

  .features li {
    list-style: none;
    max-width: 264px;
  }

  .features p {
    margin-top: 8px;
  }

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

  .portfolio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0;
  }

  .portfolio .card {
    background-color: #ffffff;
    border: 1px solid #e7e9fc;
    transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .portfolio .card:hover,
  .portfolio .card:focus-within {
    box-shadow:
      0px 2px 1px 0px #2e2f4214,
      0px 1px 1px 0px #2e2f4229,
      0px 1px 6px 0px #2e2f4214,
      rgba(46, 47, 66, 0.16);
  }

  .portfolio .ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }

  .portfolio h2 {
    top: 1136px;
    left: 639px;
    margin-bottom: 72px;
  }

  .portfolio h3 {
    color: #06093b;
    padding-top: 32px;
    padding-left: 16px;
    margin-bottom: 8px;
  }

  .portfolio p {
    padding-bottom: 32px;
    padding-left: 16px;
  }

  .card {
    display: block;
    background-color: #ffffff;
  }

  .portfolio .card {
    border: 1px solid #e7e9fc;
  }

  .card-image {
    display: block;
    width: 100%;
    height: auto;
  }

  .icon-list {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-bottom: 32px;
  }

  .icon-item {
    width: 40px;
    height: 40px;
    background-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);
    cursor: pointer;
  }

  .icon-item:hover,
  .icon-item:focus-within {
    background-color: #31d0aa;
  }

  .icon {
    fill: #ffffff;
  }

  .svg-card {
    background-color: #f4f4fd;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #8e8f99;
    align-items: center;
    padding-bottom: 24px;
    padding-top: 24px;
    margin: 0 auto;
  }

  .image-wrapper {
    position: relative;
    overflow: hidden;
  }

  .card-image {
    display: block;
    width: 100%;
  }

  .overlay {
    position: absolute;
    inset: 0;
    background-color: #3f51f5;
    color: #fff;
    padding: 24px;
    line-height: 1.4;
    transform: translateY(100%);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 40px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .image-wrapper:hover .overlay {
    transform: translateY(0);
  }

  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(46, 47, 66, 0.6);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #e7e9fc;
    cursor: pointer;
  }

  .backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(46, 47, 66, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    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: relative;
    width: 408px;
    background-color: #ffffff;
    border-radius: 4px;
    transform: scale(0.9);
    transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0px 24px 16px 16px;
  }

  .backdrop.is-open .modal {
    transform: scale(1);
  }

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

  .modal-close:hover,
  .modal-close:focus {
    background-color: #404bbf;
    color: #ffffff;
  }

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

  .contact-form label {
    margin-bottom: 4px;
    color: #8e8f99;
    font-size: 12px;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 4px;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .contact-form textarea {
    resize: none;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: #4d5ae5;
  }

  .policy-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #8e8f99;
    margin-top: 16px;
  }

  .policy-label input {
    margin-top: 2px;
    margin-bottom: 24px;
  }

  .contact-form ::placeholder {
    font-size: 12px;
  }

  .contact-form a {
    color: #4d5ae5;
    text-decoration: underline;
  }

  .modal-submit-btn {
    align-self: center;
    min-width: 169px;
    height: 56px;
    background-color: #4d5ae5;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 250ms ease;
    margin-top: 24px;
  }

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

  .modal h2 {
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 16px;
    padding-top: 72px;
    margin-top: 0 auto;
  }

  .input-wrapper {
    position: relative;
    margin-bottom: 8px;
    line-height: 40px;
  }

  .icon-input {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    fill: #2e2f42;
    pointer-events: none;
  }

  .input-wrapper input {
    height: 40px;
    text-indent: 26px;
  }

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

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

  .policy-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .policy-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #8e8f99;
    cursor: pointer;
  }

  .custom-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(46, 47, 66, 0.4);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    fill: transparent;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .custom-checkbox svg {
    fill: #ffffff;
    opacity: 0;
    transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .policy-checkbox:checked + .custom-checkbox {
    background-color: #404bbf;
    border-color: #404bbf;
  }

  .policy-checkbox:checked + .custom-checkbox svg {
    opacity: 1;
  }

  .policy-checkbox:focus + .custom-checkbox {
    border-color: #4d5ae5;
  }

  .policy-text a {
    color: #4d5ae5;
    text-decoration: underline;
  }

  .subscription-form-wrapper {
    display: flex;
  }

  .subscription-form li {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: left;
  }

  .subscription-form input[type="email"] {
    width: 266px;
    padding: 8px 12px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0px 4px 4px 0px #00000026;
    background-color: #2e2f42;
    color: #ffffff;
    font-size: 12px;
    height: 40px;
  }

  .subscription-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding-left: 24px;
    padding-right: 24px;
    background-color: #4d5ae5;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    min-width: 165px;
    flex-shrink: 0;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .subscription-button svg {
    margin-left: 16px;
  }

  .subscription-button:hover,
  .subscription-button:focus {
    background-color: #31d0aa;
  }

  .footer-list {
    display: flex;
  }
}
