header {
    background: #FEFEFE;
}

.header-menu ul {
    color: #000;
}

.headline {
    background: #E6E6E6;
}

.headline-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0px;
    gap: 14px;
}

.headline-text p {
    color: #969595;
    text-align: center;
    font-family: Montserrat;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.75px;
}

.headline-text h1 {
    color: #000;
    font-family: "Playfair Display";
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: 60px;
}



input[type="range"] {
    appearance: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    width: 100%;
    border: none;

}


input[type="range"]:focus {
    outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    border-radius: 99px;
    border: 1px solid #E6E4EA;
    height: 9px;
    background: transparent;

}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -11px;
    background: #D64200;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    box-shadow: 0px 2px 4px rgba(50, 50, 71, 0.06), 0px 2px 2px rgba(50, 50, 71, 0.06);


}


input[type="range"]::-moz-range-track {
    border-radius: 99px;
    border: 1px solid #E6E4EA;
    height: 9px;
    background: transparent;
}


input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -11px;
    background: #D64200;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    box-shadow: 0px 2px 4px rgba(50, 50, 71, 0.06), 0px 2px 2px rgba(50, 50, 71, 0.06);

}

input[type="range"]::-webkit-slider-runnable-track {

    background: var(--track-bg, linear-gradient(to right, #D64200 100%, transparent 0%));
}


.all-ites {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 25px 0px;
    column-gap: 68px;

}

.navbar {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: top;
    gap: 55px;
}

.search {
    border: 1px solid rgba(0, 0, 0, 0.20);
    padding: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.search input {
    flex: 1 1 auto;
    width: 0px;
}


.search input::placeholder {
    color: #000;
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 275;
    line-height: 150%;
    letter-spacing: 0.8px;
}

.topic h2 {
    padding-bottom: 15px;
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.7px;
}

.topic li {
    cursor: pointer;
    padding: 12px 30px;

    color: #000;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.8px;
}

.topic li:hover {
    background: #CC5520;
    color: #FFF;
}

.prise h2 {
    padding-bottom: 10px;
    color: #000;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.7px;
}

.range-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#income-value {
    color: #000;
    text-align: center;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 1px;
}

.cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
}

.img-and-button {
    position: relative;
}

.img-and-button button {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;

    display: flex;
    flex-direction: column;
    padding: 10px 17px;
    gap: 5px;

    background: #CC5520;

    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.55px;
}

.img-and-button button h2 {
    color: #FFF;
    text-align: center;
    font-family: Montserrat;
    font-size: 33px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1.65px;
}


.info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.info h2 {
    color: #000;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 1px;
}

.info h3 {
    color: #000;
    text-align: center;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 1px;
}

.info p {
    color: #969595;
    text-align: center;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.8px;
}

.cards-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 70px;
}

@media(max-width:1023px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media(max-width:645px) {
    header {
        background: rgba(0, 0, 0, 0.45);
    }

    .all-ites {
        grid-template-columns: 1fr;
    }

    .topic ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .topic ul li {
        border-radius: 7px;
        border: 1px solid #FF3D00;
    }

    .info {
        gap: 5px;
    }

    .info h2 {
        font-size: 16px;
    }

    .info h3 {
        font-size: 16px;
    }
}