@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/ptsans-400.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/ptsans-700.woff2") format("woff2");
  font-display: swap;
}

html {
  height: 100%;
}

body {
  height: 100%;
  font-family: "PT Sans", sans-serif;
  font-size: 22px;
  line-height: 26px;
  font-weight: 400;
  font-style: normal;
  background-color: #f2f2f2;
  color: #333333;
  margin: 0;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 1200px;
  min-width: 1200px;
  margin-inline: auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.header {
  padding: 0 70px;
  background-color: #ffffff;
}

.navigation {
  display: flex;
  gap: 20px;
}

.navigation-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 716px;
  margin: 0;
  padding: 0;
  list-style-type: none
}

.navigation-link {
  display: block;
  padding: 20px 16px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  text-align: center;
}

.navigation-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 176px;
  margin: 0;
  padding: 0;
  margin-left: auto;
  list-style-type: none
}

.navigation-user-item .navigation-link {
  padding: 22px 12px;
  min-width: 44px;
  min-height: 64px;
  box-sizing: border-box;
}

.site-logo-link {
  display: flex;
  align-items: center;
  max-width: 140px;
  margin-right: 30px;
}

.favorites-count {
  font-size: 10px;
  line-height: 10px;
  background-color: #7db54f;
  color: #ffffff;
}

.btn {
  font-family: inherit;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  background-color: #756157;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: none;
  padding: 8px 34px;
  border-radius: 4px;
  box-sizing: border-box;
}

.btn-cta {
  display: inline-block;
  margin: 14px 0;
  min-width: 160px;
}

.main {
  background-color: #ffffff;
  flex-grow: 1;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url("../images/divider.svg"), url("../images/index-background.jpg");
  background-color: #8c99a6;
  background-size: 100% auto, cover;
  background-repeat: no-repeat;
  background-position: center bottom, center top;
  min-height: 485px;
}

.hero-image {
  margin: 51px auto 82px auto;
}

.content-wrapper {
  max-width: 720px;
  margin-inline: auto;
  padding: 96px 0 54px;
}

.advantages-wrapper {
  padding: 69px 0;
}

.services-wrapper {
  padding: 64px 0;
}

.advantages-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style-type: none
}

.section-title {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 20px;
}

.section-description {
  text-align: center;
  margin: 0;
}

.advantages-title {
  margin-bottom: 25px;
}

.card-item {
  display: flex;
  max-width: 400px;
  background-color: rgba(131, 179, 211, 0.12);
}

.advantages-list .card-item:nth-child(odd):not(.card-item-highlight) {
  background-color: rgba(131, 179, 211, 0.2);
}

.services-list .card-item:nth-child(2) {
  background-color: transparent;
}

.card-item-title {
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  color:#000000;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 0;
}

.card-item-description {
  font-size: 18px;
  line-height: 21px;
  text-align: center;
  margin: 0;
}

.card-item-highlight {
  display: flex;
  max-width: 1200px;
  background-color: #82b3d3;
}

.card-item-wrapper {
  display: flex;
  flex-direction: column;
  padding: 102px 85px;
}

.card-item-highlight .card-item-title {
  color:#ffffff;
}

.card-item-highlight .card-item-description {
  color:#ffffff;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style-type: none
}

.services-list .card-item {
  display: flex;
  flex-direction: column;
  padding: 81px 85px;
  box-sizing: border-box;
}

.subscribe-index {
  background-image: url("../images/subscribe.jpg");
  background-color: #8c99a6;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left top;
}

.section-title-highlight {
  color:#ffffff;
}

.section-description-highlight {
  color:#ffffff;
}

.search {
  text-align: center;
}

.btn-search {
  font-size: 20px;
  line-height: 36px;
  margin-bottom: 96px;
  padding: 8px 50px;
  min-width: 376px;
}

.subscribe-input {
  font-family: inherit;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  background-color: #f2f2f2;
  color: #000000;
}

.subscribe-input::placeholder {
  font: inherit;
  color: inherit;
  opacity: 0.6;
}

.btn-subscribe {
  font-size: 20px;
  line-height: 36px;
  background-color: #82b3d3;
}

.footer {
  padding: 40px 70px 30px;
  background-color: #ffffff;
}

.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone {
  font-size: 40px;
  line-height: 40px;
  color: #000000;
  text-transform: uppercase;
  text-decoration: none;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

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

.social-link {
  color: #333333;
}

.logo-developer {
  color: #333333;
}

.catalog-page {
  background-image: url("../images/catalog/catalog-background.jpg");
  background-color: #8c99a6;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left top;
  color: #ffffff;
  padding: 35px 70px 70px;
}

.catalog-page-title {
  font-size: 60px;
  line-height: 78px;
  font-weight: 700;
}

.breadcrumbs {
  display: flex;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.breadcrumbs-link {
  font-size: 16px;
  line-height: 21px;
  text-decoration: none;
  margin-right: 28px;
}

.filter {
  display: flex;
}

.filter-form {
  display: flex;
  align-items: flex-start;
}

.filter-group {
  border: none;
}

.filter-group-list{
  list-style-type: none
}

.filter-group-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

.filter-group-price{
  border: none;
}

.filter-label {
  font-size: 18px;
  line-height: 23px;
}

.filter-price-input {
  font-family: inherit;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  background-color: #f2f2f2;
  color: #000000;
}

.filter-price-label {
  font-family: inherit;
  font-size: 18px;
  line-height: 24px;
  text-align: right;
  color: #000000;
}

.btn-filter-apply {
  background-color: #82b3d3;
}

.btn-filter-reset {
  background-color: transparent;
  border: none;
}

.catalog {
  padding: 50px 70px 60px;
}

.catalog-wrapper {
  display: flex;
  gap: 200px;
  margin-bottom: 40px;
}

.catalog-list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.catalog-card-list {
  list-style-type: none
}
.catalog-title {
  margin: 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
}

.catalog-select {
  font-family: inherit;
  font-size: 18px;
  line-height: 21px;
  background-color: #ffffff;
  color: inherit;
}

.catalog-card{
  font-size: 18px;
  line-height: 21px;
}

.catalog-card-title-link {
  text-decoration: none;
}

.catalog-card-title {
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  color: #000000;
}

.catalog-card-rating {
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
}

.catalog-view {
  color: #333333;
}

.btn-fav {
  background-color: #82b3d3;
}

.btn-fav.active {
  background-color: #7db54f;
}

.pagination {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style-type: none

}

.pagination-link {
  display: block;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 700;
  background-color: #82b3d3;
  color: #FFFFFF;
  text-decoration: none;
  text-align: center;
}

.pagination-link-current {
  color: #000000;
  background-color: #f2f2f2;
}

.pagination-skipped {
  display: inline-block;
  padding: 20px 15px;
  background-color: #ffffff;
  color: #000000;
}

.subscribe-btn {
  background-color: #82b3d3;
}

.phone-wrapper {
  font-style: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}
