:root {
  --hero-header-color: #ffffff;
  --section-header-color: #2e2f42;
  --paragraph-header-color: #2e2f42;
  --main-background-color: #ffffff;
  --hero-background-color: #2e2f42;
  --our-team-background-color: #f4f4fd;
  --footer-background-color: #2e2f42;
  --header-link-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --customers-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --work-proposal-filter-transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 250ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --work-prop-transition: box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1);
  /* easy&ready  */
  --icons-fill: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --brdr-clr: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transform: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --bckgrnd-clr-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

ul {
  margin: 0;
  padding-left: 0;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

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

.link {
  text-decoration: none;
  font-style: normal;
}

.list {
  list-style: none;
}

.no-scroll {
  overflow: hidden;
}

.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(50%);
  margin: -1px;
}

.conteiner {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 auto;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #434455;
  background-color: var(--main-background-color);
}

/*-------------Header------------*/

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

.header-conteiner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-navigation {
  padding: 24px 0px;
}

.navigation-list {
  display: none;
}

.header-adress-list {
  display: none;
}

.navigation-list-thumb {
  position: relative;
}

.header-logo {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.33;
  align-items: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #2e2f42;
}

.header-logo-begin {
  color: #4d5ae5;
}

.header-link {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #2e2f42;
  padding: 24px 0;
  transition: var(--header-link-transition);
  position: relative;
}

.header-link:is(:hover, :focus) {
  color: #404bbf;
}

.header-mob-menu-btn {
  border: none;
  padding: 0;
  background-color: transparent;
  height: 22px;
}

.header-mob-menu-img {
  stroke: #2e2f42;
}

.header-adress-link {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #434455;
  transition: var(--header-link-transition);
}

.header-adress-link:is(:hover, :focus) {
  color: #404bbf;
}

.mob-menu {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 1;
  padding: 40px;
  background-color: var(--main-background-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.mob-menu-btn {
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  background: #e7e9fc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-bottom: 24px;
  padding: 0;
  margin-bottom: 16px;
  transition: var(--bckgrnd-clr-transition);
}

.mob-menu-btn-icon {
  transition: var(--icons-fill);
}

.mob-menu-btn:is(:hover, :focus) {
  background-color: #404bbf;
  border: none;
}

.mob-menu-btn:is(:hover, :focus) .mob-menu-btn-icon {
  fill: #ffffff;
}

.mob-menu-list-element {
  margin-bottom: 40px;
}
.mob-menu-link {
  font-weight: 700;
  font-size: 36px;
  line-height: calc(40 / 36);
  letter-spacing: 0.02em;
  color: var(--section-header-color);
  transition: var(--header-link-transition);
}

.mob-menu-link:is(:hover, :focus) {
  color: #404bbf;
}

.mob-menu-adress-list {
  margin-bottom: 48px;
}

.mob-menu-adress-list-element:not(:last-child) {
  margin-bottom: 40px;
}

.mob-menu-adress-tel {
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: #4d5ae5;
}
.mob-menu-adress-email {
  font-weight: 500;
  font-size: 20px;
  line-height: calc(24 / 20);
  letter-spacing: 0.02em;
  color: #434455;
  transition: var(--header-link-transition);
}
.mob-menu-adress-email:is(:hover, :focus) {
  color: #404bbf;
}

.mob-menu-soc-list {
  display: flex;
  justify-content: space-between;
}
.mob-menu-soc-item {
  width: 40px;
  height: 40px;
}
.mob-menu-soc-link {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #4d5ae5;
  transition: var(--bckgrnd-clr-transition);
}
.mob-menu-icon {
  fill: #f4f4fd;
}

.mob-menu-soc-link:is(:hover, :focus) {
  background-color: #404bbf;
}

/*-----------------Hero-----------*/

.hero-item {
  background-color: var(--hero-background-color);
  max-width: 428px;
  height: 432px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 112px;
  padding-bottom: 112px;
  text-align: center;
  background-image: linear-gradient(
      rgba(46, 47, 66, 0.7),
      rgba(46, 47, 66, 0.7)
    ),
    url(../images/studio/background-image/people-office-mob-min.jpg);
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-device-pixel-ratio: 2),
  (min-resolution: 192dpi),
  (min-resolution: 2dppx) {
  .hero-item {
    background-image: linear-gradient(
        rgba(46, 47, 66, 0.7),
        rgba(46, 47, 66, 0.7)
      ),
      url(../images/studio/background-image/office-mob-retina.jpg);
    background-size: cover;
  }
}

.hero-header {
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  color: var(--hero-header-color);
  margin-bottom: 72px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn {
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #ffffff;
  background-color: #4d5ae5;
  border-style: none;
  border-radius: 4px;
  min-width: 169px;
  height: 56px;
  transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn:is(:hover, :focus) {
  background-color: #404bbf;
}

/*--------------Features--------------*/

.features-item {
  padding-top: 96px;
  padding-bottom: 96px;
}

.features-icon {
  display: none;
}

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

.features-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  color: var(--paragraph-header-color);
  margin-bottom: 8px;
  text-align: center;
}

.features-text {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
}

/*--------------Work description--------------*/

.Work-description-item {
  display: none;
}

/*-----------------Our team------------------------*/

.our-team-item {
  background-color: var(--our-team-background-color);
  text-align: center;
  padding-top: 96px;
  padding-bottom: 128px;
}

.our-team-header {
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: var(--section-header-color);
  margin-bottom: 72px;
}

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

.our-team-wrap {
  padding-top: 32px;
  padding-bottom: 32px;
}

.our-team-element {
  background: #ffffff;
  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);
  border-radius: 0px 0px 4px 4px;
  width: 264px;
}

.our-team-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--paragraph-header-color);
  margin-bottom: 8px;
}

.our-team-text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

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

.our-team-soc-item {
  width: 40px;
  height: 40px;
}
.our-team-soc-link {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #4d5ae5;
  transition: var(--bckgrnd-clr-transition);
}

.our-team-soc-link:is(:hover, :focus) {
  background-color: #404bbf;
}

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

/* ------------Customers--------------- */

.customers-item {
  padding-top: 96px;
  padding-bottom: 96px;
}

.customers-header {
  font-size: 36px;
  line-height: 1.11;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: var(--section-header-color);
  text-align: center;
  margin-bottom: 72px;
}

.customers-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 16px;
  row-gap: 72px;
}

.customers-list-item {
  width: calc((100% - 16px) / 2);
  height: 88px;
}

.customers-list-link {
  width: 100%;
  height: 100%;
  border: 1px solid #8e8f99;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #8e8f99;
  transition: var(--customers-transition);
}

.customers-list-icon {
  fill: currentColor;
}

.customers-list-link:is(:hover, :focus) {
  border-color: #404bbf;
  color: #404bbf;
}

/*-----------Work Proposal Filter-------------*/

.work-prop-item {
  padding-top: 48px;
  padding-bottom: 48px;
}

.work-prop-btn-block {
  width: 320px;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  column-gap: 24px;
  row-gap: 16px;
  justify-content: start;
  margin-bottom: 48px;
}

.work-prop-btn {
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  align-items: center;
  text-align: center;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  height: 40px;
  color: #4d5ae5;
  background-color: #f4f4fd;

  border-radius: 4px;
  border: none;
  transition: var(--work-proposal-filter-transition);
}

.work-prop-btn:is(:hover, :focus) {
  color: #ffffff;
  background-color: #404bbf;

  box-shadow: 0px 3px 1px rgba(0, 0, 0, 0.1), 0px 2px 1px rgba(0, 0, 0, 0.08),
    0px 2px 2px rgba(0, 0, 0, 0.12);
}

/*------------------Work Proposal List-----------*/

.work-prop-list-block {
  display: flex;
  flex-wrap: wrap;
  row-gap: 48px;
  column-gap: 24px;
  justify-content: center;
}

.work-prop-list-link {
  display: block;
  transition: var(--work-prop-transition);
}

.work-prop-card {
  padding-top: 32px;
  padding-bottom: 32px;
  padding-left: 16px;
  width: 100%;
  border-bottom: 1px solid #e7e9fc;
  border-left: 1px solid #e7e9fc;
  border-right: 1px solid #e7e9fc;
}

.work-prop-card-wrap {
  position: relative;
  display: flex;
  overflow: hidden;
}

.work-prop-element {
  height: 400px;
  background: #ffffff;
  width: 100%;
}

.work-prop-list-link:is(:hover, :focus) {
  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);
}

.work-prop-list-titel {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--paragraph-header-color);
  margin-bottom: 8px;
}

.work-prop-card-wrap-text {
  display: none;
}

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

/*-----------------Footer-------------*/

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

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

.footer-logo {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.17;
  display: flex;
  justify-content: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #f4f4fd;
  margin-bottom: 16px;
}

.footer-logo-begin {
  color: #4d5ae5;
}

.footer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 72px;
  width: fit-content;
}

.footer-logo-thumb {
  width: 264px;
}

.social-media-titel {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #ffffff;
  padding-bottom: 16px;
  text-align: center;
}

.social-media-list {
  display: flex;
  gap: 16px;
}

.social-media-item {
  width: 40px;
  height: 40px;
}

.social-media-link {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  fill: #f4f4fd;
  transition: var(--bckgrnd-clr-transition);
}

.social-media-link:is(:hover, :focus) {
  background-color: #31d0aa;
}

.subscribe-thumb {
  margin-left: 0;
}

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

.subscribe-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 16px;
}
.subscribe-input {
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  height: 40px;
  padding-left: 16px;
  width: 264px;
  outline: none;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.15));
  border-radius: 4px;
}

.subscribe-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.subscribe-btn {
  width: 165px;
  height: 40px;
  display: block;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 24px;
  gap: 16px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #ffffff;
  border: none;
  background-color: #4d5ae5;
  border-radius: 4px;
  transition: var(--bckgrnd-clr-transition);
}

.subscribe-btn-icon {
  fill: #ffffff;
}

.subscribe-btn:is(:hover, :focus) {
  background-color: #404bbf;
}

/* -----------Modal window------------ */

.backdrop {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(46, 47, 66, 0.4);
  transition: opacity 300ms cubic-bezier(0.17, 0.67, 0.53, 0.92),
    visibility 300ms cubic-bezier(0.17, 0.67, 0.53, 0.92);
}

.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.modal-order {
  width: 320px;
  min-height: 586px;
  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;
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 24px 16px;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 300ms cubic-bezier(0.17, 0.67, 0.53, 0.92);
}

.backdrop.is-hidden .modal-order {
  transform: translate(-50%, -50%) scale(0) rotate(-45deg);
}

.modal-order-close-btn {
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  background: #e7e9fc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-bottom: 24px;
  padding: 0;
  transition: var(--bckgrnd-clr-transition);
}

.modal-order-close-icon {
  transition: var(--icons-fill);
}

.modal-order-close-btn:is(:hover, :focus) {
  background-color: #404bbf;
  border: none;
}

.modal-order-close-btn:is(:hover, :focus) .modal-order-close-icon {
  fill: #ffffff;
}

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

.form-list {
  width: auto;
}

.form-list-label {
  font-size: 12px;
  line-height: 1.16;
  letter-spacing: 0.04em;
  color: #8e8f99;
}

.form-input-wrap {
  position: relative;
  margin-bottom: 8px;
  margin-top: 4px;
}

.form-input-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  fill: #2e2f42;
  transition: var(--icons-fill);
}

.form-list-input {
  width: 100%;
  height: 40px;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.04em;
  color: #434455;
  padding-left: 35px;
  outline: none;
  background-color: #fcfcfc;
  border: 1px solid rgba(33, 33, 33, 0.2);
  border-radius: 4px;
  transition: var(--brdr-clr);
}

.form-list-input:is(:hover, :focus) {
  border-color: #4d5ae5;
}

.form-list-input:is(:hover, :focus) + .form-input-icon {
  fill: #4d5ae5;
}

.form-list-comment {
  width: 100%;
  height: 120px;
  margin-bottom: 16px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  outline: none;
  background-color: #fcfcfc;
  resize: none;
  border: 1px solid rgba(33, 33, 33, 0.2);
  border-radius: 4px;
  transition: var(--brdr-clr);
}

.form-list-comment:is(:hover, :focus) {
  border-color: #4d5ae5;
}

.form-list-comment::placeholder {
  color: rgba(117, 117, 117, 0.5);
}

.form-list-checkbox :checked .form-accept-text span {
  background: #404bbf;
  border: none;
}

.form-accept-wrap {
  margin-bottom: 24px;
}

.form-accept-text .checkbox-icon-wrap {
  display: inline-block;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 16px;
  height: 16px;
  border: 1.25px solid #2e2f42;
  border-radius: 2px;
  margin-right: 8px;
  fill: transparent;
  transition: var(--bckgrnd-clr-transition);
  transition: var(--brdr-clr);
}

.checkbox-icon {
  transition: var(--icons-fill);
}

.form-list-checkbox:checked + .form-accept-text .checkbox-icon-wrap {
  background-color: #404bbf;
  border: none;
  border-radius: 2px;
  fill: #f4f4fd;
}

.form-accept-text {
  height: 16px;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.04em;
  color: #757575;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.form-accept-link {
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.04em;
  color: #4d5ae5;
  padding-left: 4px;
}

.form-list-btn {
  display: block;
  margin: auto;
  min-width: 169px;
  height: 56px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.04em;
  color: #ffffff;
  background-color: #4d5ae5;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  border: none;
  transition: var(--bckgrnd-clr-transition);
}

.form-list-btn:is(:hover, :focus) {
  background-color: #404bbf;
}
