* {
    font-family: 'Raleway', sans-serif; 
}

/* Header Start */

body {
    max-width: 1440px;
    min-width: 375px;
    margin: auto;
    margin-top: 0%;
    width: 95%;
}

header>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

header>div img {
    width: 75px;
    height: 25px;
    padding-top: 20px;
}

header>div div {
    width: 350px;
    display: flex;
    list-style: none;
    padding: 0%;
    margin: 0%;
    justify-content: space-around;
    font-size: 16px;
}

header>div div a {
    width: 50%;
    height: 45px;
    text-align: center;
    border-top: 3px solid transparent;
    padding-top: 20px;
    text-decoration: none;
    color: black;
}

header>div div a:hover {
    border-top: 3px solid #0065FC;
    color: #0065FC;
    cursor: pointer;
}

/* HEADER End */

/* MAIN : START */


header nav h1 {
    margin-bottom: 5px;
}

header nav > p {
    margin-top: 5px;
}

/*-- Searchbar : Start --*/

#searchbar-content{
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

#searchbar-content button:first-child {
    width: 50px;
    height: 50px;
    border-style: none;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    cursor: pointer;
    background: #F2F2F2;
    position: relative;
}

.fa-location-dot {
    position: absolute;
    font-size: 22px;
    top: 13px;
    left: 18px;
}

#searchbar-content form {
    display: flex;
    width: 200px;
    align-items: center;
    justify-content: center;
    border-style: none;
    border: 1px solid #F2F2F2;
    height: 48px;
}

#searchbar-content form input {
    border-style: none;
    height: 44px;
    width: 195px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

#searchbar-content form input:focus {
    outline: none;
}

#searchbar-content button:nth-of-type(2) {
    height: 50px;
    width: 150px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    border-style: none;
    background-color: #0065FC;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 0%;
}

#searchbar-content button:nth-of-type(2):hover {
    cursor: pointer;
}

#mobile-button {
    display: none;
    border-style: none;
    height: 50px;
    width: 50px;
    border-radius: 15px;
    background-color: #0065FC;
    color: white;
    font-size: 16px;
    position: absolute;
    right: 0px;
}

/* -- Searchbar : end -- */

/* -- Filter : start -- */

#filter {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

#filter>h2 {
    font-size: 20px;
}

#filter>button {
    display: flex;
    align-items: center;
    height: 50px;
    border-radius: 30px;
    border-style: none;
    background-color: white;
    border: 2px solid #D9D9D9;
    font-weight: bold;
    font-size: 18px;
    color: black;
    text-align: left;
    padding: 10px;
    padding-left: 0px;
}

#filter button:hover {
    cursor: pointer;
    background-color: #DEEBFF;
}

#filter button > i {
    font-size: 22px;
    color: #0065FC;
    margin: 10px;
}

#info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

#info > i {
    color: #0065FC;
    border: 1px solid #D9D9D9;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    text-align: center;
    padding: 5px;
    padding-top: 4px;
    padding-bottom: 8px;
    padding-right: 6px;
    padding-left: 6px;
}

#info p {
    margin: 0%;
}

/* -- Filter : end -- */

/* -- Cards : start -- */

#cards {
    display: flex;
    height: 600px;
    justify-content: space-between;
}

#first-card {
    background-color: #F2F2F2;
    width: 66%;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#first-card>h2 {
    width: 94.25%;
    font-size: 26px;
    margin-top: 30px;
}

#first-card > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    height: 470px;
    width: 97.5%;
}

#first-card div article {
    display: flex;
    flex-direction: column;
    width: 29%;
    height: 42.5%;
    border-radius: 20px;
    border-style: none;
    background-color: white;
    padding: 4px;
    box-shadow: 4px 4px 10px lightgrey;
}

#first-card div article:hover {
    cursor: pointer;
}

#first-card div article img {
    object-fit: cover;
    width: 100%;
    height: 60%;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

#first-card div article h3 {
    text-align: left;
    margin: 5px;
    font-size: 16px;
}

#first-card div article p {
    margin: 0px;
    margin-left: 5px;
    text-align: left;
    font-size: 14px;
}

.first-stars {
    width: auto;
    text-align: left;
    margin: 5px;
    margin-top: 14px;
    margin-bottom: 0px;
}

.first-stars i {
    font-size: 14px;
    color: #0065FC;
}

.first-stars i:last-child{
    color: #F2F2F2;
}


#first-card> p {
    width: 94.25%;
    margin-top: 0%;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 18px;
}

#first-card>p:hover {
    color: #0065FC;
    cursor: pointer;
}

#second-card {
    background-color: #F2F2F2;
    width: 32%;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#second-card>div:first-child {
    display: flex;
    align-items: center;
    width: 85%;
    justify-content: space-between;
    margin-top: 14px;
}

#second-card>div:first-child h2 {
    font-size: 26px;
    margin: 0%;
    height: fit-content;
}

#second-card>div:first-child i {
    font-size: 20px;
    text-align: left;
    height: fit-content;
    color: #0065FC;
}

#second-card>div:last-child {
    height: 480px;
    width: 83%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between ;
    margin-bottom: 15px;
}

#second-card>div:last-child article {
    display: flex;
    width: 100%;
    height: 30%;
    border-radius: 20px;
    border-style: none;
    background-color: white;
    padding: 4px;
    box-shadow: 4px 4px 10px lightgrey;
}

#second-card>div:last-child article:hover {
    cursor: pointer;
}

#second-card>div:last-child article img {
    width: 32.5%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

#second-card>div:last-child article>div {
    display: flex;
    flex-direction: column;
    width: 65%;
}

#second-card>div:last-child article>div h3 {
    height: fit-content;
    font-size: 16px;
    margin: 10px;
    width: fit-content;
}

#second-card>div:last-child article>div p {
    height: fit-content;
    font-size: 14px;
    margin: 10px;
    margin-top: 0%;
    width: fit-content;
}


#stars1 i:last-child, #stars2 i:last-child, #stars3 i:last-child {
    color: #F2F2F2;
}

#stars1, #stars2, #stars3 {
    width: fit-content;
    display: flex;
    align-content: flex-end;
    flex-wrap: wrap;
    height: 100%;
    margin-left: 10px;
    gap: 4px;
}




#stars1 i, #stars2 i, #stars3 i {
    font-size: 14px;
    color: #0065FC;
}



/* Cards : End */ 

/* Activity-cards : Start */

#activity {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 50px;
}

#activity h2 {
    font-size: 26px;
    width: 95%;
}

#activity-cards {
    width: 95%;
    height: 475px;
    display: flex;
    justify-content: space-between;
}

#activity-cards article {
    width: 23%;
    border-radius: 25px;
    border-style: none;
    padding: 0%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 4px 4px 10px lightgrey;
    background-color: white;
}

#activity-cards article:hover {
    cursor: pointer;
}

#activity-cards article img {
    width: 100%;
    height: 87.5%;
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    object-fit: cover;
}

#activity-cards article h3 {
    font-size: 15px;
    width: 90%;
    text-align: left;
    margin-top: auto;
    margin-bottom: auto;
}

footer {
    background-color: #F2F2F2;
    display: flex;
    justify-content: space-around;
    padding-bottom: 10px;
}

footer div {
    width: 30%;
}

footer div ul {
    list-style: none;
    margin: 0%;
    padding: 0%;
}

footer div h2 {
    font-size: 24px;
    font-weight: bold;
}

footer div ul li {
    width: fit-content;
    margin-bottom: 10px;
    font-size: 18px;
}

footer div ul li:hover {
    cursor: pointer;
    color: #0065FC;
}

@media screen and (max-width: 1024px) and (min-width: 768px) {

    header ul {
        width: 250px;
    }

    #filter {
        flex-wrap: wrap;
        gap: 0px 10px;
    }

    #filter>h3 {
        width: 100%;
    }

    #cards {
        flex-direction: column;
        height: 900px;
        justify-content: space-between;
    }

    #first-card {
        width: 100%;
        height: 600px;
    }

    #second-card {
        width: 100%;
        height: 275px;
    }

    #second-card>div:first-child {
        width: 92.5%;
        height: 20%;
        margin: 0px;
    }

    #second-card>div:last-child {
        flex-direction: row;
        width: 97.5%;
        justify-content: space-around;
        height: 50%;
    }

    #second-card>div:last-child article {
        width: 29%;
        height: 100%;
    }

    #activity h1 {
        width: 883px;
    }

    #activity-cards {
        height: 300px;
        width: 883px;
    }

    #activity-cards article img {
        height: 77.5%;
    }

    #activity-cards article h3 {
        width: 85%;
    }
    
}

@media screen and (max-width: 767px) {

    body {
        width: 100%;
    }

    /* HEADER : START */
    header>div {
        flex-wrap: wrap;
        flex-direction: column;
        margin-top: 20px;
        margin-bottom: 25px;
    }

    header>div div {
        width: 100%;
    }

    header>div  div a {
        height: 30px;
        border-top: none;
        border-bottom: 3px solid #F2F2F2;
        padding-bottom: 0px;
        padding-top: 25px;
    }

    header>div div a:hover {
        border-top: none;
        border-bottom: 3px solid #0065FC;;
    }

    /* HEADER : END */

    /* MAIN : START */

    header nav h1 {
        margin-top: 20px;
    }

    header nav h1,
    header nav p {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    #searchbar {
        display: flex;
        justify-content: center;
    }

    #searchbar-content {
        width: 338px;
    }

    #searchbar-content form {
        width: 250px;
        justify-content: flex-start;
    }

    #searchbar-content form input {
        width: 227px;
        margin-left: 5px;
    }

    #searchbar-content button:nth-of-type(2) {
        display: none;
    }

    #mobile-button {
        display: block;
    }

    #filter {
        flex-wrap: wrap;
        padding-left: 15px;
        padding-right: 15px;
        gap: 15px;
        justify-content: space-around;
    }

    #filter>h2 {
        width: 100%;
        margin: 0%;
    }

    #filter button {
        width: 47.5%;
        align-items: center;
        font-size: 16px;
        position: relative;
        padding-left: 50px;
    }

    #filter button > i {
        font-size: 20px;
    }

    #filter button .fa-money-bill-wave {
        position: absolute;
        margin: 0px;
        left: 15px;
    }

    #filter button .fa-person {
        position: absolute;
        margin: 0px;
        left: 18px;
    }

    #filter button .fa-heart {
        position: absolute;
        margin: 0px;
        left: 16px;
    }

    #filter button .fa-fire {
        position: absolute;
        margin: 0px;
        left: 15px;
    }

    #info {
        padding-left: 15px;
        padding-right: 15px;
    }

    #cards {
        flex-direction: column-reverse;
        height: auto;
    }

    #first-card {
        width: 100%;
        height: 1575px;
        align-items: center;
        background-color: white;
    }

    #first-card h2 {
        text-align: center;
    }

    #first-card>div {
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        height: 1450px;
    }

    #first-card>div article {
        width: 90%;
        height: 225px;
    }

    #first-card > p {
        width: 350px;
        margin: 10px;
        text-align: center;
    }

    #second-card {
        width: 100%;
        height: 569px;
        border-radius: 0%;
    }

    #second-card div article {
        width: 335px;
    }

    #activity h2 {
        width: 87.5%;
        text-align: center;
    }

    #activity-cards {
        width: 87.5%;
        flex-direction: column;
        height: 950px;
    }

    #activity-cards article {
        width: 100%;
        height: 225px;
    }

    #activity-cards article img {
        height: 75%;
    }

    footer {
        flex-direction: column;
        padding-left: 25px;
    }

    footer div  {
        width: 100%;
    }

    footer div yl {
        width: 95%;
    }

    footer div p {
        width: 100%;
    }

}