header{
    position: fixed;
}

.Vivienda-block{
    border: 1px solid rgba(255, 255, 255, .25);
     border-radius: 20px;
     background-color: rgba(255, 255, 255, 0.45);
     box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
     backdrop-filter: blur(15px);
  }

 .box{
    background: transparent;
 }

 .container2{
    background: transparent;
 }

 main {
 }

/*Slider*/
.gfg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: #01940b;
}

.custom-wrapper {
    margin: 0;
    width: 70%;
    padding: 0px 25px 40px;
    position: relative;
    left: 63px;
}

.header h2 {
    font-size: 30px;
    color: #01940b;
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* Styles for the price input container */
.price-input-container {
}

.price-input .price-field {
    display: flex;
    margin-bottom: 22px;
}
.price-input2 .price-field {
    display: flex;
    margin-bottom: 22px;
}

.price-field span {
    margin-right: 10px;
    margin-top: 6px;
}

.price-field input {
    flex: 1;
    height: 35px;
    border-radius: 9px;
    text-align: center;
    border: 0px;
    background: #e4e4e4;
}

.price-input {
    width: 100%;
    color: #555;
}
.price-input2 {
    width: 100%;
    color: #555;
}

/* Remove Arrows/Spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.slider-container {
    width: 100%;
}

.slider-container {
    height: 6px;
    position: relative;
    background: #e4e4e4;
    border-radius: 5px;
}

.slider-container .price-slider {
    height: 100%;
    left: 0%;
    right: 0%;
    position: absolute;
    border-radius: 5px;
    background: #01940b;
}
.slider-container2 {
    width: 100%;
}

.slider-container2 {
    height: 6px;
    position: relative;
    background: #e4e4e4;
    border-radius: 5px;
}



.slider-container2 .price-slider {
    height: 100%;
    left: 0%;
    right: 0%;
    position: absolute;
    border-radius: 5px;
    background: #01940b;
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    background: none;
    top: -5px;
    pointer-events: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.range-input2 {
    position: relative;
}

.vend{
    background-color: #eaa83d;
    color: white;
    font-size: 1em;
    padding: 4px 10px;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-50%);
    z-index: 3;
    border-radius: 10px;
}

.range-input2 input {
    position: absolute;
    width: 100%;
    height: 5px;
    background: none;
    top: -5px;
    pointer-events: none;
    cursor: pointer;
    -webkit-appearance: none;
}
/* Styles for the range thumb in WebKit browsers */
input[type="range"]::-webkit-slider-thumb {
    height: 18px;
    width: 18px;
    border-radius: 70%;
    background: #555;
    pointer-events: auto;
    -webkit-appearance: none;
}



/*input*/
input {
  background: 0;
  border: 0;
  outline: none;
  transition: padding 0.3s 0.2s ease;

  &:focus {
    padding-bottom: 5px;
  }

  // sibling magic ;o
  &:focus + .line {
    &:after {
      transform: scaleX(1);
    }
  }
}

.field {
  position: relative;

  .line {
    width: 100%;
    height: 3px;
    bottom: -8px;
    background: #bdc3c7;

    &:after {
      content: " ";
      position: absolute;
      float: right;
      width: 100%;
      height: 3px;

      transform: scalex(0);
      transition: transform 0.3s ease;

      background: #1abc9c;
    }
  }
}



/*select*/
.filter select {
  /* Reset Select */
  appearance: none;
  outline: 10px red;
  border: 0;
  box-shadow: none;
  /* Personalize */
  flex: 1;
  padding: 0 1em;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}
/* Remove IE arrow */
.filter select::-ms-expand {
  display: none;
}
/* Custom Select wrapper */




/*buttons filter*/
.colorful-button {
    &.dark {
        --delay: .35s;
        --c-color-1: #{rgba(#404660, .3)};
        --c-color-2: #362A89;
        --c-color-3: #{rgba(#5C86FF, .3)};
        --c-color-4: #{rgba(#6D58FF, .4)};
        --c-shadow: #{rgba(#362A89, .4)};
        --c-shadow-inset-top: #{rgba(#646B8C, .6)};
        --c-shadow-inset-bottom: #{rgba(#8A91B4, .4)};
        --c-radial-inner: #404660;
        --c-radial-outer: #0D0F18;
    }
    &.light {
        --delay: .15s;
        --c-color-1: #{rgba(#ACA0FF, .15)};
        --c-color-2: #{rgba(#6EABFF, .15)};
        --c-color-3: #{rgba(#fff, .5)};
        --c-color-4: #{rgba(#6D58FF, .15)};
        --c-shadow: #{rgba(#004CB4, .1)};
        --c-shadow-inset-top: #{rgba(#fff, 1)};
        --c-shadow-inset-bottom: #{rgba(#fff, 1)};
        --c-radial-inner: #ECEFFC;
        --c-radial-outer: #fff;
        --c-color: #404660;
    }
    &.secondary {
        --delay: .35s;
        --c-color-1: #{rgba(#ACA0FF, .15)};
        --c-color-2: #{rgba(#6EABFF, .15)};
        --c-color-3: #{rgba(#5C86FF, .5)};
        --c-color-4: #{rgba(#ACA0FF, .15)};
        --c-shadow: #{rgba(#6D58FF, .25)};
        --c-shadow-inset-top: #{rgba(#ACA0FF, .2)};
        --c-shadow-inset-bottom: #{rgba(#ACA0FF, .5)};
        --c-radial-inner: #6D58FF;
        --c-radial-outer: #362A89;
    }
}

.colorful-button {
        --duration: 7s;
        --delay: 0s;
        --easing: linear;
        --c-color-1: rgb(0 135 255 / 70%);
        --c-color-2: #00f1ff69;
        --c-color-3: rgb(68 0 255 / 64%);
        --c-color-4: rgb(0 255 226 / 65%);
        --c-shadow: #{rgba(#275EFE, .5)};
        --c-shadow-inset-top: #{rgba(#275EFE, .8)};
        --c-shadow-inset-bottom: #{rgba(#6EABFF, .6)};
        --c-radial-inner: #27559b;
        --c-radial-outer: #019489;
        --c-color: #fff;
        -webkit-tap-highlight-color: transparent;
        -webkit-appearance: none;
        outline: none;
        position: relative;
        cursor: pointer;
        border: none;
        display: table;
        border-radius: 24px;
        padding: 0;
        margin: 0;
        text-align: center;
        min-width: 140px;
        font-weight: 600;
        font-size: 16px;
        letter-spacing: .02em;
        line-height: 1.5;
        color: var(--c-color);
        background: radial-gradient(circle, var(--c-radial-inner), var(--c-radial-outer) 80%);
        box-shadow: 0 0 20px var(--c-shadow);
        margin: 0 20px;
    &:before {
        content: '';
        pointer-events: none;
        position: absolute;
        z-index: 3;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        border-radius: 24px;
        box-shadow: inset 0 4px 12px var(--c-shadow-inset-top), inset 0 -4px 6px var(--c-shadow-inset-bottom);
    }
    .wrapper {
        -webkit-mask-image: -webkit-radial-gradient(white, black);
        overflow: hidden;
        border-radius: 24px;
        min-width: 132px;
        padding: 12px 0;
        span {
            display: inline-block;
            position: relative;
            z-index: 1;
        }
        .circle {
            position: absolute;
            left: 0;
            top: 0;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            filter: blur(var(--blur, 8px));
            background: var(--background, transparent);
            transform: translate(var(--x, 0), var(--y, 0)) translateZ(0);
            animation: var(--animation, none) var(--duration) var(--easing) infinite var(--delay);
            &.circle-1,
            &.circle-9,
            &.circle-10 {
                --background: var(--c-color-4);
            }
            &.circle-3,
            &.circle-4 {
                --background: var(--c-color-2);
                --blur: 14px;
            }
            &.circle-5,
            &.circle-6 {
                --background: var(--c-color-3);
                --blur: 16px;
            }
            &.circle-2,
            &.circle-7,
            &.circle-8,
            &.circle-11,
            &.circle-12 {
                --background: var(--c-color-1);
                --blur: 12px;
            }
            &.circle-1 {
                --x: 0;
                --y: -40px;
                --animation: circle-1;
            }
            &.circle-2 {
                --x: 92px;
                --y: 8px;
                --animation: circle-2;
            }
            &.circle-3 {
                --x: -12px;
                --y: -12px;
                --animation: circle-3;
            }
            &.circle-4 {
                --x: 80px;
                --y: -12px;
                --animation: circle-4;
            }
            &.circle-5 {
                --x: 12px;
                --y: -4px;
                --animation: circle-5;
            }
            &.circle-6 {
                --x: 56px;
                --y: 16px;
                --animation: circle-6;
            }
            &.circle-7 {
                --x: 8px;
                --y: 28px;
                --animation: circle-7;
            }
            &.circle-8 {
                --x: 28px;
                --y: -4px;
                --animation: circle-8;
            }
            &.circle-9 {
                --x: 20px;
                --y: -12px;
                --animation: circle-9;
            }
            &.circle-10 {
                --x: 64px;
                --y: 16px;
                --animation: circle-10;
            }
            &.circle-11 {
                --x: 4px;
                --y: 4px;
                --animation: circle-11;
            }
            &.circle-12 {
                --blur: 14px;
                --x: 52px;
                --y: 4px;
                --animation: circle-12;
            }
        }
    }
}

@keyframes circle-1 {
    33% {
        transform: translate(0px, 16px) translateZ(0);
    }
    66% {
        transform: translate(12px, 64px) translateZ(0);
    }
}

@keyframes circle-2 {
    33% {
        transform: translate(80px, -10px) translateZ(0);
    }
    66% {
        transform: translate(72px, -48px) translateZ(0);
    }
}

@keyframes circle-3 {
    33% {
        transform: translate(20px, 12px) translateZ(0);
    }
    66% {
        transform: translate(12px, 4px) translateZ(0);
    }
}

@keyframes circle-4 {
    33% {
        transform: translate(76px, -12px) translateZ(0);
    }
    66% {
        transform: translate(112px, -8px) translateZ(0);
    }
}

@keyframes circle-5 {
    33% {
        transform: translate(84px, 28px) translateZ(0);
    }
    66% {
        transform: translate(40px, -32px) translateZ(0);
    }
}

@keyframes circle-6 {
    33% {
        transform: translate(28px, -16px) translateZ(0);
    }
    66% {
        transform: translate(76px, -56px) translateZ(0);
    }
}

@keyframes circle-7 {
    33% {
        transform: translate(8px, 28px) translateZ(0);
    }
    66% {
        transform: translate(20px, -60px) translateZ(0);
    }
}

@keyframes circle-8 {
    33% {
        transform: translate(32px, -4px) translateZ(0);
    }
    66% {
        transform: translate(56px, -20px) translateZ(0);
    }
}

@keyframes circle-9 {
    33% {
        transform: translate(20px, -12px) translateZ(0);
    }
    66% {
        transform: translate(80px, -8px) translateZ(0);
    }
}

@keyframes circle-10 {
    33% {
        transform: translate(68px, 20px) translateZ(0);
    }
    66% {
        transform: translate(100px, 28px) translateZ(0);
    }
}

@keyframes circle-11 {
    33% {
        transform: translate(4px, 4px) translateZ(0);
    }
    66% {
        transform: translate(68px, 20px) translateZ(0);
    }
}

@keyframes circle-12 {
    33% {
        transform: translate(56px, 0px) translateZ(0);
    }
    66% {
        transform: translate(60px, -32px) translateZ(0);
    }
}
.colorful-button2{
        display:none;
    }

html {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: inherit;
    &:before,
    &:after {
        box-sizing: inherit;
    }
}

/*фон*/

.background-image {
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            position:fixed;
        }


@media screen and (max-width: 768px) {
    .main {
        width: 80%;
        margin-right: 5px;
    }

    .box{
        background: #ffffff96;
        border-radius: 1em;
    }

    .Vivienda-block {
        backdrop-filter:none;
     }

    .custom-wrapper {
        width: 100%;
        left: 0;
        padding: 0 10px;
    }

    .projtitle {
        width: 100%;
        position: relative;
        right: 26px;
    }

    .price-input {
        flex-direction: column;
        align-items: center;
    }

    .price-field {
        margin-bottom: 10px;
    }
    .background-image {
        position: fixed;
        top: none;
        left: 0;
    }
    .filter-wrapper {
        display: none;
    }
    .filter-wrapper.show {
        display: block;
    }
    .colorful-button2{
        display:block;
    }
}



