:root {
  /* logo */
  --logo-first-color: #da801f;
  --logo-second-color: #000000;
  /* header */
  --header-link-color: #212121;
  --header-contacts-color: #757575;
  /* footer */
  --footer-bg-color: #2f303a;
  --footer-logo-second-color: #ffffff;
  --footer-location-color: #ffffff;
  --footer-contacts-color: rgba(255, 255, 255, 0.6);
  /* banner */
  --banner-bg-color: #2f303a;
  --banner-title-color: #ffffff;
  --btn-shadow: rgba(0, 0, 0, 0.15);
  --btn-text-color: #ffffff;
  --btn-bg-color: #34322c;
  --btn-accent-color: #da801f;
  /* staff */
  --staff-section-bg-color: #f5f4fa;
  --staff-item-bg-color: #ffffff;
  --staff-position-color: #757575;
  /* clients */
  --clients-color: #afb1b8;
  /* shadows */
  --shadow-btn-1-color: rgba(0, 0, 0, 0.1);
  --shadow-btn-2-color: rgba(0, 0, 0, 0.08);
  --staff-shadow-1-color: rgba(0, 0, 0, 0.12);
  --staff-shadow-2-color: rgba(0, 0, 0, 0.14);
  --staff-shadow-3-color: rgba(0, 0, 0, 0.2);
  /* hero */
  --hero-text-color: #757575;
  /* accent */
  --accent-color: #da801f;
  /* portfolio */
  --c-btn-background-color: #f5f4fa;
  --c-btn-text-color: #212121;
  --c-btn-accent: #da801f;
  --c-btn-text-accent: #ffffff;
  /* cases */
  --case-type-color: #757575;
  --case-name-color: #212121;
  /* body */
  --background-color: #ffffff;
  --body-text-color: #212121;
  --border-tools: 1px solid #eee;
  --modal-bg: #ffffff;
  --section-padding: 94px;
}

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

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

a {
  text-decoration: none;
}

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

body {
  margin: 0 0 0 0;
  font-family: Roboto, sans-serif;
  background: var(--background-color);
  color: var(--body-text-color);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body-text-color);
  background-color: var(--background-color);
  font-family: Roboto, Arial, sans-serif;
}

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

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

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

button,
input,
textarea,
select {
  font: inherit;
}

/* Shared building blocks used across pages */
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1), visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}
@media screen and (min-width: 480px) {
  .container {
    width: 480px;
  }
}
@media screen and (min-width: 768px) {
  .container {
    width: 768px;
  }
}
@media screen and (min-width: 1200px) {
  .container {
    width: 1200px;
  }
}

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

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

.section {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media screen and (min-width: 1200px) {
  .section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
  }
}

.logo {
  display: block;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.17;
  text-align: center;
  letter-spacing: 0.03em;
}
@media screen and (min-width: 1200px) {
  .logo {
    font-size: 26px;
    line-height: 1.2;
    text-align: left;
  }
}
.logo {
  color: var(--logo-first-color);
}

.h-logo {
  color: var(--logo-second-color);
}

.f-logo {
  color: var(--footer-logo-second-color);
}

.soc-list {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-links {
  display: flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
}

.soc-item {
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.soc-item:not(:first-child) {
  margin-left: 10px;
}

.soc-icons {
  fill: currentColor;
}

.footer-soc-link {
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1), background-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--btn-text-color);
}
.footer-soc-link:hover, .footer-soc-link:focus {
  background-color: var(--accent-color);
}

.footer-invite .soc-list {
  margin-top: 20px;
}

.title {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.18;
  text-align: center;
  letter-spacing: 0.03em;
  margin-bottom: 30px;
}
@media screen and (min-width: 1200px) {
  .title {
    font-size: 36px;
    line-height: 1.17;
    margin-bottom: 50px;
  }
}

/* Shared layout sections */
.header {
  border-bottom: 1px solid #ececec;
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}
@media screen and (min-width: 768px) {
  .header {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.header-line {
  display: flex;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .header-line {
    align-items: center;
  }
}
@media screen and (min-width: 1200px) {
  .header-line {
    align-items: baseline;
  }
}

.menu-list {
  display: none;
}
@media screen and (min-width: 768px) {
  .menu-list {
    display: flex;
  }
}
.menu-list {
  align-items: center;
}
.menu-list__item:not(:first-child) {
  margin-left: 50px;
}

.contacts-list__icon {
  fill: currentColor;
  margin-right: 10px;
}

.contacts-list {
  display: none;
}
@media screen and (min-width: 768px) {
  .contacts-list {
    display: flex;
  }
}
@media screen and (min-width: 767px) and (max-width: 1199.98px) {
  .contacts-list {
    flex-direction: column;
    margin-left: auto;
  }
  .contacts-list__item + .contacts-list__item {
    margin-top: 10px;
  }
}
@media screen and (min-width: 1200px) {
  .contacts-list {
    margin-left: 305px;
  }
  .contacts-list__item + .contacts-list__item {
    margin-left: 30px;
  }
  .contacts-list {
    align-items: center;
  }
}

.menu-list__link {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: var(--header-link-color);
  position: relative;
  display: block;
  padding-top: 32px;
  padding-bottom: 32px;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.link-line {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background-color: var(--logo-first-color);
  position: absolute;
  bottom: -1px;
  opacity: 0;
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-list__link:hover .link-line {
  opacity: 1;
}

.current {
  color: var(--accent-color);
}
.current::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background-color: var(--logo-first-color);
  position: absolute;
  bottom: -1px;
}

@media screen and (min-width: 768px) and (max-width: 1199.98px) {
  .navigation {
    margin-left: 88px;
  }
}
@media screen and (min-width: 1200px) {
  .navigation {
    margin-left: 93px;
  }
}

.menu-list__link:hover,
.menu-list__link:focus,
.contacts-list__mail:hover,
.contacts-list__mail:focus,
.contacts-list__tel:hover,
.contacts-list__tel:focus {
  color: var(--accent-color);
}

.contacts-list__mail,
.contacts-list__tel {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.02em;
  color: var(--header-contacts-color);
}
@media screen and (min-width: 1200px) {
  .contacts-list__mail,
  .contacts-list__tel {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
.contacts-list__mail,
.contacts-list__tel {
  display: inline-flex;
  align-items: center;
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mob-menu-open-btn {
  cursor: pointer;
  display: flex;
  padding: 0;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border: none;
  margin-left: auto;
}
.mob-menu-open-btn:hover, .mob-menu-open-btn:focus {
  fill: var(--accent-color);
}
.mob-menu-open-btn {
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media screen and (min-width: 768px) {
  .mob-menu-open-btn {
    display: none;
  }
}

.mob-menu {
  background-color: #fff;
  width: 100vw;
  height: 100vh;
  padding: 10px 15px 0 40px;
  position: fixed;
  top: 0;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 7;
}
@media screen and (max-width: 479px) {
  .mob-menu {
    padding: 10px 15px 0 15px;
  }
}
@media screen and (min-width: 768px) {
  .mob-menu {
    display: none;
  }
}

.mob-menu-close-btn {
  cursor: pointer;
  display: flex;
  padding: 0;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  background-color: transparent;
  border: none;
}
.mob-menu-close-btn:hover, .mob-menu-close-btn:focus {
  fill: var(--accent-color);
}
.mob-menu-close-btn {
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mob-menu-list__item:not(:first-child) {
  margin-top: 32px;
}

.mob-menu-list__link {
  font-weight: 500;
  font-size: 34px;
}
@media screen and (min-width: 480px) {
  .mob-menu-list__link {
    font-size: 40px;
  }
}
.mob-menu-list__link {
  line-height: 1.17;
  letter-spacing: 0.02em;
  color: var(--header-link-color);
}
.mob-menu-list__link:hover, .mob-menu-list__link:focus {
  color: var(--accent-color);
}
.mob-menu-list__link {
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.currentt {
  color: var(--accent-color);
}

.mob-menu-end {
  position: absolute;
  bottom: 50px;
}

.mob-contacts-list__item:not(:first-child) {
  margin-top: 32px;
}

.mob-contacts-list__mail {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.17;
  letter-spacing: 0.02em;
  color: var(--header-contacts-color);
}
.mob-contacts-list__mail:hover, .mob-contacts-list__mail:focus {
  color: var(--accent-color);
}
.mob-contacts-list__mail {
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mob-contacts-list__tel {
  font-weight: 500;
  font-size: 34px;
}
@media screen and (max-width: 479px) {
  .mob-contacts-list__tel {
    font-size: 28px;
  }
}
.mob-contacts-list__tel {
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--btn-bg-color);
}
.mob-contacts-list__tel:hover, .mob-contacts-list__tel:focus {
  color: var(--header-contacts-color);
}
.mob-contacts-list__tel {
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.mob-menu-soc-list {
  display: flex;
  margin-top: 64px;
}

.mob-menu-soc-item {
  position: relative;
}
.mob-menu-soc-item:not(:first-child) {
  margin-left: 20px;
}
.mob-menu-soc-item:not(:first-child)::before {
  content: "";
  height: 22px;
  width: 1px;
  position: absolute;
  left: -10px;
  background-color: var(--header-contacts-color);
}

.mob-menu-soc-link {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.15;
}
@media screen and (min-width: 480px) {
  .mob-menu-soc-link {
    font-size: 18px;
    line-height: 1.22;
  }
}
.mob-menu-soc-link {
  letter-spacing: 0.02em;
  color: var(--btn-bg-color);
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}
@media screen and (max-height: 650px) {
  .modal {
    width: 100vw;
    height: 100vh;
  }
}
.modal {
  min-width: 320px;
}
@media screen and (min-width: 480px) {
  .modal {
    width: 450px;
  }
}
@media screen and (min-width: 1200px) {
  .modal {
    width: 528px;
  }
}
.modal {
  background-color: var(--background-color);
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 40px;
}
.backdrop.is-hidden .modal {
  transform: translate(100%, 100%) rotateX(45deg);
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background: var(--background-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.modal-close-icon {
  transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-close:hover .modal-close-icon, .modal-close:focus .modal-close-icon {
  fill: var(--accent-color);
}

.modal-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.03em;
  color: var(--header-link-color);
  margin-bottom: 12px;
}
@media screen and (min-width: 1200px) {
  .modal-title {
    line-height: 1.15;
  }
}

.modal-label {
  font-size: 12px;
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: var(--header-contacts-color);
}

.modal-label.tel {
  margin-top: 0;
}

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

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

.modal-comment:hover,
.modal-comment:focus,
.field-form:hover .modal-input,
.modal-input:focus,
.field-form:focus-within,
.field-form:hover {
  border-color: var(--accent-color);
  fill: var(--accent-color);
}

.field-form {
  margin-bottom: 10px;
}

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

.modal-comment {
  color: var(--c-btn-text-color);
  outline: none;
  width: 100%;
  max-height: 120px;
  resize: none;
  border: 1px solid rgba(33, 33, 33, 0.2);
  border-radius: 4px;
  background-color: transparent;
  padding: 12px 16px;
  margin-top: 4px;
  margin-bottom: 20px;
  transition: border-color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-comment::placeholder {
  font-size: 12px;
  line-height: 1.16;
  letter-spacing: 0.01em;
  color: rgba(117, 117, 117, 0.5);
}

.modal-btn {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.88;
  letter-spacing: 0.06em;
  background: var(--btn-bg-color);
  box-shadow: 0px 4px 4px var(--btn-shadow);
  border-radius: 4px;
  border: none;
  color: var(--btn-text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 10px 55px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-btn:hover, .modal-btn:focus {
  background: var(--btn-accent-color);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}

.modal-check-text {
  font-size: 10px;
  line-height: 1.12;
  letter-spacing: 0.03em;
  color: var(--hero-text-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 480px) {
  .modal-check-text {
    font-size: 12px;
    line-height: 1.16;
  }
}
@media screen and (min-width: 1200px) {
  .modal-check-text {
    font-size: 14px;
    line-height: 1.71;
  }
}

.confirmation {
  width: 16px;
  height: 15px;
  border: 2px solid var(--c-btn-text-color);
  border-radius: 3px;
  margin-right: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border 250ms cubic-bezier(0.4, 0, 0.2, 1), background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), opacity 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.confirmation:hover, .confirmation:focus {
  border-color: var(--btn-bg-color);
}

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

.modal-check:checked + .modal-check-text span {
  background-color: var(--btn-bg-color);
  border: none;
}
.modal-check:checked + .modal-check-text .privacy-icon {
  fill: var(--btn-text-color);
}

.privacy-link {
  font-size: 10px;
  line-height: 1.12;
  letter-spacing: 0.03em;
  text-decoration-line: underline;
  color: var(--btn-bg-color);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.privacy-link:hover, .privacy-link:focus {
  color: var(--logo-second-color);
}
@media screen and (min-width: 480px) {
  .privacy-link {
    font-size: 12px;
    line-height: 1.16;
  }
}
@media screen and (min-width: 1200px) {
  .privacy-link {
    font-size: 14px;
    line-height: 1.71;
  }
}

.footer-invite {
  margin-top: 60px;
}
@media screen and (min-width: 768px) {
  .footer-invite {
    margin-top: 0;
  }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .footer-invite {
    padding-right: 74px;
  }
}
@media screen and (min-width: 1200px) {
  .footer-invite {
    margin-left: 73px;
    margin-bottom: 0;
  }
}

.invite-title,
.follow-label {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.14;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--banner-title-color);
  text-align: center;
}
@media screen and (min-width: 1200px) {
  .invite-title,
  .follow-label {
    text-align: left;
  }
}

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

@media screen and (min-width: 1200px) {
  .footer-line {
    display: flex;
    align-items: baseline;
  }
}

@media screen and (max-width: 1199px) {
  .tab-footer-contacts {
    margin-bottom: 60px;
  }
}
@media screen and (min-width: 768px) {
  .tab-footer-contacts {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
}

.footer-list .footer-item:not(:first-child) {
  margin-top: 8px;
}
@media screen and (min-width: 1200px) {
  .footer-list .footer-item:not(:first-child) {
    margin-top: 9px;
  }
}

.footer-address {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  text-align: center;
}
@media screen and (min-width: 1200px) {
  .footer-address {
    text-align: left;
  }
}
.footer-address {
  font-weight: 400;
  margin-top: 20px;
}

.footer-location {
  font-size: 14px;
  line-height: 1.71;
  letter-spacing: 0.03em;
  color: var(--footer-location-color);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-mail,
.footer-tel {
  font-size: 14px;
  line-height: 1.71;
  letter-spacing: 0.03em;
  color: var(--footer-contacts-color);
  transition: color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-location:hover,
.footer-location:focus,
.footer-mail:hover,
.footer-mail:focus,
.footer-tel:hover,
.footer-tel:focus {
  color: var(--accent-color);
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .address-box {
    padding-left: 61px;
  }
}

/*# sourceMappingURL=main.css.map */
