.hero { position: relative; overflow: hidden; &::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(3, 9, 15, 0.6); } &__bg { position: absolute; top: 0; left: 0; z-index: -1; width: 100%; height: 100%; background-repeat: no-repeat; background-size: cover; background-position: center; @media (min-width: 1200px) { animation: bg-scale 20s linear infinite alternate; } } &__wrap { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 80px 0; @media (min-width: 1200px) { min-height: calc(100vh - 110px); padding: 50px 0 105px; } } &__cnt { max-width: 830px; margin-bottom: 40px; @media (min-width: 1200px) { margin-bottom: 60px; } } &__descr { color: $white; font-size: 20px; line-height: 24px; font-weight: 500; margin-top: 12px; @media (min-width: 1200px) { line-height: 30px; } } &__links { margin-bottom: 20px; display: flex; flex-direction: column; align-items: flex-start; @media (min-width: 1200px) { flex-direction: row; } } &__link { position: relative; padding-left: 12px; color: $white; font-size: 14px; line-height: 20px; font-weight: 700; transition: .3s; @media (min-width: 1200px) { padding-left: 0; } &::before { content: ''; position: absolute; top: 8px; left: 0; width: 4px; height: 4px; border-radius: 50%; background-color: $white; @media (min-width: 1200px) { display: none; } } &:not(:last-child) { margin: 0px 0px 10px 0px; @media (min-width: 1200px) { margin: 0px 41px 0px 0px; } &::after { @media (min-width: 1200px) { content: ''; position: absolute; top: 0; right: -20px; bottom: 0; width: 1px; background-color: $white; pointer-events: none; } } } &:hover { @media (min-width: 1200px) { color: $blue; } } &.active { color: $blue; } } &__btn { display: none; @media (min-width: 1200px) { display: block; position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); width: 20px; height: 36px; border: 1px solid $white; border-radius: 60px; } &::before { @media (min-width: 1200px) { content: ''; width: 5px; height: 5px; position: absolute; top: 5px; left: 50%; transform: translateX(-50%); background-color: $white; border-radius: 50%; opacity: 1; animation: wheel 2s infinite; } } } .breadcrumbs { display: none; } &--modified1, &--modified2 { .breadcrumbs { display: block; } .hero__bg { animation: none; } .hero__wrap { min-height: 0; display: block; padding: 0 0 80px; @media (min-width: 1200px) { padding: 0 0 160px; } } .hero__btn { display: none; } } &--modified1 { .hero__cnt { max-width: 720px; } } &--modified2 { .hero__descr, .hero__links { display: none; } .hero-search__btn.btn--white { display: none; } } } @keyframes wheel { 100% { opacity: 0; top: 24px; } } @keyframes bg-scale { 0% { transform: scale(1); } 100% { transform: scale(1.2); } } .hero-search { &__control { display: grid; grid-template-columns: repeat(1, 1fr); grid-gap: 10px; margin-bottom: 10px; @media (min-width: 640px) { grid-template-columns: repeat(2, 1fr); margin-bottom: 40px; } @media (min-width: 920px) { grid-template-columns: repeat(3, 1fr); } @media (min-width: 1200px) { display: flex; grid-gap: 0; } } &__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; @media (min-width: 780px) { flex-wrap: nowrap; } } &__field { width: 100%; position: relative; margin: 0px 0px 40px 0px; @media (min-width: 640px) { margin: 0px 0px 10px 0px; } @media (min-width: 780px) { max-width: 380px; margin: 0px 10px 0px 0px; } input { display: block; width: 100%; height: 50px; color: $black; font-size: 14px; line-height: 20px; font-weight: 400; padding: 15px 64px 15px 20px; border-radius: 10px; border: none; background-color: $white; &::placeholder { color: #CDCECF; } } button { position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; width: 64px; height: 50px; } } &__buttons { display: flex; flex-direction: column; width: 100%; @media (min-width: 640px) { width: auto; flex-direction: row; } } &__btn { white-space: nowrap; &:not(:last-child) { margin: 0px 0px 10px 0px; @media (min-width: 640px) { margin: 0px 10px 0px 0px; } } } } .hero-filter { position: relative; &:not(:last-child) { @media (min-width: 1200px) { border-right: 1px solid #E6E7E7; } } &__current { position: relative; color: #686B6F; font-size: 14px; line-height: 22px; font-weight: 400; padding: 14px 40px 14px 20px; background-color: #FFFFFF; border-radius: 10px; cursor: pointer; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; @media (min-width: 1200px) { border-radius: 0; font-size: 16px; padding: 19px 40px 19px 20px; } &::after { content: ''; position: absolute; top: 50%; right: 20px; transform: translateY(-50%) rotate(-90deg); width: 13px; height: 7px; background-repeat: no-repeat; background-image: url("data:image/svg+xml,%3Csvg width='13' height='7' viewBox='0 0 13 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.333 1L6.33301 6L1.33301 1' stroke='%2342AAFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transition: .3s; } } &__dropdown { position: absolute; top: calc(100% + 30px); left: 0; right: 0; z-index: 5; padding: 10px 12px 10px 20px; border-radius: 10px; background-color: #FFFFFF; box-shadow: 0px 0px 12px rgba(14, 56, 94, 0.4), 0px 0px 40px rgba(14, 56, 94, 0.08); opacity: 0; visibility: hidden; transition: .3s; @media (min-width: 1200px) { right: auto; } } &__list { max-height: 130px; height: 100%; overflow-y: auto; padding: 10px 10px 10px 0; scrollbar-color: $blue transparent; scrollbar-width: thin; &::-webkit-scrollbar { background-color: #E6E7E7; } &::-webkit-scrollbar-thumb { background-color: rgba($blue, 1); } } &__item { color: #4B4E53; font-size: 14px; line-height: 20px; font-weight: 500; cursor: pointer; &:not(:last-child) { margin-bottom: 10px; } } &__fields { display: flex; } &__field { width: 50%; span { display: block; color: #4B4E53; font-size: 14px; line-height: 20px; font-weight: 500; margin-bottom: 8px; } input { display: block; width: 100%; color: $black; font-size: 14px; line-height: 20px; font-weight: 500; border: 1px solid #CFD1D2; border-radius: 10px; padding: 9px; transition: .3s; &::placeholder { color: #CDCECF; } &:focus { border-color: #42AAFF; background-color: #EDF7FF; } } &:not(:last-child) { margin-right: 10px; } } &__reset { position: relative; display: none; color: $black; font-size: 14px; line-height: 20px; font-weight: 600; padding-left: 18px; margin: 16px 0px 0px auto; &::before { content: ''; position: absolute; top: 4px; left: 0; width: 12px; height: 12px; background-repeat: no-repeat; background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.2501 0.757943C10.9251 0.432943 10.4001 0.432943 10.0751 0.757943L6.0001 4.82461L1.9251 0.749609C1.6001 0.424609 1.0751 0.424609 0.750098 0.749609C0.425098 1.07461 0.425098 1.59961 0.750098 1.92461L4.8251 5.99961L0.750098 10.0746C0.425098 10.3996 0.425098 10.9246 0.750098 11.2496C1.0751 11.5746 1.6001 11.5746 1.9251 11.2496L6.0001 7.17461L10.0751 11.2496C10.4001 11.5746 10.9251 11.5746 11.2501 11.2496C11.5751 10.9246 11.5751 10.3996 11.2501 10.0746L7.1751 5.99961L11.2501 1.92461C11.5668 1.60794 11.5668 1.07461 11.2501 0.757943Z' fill='%23363A3F'/%3E%3C/svg%3E%0A") } &.active { display: block; } } &.active { .hero-filter__current::after { transform: translateY(-50%) rotate(-180deg); } .hero-filter__dropdown { top: calc(100% + 10px); opacity: 1; visibility: visible; } } &--modified1 { @media (min-width: 1200px) { width: 211px; } .hero-filter__current { @media (min-width: 1200px) { border-radius: 10px 0px 0px 10px; } } .hero-filter__dropdown { @media (min-width: 1200px) { width: 269px; } } } &--modified2 { @media (min-width: 1200px) { width: 303px; } .hero-filter__dropdown { @media (min-width: 1200px) { width: 306px; } } } &--modified3 { @media (min-width: 1200px) { width: 281px; } .hero-filter__dropdown { @media (min-width: 1200px) { width: 260px; } } } &--modified4 { @media (min-width: 1200px) { width: 202px; } .hero-filter__dropdown { padding: 20px; @media (min-width: 1200px) { width: 290px; } } } &--modified5 { @media (min-width: 1200px) { width: 219px; } .hero-filter__current { @media (min-width: 1200px) { border-radius: 0px 10px 10px 0px; } } .hero-filter__dropdown { padding: 20px; @media (min-width: 1200px) { left: auto; right: 0; width: 330px; } } } }