@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --curly-font: "Cormorant Garamond", serif;
  --dark-blue: #000e67;
  --light-blue: #54758a;
  --yellow: #f0b323;
  --bright-blue: #0032a0;
  --deep-blue: #2e364a;
  --gray: #00000070;
  --sky-blue:#257aa4;
}

.wrap{
    flex-wrap: wrap;
  }

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f8f6f3;

}

a {
  text-decoration: none;
  color: inherit;
}

.flex-class {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-class {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

ul {
  list-style: none;
}

.hero{
    flex-direction: column;
    padding-top: 50px;
    background-color: var(--sky-blue);
}

.search-lable{
    font-size: 25px;
    color: #ffffff;
    font-weight: 700;
}

#search-center{
    height: 50px;
    width: 50%;
    outline: none;
    border-radius: 30px;
    margin: 20px;
    padding: 0 20px;
    box-shadow: 1px 1px 15px 4px #00000010;
    border: 2px solid #dbdbdb;
}

.center-search-results{
    padding: 30px 0;
}

.center-search-results .card{
    background-color: #fff;
    margin: 30px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 5px 5px 10px 0 rgb(0 0 0 / 10%);
    transition: 0.3s box-shadow ease;
}

.center-search-results .card:hover{
    box-shadow: 2px 2px 4px 0 rgb(0 0 0 / 20%)
}

.center-search-results .card .center-city{
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sky-blue);
}

.center-state{
    text-transform: capitalize;
}
.status{
    text-transform: capitalize;
    margin-top:30px;
    margin-bottom: 10px;
}
.status-text{
    text-transform: capitalize;
}

.center-search-results .card .bottom{
    justify-content: space-between;
    text-transform: capitalize;
    width: 100%;
}
.center-search-results .card .bottom .bottom-card{
    margin-right: 50px;
    min-width: 150px;
}

.center-search-results .card .bottom .bottom-card img{
    margin-right: 10px;
}

.center-search-results .card .bottom .bottom-card button{
    background-color: var(--sky-blue);
    color: #ffffff;
    font-weight: 700;
    padding: 10px 20px;
    border: none;
    outline: none;
    min-width: 160px;
    box-shadow: 5px 5px 10px 0 rgb(0 0 0 / 20%);

}

.center-search-results .card .bottom .bottom-card button:hover{
   opacity: 0.8;
}

.status{
    justify-content: flex-start;
}

.status img{
    margin-right: 10px;
}

.filter{
    padding-bottom: 0;
    border-radius: 15px ;
    position: relative;
}

.filter .card{
    width: 200px;
    text-align: center;
    padding: 10px;
    border-right: none;
    cursor: pointer;
    border-radius: 15px;
    z-index: 5;
    transition: 0.4s color ease;
}
.filter .card.active{
    color: #fff;
}


.filter-wrapper{
    padding: 5px;
    background-color: #fff;
    border-radius: 10px;
    transform: translateY(25px);
    box-shadow: 3px 3px 10px 5px #00000020;
}


.bg-wrapper{
    width: 200px;
    height: 40px;
    border-radius: 10px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    background-color: var(--sky-blue);
    transition: 0.4s left ease , 0.4s top ease;
}

.no-result{
    margin: auto;
    text-align: center;
    color: var(--sky-blue);
    font-weight: 700;
    text-transform: uppercase;
    padding-right: 8px;
    margin-top: 50px;
}

.hidden{
    display: none;
}



.center-address{
    width: 80%;
}


.first-heading,.second-heading{
    text-align: center;
    font-size: large;
    color: var(--sky-blue);
    font-weight: 700;
    margin-top: 50px;
    display: none;
}

.first-heading{
    display: block;
}


@media only screen and (max-width:980px){
    #search-center{
        width: 60%;
    }

    .search-lable{
        width: 80%;
        text-align: center;
    }

    .bottom-card{
        margin-top: 20px;
    }
}

@media only screen and (max-width:820px){
    .center-search-results .card{
        margin: 20px;
    }
}

@media only screen and (max-width:760px){
    .center-search-results .card .bottom .left{
        justify-content: flex-start;
    }
}

@media only screen and (max-width:650px){
    .filter-wrapper .filter{
        flex-direction: column;
        width: 100%;
    }

    .bg-wrapper{
        width: 100%;
        height: 40px;
    }

    
    #search-center{
        width: 90%;
    }

    .search-lable{
        width: 90%;
    }

    .filter-wrapper{
        width: 90%;
    }

    .filter-wrapper .filter .card{
        width: 100%;
        height: 50px;
    }

    .center-search-results{
        padding-top: 40px;
    }
}

@media only screen and (max-width:400px){
    .bottom-card{
        margin-top: 6px;
    }

    .bottom-card button{
        margin-top: 10px;
    }
}