*{ margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; color: #000; } button{ cursor: pointer; border: 0; } a{ text-decoration: none; } header{ display: flex; justify-content: space-around; align-items: center; margin: 18px 0px 11px 0px; } .logoSection{ display: flex; align-items: center; } /*Логотип*/ .logoSection img{ width: 100px; height: 32px; } .verticalLine{ width: 3px; height: 37px; margin: 0px 17px 0px 17px; background-color: #A9A9A9; } /*Название сервиса*/ .logoSection h1{ font-weight: 700; font-size: 32px; color: #222; } /*Кнопка локации*/ .btnLocation{ width: 150px; height: 28px; margin-left: 37px; border-radius: 40px; background-color: #CCC; font-size: 15px; } /*Навигация*/ nav { display: flex; align-items: center; } nav div{ margin-right: 55px; } nav a, svg{ transition: 0.3s; fill: #222; } nav svg:hover{ fill: #0050A1; } nav a:hover{ color: #0050A1; } /*Личный кабинет*/ .userIcon{ border-radius: 20px; background-color: #fff; } main{ margin: 0 5% 0 5%; } /*Горизонтальная линия под шапкой*/ .horizontalLine{ width: 100%; height: 1px; background-color: #CCC; } .titleSection{ display: flex; justify-content: space-between; margin-top: 24px; padding: 0 3% 0 3%; } .titleSectionLeft{ display: flex; align-items: center; } /*Кнопка "вернуться назад"*/ .btnBack{ display: flex; justify-content: space-evenly; align-items: center; width: 180px; height: 36px; color: #BABABA; background: #fff; border: 1px solid #ccc; border-radius: 12px; font-size: 15px; } /*Заголовок страницы*/ .titleSectionLeft h2{ margin-left: 31px; font-size: 24px; color: #222; } .titleSectionRight{ display: flex; align-items: center; } /*Кнопки "предыдущая" и "следующая"*/ .btnPrevious, .btnNext { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 20px; background: #fff; box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.25); } .btnPrevious{ margin-right: 10px; } /*Добавленные для сравнения квартиры*/ .apartmentSection{ display: flex; justify-content: space-between; padding-left: 3%; } /*Наименования*/ .apartmentTittle{ width: 19%; } .apartmentTittle h3{ font-weight: 600; font-size: 16px; } .photo{ display: flex; align-items: center; height: 50%; } .cost{ display: flex; align-items: center; height: 9%; } .address{ display: flex; align-items: center; height: 11%; } /*Блок с квартирой*/ .apartmentBlock{ width: 20%; margin-top: 26px; } /*Фото квартиры*/ .apartmentBlock img{ width: 100%; } /*Стоимость квартиры*/ .apartmentBlock h3{ margin-top: 16px; font-weight: 600; font-size: 20px; color: #222; } /*Адрес квартиры*/ .addressApartment{ margin-top: 16px; font-size: 16px; color: #0050A1; } /*Транспорт*/ .transport{ display: flex; margin-top: 9px; } /*Время транспорта*/ .transport p{ font-weight: 500; font-size: 15px; color: #A9A9A9; } .transportBas, .transportSubway{ display: flex; justify-content: space-around; align-items: center; width: 96px; height: 32px; border: 2px solid #A9A9A9; border-radius: 20px; } .transportSubway{ margin-left: 9px; } /*Кнопка "показать контакты"*/ .btnContact{ width: 180px; height: 36px; margin-top: 26px; background: #175FA9; border-radius: 12px; font-weight: 500; font-size: 16px; color: #fff; } /*Разделение секции*/ .separation{ margin-top: 50px; } .separation p{ margin-left: 3%; font-weight: 500; font-size: 16px; color: rgba(0, 0, 0, 0.5); } .separationLine{ height: 2px; margin-top: 8px; } /*Характеристики*/ .aboutSection { display: flex; justify-content: space-between; margin-left: 3%; } /*Наименования характеристик*/ .aboutTittle h3{ margin-top: 33px; font-weight: 600; font-size: 16px; } /*Характеристики квартиры*/ .aboutBlock p{ margin-top: 33px; font-size: 16px; } /*Не указано*/ .notIndicated{ color: rgba(0, 0, 0, 0.5); } /*Кнопки с вопросами*/ .questionBtnSection{ display: flex; justify-content: space-between; margin-top: 58px; } .questionBtn{ width: 323px; height: 128px; padding: 2% 5% 2% 3%; border-radius: 12px; text-align: left; } .questionBtn h3{ font-size: 18px; color: #fff; } .questionBtn p{ margin-top: 16px; font-size: 16px; line-height: 19px; color: #fff; } .orangeBtn{ background: linear-gradient(180deg, #F76D09 0%, #FFA800 100%); } .orangeBtn:active{ background: linear-gradient(180deg, #FFA800 0%, #F76D09 100%); } .greenBtn{ background: linear-gradient(180deg, #107A34 0%, #51A633 100%); } .greenBtn:active{ background: linear-gradient(180deg, #51A633 0%, #107A34 100%); } .blueBtn{ background: linear-gradient(180deg, #2E50A7 0%, #0993F7 100%); } .blueBtn:active{ background: linear-gradient(180deg, #0993F7 0%, #2E50A7 100%); } /*Недавно просмотренные*/ .viewedSection{ margin-top: 46px; } .viewedTittle{ display: flex; justify-content: space-between; } .viewedTittle h2{ font-weight: 700; font-size: 20px; color: #222; } .viewedTittle span{ margin-left: 30px; font-size: 16px; color: #A9A9A9; } /*Кнопки*/ .viewedBtnSection{ display: flex; } /*Кнопка "посмотреть все недавние"*/ .btnViewed{ width: 208px; height: 32px; margin-right: 22px; background: #fff; border: 1px solid #CCCCCC; border-radius: 12px; font-size: 14px; font-weight: 500; color: #ccc; } /*Кнопки "предыдущие" и "следующие"*/ .viewedBtn{ display: flex; align-items: center; } /*Недавно просмотренные квартиры*/ .viewedBlock{ display: flex; justify-content: space-between; margin-top: 27px; } /*Квартира*/ .viewedElem{ width: 24%; padding-bottom: 1%; background: #fff; border: 2px solid #ccc; border-radius: 20px; } .viewedElem img{ width: 100%; margin-bottom: 3%; } .viewedElem h3, p{ margin-left: 5%; } .viewedElem h3{ font-weight: 600; font-size: 24px; color: #222; } .viewedElem p{ font-weight: 500; font-size: 16px; color: #222; } /*Домики на футере*/ .footerHouses{ margin: 5% 0 0 5%; } /*Футере*/ .footerBlock{ width: 100%; height: 250px; margin-top: -0.5%; background-color: #D9D9D9; }