body {
    font-family: 'URWBookman', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FAF7F2;
}

@font-face {
    font-family: 'Good Vibes Pro';
    src: url('./fonts/GoodVibesCyr.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.search-bar {
    border-radius: 8px;
    display: flex;
    margin: auto;
    align-items: center;
    width: 100%;
    max-width: 962px;
    background: #fdfbf8;
    overflow: hidden;
    font-family: 'Georgia', serif;
}

.search-input,
.location-input {
    border: none;
    outline: none;
    padding: 12px 16px;
    color: #1B1B1EBF;
    width: 100%;
    flex: 1;
    font-family: URW Bookman;
    font-weight: 400;
    font-style: italic;
    font-size: 20px;
    line-height: 140%;
}

.search-input {
    border-right: 1px solid #e0dcd5;
    background: #FFFDF7;
    border-width: 1px 0px 1px 1px;
    border-style: solid;
    border-color: #E8EBEC;
    border-radius: 8px 0 0 8px;
}

.location-input {
    max-width: 200px;
    border-right: 1px solid #e0dcd5;
    background: #FFFDF7;
    border-width: 1px 1px 1px 2px;
    border-style: solid;
    border-color: #E8EBEC;
}

.search-button {
    display: flex;
    background-color: #8b2d2c;
    color: #fff;
    border: none;
    gap: 10px;
    padding: 12px 32px;
    cursor: pointer;
    font-style: italic;
    transition: background 0.3s;
    background: var(--Dark-red, #923A3A);
    font-family: URW Bookman;
    font-weight: 300;
    font-size: 20px;
    line-height: 140%;
    align-items: center;
}

.search-button:hover {
    background-color: #a63a38;
}


h1.title-block {
    text-align: center;
    margin-bottom: 10px;
}

.page-name-link {
    margin-top: 46px !important;
    max-width: 1284px;
    width: calc(100% - 20px);
    margin: auto;
    display: flex;
    gap: 5px;
    font-family: Arial;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--Vintage-Rose, #D1B5B8);
    vertical-align: middle;
}

a.link-page {
    font-family: URW Bookman;
    font-weight: 400;
    font-style: italic;
    font-size: 12px;
    margin-top: 2px;
    display: block;
    text-decoration: none;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: var(--Button-pink, #D49494);
}

.title-block {
    margin: 0;
    font-family: URW Bookman;
    font-weight: 400;
    font-style: italic;
    font-size: 60px;
    line-height: 140%;
    text-align: center;
    color: var(--Dark-red, #923A3A);

}

span.font-letter {
    font-style: normal;
    font-family: Good Vibes Pro;
}

.search-loc::before {
    /* content: ''; */
    background: url(images/search-input.png);
    width: 16px;
    height: 16px;
    display: flex;
    /* position: absolute; */
    left: 0;
}

label.search-loc {
    width: 100%;
    flex: 1;
}

.search-input {
    background: url('images/search-input.png') no-repeat 8px center;
    background-size: 16px;
    padding-left: 31px;
}



.location-input {
    background: url('images/gps.png') no-repeat 8px center;
    background-size: 24px 23px;
    padding-left: 36px;
}


button.search-button svg {
    margin-top: 1px;
}

.categories-clickable {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    max-width: 926px;
    gap: 34px 13px;
    justify-content: space-between;
    margin-top: 27px;
}

a.category-card {
    display: flex;
    gap: 24px;
    max-width: 300px;
    width: 100%;
    border-radius: 5px;
    text-decoration: none;
    border: 1px solid var(--Dark-red, #923A3A);
    padding: 10px;
    box-sizing: border-box;
}

p.title-cat {
    font-family: URW Bookman;
    font-weight: 300;
    font-style: italic;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 140%;
    margin: 0;
    letter-spacing: 0%;
    color: var(--Dark-red, #923A3A);
    text-decoration: none;
}

img.image-cat {
    width: 100%;
    height: 100%;
    max-width: 110px;
    height: 96px;
    object-fit: cover;
    border-radius: 5px;
}

section.categories-block {
    width: calc(100% - 20px);
    margin-bottom: 45px !important;
    margin: auto;
}

.filter-bar {
    background: #a5a17b;
    display: flex;
    justify-content: center;
    gap: 54px;
    padding: 60px 10px;
    flex-wrap: wrap;
    row-gap: 20px;
}

.filter-select {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    padding: 10px 23px 10px 10px;
    background-image: url("images/cheveron-up.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 12px;
    font-family: URW Bookman;
    font-weight: 300;
    font-style: italic;
    font-size: 20px;
    line-height: 140%;
    border-width: 1px 0px 1px 0px;
    border-style: solid;
    border-color: #FBF8EE;
    appearance: none;
    color: #FBF8EE;
}

.filter-select:focus {
    outline: none;
    border-bottom-color: #fff;
}

h2.title-car-cat {
    text-align: center;
    font-family: URW Bookman;
    font-weight: 400;
    font-style: Light Italic;
    font-size: 60px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
    color: var(--Dark-red, #923A3A);
}

h2.title-car-cat span {
    font-family: Good Vibes Pro;
    font-weight: 400;
    font-style: Regular;
    font-size: 70px;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
}

img.image-car {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.image-container {
    max-width: 258px;
    position: relative;
}

span.favourite-button {
    position: absolute;
    right: 10px;
    background: #EFECE1;
    top: 10px;
    border: 1px solid var(--Almond-Cream, #EFECE1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.filter-result-container {
    max-width: 1202px;
    margin: 49px auto;
    width: calc(100% - 20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

p.company-car {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    margin-bottom: 8px;
    font-family: URW Bookman;
    font-weight: 400;
    font-style: italic;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
    color: #4A4942;
}

.car-container {
    max-width: 278px;
    border: 1px solid var(--Dark-red, #923A3A);
    padding: 10px;
    box-sizing: border-box;
    border-radius: 5px;
}

h3.car-name {
    border-bottom: 1px solid var(--Dark-red, #923A3A);
    margin: 0;
    padding: 10px 0;
    font-family: URW Bookman;
    font-weight: 600;
    font-style: italic;
    font-size: 22px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    color: #4A4942;
}

@media (max-width:768px) {

    .search-input::placeholder,
    .location-input::placeholder {
        font-size: 0;
    }
    a.category-card{
        max-width: 100%;
    }
    .title-block{
        font-size: 46px;
    }
    .categories-clickable{
        gap: 10px;
    }
    h2.title-car-cat{
        font-size: 36px;
    }

    h2.title-car-cat span {
        font-size: 42px;
    }
    .search-button{
        padding: 15px 13px;
        font-size: 16px;
    }
    .filter-bar{
        flex-direction: column;
    }
    .filter-result-container{
        justify-content: center;
    }
}
