
.search-bar{
    width: 100%;
    height: 8rem;
    padding-top: 1rem;
}
.search-bar form{
    width: 45%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    height: 4rem;
    padding: 1rem;
    padding-bottom: 0.5rem;
    border-radius: 25px;
    background: white;
    color: black;
}
.search-bar fieldset{
    display: grid;
    align-items: center;
    width: 40%;
    height: 100%;
    padding: 0;
    grid-template-columns: 30% 70%;
    border: none;
    font-family: 'Quicksand', sans-serif;
}
.search-bar fieldset img{
    height: 50%;
    width:50%;
    margin: auto;
    object-fit: contain;
}
.search-bar fieldset .input-field{
    height: 100%;
    width: 100%;
    text-align: left;
    position: relative;
}
.search-bar fieldset .input-field label{
    display: block;
    font-size: 1rem;
    width: 100%;
    height: 30%;
    border-bottom: 1px solid rgba(128, 128, 128, 0.5);
}
.search-bar fieldset .input-field input{
    height: 67%;
    width: 100%;
    padding: 0;
    font-size: 0.833rem;
    border: none;
    border-radius: 10px;
    font-family: 'Quicksand', sans-serif;
}
fieldset .input-field{
    height: 100%;
    width: 100%;
    text-align: left;
    position: relative;
}
 .input-field .result-box{
    position: absolute;
    top: 100%;
    width: 300px;
    background: white;
    display: none;
    color: black;
    text-align: left;
    border-radius: 15px;
    font-family: "ubuntu", sans-serif;
    max-height: 200px;
    overflow-y: scroll;
    z-index: 1000;
    border: 0.2px solid rgba(128, 128, 128, 0.445);
}
.input-field .result-box ul{
    padding:5px 1px;
    padding-top: none;
}
  .input-field .result-box li{
    width: 100%;
    border-radius: 8px;
    font-size: 1.2rem;
    height: 1.5rem;
    padding: 5px 2px;
    cursor: pointer;
    list-style: none;
}
 .input-field .result-box li:hover{
    background: var(--background-color);
    color: white;
}

.search-btn{
    height: 90%;
    width: 100%;
    border-radius: 15px;
    border: none;
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.search-btn img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.search-btn:hover{
    transition-duration: 0.3s;
}
.progress-bar{
    width: 100%;
    height: 2rem;
}
.page-content{
    width: 50%;
    margin: auto;
    display: flex;
    flex-direction:column ;
    min-height: 100vh;
    row-gap: 2rem;
    align-items: center;
    background: var(--background-transparent);
    border-radius: 50px;
    padding: 25px;
}
.offer{
    width: 95%;
    height: 12rem;
    border-radius: 12px;
    border: 1px solid var(black);
    background-color: white;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 25% 25% 25% 25%;
    grid-template-areas: 
    'image route title'
    'image properties price'
    'image properties price'
    'image   including book-now';
    color: black;
    align-items: center;
    text-align: center;
}
.offer .offer-vehicle{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}
.offer h2{
    font-size: 1.44rem;
}
.offer h3{
    text-align: center;
    font-size: 1rem;
}
.offer .properties{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 80%;
    height: 100%;
    margin: auto;
}
.offer .properties img{
    width: 8%;
}
.offer .properties p{
    font-size: 0.70rem;
    font-weight: 800;
}
.offer .details{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 1rem;
    align-items: center;
}
.offer .details p{
    font-size: 0.70rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 15px;
    padding: 10px;
}
.offer .including{
    display: flex;
    width: 100%;
    display: flex;
    gap: 1rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}
.offer .including img{
    width: 6%;
    border: 1px solid gray;
    border-radius: 8px;
    padding: 5px;
}
.offer .price{
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 900;
    display: block;
    width: 90%;
    text-align: center;
}
.offer .book-now{
    width: 90%;
    height: 60%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: auto;
    background-color: var(--background-color);
    color: white;
    font-family: 'Quicksand',sans-serif;
    font-size: 1rem;
    font-weight: 800;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    padding: 0.30rem;
    transition-duration: 0.3s;
    text-decoration: none;
    
}

@media only screen and (max-width:1000px){
    .search-bar form{
        width: 90%;
    }
    .search-bar button{
        width: 10%;
    }
    .page-content{
        width: 80% ;
    }
}
@media only screen and (max-width:700px){
    .offer{
        display: flex;
        flex-direction: column;
        height: auto;
        border-radius: 25px;
        gap: 0.5rem;
        padding-bottom: 10px;
    }
    .offer .offer-vehicle{
        height: 200px;
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
    }
    .offer .properties p{
        font-size: 12px;
    }
    .offer .details img{
        width: 25px;
        height: 25px;
    }
    .offer .including img{
        width: 25px;
        height: 25px;
    }
    .offer .price{
        font-size: 1rem;
    }
    .offer *{
        padding: 0;
        margin: 0;
    }
}
@media only screen and (max-width:480px){
    
}