@import url("https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap");
:root {
  --blue-primary-color: #016bb2;
  --white-color: #fff;
  --black-color: #000;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
}

body {
  box-sizing: border-box;
  font-family: "Onest";
  overflow-y: auto;
  overflow-x: hidden;
}

a {
  display: inline-block;
}

.hero-section {
  padding-block-end: 60px;
}

.hero__gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "big small-top-left small-top-right" "big small-bottom small-bottom";
  margin-block-end: 56px;
  min-block-size: 600px;
}

.brand-list {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.btn {
  text-decoration: none;
  color: initial;
  font-size: 0.9rem;
}
.btn--rounded {
  border-radius: 30px;
  padding: 18px 51px;
}
.btn--blue {
  background-color: #016bb2;
  color: white;
  cursor: pointer;
  transition: all 300ms;
}
.btn--blue:hover {
  background-color: rgb(1.1849162011, 126.7860335196, 210.9150837989);
}

button {
  font-family: inherit;
}

.activities-section {
  padding-block-end: 100px;
}

.activities-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 236px;
  column-gap: 18px;
  overflow: auto;
  justify-content: space-between;
  list-style-type: none;
}
.activities-list__item {
  container-type: inline-size;
}

.activity-card {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  background-color: #f5f5f5;
  color: black;
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
  padding: 22px 25px;
  height: 220px;
}
.activity-card__header {
  font-size: 1.1rem;
  font-weight: 400;
  max-inline-size: 15ch;
  min-block-size: 6ch;
  margin-bottom: 10px;
}
.activity-card__link {
  color: #016bb2;
  text-decoration: none;
  font-size: 0.7rem;
}
.activity-card__icon {
  max-inline-size: 70px;
  max-block-size: 60px;
  margin-top: auto;
}

.realty-section {
  padding-block-end: 100px;
}

.realty-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(324px, 1fr));
  gap: 18px;
  grid-auto-rows: 240px;
  list-style-type: none;
  overflow: auto;
}

.realty-card {
  display: flex;
  height: 100%;
  flex-flow: column nowrap;
  justify-content: space-between;
  padding: 24px 18px;
  color: white;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
.realty-card__link {
  padding: 18px 28px;
  display: inline-block;
}
.realty-card__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}
.realty-card__header {
  max-inline-size: 10ch;
  font-size: 1.5rem;
  font-weight: 400;
}
.realty-card__footer {
  text-align: right;
}

.filter-section {
  padding-block-end: 70px;
}

.filter-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(470px, 1fr));
  gap: 22px;
  list-style-type: none;
}
.filter-list__item {
  border-block-end: 1px solid lightgray;
}
.filter-list__item:not(:last-child) {
  padding-block-end: 28px;
}
.filter-list__item:last-child {
  padding-block-end: 10px;
}

.project-card {
  color: black;
}
.project-card .card__image {
  width: 100%;
  border-radius: 5px;
}
.project-card .card__image__wrapper {
  margin-block-end: 16px;
}
.project-card .project-card__header {
  font-size: 1.5rem;
  font-weight: 400;
  margin-block-end: 15px;
}
.project-card .project-card__metro {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-block-end: 10px;
}
.project-card .time__bage {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 0.9rem;
}
.project-card .time__bage::before {
  content: "";
  background-image: url("../images/icons/pedestrian.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  width: 17px;
  height: 17px;
  filter: opacity(0.7);
  display: block;
}
.project-card .metro__bage {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.project-card .metro__bage::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: #8fbc57;
}
.project-card .summary__info {
  display: flex;
  flex-flow: column nowrap;
  gap: 5px;
}
.project-card .summary__info__item {
  display: flex;
  justify-content: space-between;
}

.info-card {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  background-color: #1d262b;
  color: white;
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
  padding: 34px;
}
.info-card__header {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 400;
  max-inline-size: 15ch;
}
.info-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info-card__desc {
  max-inline-size: 20ch;
  font-size: 1.15rem;
}
.info-card__btn {
  display: flex;
  align-items: center;
  padding: 18px 26px;
  background-color: #1d262b;
  border: 2px solid #016bb2;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
  line-height: 100%;
  transition: all 500ms;
}
.info-card__btn:hover {
  border-color: white;
}

.actions-section {
  padding-block-end: 100px;
}

.actions-list {
  list-style-type: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 335px;
  overflow: auto;
  gap: 3px;
  justify-content: space-between;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.action-card {
  display: flex;
  column-gap: 23px;
  border: 1px solid lightgray;
  color: #142d1f;
  padding: 16px 30px;
  overflow: hidden;
  block-size: 100%;
}
.action-card .left-part {
  color: #016bb2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-card .left-part h2 {
  font-size: 1.6rem;
  font-weight: 300;
}
.action-card .left-part h2 .bigtext {
  font-size: 1.3em;
  font-weight: 500;
}
.action-card .right-part {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}
.action-card .right-part h3 {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 21px;
}
.action-card .right-part span {
  font-size: 0.8rem;
  font-weight: 400;
  color: #016bb2;
  max-inline-size: 20ch;
}
.action-card--active {
  background-color: #016bb2;
  border: none;
  color: white;
}
.action-card--active .left-part {
  color: #fafcff;
}
.action-card--active .right-part span {
  color: white;
}
.action-card--active {
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
}

.news-list {
  display: flex;
  list-style-type: none;
  justify-content: space-between;
  margin-bottom: 100px;
}

.news-card {
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 324px;
  height: 240px;
  z-index: 1;
  background-color: white;
  padding: 42px 24px 20px 16px;
  color: white;
  flex-flow: column;
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
}
.news-card::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  left: var(--border-width);
  top: var(--border-width);
  background-color: #1d262b;
  width: calc(100% - var(--border-width) * 2);
  height: calc(100% - var(--border-width) * 2);
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
}
.news-card__link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}
.news-card__link::after {
  content: url("../images/line_folow.svg");
  margin-left: 16px;
}
.news-card__time {
  border: 1px solid white;
  border-radius: 30px;
  padding: 14px 24px;
}
.news-card__content {
  font-size: 18px;
  max-inline-size: 22ch;
}
.news-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}
.news-card__footer a {
  transition: all 500ms;
}
.news-card__footer a:hover {
  color: #0481d4;
}

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