body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle, #ccebc5, #ffd8a8, #e0e0e0);
    height: 100vh;
    overflow-x: hidden;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

nav{
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    background: linear-gradient(to left,#e9fce2, #e9fce2, #ffeacc, #ffeacc);
    box-shadow: #f5deb3 1px 2px 20px 1px;
    height: 6.5vh;
    z-index: 10;
}

.main {
    display: flex;
    justify-content: center;
    gap: 10%;
    width: 80%;
    margin: 0 auto; 
}

.navlogo{
    width: 10%;
    justify-content: flex-start;
}
.nlogo{
    width: 90%;
    padding-left: 20%;
}
.n{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: black;
    text-decoration: none;
}

.home, .suggest, .search, .foodie, .gamez {
    position: relative;
    padding: 10px 20px;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 10px;
}

.home:hover {
    background-color: #38b6ff;
    color: #fff;
}

.suggest:hover {
    background-color: #38b6ff;
    color: #fff;
}

.search:hover {
    background-color: #38b6ff;
    color: #fff;
}

.foodie:hover {
    background-color: #7ed957;
    color: #fff;
}

.gamez:hover {
    background-color: #ff914d;
    color: #fff;
}




.maingrid{
    display: flex;
    justify-content: space-around;
    width: 100%;
}
.filterbar{
    width: 25%;
    height: auto;
    border-radius: 20px;
    border: 1px solid black;
    padding: 10px;    
}
.conts {
    width: 70%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(auto, 1fr);
    gap: 10px;
}

.cont {
    height: 30vh;
    width: 100%;
    border: 1px solid black;
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.cont:hover{
    background: linear-gradient(to left,#e9fce2, #e9fce2, #ffeacc, #ffeacc);
    cursor: pointer;
    border:1px solid #ff914d;
}
.cont-img{
    width: 20%;
    aspect-ratio: 1/1;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}
.cont-content{
    width: 70%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content:flex-end;
    padding: 10px;
    gap: 10px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.cont-name{
    border-radius: 20px;
    font-size: 40px;
    font-weight: 600;
}
.cont-rating{
    border-radius: 10px;
    font-size: 20px;
    color:#ff9800;
}
.cont-desc{
    height: 5vh;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.desc-crd{
    color: black;
    padding: 5px;
    background-color: #ff914d; 
    color: white;
    border: 1px solid #ddd; 
    border-radius: 5px; 
    cursor: pointer; 
}




.conts.single-column {
    grid-template-columns: repeat(3, 1fr);
}

.cont.toggle {
    height: 50vh;
    position: relative;
}



#toggleButton{
    position: absolute;
    right: 2%;
    top: 10vh;
    background: linear-gradient(45deg,#e9fce2, #e9fce2, #ffeacc, #ffeacc);
    border: 0;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
}

.toggleFilter{
    position: absolute;
    right: 20%;
    top: 10vh;
    background: linear-gradient(45deg,#e9fce2, #e9fce2, #ffeacc, #ffeacc);
    border: 0;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    display: none;
}
.filterbar.show {
    display: block;
    position: absolute;
    right: 0;
    top: 7vh; 
    width: 80%;
    height: auto;
    z-index: 4;
    background: radial-gradient(circle, #ccebc5, #ffd8a8, #e0e0e0);
    height: 100vh;
    background-size: cover;
    border: 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border-radius: 0px 0px 0px 30px;
}


.filtersvg{
    padding: 5px;
}

.toggleline {
    display: none;
}

.toggleline.longline {
    display: block;
}
.toggleline1.longline {
    display: none;
}

.cont-img.imgresize{
    width: 60%;
    position: absolute;
    top: 5%;
    z-index: 1;
}

.cont-content.contentresize{
    width: 90%;
    position: relative;
    top: 10%;
    height: 26vh;
}
.cont-name.nameresize{
    font-size: 25px;
}
.cont-rating.ratingresize{
    font-size: 15px;
}
.cont-desc.descresize{
    font-size: 15px;
    flex-wrap: wrap;
}






.heading{
    text-align: center;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 30px;
    padding: 20px 0px 30px 0px;
    font-weight: 600;
}
.selected-filters {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f5f5f5; 
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    display: none;
}

.selected-filters p {
    margin: 0;
    font-weight: bold;
    margin-right: 10px;
}



.filter-tags {
    display: flex;
    flex-wrap: wrap;
}

.filter-tags .tags {
    background-color: #ff914d;
    color: white;
    padding: 10px; 
    border-radius: 5px;
    margin: 5px;
}

.clear-filters-btn {
    background-color: #ff6347; 
    color: white;
    border: none;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    width: 30%;
}

.clear-filters-btn:hover {
    background-color: #ff4500; 
}

.type-filters {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 100%;
    gap: 10px;
}

.tag-section {
    width: 100%;
    margin-bottom: 10px; 
}

.dropdown {
    position: relative;
    display: block;
    width: 100%; 
}

.dropbtn {
    background-color: white;
    border: none;
    color: black;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 10px;
    width: 100%; 
    text-align: left; 
    margin-bottom: 5px; 
    background: linear-gradient(45deg,#e9fce2, #e9fce2, #ffeacc, #ffeacc);

}

.dropbtn:hover {
    background: linear-gradient(to right, #FFFFFF, #ffeacc, #FFFFFF, #ffeacc);
    cursor: pointer;
    border:1px solid #7ed957;
}
  



.dropdown-content {
    display: none;
    position: relative;
    z-index: 1;
    border-radius: 10px;
    margin-top: 5px;
    padding: 10px; 
    flex-wrap: wrap; 
}

.dropdown-content .tags {
    color: black;
    padding: 10px;
    text-decoration: none;
    background-color: #f9f9f9; 
    border: 1px solid #ddd; 
    border-radius: 5px; 
    margin: 5px;
    cursor: pointer; 
}

.dropdown-content .tags:hover {
    background-color: #ff914d70;
}

.dropdown-content .tags.toggled {
    background-color: #ff914d; 
    color: white;
}

.show {
    display: flex; 
    flex-wrap: wrap;
}






.slider-container {
    align-items: center;
    display: flex;
    justify-content: center;
    color: black;
    padding: 10px;
    text-decoration: none;
    background-color: #f9f9f9; 
    border: 1px solid #ddd; 
    border-radius: 5px; 
    margin: 5px;
    cursor: pointer; 
}

.tags{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}


footer {
    margin: 0;
    padding: 0;
    margin-top: 2%;
    margin-bottom: 2%;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background: linear-gradient(215deg, #e9fce2, #ffeacc);
    padding: 3% 0; 
    border-radius: 10em 10em 0 0;
    text-align: center; 
}

footer {
    margin: 0;
    padding: 0;
    margin-top: 2%;
    margin-bottom: 2%;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background: linear-gradient(215deg, #e9fce2, #ffeacc);
    padding: 3% 0;
    border-radius: 10em 10em 0 0;
}

.footcon {
    display: flex;
    align-items: center; 
    gap: 2em; 
    width: 90%; 
    margin: 0 auto;
}

.flogo {
    width: 80%; 
    max-width: 300px; 
    text-align: center;
    margin: 0 auto; 
    display: block; 
}

.footlogo {
    flex: 0 0 auto; 
    max-width: 350px; 
}

.foot1 {
    flex: 1; 
    text-align: left; 
}

.infos {
    color: rgba(0, 0, 0, 0.7);
    font-size: 1rem;
    line-height: 1.5em;
}

.connect {
    flex: 2;
    display: flex;
    flex-wrap: wrap; 
    gap: 15px; 
    border: none; 
    justify-content: center;
    align-items: center;
    padding: 1%; 
}

.lnk {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px; 
    height: 50px;
    border-radius: 50%; 
    background-color: #e9fce2; 
    color: black; 
    transition: background-color 0.3s ease, color 0.3s ease;
}

.lnk:hover {
    background-color: black; 
    color: white; 
}

.cpyr8 {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.9rem; 
    margin-top: 1.5em; 
    text-align: center; 
}

.flogo2 {
    display: none; 
}


.hamburger-icon{
    display: none;
}


.hamburger-icon {
    cursor: pointer;
}

.hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5vh;
    justify-content: space-around;
    position: fixed;
    top: 8.5vh;
    right: -100%;
    width: 60%;
    background: linear-gradient(215deg,#e9fce2, #e9fce2, #ffeacc, #ffeacc);
    box-shadow: #f5deb3 1px 2px 20px 1px;
    height: auto;
    z-index: 4;
    padding-top: 5vh;
    padding-bottom: 5vh;
    cursor: pointer;
    transition: right 1s ease;
    border-radius: 0px 0px 0px 30px;
  }
  
  .hamburger.show {
    right: 0;
  }
  .n1{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: black;
    text-decoration: none;
    display: none;
}

.mob{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5vw;
    position: absolute;
    top: 20%;
    right: 5%;
}


.search-bar-container {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    transform: translateY(-20px);
    background: linear-gradient(45deg, #FFFFFF, #FFEBB5, #FFFFFF, #FFF5E1);
    width: 100%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease-in;
    padding-top: 10vh;
    padding-bottom: 5vh;
    border-radius: 0px 0px 50px 50px;
}

.search-bar-container.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.search-bar {
    width: 40%;
    padding: 15px;
    font-size: 18px;
    border: 0;
    border-bottom: 1px solid #000;
    background-color: transparent;
    color: #000;
    outline: none;
}

.search-icon {
    width: 24px;
    height: 24px;
}

.lnk:hover svg {
    scale: 1.5;
    fill: white; 
    transition: fill 0.3s ease; 
    transition: scale 0.3s ease; 
    background-color: #000;
    border-radius: 50%;
    padding: 2px;
}




@media (min-width: 1023px) and (max-width: 1200px) {
    .visit{
        top: 42%;
    }
    .connect{
        width: 80%;
    }
    .filterbar{
        display: none;
    }
    .conts{
        width: 95%;
    }
    #toggleButton{
        right: 3%;
        padding: 10px;
    }
    .toggleFilter{
        display: block;
        top: 18vh;
        right: 10%;
    }
    footer{
        border-radius: 0;
    }

}

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

    .hamburger-icon{
        display: block;
    }
    .n1{
        display: block;
        font-size: 20px;
    }

    .visit{
        position: relative;
        top: 0;
        left: 0;
        width: 30%;
        animation: none;
    }
    .connect{
        width: 40%;
    }
    .strtcon{
        animation: none;
    }
    .visitcon{
        text-align: center;
    }
    .strtlogo, .caption{
        width: 80%;
    }
    .footcon{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .flogo{
        display: none;
    }
    .flogo2{
        display: inline;
        width: 100%;
        margin-top: 10%;
    }
    .footlogo{
        text-align: center;
    }
    .foot1{
        width: 90%;
        justify-content: center;
        align-items: center;
    }
    .cpyr8{
        margin-top: 5%;
    }

    .n{
        display: none;
    }

    nav{
        height: 8vh;
    }
    .mobilevw{
        width: 200%;
    }
    .card{
        height: 300px;
    }
    .home::after, .suggest::after, .search::after, .foodie::after, .gamez::after {
        width: 0;
        height: 0;
    }
    .filterbar{
        display: none;
    }
    .conts{
        width: 95%;
    }
    .cont{
        height: 25vh;
    }
    .conts.single-column {
        grid-template-columns: repeat(2, 1fr);
    }
    #toggleButton{
        right: 3%;
        top: 12%;
        padding: 10px;
    }
    .cont-name{
        font-size: 50px;
    }
    .cont-rating{
        font-size: 20px;
    }
    .cont.toggle{
        height: 38vh;
    }
    .desc-crd{
        font-size: 15px;
    }
    .toggleFilter{
        display: block;
        top: 12vh;
        right: 10%;
    }
    .connect{
        width: 40%;
        margin-left: auto;
        margin-right: auto;
    }
    footer{
        border-radius: 0;
    }
    .search{
        padding: 0;
    }
    .search:hover{
        transition: none;
        background-color: transparent;
        color: #000;
    }

}

@media (max-width: 800px) {
    .hamburger-icon{
        display: block;
    }
    .n1{
        display: block;
    }
    .search{
        position: fixed;
        top: 2.7vh;
        right: 15.5%;
    }
    footer{
        border-radius: 0;
    }

    .visit{
        position: relative;
        top: 0;
        left: 0;
        width: 30%;
        animation: none;
    }
    .strtcon{
        animation: none;
    }
    .visitcon{
        text-align: center;
    }
    .strtlogo, .caption{
        width: 80%;
    }
    .footcon{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .flogo{
        display: none;
    }
    .flogo2{
        display: inline;
        width: 60%;
        margin-top: 10%;
    }
    .footlogo{
        text-align: center;
    }
    .foot1{
        width: 90%;
        justify-content: center;
        align-items: center;
    }
    .cpyr8{
        margin-top: 5%;
    }
    
    .n{
        display: none;
    }

    nav{
        height: 8vh;
    }
    .mobilevw{
        width: 200%;
    }
    .home::after, .suggest::after, .search::after, .foodie::after, .gamez::after {
        width: 0;
        height: 0;
    }
    .filterbar{
        display: none;
    }
    .conts{
        width: 95%;
    }
    .cont{
        height: 30vh;
        gap: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .cont-desc.descresize{
        height: 4vh;
    }
    #toggleButton{
        right: 3%;
        padding: 10px;
    }
    .cont-name{
        font-size: 30px;
    }
    .cont-rating{
        font-size: 15px;
    }
    .cont-desc{
        display: none;
    }
    .desc-crd{
        font-size: 10px;
    }
    .conts.single-column {
        grid-template-columns: repeat(2, 1fr);
    }
    .cont-img{
        width: 50%;
        margin-left: 5px;
    }
    .cont-img.imgresize{
        width: 80%;
    }
    .cont.toggle{
        height: 35vh;
    }
    .toggleFilter{
        display: block;
    }
    .search-bar{
        width: 70% !important;
        text-align: center;
    }
    .footcon {
        flex-direction: column; 
    }

    .footlogo, .infos, .connect {
        max-width: 100%; 
    }

    .connect {
        gap: 10px; 
    }

    .lnk {
        width: 40px;
        height: 40px;
    }
    .search{
        padding: 0;
    }
    .search:hover{
        transition: none;
        background-color: transparent;
        color: #000;
    }
}


.filterbar {
    opacity: 0; 
    transform: translateX(-100%); 
    transition: transform 0.8s ease-out, opacity 0.8s ease-out; 
}

.type-filters .dropdown {
    opacity: 0; 
    transform: translateY(30px);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.cont {
    opacity: 0; 
    transform: translateX(100%); 
    transition: transform 0.8s ease-out, opacity 0.8s ease-out; 
}

.cont.visible {
    opacity: 1; 
    transform: translateX(0); 
}


.search-results {
    max-height: 250px;
    overflow-y: auto;
    margin-top: 15px;
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    display: none;
    text-align: left;
}

/* Show search results */
.search-results.show {
    display: block;
}

/* Individual Search Result Item */
.search-result-item {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

/* Last item has no border */
.search-result-item:last-child {
    border-bottom: none;
}

/* Hover effect */
.search-result-item:hover {
    background: #fff5e1;
}

/* Result Image */
.result-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
}

/* Result Info */
.result-info {
    display: flex;
    flex-direction: column;
}

.result-info h4 {
    font-size: 16px;
    margin: 0;
    font-weight: bold;
}

.result-info p {
    font-size: 14px;
    color: #555;
    margin: 0;
}
.content h1, h2, h3, h4, h5, h6{
    color: #e68a00;
  }

  .navlogo:hover {
    transform: rotate(3deg) scale(1.05);
    transition: 0.5s ease;
}