body {
  font-weight: 400;
  font-size: 18px;
  background-color: #f4ece1;
}

.none {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  width: 0;
  height: 0;
  display: block;
  margin-left: -10000px;
  background: transparent;
  font-size: 0;
}

.container {
  max-width: 1740px;
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* Hero section */

.hero-section {
  position: relative;
  padding-top: 81px;
  padding-bottom: 140px;
}

.hero-content {
  display: flex;
  max-width: 1458px;
}

.hero-heading {
  color: #fff;
  font-size: 65px;
  line-height: 80px;
  letter-spacing: 0.05em;
}

@media (max-width: 1200px) {
  .hero-heading {
    font-size: 55px;
  }
}

@media (max-width: 991px) {
  .hero-content {
    max-width: 100%;
    justify-content: center;
  }
}


.main-bg-wrapper {
  position: relative;
  z-index: 0;
}

.main-bg-wrapper::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../img/hero-main-bg-cases.jpg") center/cover no-repeat;
  background-color: #a58763;
  z-index: -1;
}

/* cases section */
.cases-section {
  padding-top: 66px;
  padding-bottom: 161px;
}

.cases-content {
  display: flex;
  flex-direction: column;
}

.cases-fillter {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 94px;
}

.cases-fillter button {
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a58765;
  padding: 17px 20px;
  background: transparent;
  transition: all 0.3s ease;
}

.cases-fillter button:focus {
  color: #f4e3ce;
  background: #a58765;
}

.cases-fillter button.is-active {
  color: #f4e3ce;
  background: #a58765;
}

.cases-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 64px 36px;
}

.case-card {
  display: flex;
  flex-direction: column;
   max-width: 530px;
  width: 100%;
  min-height: 350px;
}

.case-card-tag {
  color: #fff;
  font-size: 10px;
  white-space: nowrap;
  align-self: flex-start;
  height: 25px;
  line-height: 25px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: #a58765;
  margin-bottom: 19px;
}


.case-card-data {
    font-size: 14px;
  color: #b7ad9d;
  line-height: 20px;
  margin-bottom: 11px;
}

.case-card-title {
    font-size: 30px;
  line-height: 34px;
  color: #000;
}

.case-card-price {
    font-size: 20px;
  color: #a58763;
  margin-top: auto;
}

@media (max-width: 1740px) {
.case-card {
  max-width:450px;
}
}

@media (max-width: 1440px) {
.case-card {
  max-width:430px;
}
}



@media (max-width: 998px) {
.cases-cards {
  justify-content: center;
}
}

@media (max-width: 450px) {
.cases-fillter {
  justify-content: center;
}

.cases-fillter button {
      padding: 16px 6px;
}

.case-card-tag {
  color: #fff;
  font-size: 10px;
  white-space: nowrap;
  align-self: flex-start;
  height: 25px;
  line-height: 25px;
  padding-left: 10px;
  padding-right: 10px;
  background-color: #a58765;
  margin-bottom: 19px;
}


.case-card-title {
    font-size: 26px;
}

.case-card-price {
    font-size: 18px;
}
}



